~ubuntu-branches/ubuntu/trusty/keepalived/trusty

« back to all changes in this revision

Viewing changes to keepalived/include/main.h

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Wirt
  • Date: 2005-04-29 23:22:40 UTC
  • mfrom: (1.1.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050429232240-a8m3jtpi3cvuyyy2
Tags: 1.1.11-3
Added a warning about sarge kernels to README.Debian and 
the package description 

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 *
6
6
 * Part:        Main program include file.
7
7
 *
8
 
 * Version:     $Id: main.h,v 1.1.7 2004/04/04 23:28:05 acassen Exp $
 
8
 * Version:     $Id: main.h,v 1.1.11 2005/03/01 01:22:13 acassen Exp $
9
9
 *
10
10
 * Author:      Alexandre Cassen, <acassen@linux-vs.org>
11
11
 *
19
19
 *              as published by the Free Software Foundation; either version
20
20
 *              2 of the License, or (at your option) any later version.
21
21
 *
22
 
 * Copyright (C) 2001-2004 Alexandre Cassen, <acassen@linux-vs.org>
 
22
 * Copyright (C) 2001-2005 Alexandre Cassen, <acassen@linux-vs.org>
23
23
 */
24
24
 
25
25
#ifndef _MAIN_H
41
41
#include "check_daemon.h"
42
42
#include "global_data.h"
43
43
 
44
 
/* global var */
45
 
thread_master *master = NULL;   /* Scheduling master thread */
46
 
char *conf_file = NULL;         /* Configuration file */
47
 
int log_facility = LOG_DAEMON;  /* Optional logging facilities */
48
 
int reload = 0;                 /* Global reloading flag */
49
 
unsigned int debug;             /* Debugging flags */
50
 
pid_t vrrp_child = -1;          /* VRRP child process ID */
51
 
pid_t checkers_child = -1;      /* Healthcheckers child process ID */
52
 
long wdog_delay_vrrp = 0;       /* VRRP child polling delay */
53
 
long wdog_delay_check = 0;      /* Healthchecker child polling delay */
54
 
conf_data *data;                /* Global configuration data */
55
 
int daemon_mode = 0;            /* VRRP/CHECK subsystem selection */
56
 
int linkwatch = 0;              /* Use linkwatch kernel netlink reflection */
 
44
/* Global vars exported */
 
45
extern char *conf_file;         /* Configuration file */
 
46
extern int log_facility;        /* Optional logging facilities */
 
47
extern pid_t vrrp_child;        /* VRRP child process ID */
 
48
extern pid_t checkers_child;    /* Healthcheckers child process ID */
 
49
extern int daemon_mode;         /* VRRP/CHECK subsystem selection */
 
50
extern int linkwatch;           /* Use linkwatch kernel netlink reflection */
57
51
 
58
52
#endif