pidentd  3.0.19
About: implementation of the RFC1413 identification server (more or less complete rewrite compared to version 2)
  Fossies Dox: pidentd-3.0.19.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

pidentd.h
Go to the documentation of this file.
1 /*
2 ** pidentd.h - Definitions needing global visibility
3 **
4 ** Copyright (c) 1997 Peter Eriksson <pen@lysator.liu.se>
5 **
6 ** This program is free software; you can redistribute it and/or
7 ** modify it as you wish - as long as you don't claim that you wrote
8 ** it.
9 **
10 ** This program is distributed in the hope that it will be useful,
11 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 */
14 
15 #ifndef PIDENTD_H
16 #define PIDENTD_H
17 
18 #include "s_pthread.h"
19 
20 #include "buffer.h"
21 #include "avail.h"
22 #include "daemon.h"
23 #include "sockaddr.h"
24 #include "kernel.h"
25 #include "request.h"
26 #include "server.h"
27 #include "send.h"
28 #include "safeio.h"
29 #include "support.h"
30 #include "conf.h"
31 #include "str2.h"
32 #include "timeout.h"
33 
34 #ifdef HAVE_LIBDES
35 #include "pdes.h"
36 #endif
37 
38 #include "system.h"
39 
40 #ifndef PATH_SYSCONFDIR
41 #define PATH_SYSCONFDIR "/etc"
42 #endif
43 
44 #ifndef PATH_PIDFILE
45 #define PATH_PIDFILE "/etc/identd.pid"
46 #endif
47 
48 #ifndef PATH_CFGFILE
49 #define PATH_CFGFILE PATH_SYSCONFDIR "/identd.conf"
50 #endif
51 
52 #define NO_PID ((pid_t) -1)
53 #define INIT_PID 1
54 
55 #define NO_UID ((uid_t) -1)
56 #define ROOT_UID 0
57 #define ROOT_GID 0
58 
59 extern int debug;
60 extern uid_t server_uid;
61 extern gid_t server_gid;
62 extern char *argv0;
63 
64 #ifdef HAVE_LIBDES
65 
66 #ifndef PATH_KEYFILE
67 #define PATH_KEYFILE PATH_SYSCONFDIR "/identd.key"
68 #endif
69 
70 extern int encrypt_flag;
71 extern char *encrypt_keyfile;
72 
73 #endif
74 
75 extern char *pidfile_path;
76 extern char server_version[];
78 
79 #endif
kernel.h
s_pthread.h
timeout.h
avail.h
sockaddr.h
pdes.h
server_version
char server_version[]
Definition: version.c:1
debug
int debug
Definition: gen_osinfo.c:23
server_uid
uid_t server_uid
Definition: main.c:38
str2.h
pidfile_path
char * pidfile_path
Definition: main.c:40
support.h
safeio.h
conf.h
request.h
buffer.h
cma_t_handle
Definition: hp_pthread.h:26
system.h
argv0
char * argv0
Definition: main.c:35
send.h
server_gid
gid_t server_gid
Definition: main.c:39
server.h
cattr_detached
int cattr_detached
Definition: main.c:47
daemon.h