blob: d6eeffac75f4b3eb9caf8d409a1f2b4a9b9cfefe (
plain) (
tree)
|
|
#ifndef _HAVE_ESPIK_CONFIG_H
#define _HAVE_ESPIK_CONFIG_H
#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 * s_info);
void espik_config_set (t_info config);
#define ESPIK_CONFIG_VERSION 1
struct _espik_config
{
int config_version;
struct
{
char* name;
char* host;
int port;
char* nick;
char* pass;
struct server* next;
} server;
struct
{
char* name;
} channel;
struct server* current_server;
struct channel* cuurent_channel;
};
#endif /* _HAVE_ESPIK_CONFIG_H */
|