TcaRegistry.cc File Reference

#include "libs/gateway_prot.h"
#include "libs/gateway_rpc.h"
#include "libs/sha1.h"
#include "TcaRegistry.h"

Go to the source code of this file.

Functions

static void hash (const std::string &s, uint8 digest[DHT_KEYLEN])

Variables

static const char * APP_STRING = "tca"
static const char * CLIB_STRING = "rpcgen"
static const int DHT_KEYLEN = 20


Function Documentation

static void hash ( const std::string &  s,
uint8  digest[DHT_KEYLEN] 
) [static]

Definition at line 32 of file TcaRegistry.cc.

References sha1_finish(), sha1_starts(), and sha1_update().

Referenced by TcaRegistry::read(), and TcaRegistry::write().


Variable Documentation

const char* APP_STRING = "tca" [static]

Definition at line 23 of file TcaRegistry.cc.

Referenced by TcaRegistry::read(), and TcaRegistry::write().

const char* CLIB_STRING = "rpcgen" [static]

Definition at line 24 of file TcaRegistry.cc.

Referenced by TcaRegistry::read(), and TcaRegistry::write().

const int DHT_KEYLEN = 20 [static]

Definition at line 26 of file TcaRegistry.cc.

Referenced by TcaRegistry::read(), and TcaRegistry::write().


Generated on Sat Sep 8 08:36:19 2007 for DTN Reference Implementation by  doxygen 1.5.3