5748483 [rkeene@sledge /home/rkeene/devel/old/rutil_tcpcgi-0.1.17]$ cat -n tcpcgid.h
 1 /*
 2     tcpcgid.h -- Headers and definitions for the server/daemon portion
 3                  of rutil_tcpcgi.
 4     Copyright (C) 2003  Roy Keene
 5 
 6     This program is free software; you can redistribute it and/or modify
 7     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
 9     (at your option) any later version.
10 
11     This program is distributed in the hope that it will be useful,
12     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 should 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     email: tcpcgi@rkeene.org
21 
22 */
23 #ifndef TCPCGID_H
24 #define TCPCGID_H
25 
26 #include "tcpcgi.h"
27 
28 #ifdef TCPCGID_STANDALONE
29 #define RET_FROM_MAIN(x) return(x)
30 #define MAIN_FUNC(x...) main(x)
31 #else
32 #define RET_FROM_MAIN(x) exit(x)
33 #define MAIN_FUNC(x...) tcpcgid_main(x)
34 #endif
35 
36 int MAIN_FUNC(void);
37 
38 #endif
5748484 [rkeene@sledge /home/rkeene/devel/old/rutil_tcpcgi-0.1.17]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2004-01-01 16:22:42