]> git.stg.codes - stg.git/blobdiff - projects/sgconf/main.cpp
Moved AUTH_BY parser from global scope.
[stg.git] / projects / sgconf / main.cpp
index 5d82e9f0426d29841b2f5a160ee01ca524bea6bb..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