src/shepp/SheppGlobal.H

Go to the documentation of this file.
00001 /* ${copyright}$ */
00002 /* $Id: SheppGlobal.H 712 2006-05-03 16:57:49Z fneves $ */
00006 #ifndef __SHEPP_GLOBAL_H__
00007 #define __SHEPP_GLOBAL_H__
00008 
00009 #include <string>
00010 #include <memory>
00011 
00012 #include "libepp_nicbr.H"
00013 #include "Session.H"
00014 
00015 #include "SheppCommand.H"
00016 
00017 #define USE_BR_DOMAINS 1
00018 #define SHEPP_VERSION  "0.4"
00019 #define DEFAULT_PORT   3121
00020 #define CMD_CONTAINER  list
00021 #define CLIENT_PEM     "../../unit_test/client.pem"
00022 #define ROOT_PEM       "../../unit_test/root.pem"
00023 
00024 #if CMD_CONTAINER == list
00025 #include <list>
00026 #elif CMD_CONTAINER == set
00027 #include <set>
00028 #elif CMD_CONTAINER == vector
00029 #include <vector>
00030 #endif
00031 
00032 using std::CMD_CONTAINER;
00033 using std::string;
00034 using std::auto_ptr;
00035 
00036 LIBEPP_NICBR_NS_USE
00037 
00039 CMD_CONTAINER<SheppCommand> _commands;
00040 
00042 string _server     = "localhost";
00043 int    _port       = DEFAULT_PORT;
00044 string _user       = "test";
00045 string _passphrase = "client passphrase";
00046 string _client_pem = CLIENT_PEM;
00047 string _root_pem   = ROOT_PEM;      
00048 bool   _connected  = false;
00049 
00050 string _login_pw     = "";
00051 string _login_new_pw = "";
00052 bool   _new_pw       = false;
00053 
00054 bool   _beauty     = true;
00055 bool   _debug      = false;
00056 
00058 auto_ptr<Session> _session;
00059 
00060 #endif //__SHEPP_GLOBAL_H__

Generated on Fri May 12 15:36:25 2006 for libepp_nicbr by  doxygen 1.4.6