]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/netunit.h
SNMP Agent plugin added
[stg.git] / stglibs / srvconf.lib / netunit.h
index 007dc8c570738c5be201ae99142d0ffc7bf6bae0..e288df86595e272e4aabcc6b597fe70b60459e5c 100644 (file)
@@ -34,8 +34,7 @@
 #include <list>
 #include <string>
 
-#include "common.h"
-#include "blowfish.h"
+#include "stg/blowfish.h"
 
 #define  STG_HEADER     "SG04"
 #define  OK_HEADER      "OKHD"
@@ -114,8 +113,8 @@ private:
 
     std::string server;
     short unsigned  port;
-    char    login[ADM_LOGIN_LEN];
-    char    password[ADM_PASSWD_LEN];
+    std::string login;
+    std::string password;
     int     outerSocket;
     std::list<std::string>   answerList;
     RxCallback_t RxCallBack;