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.3 by root, Sun Feb 10 22:47:18 2002 UTC vs.
Revision 1.3.2.4 by root, Thu Nov 6 13:08:23 2003 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.3 2002/02/10 22:47:18 root Exp $ 13 * $Id: fptools.h,v 1.3.2.4 2003/11/06 13:08:23 root Exp $
14 */ 14 */
15 15
16#ifndef FPTOOLS_H__ 16#ifndef __FPTOOLS_H__
17#define FPTOOLS_H__ 17#define __FPTOOLS_H__
18 18
19typedef signed char schar; 19#ifndef _ANSI_ARGS_
20typedef unsigned char uchar; 20#ifdef PROTOTYPES
21#define _ANSI_ARGS_(c) c
22#else
23#define _ANSI_ARGS_(c) ()
24#endif
25#endif
21 26
22#ifndef TOOLEXPORT 27#ifndef TOOLEXPORT
23#define TOOLEXPORT 28#define TOOLEXPORT
24#endif 29#endif
25 30
26#ifdef __cplusplus 31#ifdef __cplusplus
27extern "C" { 32extern "C" {
28#endif 33#endif
29 34
30void TOOLEXPORT FP_free (void *); 35void TOOLEXPORT _FP_free _ANSI_ARGS_((void *));
31char * TOOLEXPORT FP_strdup (char *); 36char * TOOLEXPORT _FP_strdup _ANSI_ARGS_((char *));
32char * TOOLEXPORT FP_strncpy (char *, char *, int); 37char * TOOLEXPORT _FP_strncpy _ANSI_ARGS_((char *, char *, int));
33void * TOOLEXPORT FP_memdup (void *, int); 38void * TOOLEXPORT _FP_memdup _ANSI_ARGS_((void *, int));
34int TOOLEXPORT FP_stricmp (char *, char *); 39int TOOLEXPORT _FP_stricmp _ANSI_ARGS_((char *, char *));
35int TOOLEXPORT FP_strnicmp (char *, char *, int); 40int TOOLEXPORT _FP_strnicmp _ANSI_ARGS_((char *, char *, int));
36char * TOOLEXPORT FP_strrstr (char *, char *); 41char * TOOLEXPORT _FP_strrstr _ANSI_ARGS_((char *, char *));
37char * TOOLEXPORT FP_stoupper (char *); 42char * TOOLEXPORT _FP_stoupper _ANSI_ARGS_((char *));
38char * TOOLEXPORT FP_stolower (char *); 43char * TOOLEXPORT _FP_stolower _ANSI_ARGS_((char *));
39int TOOLEXPORT FP_strmatch (char *, char *); 44int TOOLEXPORT _FP_strmatch _ANSI_ARGS_((char *, char *));
40char * TOOLEXPORT FP_strstr (char *, char *); 45char * TOOLEXPORT _FP_strstr _ANSI_ARGS_((char *, char *));
41char * TOOLEXPORT FP_stristr (char *, char *); 46char * TOOLEXPORT _FP_stristr _ANSI_ARGS_((char *, char *));
42char * TOOLEXPORT FP_strirstr (char *, char *); 47char * TOOLEXPORT _FP_strirstr _ANSI_ARGS_((char *, char *));
43char * TOOLEXPORT FP_strrchr (char *, int); 48char * TOOLEXPORT _FP_strrchr _ANSI_ARGS_((char *, int));
44char * TOOLEXPORT FP_fgets (char *, int, FILE *); 49char * TOOLEXPORT _FP_fgets _ANSI_ARGS_((char *, int, FILE *));
45char * TOOLEXPORT FP_strpbrk (char *, char *); 50char * TOOLEXPORT _FP_strpbrk _ANSI_ARGS_((char *, char *));
46char * TOOLEXPORT FP_strtok (char *, char *); 51char * TOOLEXPORT _FP_strtok _ANSI_ARGS_((char *, char *));
47char * TOOLEXPORT FP_cutdir (char *); 52char * TOOLEXPORT _FP_cutdir _ANSI_ARGS_((char *));
48char * TOOLEXPORT FP_strerror (int); 53char * TOOLEXPORT _FP_strerror _ANSI_ARGS_((int));
49#ifndef HAVE_MKSTEMP
50char * TOOLEXPORT FP_tempnam (char *, char *); 54char * TOOLEXPORT _FP_tempnam _ANSI_ARGS_((char *, char *));
51#endif /* HAVE_MKSTEMP */
52 55
53#ifdef __cplusplus 56#ifdef __cplusplus
54} 57}
55#endif 58#endif
56#endif 59#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines