home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.shrubbery.net
/
2015-02-07.ftp.shrubbery.net.tar
/
ftp.shrubbery.net
/
pub
/
foad
/
foad-0.3.tar.gz
/
foad-0.3.tar
/
foad-0.3
/
foad.h
< prev
next >
Wrap
C/C++ Source or Header
|
2001-06-11
|
926b
|
58 lines
#ifndef FOAD_H
#define FOAD_H
#include "config.h"
#include <stdio.h>
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_STRING_H
# include <string.h>
#endif
#if HAVE_STDLIB_H
# include <stdlib.h>
#elif HAVE_MALLOC_H
# include <malloc.h>
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#if HAVE_ERRNO_H
# include <errno.h>
#endif
extern int errno;
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <regex.h>
#include <limits.h>
#if ! HAVE_BZERO
# define bzero(a, b) memset(a, 0, b)
#endif
#if ! HAVE_RINDEX
# define index(a, b) strchr(a, b)
# define rindex(a, b) strrchr(a, b)
#endif
typedef struct _node {
char *addr;
int line;
regex_t preg;
struct _node *next;
} node;
typedef struct s_addresses {
node *next;
} s_addresses;
#if STDC_HEADERS
int append(char **, char *);
#else
int append();
#endif
#endif /* FOAD_H */