1 /*
2  *      $Id: owampdP.h 951 2006-12-05 06:45:07Z boote $
3  */
4 /************************************************************************
5  *                                                                      *
6  *                             Copyright (C)  2002                      *
7  *                                Internet2                             *
8  *                             All Rights Reserved                      *
9  *                                                                      *
10  ************************************************************************/
11 /*
12  *        File:         owampdP.h
13  *
14  *        Author:       Jeff W. Boote
15  *                      Internet2
16  *
17  *        Date:         Mon Jun 03 15:31:22 MDT 2002
18  *
19  *        Description:
20  */
21 #ifndef _OWAMPDP_H_
22 #define _OWAMPDP_H_
23 
24 #ifndef OWAMPD_CONF_FILE
25 #define OWAMPD_CONF_FILE        "owampd.conf"
26 #endif
27 
28 /*
29  * Types
30  */
31 typedef struct {
32 
33     I2Boolean       verbose;
34     I2Boolean       help;
35 
36     char            cwd[MAXPATHLEN];
37     char            *confdir;
38     char            *vardir;
39     char            *passwd;
40 
41     char            *datadir;
42 
43     char            *authmode;
44     uint32_t        auth_mode;        /* cooked version of authmode */
45     char            *srcnode;
46 
47     OWPPortRange    portspec;
48 
49     char            *user;
50     char            *group;
51 
52     OWPBoolean      allowroot;
53 
54     double          diskfudge;
55     uint32_t        dieby;
56     uint32_t        controltimeout;
57     uint32_t        pbkdf2_count;
58 #ifndef        NDEBUG
59     void            *childwait;
60 #endif
61     I2Boolean       daemon;
62 
63     I2Boolean       setEndDelay;
64     double          endDelay;
65 } owampd_opts;
66 
67 #endif        /*        _OWAMPDP_H_        */
68