~ampelbein/ubuntu/oneiric/heartbeat/lp-770743

« back to all changes in this revision

Viewing changes to include/hb_config.h

  • Committer: Bazaar Package Importer
  • Author(s): Ante Karamatic
  • Date: 2009-08-10 19:29:25 UTC
  • mfrom: (5.2.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20090810192925-9zy2llcbgavbskf7
Tags: 2.99.2+sles11r9-5ubuntu1
* New upstream snapshot
* Adjusted heartbeat.install and rules for documentation path

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* include/hb_config.h.  Generated from hb_config.h.in by configure.  */
2
 
/*
3
 
 * hb_config.h: Definitions from the Linux-HA heartbeat program
4
 
 *             for out-of-tree projects
5
 
 *
6
 
 * Copyright (C) 2007 Andrew Beekhof <abeekhof@suse.de>
7
 
 *
8
 
 * This library is free software; you can redistribute it and/or
9
 
 * modify it under the terms of the GNU Lesser General Public
10
 
 * License as published by the Free Software Foundation; either
11
 
 * version 2.1 of the License, or (at your option) any later version.
12
 
 * 
13
 
 * This library is distributed in the hope that it will be useful,
14
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16
 
 * Lesser General Public License for more details.
17
 
 * 
18
 
 * You should have received a copy of the GNU Lesser General Public
19
 
 * License along with this library; if not, write to the Free Software
20
 
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21
 
 *
22
 
 */
23
 
 
24
 
#ifndef _HB_CONFIG_H
25
 
#define _HB_CONFIG_H
26
 
 
27
 
/* have new heartbeat api */
28
 
#define HAVE_NEW_HB_API 1
29
 
 
30
 
/* Define to 1 if the mgmt-daemon and friends are enabled. */
31
 
#define MGMT_ENABLED 1
32
 
 
33
 
/* $malloc_desc */
34
 
#define CL_USE_LIBC_MALLOC 1
35
 
 
36
 
/* Set if CLOCK_T is adequate by itself for the "indefinite future" (>= 100
37
 
   years) */
38
 
/* #undef CLOCK_T_IS_LONG_ENOUGH */
39
 
 
40
 
/* Group to own API fifos */
41
 
#define HA_APIGROUP "haclient"
42
 
 
43
 
/* GID to own API fifos */
44
 
#define HA_APIGID 65
45
 
 
46
 
/* User to own CCM fifos */
47
 
#define HA_CCMUSER "hacluster"
48
 
 
49
 
/* UID to own CCM fifos */
50
 
#define HA_CCMUID 17
51
 
 
52
 
/* Web site base URL */
53
 
#define HA_URLBASE "http://linux-ha.org/"
54
 
 
55
 
/* Logging Daemon IPC socket name */
56
 
#define HA_LOGDAEMON_IPC "/var/lib/log_daemon"
57
 
 
58
 
/* ocf ra dir */
59
 
#define OCF_RA_DIR "/usr/lib/ocf/resource.d/"
60
 
 
61
 
/* ocf root dir */
62
 
#define OCF_ROOT_DIR "/usr/lib/ocf"
63
 
 
64
 
/* heartbeat rc script directory */
65
 
#define HA_RC_DIR "/etc/ha.d/rc.d"
66
 
 
67
 
/* heartbeat logging socket */
68
 
#define HA_LOGDAEMON_IPC "/var/lib/log_daemon"
69
 
 
70
 
/* lib directory */
71
 
#define HA_LIBDIR "/usr/lib"
72
 
 
73
 
/* lib heartbeat directory */
74
 
#define HA_LIBHBDIR "/usr/lib/heartbeat"
75
 
 
76
 
/* top directory of area to drop core files in */
77
 
#define HA_COREDIR "/var/lib/heartbeat/cores"
78
 
 
79
 
/* var lib directory */
80
 
#define HA_VARLIBDIR "/var/lib"
81
 
 
82
 
/* var lib heartbeat directory */
83
 
#define HA_VARLIBHBDIR "/var/lib/heartbeat"
84
 
 
85
 
/* var lock directory */
86
 
#define HA_VARLOCKDIR "/var/lock"
87
 
 
88
 
/* var log directory */
89
 
#define HA_VARLOGDIR "/var/log"
90
 
 
91
 
/* var run directory */
92
 
#define HA_VARRUNDIR "/var/run"
93
 
 
94
 
/* var run heartbeat directory */
95
 
#define HA_VARRUNHBDIR "/var/run/heartbeat"
96
 
 
97
 
/* Heartbeat configuration directory */
98
 
#define HA_HBCONF_DIR "/etc/ha.d"
99
 
 
100
 
/* heartbeat ra dir */
101
 
#define HB_RA_DIR "/etc/ha.d/resource.d/"
102
 
 
103
 
/* lsb ra dir */
104
 
#define LSB_RA_DIR "/etc/init.d"
105
 
 
106
 
/* stonith ra dir */
107
 
#define STONITH_RA_DIR "/usr/lib/heartbeat/stonith.d/"
108
 
 
109
 
/* pils plugin dir */
110
 
#define HA_PLUGIN_DIR "/usr/lib/heartbeat/plugins"
111
 
 
112
 
/* ra plugin dir */
113
 
#define LRM_PLUGIN_DIR "/usr/lib/heartbeat/plugins/RAExec"
114
 
 
115
 
/* directory for the external stonith plugins */
116
 
#define STONITH_EXT_PLUGINDIR "/usr/lib/stonith/plugins/external"
117
 
 
118
 
#endif /* _HB_CONFIG_H */