* Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de>
*/
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
#include <string.h>
+#include <ctype.h>
#include <netdb.h>
#include "xmalloc.h"
#include "misc.h"
return name;
}
-int
+int
client_member(char *client, char *name)
{
/* check if "client" (a ',' separated list of names)
- * contains 'name' as a member
+ * contains 'name' as a member
*/
int l = strlen(name);
while (*client) {
}
-int
+int
name_cmp(char *a, char *b)
{
/* compare strings a and b, but only upto ',' in a */