File: watchcatd.h

package info (click to toggle)
watchcatd 1.2.1-4
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 308 kB
  • sloc: ansic: 1,784; sh: 73; makefile: 59; perl: 46
file content (34 lines) | stat: -rw-r--r-- 672 bytes parent folder | download | duplicates (3)
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
/*
** $Id: watchcatd.h 1654 2006-05-29 18:18:02Z andre $
** watchcatd - Watchcat Daemon
** See copyright notice in distro's COPYRIGHT file
*/

#ifndef WATCHCATD_H
#define WATCHCATD_H

typedef struct {
    /* Common settings. */
    int realtime_mode;
    int priority;
    char user[256];

    /* Master settings only. */
    struct {
        int debug_level;
        char pid_file[256];
    } master;
    
    /* Slave settings only. */
    struct {
        int debug_level;
        char device[256];
        int max_conections;
        int max_conections_per_pid;
    } slave;

} WATCHCAT_GLOBAL_CONF;

extern WATCHCAT_GLOBAL_CONF GLOBAL_CONF;

#endif /* WATCHCATD_H */