Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F2822798
pacemaker.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
pacemaker.h
View Options
/*
* Copyright (C) 2011 Jiaju Zhang <jjzhang@suse.de>
* Copyright (C) 2013-2014 Philipp Marek <philipp.marek@linbit.com>
*
* 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 program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef _PACEMAKER_H
#define _PACEMAKER_H
#include <stdint.h>
#include "config.h"
struct ticket_handler {
int (*grant_ticket) (struct ticket_config *tk);
int (*revoke_ticket) (struct ticket_config *tk);
int (*load_ticket) (struct ticket_config *tk);
int (*set_attr) (struct ticket_config *tk, const char *a, const char *v);
int (*get_attr) (struct ticket_config *tk, const char *a, const char **vp);
int (*del_attr) (struct ticket_config *tk, const char *a);
};
extern struct ticket_handler pcmk_handler;
const char * interpret_rv(int rv);
#endif /* _PACEMAKER_H */
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sat, Jan 25, 6:39 AM (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1321541
Default Alt Text
pacemaker.h (1 KB)
Attached To
Mode
rB Booth
Attached
Detach File
Event Timeline
Log In to Comment