… | |
… | |
8 | /* |
8 | /* |
9 | * Some handy, nonstandard functions. Note that the original may |
9 | * Some handy, nonstandard functions. Note that the original may |
10 | * be both faster and better. ``better'', if your compiler allows |
10 | * be both faster and better. ``better'', if your compiler allows |
11 | * cleaner use of such functions by proper use of ``const''. |
11 | * cleaner use of such functions by proper use of ``const''. |
12 | * |
12 | * |
13 | * $Id: fptools.h,v 1.3 2002/02/10 22:47:18 root Exp $ |
13 | * $Id: fptools.h,v 1.4 2002/03/31 20:04:30 root Exp $ |
14 | */ |
14 | */ |
15 | |
15 | |
16 | #ifndef FPTOOLS_H__ |
16 | #ifndef FPTOOLS_H__ |
17 | #define FPTOOLS_H__ |
17 | #define FPTOOLS_H__ |
18 | |
18 | |
… | |
… | |
24 | #endif |
24 | #endif |
25 | |
25 | |
26 | #ifdef __cplusplus |
26 | #ifdef __cplusplus |
27 | extern "C" { |
27 | extern "C" { |
28 | #endif |
28 | #endif |
|
|
29 | |
|
|
30 | #define _FP_free FP_free |
|
|
31 | #define _FP_strdup FP_strdup |
|
|
32 | #define _FP_strncpy FP_strncpy |
|
|
33 | #define _FP_memdup FP_memdup |
|
|
34 | #define _FP_stricmp FP_stricmp |
|
|
35 | #define _FP_strnicmp FP_strnicmp |
|
|
36 | #define _FP_strrstr FP_strrstr |
|
|
37 | #define _FP_stoupper FP_stoupper |
|
|
38 | #define _FP_stolower FP_stolower |
|
|
39 | #define _FP_strmatch FP_strmatch |
|
|
40 | #define _FP_strstr FP_strstr |
|
|
41 | #define _FP_stristr FP_stristr |
|
|
42 | #define _FP_strirstr FP_strirstr |
|
|
43 | #define _FP_strrchr FP_strrchr |
|
|
44 | #define _FP_fgets FP_fgets |
|
|
45 | #define _FP_strpbrk FP_strpbrk |
|
|
46 | #define _FP_strtok FP_strtok |
|
|
47 | #define _FP_cutdir FP_cutdir |
|
|
48 | #define _FP_strerror FP_strerror |
|
|
49 | #define _FP_tempnam FP_tempnam |
29 | |
50 | |
30 | void TOOLEXPORT FP_free (void *); |
51 | void TOOLEXPORT FP_free (void *); |
31 | char * TOOLEXPORT FP_strdup (char *); |
52 | char * TOOLEXPORT FP_strdup (char *); |
32 | char * TOOLEXPORT FP_strncpy (char *, char *, int); |
53 | char * TOOLEXPORT FP_strncpy (char *, char *, int); |
33 | void * TOOLEXPORT FP_memdup (void *, int); |
54 | void * TOOLEXPORT FP_memdup (void *, int); |