File: pid.h

package info (click to toggle)
gopher 2.3-2
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 2,364 kB
  • ctags: 2,030
  • sloc: ansic: 22,451; perl: 1,950; sh: 1,510; makefile: 397; asm: 1
file content (58 lines) | stat: -rw-r--r-- 1,505 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/********************************************************************
 * $Author: lindner $
 * $Revision: 3.4 $
 * $Date: 1994/07/31 05:16:42 $
 * $Source: /home/arcwelder/GopherSrc/CVS/gopher+/gopherd/pid.h,v $
 * $State: Exp $
 *
 * Paul Lindner, University of Minnesota CIS.
 *
 * Copyright 1991,92,93,94 by the Regents of the University of Minnesota
 * see the file "Copyright" in the distribution for conditions of use.
 *********************************************************************
 * MODULE: pid.h
 * Abstraction of all PID routines
 *********************************************************************
 * Revision History:
 * $Log: pid.h,v $
 * Revision 3.4  1994/07/31  05:16:42  lindner
 * One more bug fix..
 *
 * Revision 3.3  1994/07/31  03:46:14  lindner
 * Make PID routines optional
 *
 * Revision 3.2  1994/04/08  21:13:03  lindner
 * Fix for ansi C compilers
 *
 * Revision 3.1  1994/03/17  04:33:38  lindner
 * New pid routines
 *
 *
 *
 *********************************************************************/

/*
 * This is the interface for all the PID routines
 */

#ifndef NO_AUTHENTICATION

void PIDwrite( /* char* char* */);
int  PIDnumprocs( /* ... */);
void PIDdone(/* ... */);
void PIDclean();


#else /** NO_AUTHENTICATION **/

#  define PIDwrite(a,b) ;
#  define PIDnumprocs(a) (0)
#  define PIDdone(a,b) ;
#  define PIDclean(a) ;
#endif

#if defined(__STDC__) || defined(__stdc__)
 void PIDwritef(char *piddir, const char *fmt, ...);
#else
 void PIDwritef();
#endif