Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F2825223
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/mcp/pacemaker.h b/mcp/pacemaker.h
index 6ff89713e2..fdccddac59 100644
--- a/mcp/pacemaker.h
+++ b/mcp/pacemaker.h
@@ -1,60 +1,61 @@
/*
* Copyright (C) 2010 Andrew Beekhof <andrew@beekhof.net>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <crm_internal.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/wait.h>
+#include <sys/resource.h>
#include <stdint.h>
#include <crm/crm.h>
#include <crm/common/xml.h>
#define SIZEOF(a) (sizeof(a) / sizeof(a[0]))
#define crm_flag_none 0x00000000
#define crm_flag_members 0x00000001
#define MAX_RESPAWN 100
extern uint32_t local_nodeid;
typedef struct pcmk_peer_s {
uint32_t id;
uint32_t processes;
char *uname;
} pcmk_peer_t;
extern gboolean read_config(void);
extern gboolean cluster_connect_cfg(uint32_t * nodeid);
extern gboolean cluster_disconnect_cfg(void);
extern gboolean cluster_connect_cpg(void);
extern gboolean cluster_disconnect_cpg(void);
extern gboolean send_cpg_message(struct iovec *iov);
extern void update_process_clients(void);
extern void update_process_peers(void);
extern gboolean update_node_processes(uint32_t node, const char *uname, uint32_t procs);
extern char *get_local_node_name(void);
extern void enable_mgmtd(gboolean enable);
extern void enable_crmd_as_root(gboolean enable);
extern void pcmk_shutdown(int nsig);
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Jan 25, 11:50 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1322440
Default Alt Text
(2 KB)
Attached To
Mode
rP Pacemaker
Attached
Detach File
Event Timeline
Log In to Comment