File: support.h

package info (click to toggle)
ircd 2.10.04-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 2,248 kB
  • ctags: 2,145
  • sloc: ansic: 26,591; makefile: 666; sh: 418; perl: 18
file content (22 lines) | stat: -rw-r--r-- 567 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 size_t dgets(int fd, char *buf, size_t 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 */