defined why2_chat_init_client_config
This commit is contained in:
parent
d2b8f414e7
commit
bc77ccd04f
@ -32,6 +32,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|||||||
#include <why2/misc.h>
|
#include <why2/misc.h>
|
||||||
|
|
||||||
#define SERVER "server.yml"
|
#define SERVER "server.yml"
|
||||||
|
#define CLIENT "client.yml"
|
||||||
|
|
||||||
//LOCAL
|
//LOCAL
|
||||||
void init_config(char *filename)
|
void init_config(char *filename)
|
||||||
@ -74,4 +75,9 @@ void init_config(char *filename)
|
|||||||
void why2_chat_init_server_config(void)
|
void why2_chat_init_server_config(void)
|
||||||
{
|
{
|
||||||
init_config(SERVER);
|
init_config(SERVER);
|
||||||
|
}
|
||||||
|
|
||||||
|
void why2_chat_init_client_config(void)
|
||||||
|
{
|
||||||
|
init_config(CLIENT);
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user