File: support.h

package info (click to toggle)
ircd 2.10.07-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,232 kB
  • ctags: 2,253
  • sloc: ansic: 27,541; makefile: 742; sh: 327; perl: 18
file content (22 lines) | stat: -rw-r--r-- 586 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef SUPPORT_H
#define SUPPORT_H

#include <netinet/in.h>

/*=============================================================================
 * Proto types
 */

#ifndef HAVE_STRTOKEN
extern char *strtoken(char **save, char *str, char *fs);
#endif
#ifndef HAVE_STRERROR
extern char *strerror(int err_no);
#endif
extern void dumpcore(const char *pattern, ...)
    __attribute__ ((format(printf, 1, 2)));
extern char *inetntoa(struct in_addr in);
extern int check_if_ipmask(const char *mask);
extern void write_log(const char *filename, const char *pattern, ...);

#endif /* SUPPORT_H */