]> git.stg.codes - stg.git/blobdiff - projects/sgconf/main.cpp
Moved CHG_USER and SEND_MESSAGE parsers from global scope.
[stg.git] / projects / sgconf / main.cpp
index 66f580f611aa8ff43ab117339d9e1eb0ac933d34..2c2a8a7b2168640034741d9f1d4ffebbe41a4335 100644 (file)
 #include <cstdio>
 #include <cstring>
 #include <string>
-#include <list>
 #include <sstream>
 
 #include "stg/common.h"
-#include "stg/netunit.h"
 #include "request.h"
 #include "common_sg.h"
 #include "sg_error_codes.h"
@@ -75,9 +73,6 @@ return true;
 
 time_t stgTime;
 
-int ParseReplyGet(void * data, list<string> * ans);
-//int ParseReplySet(void * data, list<string> * ans);
-
 struct option long_options_get[] = {
 {"server",      1, 0, 's'},  //Server
 {"port",        1, 0, 'p'},  //Port