]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/parser.cpp
Cleaned up some headers.
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / parser.cpp
index 017b78b096a2b940e61beadd7fa7792476ba7433..45ef82c8a4ee566d1605458d102b228181a729d0 100644 (file)
@@ -1,20 +1,38 @@
-#include <stdio.h>
-#include <sys/utsname.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
+/*
+ *    This program is free software; you can redistribute it and/or modify
+ *    it under the terms of the GNU General Public License as published by
+ *    the Free Software Foundation; either version 2 of the License, or
+ *    (at your option) any later version.
+ *
+ *    This program is distributed in the hope that it will be useful,
+ *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *    GNU General Public License for more details.
+ *
+ *    You should have received a copy of the GNU General Public License
+ *    along with this program; if not, write to the Free Software
+ *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+/*
+ *    Author : Boris Mikhailenko <stg34@stargazer.dp.ua>
+ */
 
-#include <cstring>
-#include <cerrno>
-#include <sstream>
+#include "parser.h"
 
-#include "stg/version.h"
 #include "stg/tariffs.h"
+#include "stg/admin.h"
+#include "stg/users.h"
 #include "stg/user_property.h"
 #include "stg/settings.h"
 #include "stg/logger.h"
-#include "parser.h"
+#include "stg/version.h"
+#include "stg/store.h"
+
+#include <cstring>
+#include <cstdio> // sprintf
+
+#include <sys/utsname.h>
 
 #define  UNAME_LEN      (256)