5629669589f8b482d4933156f25be328d06b7a5a
[ircu2.10.12-pk.git] / include / support.h
1 #ifndef SUPPORT_H
2 #define SUPPORT_H
3
4 #include <netinet/in.h>
5
6 /*=============================================================================
7  * Proto types
8  */
9
10 #ifndef HAVE_STRTOKEN
11 extern char *strtoken(char **save, char *str, char *fs);
12 #endif
13 #ifndef HAVE_STRERROR
14 extern char *strerror(int err_no);
15 #endif
16 extern void dumpcore(const char *pattern, ...)
17     __attribute__ ((format(printf, 1, 2)));
18 extern char *inetntoa(struct in_addr in);
19 extern int check_if_ipmask(const char *mask);
20 extern void write_log(const char *filename, const char *pattern, ...);
21
22 #endif /* SUPPORT_H */