File: support.h

package info (click to toggle)
ircd 2.10.02-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 2,228 kB
  • ctags: 2,087
  • sloc: ansic: 29,122; makefile: 664; sh: 307; perl: 18
file content (22 lines) | stat: -rw-r--r-- 564 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 int dgets(int fd, char *buf, int num);
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);

#endif /* SUPPORT_H */