Mixe for Privacy and Anonymity in the Internet
CADataRetentionLog.hpp
Go to the documentation of this file.
00001 #include "CADataRetentionLogFile.hpp"
00002 
00003 class CADataRetentionLog
00004   {
00005     public:
00006       CADataRetentionLog();
00007       ~CADataRetentionLog();
00008       
00009       SINT32 setPublicEncryptionKey(CAASymCipher* pPublicKey);
00010       SINT32 setLogDir(UINT8* strLogDir);
00011       SINT32 log(t_dataretentionLogEntry*);
00012       SINT32 closeLog();
00013 
00014     private:
00015       SINT32 openLogFile(UINT32 time);
00016 
00017       CADataRetentionLogFile* m_pLogFile;
00018       CAASymCipher*           m_pPublicEncryptionKey;
00019       UINT8*                  m_strLogDir;
00020       UINT32                  m_max_t_out;
00021   };