ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/uulib/fptools.h
(Generate patch)

Comparing Convert-UUlib/uulib/fptools.h (file contents):
Revision 1.4 by root, Sun Mar 31 20:04:30 2002 UTC vs.
Revision 1.5 by root, Sun Mar 31 20:08:42 2002 UTC

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.4 2002/03/31 20:04:30 root Exp $ 13 * $Id: fptools.h,v 1.5 2002/03/31 20:08:42 root Exp $
14 */ 14 */
15 15
16#ifndef FPTOOLS_H__ 16#ifndef FPTOOLS_H__
17#define FPTOOLS_H__ 17#define FPTOOLS_H__
18 18
25 25
26#ifdef __cplusplus 26#ifdef __cplusplus
27extern "C" { 27extern "C" {
28#endif 28#endif
29 29
30#define _FP_free FP_free 30#define __FP_free FP_free
31#define _FP_strdup FP_strdup 31#define __FP_strdup FP_strdup
32#define _FP_strncpy FP_strncpy 32#define __FP_strncpy FP_strncpy
33#define _FP_memdup FP_memdup 33#define __FP_memdup FP_memdup
34#define _FP_stricmp FP_stricmp 34#define __FP_stricmp FP_stricmp
35#define _FP_strnicmp FP_strnicmp 35#define __FP_strnicmp FP_strnicmp
36#define _FP_strrstr FP_strrstr 36#define __FP_strrstr FP_strrstr
37#define _FP_stoupper FP_stoupper 37#define __FP_stoupper FP_stoupper
38#define _FP_stolower FP_stolower 38#define __FP_stolower FP_stolower
39#define _FP_strmatch FP_strmatch 39#define __FP_strmatch FP_strmatch
40#define _FP_strstr FP_strstr 40#define __FP_strstr FP_strstr
41#define _FP_stristr FP_stristr 41#define __FP_stristr FP_stristr
42#define _FP_strirstr FP_strirstr 42#define __FP_strirstr FP_strirstr
43#define _FP_strrchr FP_strrchr 43#define __FP_strrchr FP_strrchr
44#define _FP_fgets FP_fgets 44#define __FP_fgets FP_fgets
45#define _FP_strpbrk FP_strpbrk 45#define __FP_strpbrk FP_strpbrk
46#define _FP_strtok FP_strtok 46#define __FP_strtok FP_strtok
47#define _FP_cutdir FP_cutdir 47#define __FP_cutdir FP_cutdir
48#define _FP_strerror FP_strerror 48#define __FP_strerror FP_strerror
49#define _FP_tempnam FP_tempnam 49#define __FP_tempnam FP_tempnam
50 50
51void TOOLEXPORT FP_free (void *); 51void TOOLEXPORT _FP_free (void *);
52char * TOOLEXPORT FP_strdup (char *); 52char * TOOLEXPORT _FP_strdup (char *);
53char * TOOLEXPORT FP_strncpy (char *, char *, int); 53char * TOOLEXPORT _FP_strncpy (char *, char *, int);
54void * TOOLEXPORT FP_memdup (void *, int); 54void * TOOLEXPORT _FP_memdup (void *, int);
55int TOOLEXPORT FP_stricmp (char *, char *); 55int TOOLEXPORT _FP_stricmp (char *, char *);
56int TOOLEXPORT FP_strnicmp (char *, char *, int); 56int TOOLEXPORT _FP_strnicmp (char *, char *, int);
57char * TOOLEXPORT FP_strrstr (char *, char *); 57char * TOOLEXPORT _FP_strrstr (char *, char *);
58char * TOOLEXPORT FP_stoupper (char *); 58char * TOOLEXPORT _FP_stoupper (char *);
59char * TOOLEXPORT FP_stolower (char *); 59char * TOOLEXPORT _FP_stolower (char *);
60int TOOLEXPORT FP_strmatch (char *, char *); 60int TOOLEXPORT _FP_strmatch (char *, char *);
61char * TOOLEXPORT FP_strstr (char *, char *); 61char * TOOLEXPORT _FP_strstr (char *, char *);
62char * TOOLEXPORT FP_stristr (char *, char *); 62char * TOOLEXPORT _FP_stristr (char *, char *);
63char * TOOLEXPORT FP_strirstr (char *, char *); 63char * TOOLEXPORT _FP_strirstr (char *, char *);
64char * TOOLEXPORT FP_strrchr (char *, int); 64char * TOOLEXPORT _FP_strrchr (char *, int);
65char * TOOLEXPORT FP_fgets (char *, int, FILE *); 65char * TOOLEXPORT _FP_fgets (char *, int, FILE *);
66char * TOOLEXPORT FP_strpbrk (char *, char *); 66char * TOOLEXPORT _FP_strpbrk (char *, char *);
67char * TOOLEXPORT FP_strtok (char *, char *); 67char * TOOLEXPORT _FP_strtok (char *, char *);
68char * TOOLEXPORT FP_cutdir (char *); 68char * TOOLEXPORT _FP_cutdir (char *);
69char * TOOLEXPORT FP_strerror (int); 69char * TOOLEXPORT _FP_strerror (int);
70#ifndef HAVE_MKSTEMP 70#ifndef HAVE_MKSTEMP
71char * TOOLEXPORT FP_tempnam (char *, char *); 71char * TOOLEXPORT _FP_tempnam (char *, char *);
72#endif /* HAVE_MKSTEMP */ 72#endif /* HAVE_MKSTEMP */
73 73
74#ifdef __cplusplus 74#ifdef __cplusplus
75} 75}
76#endif 76#endif
77#endif 77#endif
78

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines