2000-02-25 10:15:17 +00:00
|
|
|
/*
|
|
|
|
* fptools.c, some helper functions for getcgi.c and uu(en|de)view
|
|
|
|
*
|
2001-11-01 17:20:18 +00:00
|
|
|
* Distributed under the terms of the GNU General Public License.
|
|
|
|
* Use and be happy.
|
2000-02-25 10:15:17 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Some handy, nonstandard functions. Note that the original may
|
|
|
|
* be both faster and better. ``better'', if your compiler allows
|
|
|
|
* cleaner use of such functions by proper use of ``const''.
|
|
|
|
*
|
|
|
|
* $Id$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __FPTOOLS_H__
|
|
|
|
#define __FPTOOLS_H__
|
|
|
|
|
|
|
|
#ifndef TOOLEXPORT
|
|
|
|
#define TOOLEXPORT
|
|
|
|
#endif
|
|
|
|
|
2006-05-06 09:13:21 +00:00
|
|
|
void TOOLEXPORT _FP_free (void *);
|
|
|
|
char * TOOLEXPORT _FP_strdup (char *);
|
|
|
|
char * TOOLEXPORT _FP_strncpy (char *, char *, int);
|
|
|
|
void * TOOLEXPORT _FP_memdup (void *, int);
|
|
|
|
int TOOLEXPORT _FP_stricmp (char *, char *);
|
|
|
|
int TOOLEXPORT _FP_strnicmp(char *, char *, int);
|
|
|
|
char * TOOLEXPORT _FP_strrstr (char *, char *);
|
|
|
|
char * TOOLEXPORT _FP_stoupper(char *);
|
|
|
|
char * TOOLEXPORT _FP_stolower(char *);
|
|
|
|
int TOOLEXPORT _FP_strmatch(char *, char *);
|
|
|
|
char * TOOLEXPORT _FP_strstr (char *, char *);
|
|
|
|
char * TOOLEXPORT _FP_stristr (char *, char *);
|
|
|
|
char * TOOLEXPORT _FP_strirstr(char *, char *);
|
|
|
|
char * TOOLEXPORT _FP_strrchr (char *, int);
|
|
|
|
char * TOOLEXPORT _FP_fgets (char *, int, FILE *);
|
|
|
|
char * TOOLEXPORT _FP_strpbrk (char *, char *);
|
|
|
|
char * TOOLEXPORT _FP_strtok (char *, char *);
|
|
|
|
char * TOOLEXPORT _FP_cutdir (char *);
|
2001-04-01 09:46:21 +00:00
|
|
|
#if 0
|
2006-05-06 09:13:21 +00:00
|
|
|
char * TOOLEXPORT _FP_strerror(int);
|
|
|
|
char * TOOLEXPORT _FP_tempnam (char *, char *);
|
2001-04-01 09:46:21 +00:00
|
|
|
#endif
|
2000-02-25 10:15:17 +00:00
|
|
|
|
|
|
|
#endif
|