00001 #ifndef N2NC_H
00002 #define N2NC_H
00003
00004 #include "nixsys.h"
00005
00006 #include "address.h"
00007 #include "ctest.h"
00008 #include "resolver.h"
00009 #include "socketaddress.h"
00010 #include "socket.h"
00011 #include "tcpsocket.h"
00012 #include "udpsocket.h"
00013 #include "thread.h"
00014 #include "threadtest.h"
00015
00016 #include "logger.h"
00017 #include "configuration.h"
00018 #include "mutex.h"
00019 #include "condition.h"
00020 #include "semaphore.h"
00021 #include "socketeventshandler.h"
00022 #include "argumentshelper.h"
00023
00024 #include "server.h"
00025 #include <libintl.h>
00026
00027 #include "rsa.h"
00028 #include "blowfish.h"
00029
00030
00031 namespace n2nc{
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049 struct myconf_t{
00050 int sport ;
00051 std::string saddr ;
00052 int uport ;
00053 std::string rsa_pub_path ;
00054 uint32_t myid ;
00055 uint32_t otherid ;
00056 uint32_t mysrvport ;
00057 uint32_t othersrvport ;
00058 bool mode_isactive ;
00059 std::vector<std::string> plugins ;
00060 std::string bind_ip ;
00061 security::BlowFish::key_t skey;
00062 std::string keydir ;
00063 std::string vdepath ;
00064 int mss ;
00065
00066 };
00067
00068 }
00069
00070 #endif