aboutsummaryrefslogtreecommitdiff
path: root/src/espik_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/espik_config.h')
-rw-r--r--src/espik_config.h66
1 files changed, 33 insertions, 33 deletions
diff --git a/src/espik_config.h b/src/espik_config.h
index 77f49ce..5f6e0ed 100644
--- a/src/espik_config.h
+++ b/src/espik_config.h
@@ -4,42 +4,42 @@
#include "espik.h"
#include "espik_global.h"
-t_servinfo *espik_server_config_set (char*, unsigned short);
-t_userinfo *espik_user_sysinfo_get ();
-void espik_config_default_set ();
-void espik_config_init ();
-void espik_config_get (t_info*);
-void espik_config_set (t_info);
-void espik_config_shutdown (t_info);
+t_servinfo *espik_server_config_set (char*, unsigned short);
+t_userinfo *espik_user_sysinfo_get ();
+void espik_config_default_set ();
+void espik_config_init ();
+void espik_config_get (t_info*);
+void espik_config_set (t_info);
+void espik_config_shutdown (t_info);
-#define ESPIK_CONFIG_VERSION 1
+#define ESPIK_CONFIG_VERSION 1
struct _espik_config
{
- int config_version;
-
- struct
- {
- char* name;
-
- char* host;
- int port;
-
- char* nick;
- char* pass;
-
- unsigned int connect_at_startup : 1 ;
-
- struct server* next;
- } server;
-
- struct
- {
- char* name;
- } channel;
-
- struct server* current_server;
- struct channel* cuurent_channel;
+ int config_version;
+
+ struct
+ {
+ char* name;
+
+ char* host;
+ int port;
+
+ char* nick;
+ char* pass;
+
+ unsigned int connect_at_startup : 1 ;
+
+ struct server* next;
+ } server;
+
+ struct
+ {
+ char* name;
+ } channel;
+
+ struct server* current_server;
+ struct channel* cuurent_channel;
};
-#endif /* ESPIK_CONFIG_H */
+#endif /* ESPIK_CONFIG_H */