From 0e8bff001dd831736a16fc1c6ff36f96a77497af Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Fri, 9 Feb 2007 22:05:10 +0000 Subject: Now obeys ~/.vchat/loginscript --- vchat-client.c | 2 +- vchat.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vchat-client.c b/vchat-client.c index 2d50932..e0fc214 100755 --- a/vchat-client.c +++ b/vchat-client.c @@ -163,7 +163,7 @@ static void parseknownhosts(char *line) { */ /* load config file */ -static void +void loadcfg (char *file,void (*lineparser) (char *)) { int fd; diff --git a/vchat.h b/vchat.h index 2cc4e12..5293482 100755 --- a/vchat.h +++ b/vchat.h @@ -89,6 +89,7 @@ extern unsigned int loggedin; #define ERRSTRSIZE 1024 extern char errstr[]; extern char *vchat_cl_version; +void loadcfg (char *file,void (*lineparser) (char *)); void cleanup(int signal); /* configuration helper funktions from vchat-client.c */ -- cgit v1.2.3