fptools.h

Go to the documentation of this file.
00001 /*
00002  * fptools.c, some helper functions for getcgi.c and uu(en|de)view
00003  *
00004  * Distributed under the terms of the GNU General Public License.
00005  * Use and be happy.
00006  */
00007 
00008 /*
00009  * Some handy, nonstandard functions. Note that the original may
00010  * be both faster and better. ``better'', if your compiler allows
00011  * cleaner use of such functions by proper use of ``const''.
00012  *
00013  * $Id: fptools.h 2 2006-10-02 20:45:58Z csk $
00014  */
00015 
00016 #ifndef __FPTOOLS_H__
00017 #define __FPTOOLS_H__
00018 
00019 #ifndef _ANSI_ARGS_
00020 #ifdef PROTOTYPES
00021 #define _ANSI_ARGS_(c) c
00022 #else
00023 #define _ANSI_ARGS_(c) ()
00024 #endif
00025 #endif
00026 
00027 #ifndef TOOLEXPORT
00028 #define TOOLEXPORT
00029 #endif
00030 
00031 #ifdef __cplusplus
00032 extern "C" {
00033 #endif
00034 
00035 void    TOOLEXPORT      _FP_free        _ANSI_ARGS_((void *));
00036 char *  TOOLEXPORT      _FP_strdup      _ANSI_ARGS_((char *));
00037 char *  TOOLEXPORT      _FP_strncpy     _ANSI_ARGS_((char *, char *, int));
00038 void *  TOOLEXPORT      _FP_memdup      _ANSI_ARGS_((void *, int));
00039 int     TOOLEXPORT      _FP_stricmp     _ANSI_ARGS_((char *, char *));
00040 int     TOOLEXPORT      _FP_strnicmp    _ANSI_ARGS_((char *, char *, int));
00041 char *  TOOLEXPORT      _FP_strrstr     _ANSI_ARGS_((char *, char *));
00042 char *  TOOLEXPORT      _FP_stoupper    _ANSI_ARGS_((char *));
00043 char *  TOOLEXPORT      _FP_stolower    _ANSI_ARGS_((char *));
00044 int     TOOLEXPORT      _FP_strmatch    _ANSI_ARGS_((char *, char *));
00045 char *  TOOLEXPORT      _FP_strstr      _ANSI_ARGS_((char *, char *));
00046 char *  TOOLEXPORT      _FP_stristr     _ANSI_ARGS_((char *, char *));
00047 char *  TOOLEXPORT      _FP_strirstr    _ANSI_ARGS_((char *, char *));
00048 char *  TOOLEXPORT      _FP_strrchr     _ANSI_ARGS_((char *, int));
00049 char *  TOOLEXPORT      _FP_fgets       _ANSI_ARGS_((char *, int, FILE *));
00050 char *  TOOLEXPORT      _FP_strpbrk     _ANSI_ARGS_((char *, char *));
00051 char *  TOOLEXPORT      _FP_strtok      _ANSI_ARGS_((char *, char *));
00052 char *  TOOLEXPORT      _FP_cutdir      _ANSI_ARGS_((char *));
00053 char *  TOOLEXPORT      _FP_strerror    _ANSI_ARGS_((int));
00054 char *  TOOLEXPORT      _FP_tempnam     _ANSI_ARGS_((char *, char *));
00055 
00056 #ifdef __cplusplus
00057 }
00058 #endif
00059 #endif

Generated on Sun Oct 12 01:45:29 2008 for NNTPGrab by  1.5.4