/[dtapublic]/projs/dtats/trunk/projs/2018/20180707_cgi_web_tools_aux_exe/auxfuncs.h
ViewVC logotype

Contents of /projs/dtats/trunk/projs/2018/20180707_cgi_web_tools_aux_exe/auxfuncs.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 29 - (show annotations) (download)
Sat Oct 8 07:08:47 2016 UTC (8 years, 1 month ago) by dashley
Original Path: to_be_filed/sf_code/esrgnxpj/sfnthcgi0304/auxfuncs.h
File MIME type: text/plain
File size: 2970 byte(s)
Directories relocated.
1 // $Header: /cvsroot/esrg/sfesrg/esrgnxpj/sfnthcgi0304/auxfuncs.h,v 1.2 2003/04/17 20:02:05 dtashley Exp $
2 //
3 //********************************************************************************
4 //Copyright (C) 2003 David T. Ashley
5 //********************************************************************************
6 //This program or source file is free software; you can redistribute it and/or
7 //modify it under the terms of the GNU General Public License as published by
8 //the Free Software Foundation; either version 2 of the License, or (at your
9 //option) any later version.
10 //
11 //This program or source file is distributed in the hope that it will
12 //be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
13 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 //GNU General Public License for more details.
15 //
16 //You may have received a copy of the GNU General Public License
17 //along with this program; if not, write to the Free Software
18 //Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 //********************************************************************************
20 //
21 #ifndef AUXFUNCS_H_INCLUDED
22 #define AUXFUNCS_H_INCLUDED
23
24 #ifdef MODULE_AUXFUNCS
25 #define DECMOD_AUXFUNCS
26 #else
27 #define DECMOD_AUXFUNCS extern
28 #endif
29
30 //CHARACTER CLASSIFICATION FUNCTIONS.
31 DECMOD_AUXFUNCS int AUXFUNCS_is_digit(char c);
32 DECMOD_AUXFUNCS int AUXFUNCS_digit_to_val(char digit);
33
34 //SIZE_T INTEGER FUNCTIONS.
35 DECMOD_AUXFUNCS size_t AUXFUNCS_size_t_min(size_t a, size_t b);
36 DECMOD_AUXFUNCS size_t AUXFUNCS_size_t_max(size_t a, size_t b);
37
38 //CONTRACTING STRING FUNCTIONS.
39 DECMOD_AUXFUNCS void AUXFUNCS_remove_non_digits(char *s);
40 DECMOD_AUXFUNCS void AUXFUNCS_remove_leading_zeros(char *s);
41
42 /****************************************************************/
43 /*** VERSION CONTROL REPORTING FUNCTIONS ********************/
44 /****************************************************************/
45 DECMOD_AUXFUNCS const char *AUXFUNCS_cvcinfo(void);
46 DECMOD_AUXFUNCS const char *AUXFUNCS_hvcinfo(void);
47
48 /* Preprocessor string to allow the H-file version to be
49 ** compiled into the C-file.
50 */
51 #define AUXFUNCS_H_VERSION ("$Header: /cvsroot/esrg/sfesrg/esrgnxpj/sfnthcgi0304/auxfuncs.h,v 1.2 2003/04/17 20:02:05 dtashley Exp $")
52
53 #endif /* AUXFUNCS_H_INCLUDED */
54
55 //********************************************************************************
56 // $Log: auxfuncs.h,v $
57 // Revision 1.2 2003/04/17 20:02:05 dtashley
58 // License text for the GPL added. All source files are now under the GPL,
59 // after some discussion on the GMP list.
60 //
61 // Revision 1.1 2003/04/13 23:46:06 dtashley
62 // Initial checkin.
63 //********************************************************************************
64 // End of AUXFUNCS.H.
65 //********************************************************************************

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25