]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/configproto.h
Readme for sgauth removed, CHANGES and TODO made empty
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / configproto.h
index 29369867b56a1605596f0f51f1fd61e3cfca4758..96e976c859cfa5ccdc24eba3ff8fa129886c741d 100644 (file)
@@ -58,17 +58,15 @@ public:
     ~CONFIGPROTO();
 
     void            SetPort(uint16_t port);
     ~CONFIGPROTO();
 
     void            SetPort(uint16_t port);
-    //void            SetHostAllow(HOSTALLOW * ha);
     void            SetAdmins(ADMINS * a);
     void            SetUsers(USERS * u);
     void            SetTariffs(TARIFFS * t);
     void            SetStore(BASE_STORE * s);
     void            SetStgSettings(const SETTINGS * s);
     void            SetAdmins(ADMINS * a);
     void            SetUsers(USERS * u);
     void            SetTariffs(TARIFFS * t);
     void            SetStore(BASE_STORE * s);
     void            SetStgSettings(const SETTINGS * s);
-    const string &  GetAdminLogin();
-    uint32_t        GetAdminIP();
+    uint32_t        GetAdminIP() const;
     int             Prepare();
     int             Stop();
     int             Prepare();
     int             Stop();
-    const string &  GetStrError();
+    const string &  GetStrError() const;
     static void *   Run(void * a);
 
 private:
     static void *   Run(void * a);
 
 private:
@@ -93,14 +91,10 @@ private:
     pthread_t       thrReciveSendConf;
     bool            nonstop;
     int             state;
     pthread_t       thrReciveSendConf;
     bool            nonstop;
     int             state;
-    //HOSTALLOW *     hostAllow;
     ADMIN           currAdmin;
     STG_LOGGER &    WriteServLog;
 
     ADMIN           currAdmin;
     STG_LOGGER &    WriteServLog;
 
-    int                 outerSocket;
     int                 listenSocket;
     int                 listenSocket;
-    struct sockaddr_in  outerAddr;
-    socklen_t           outerAddrLen;
 
     PARSER_GET_SERVER_INFO      parserGetServInfo;
 
 
     PARSER_GET_SERVER_INFO      parserGetServInfo;
 
@@ -123,10 +117,6 @@ private:
     PARSER_CHG_TARIFF           parserChgTariff;
 
     ADMINS *                    admins;
     PARSER_CHG_TARIFF           parserChgTariff;
 
     ADMINS *                    admins;
-    //USERS *                     users;
-    //TARIFFS *                   tariffs;
-    //BASE_STORE *                store;
-    //const SETTINGS *            settings;
 
     BASE_PARSER *               currParser;
     vector<BASE_PARSER*>        dataParser;
 
     BASE_PARSER *               currParser;
     vector<BASE_PARSER*>        dataParser;