Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

prototypes.h

Go to the documentation of this file.
00001 /*
00002 ** Copyright (C) 1998-2002 Martin Roesch <roesch@sourcefire.com>
00003 **
00004 ** This program is free software; you can redistribute it and/or modify
00005 ** it under the terms of the GNU General Public License as published by
00006 ** the Free Software Foundation; either version 2 of the License, or
00007 ** (at your option) any later version.
00008 **
00009 ** This program is distributed in the hope that it will be useful,
00010 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012 ** GNU General Public License for more details.
00013 **
00014 ** You should have received a copy of the GNU General Public License
00015 ** along with this program; if not, write to the Free Software
00016 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00017 */
00018 
00019 /* $Id$ */
00020 
00021 #ifndef __PROTOTYPES_H__
00022 #define __PROTOTYPES_H__
00023 
00024 #if defined(NEED_DECL_PRINTF)
00025 int printf (const char *_fmt, ... );
00026 #endif
00027 
00028 #if defined(NEED_DECL_FPRINTF)
00029 int fprintf (FILE *stream, const char *__fmt, ... );
00030 #endif
00031 
00032 #if defined(NEED_DECL_VSNPRINTF)
00033 int vsnprintf (char *str, size_t sz, const char *__fmt, va_list ap);
00034 #endif
00035 
00036 #if defined(NEED_DECL_SNPRINTF)
00037 int snprintf (char *, size_t , const char *, ...);
00038 #endif
00039 
00040 #if defined(NEED_DECL_SYSLOG)
00041 void syslog (int __pri, const char *__fmt, ...);
00042 #endif
00043 
00044 #if defined(NEED_DECL_PUTS)
00045 int puts(const char *s);
00046 #endif
00047 
00048 #if defined(NEED_DECL_FPUTS)
00049 int fputs(const char *s, FILE *stream);
00050 #endif
00051 
00052 #if defined(NEED_DECL_FPUTC)
00053 int fputc(int c, FILE *stream);
00054 #endif
00055 
00056 #if defined(NEED_DECL_FOPEN)
00057 FILE *fopen(const char *path, const char *mode);
00058 #endif
00059 
00060 #if defined(NEED_DECL_FCLOSE)
00061 int *fclose(FILE *stream);
00062 #endif
00063 
00064 #if defined(NEED_DECL_FWRITE)
00065 size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream);
00066 #endif
00067 
00068 #if defined(NEED_DECL_FFLUSH)
00069 int fflush(FILE *stream);
00070 #endif
00071 
00072 #if defined(NEED_DECL_GETOPT)
00073 int getopt(int argc, char * const argv[], const char *optstring);
00074 #endif
00075 
00076 
00077 #if defined(NEED_DECL_BZERO)
00078 void bzero(void *s, int n);
00079 #endif
00080 
00081 #if defined(NEED_DECL_BCOPY)
00082 void bcopy(const void *src, void *dst, int n);
00083 #endif
00084 
00085 #if defined(NEED_DECL_MEMSET)
00086 void memset(void *s, int c,size_t n);
00087 #endif
00088 
00089 #if defined(NEED_DECL_STRTOL)
00090 long int strtol(const char *nptr, char **endptr, int base);
00091 #endif
00092 
00093 #if defined(NEED_DECL_STRTOUL)
00094 unsigned long int strtoul(const char *nptr, char **endptr, int base);
00095 #endif
00096 
00097 #if defined(NEED_DECL_STRCASECMP)
00098 int strcasecmp(const char *s1, const char *s2);
00099 #endif
00100 
00101 #if defined(NEED_DECL_STRNCASECMP)
00102 int strncasecmp(const char *s1, const char *s2, size_t n);
00103 #endif
00104 
00105 
00106 #if defined(NEED_DECL_STRERROR)
00107 char *strerror(int errnum);
00108 #endif
00109 
00110 #if defined(NEED_DECL_PERROR)
00111 void perror(const char *s);
00112 #endif
00113 
00114 #if defined(NEED_DECL_SOCKET)
00115 int socket(int domain, int type, int protocol);
00116 #endif
00117 
00118 #if defined(NEED_DECL_SENDTO)
00119 int sendto(int s, const void *msg, int len, unsigned int flags,
00120                 const struct sockaddr *to, int tolen);
00121 #endif
00122 
00123 #endif  /* __PROTOTYPES_H__ */

Generated on Sun May 14 14:51:17 2006 by  doxygen 1.4.2