Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

verify_tth.c File Reference


Detailed Description

Tigertree hash verification.

This is not ready yet at all, do not try to use it yet. It is included for compilation reasons only.

Author:
Jeroen Asselman
Date:
2003

#include "common.h"
#include "verify_tth.h"
#include "downloads.h"
#include "guid.h"
#include "sockets.h"
#include "hashtree.h"
#include "lib/atoms.h"
#include "lib/base32.h"
#include "lib/bg.h"
#include "lib/tigertree.h"
#include "lib/tiger.h"
#include "lib/tm.h"
#include "lib/walloc.h"
#include "lib/override.h"

Data Structures

struct  tt_file_to_hash_s
struct  tt_computation_context_s

Typedefs

typedef tt_file_to_hash_s tt_file_to_hash_t
typedef tt_computation_context_s tt_computation_context_t

Functions

 RCSID ("$Id:verify_tth.c, v 1.14 2005/08/31 21:37:28 rmanfredi Exp $")
gpointer tt_internal_hash (gpointer hash1, gpointer hash2)
void tt_verify_init (void)
 Initialises the background task for tigertree verification.

void tt_verify_close (void)
 Stops the background task for tigertree verification.

void tt_computation_context_free (gpointer u)
bgret_t tigertree_step_compute (gpointer h, gpointer u, gint ticks)
void tt_compute_close (void)
void request_tigertree (struct shared_file *sf)
void tt_parse_header (struct download *d, header_t *header)

Variables

gpointer tt_calculate_task = NULL
GList * files_to_hash = NULL


Typedef Documentation

typedef struct tt_computation_context_s tt_computation_context_t
 

typedef struct tt_file_to_hash_s tt_file_to_hash_t
 


Function Documentation

RCSID "$Id:verify_tth.  c,
v 1.14 2005/08/31 21:37:28 rmanfredi Exp $" 
 

void request_tigertree struct shared_file sf  ) 
 

bgret_t tigertree_step_compute gpointer  h,
gpointer  u,
gint  ticks
[static]
 

void tt_computation_context_free gpointer  u  )  [static]
 

void tt_compute_close void   ) 
 

gpointer tt_internal_hash gpointer  hash1,
gpointer  hash2
 

void tt_parse_header struct download d,
header_t header
 

void tt_verify_close void   ) 
 

Stops the background task for tigertree verification.

void tt_verify_init void   ) 
 

Initialises the background task for tigertree verification.


Variable Documentation

GList* files_to_hash = NULL [static]
 

gpointer tt_calculate_task = NULL [static]
 


Generated on Sun Feb 12 10:50:10 2006 for Gtk-Gnutella by doxygen 1.3.6