00001 #if !defined(_UUID_H_) 00002 #define _UUID_H_ 00003 00004 #include <openssl/bn.h> 00005 00006 #define UUID_LENGTH 16 00007 #if !defined(XML_SETTINGS) 00008 #define UUID_FILENAME "uuid.file" 00009 #endif /* !XML_SETTINGS */ 00010 00011 void p2p_hash(BIGNUM id, unsigned long r, unsigned long *x, unsigned long *y); 00012 #if !defined(XML_SETTINGS) 00013 void set_uuid(char *uuid_filename); 00014 #endif /* !XML_SETTINGS */ 00015 00016 #endif /* _UUID_H_ */