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

« back to all changes in this revision

Viewing changes to crm/cib/cibmessages.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
 
/* 
2
 
 * Copyright (C) 2004 Andrew Beekhof <andrew@beekhof.net>
3
 
 * 
4
 
 * This program is free software; you can redistribute it and/or
5
 
 * modify it under the terms of the GNU General Public
6
 
 * License as published by the Free Software Foundation; either
7
 
 * version 2.1 of the License, or (at your option) any later version.
8
 
 * 
9
 
 * This software is distributed in the hope that it will be useful,
10
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
 
 * General Public License for more details.
13
 
 * 
14
 
 * You should have received a copy of the GNU General Public
15
 
 * License along with this library; if not, write to the Free Software
16
 
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
 
 */
18
 
#ifndef CIB_MESSAGES__H
19
 
#define CIB_MESSAGES__H
20
 
 
21
 
 
22
 
extern crm_data_t *createCibRequest(
23
 
        gboolean isLocal, const char *operation, const char *section,
24
 
        const char *verbose, crm_data_t *data);
25
 
 
26
 
extern enum cib_errors 
27
 
cib_process_shutdown_req(
28
 
        const char *op, int options, const char *section, crm_data_t *input,
29
 
        crm_data_t *existing_cib, crm_data_t **result_cib, crm_data_t **answer);
30
 
 
31
 
extern enum cib_errors cib_process_default(
32
 
        const char *op, int options, const char *section, crm_data_t *input,
33
 
        crm_data_t *existing_cib, crm_data_t **result_cib, crm_data_t **answer);
34
 
 
35
 
extern enum cib_errors cib_process_quit(
36
 
        const char *op, int options, const char *section, crm_data_t *input,
37
 
        crm_data_t *existing_cib, crm_data_t **result_cib, crm_data_t **answer);
38
 
 
39
 
extern enum cib_errors cib_process_ping(
40
 
        const char *op, int options, const char *section, crm_data_t *input,
41
 
        crm_data_t *existing_cib, crm_data_t **result_cib, crm_data_t **answer);
42
 
 
43
 
extern enum cib_errors cib_process_query(
44
 
        const char *op, int options, const char *section, crm_data_t *input,
45
 
        crm_data_t *existing_cib, crm_data_t **result_cib, crm_data_t **answer);
46
 
 
47
 
extern enum cib_errors cib_process_erase(
48
 
        const char *op, int options, const char *section, crm_data_t *input,
49
 
        crm_data_t *existing_cib, crm_data_t **result_cib, crm_data_t **answer);
50
 
 
51
 
extern enum cib_errors cib_process_bump(
52
 
        const char *op, int options, const char *section, crm_data_t *input,
53
 
        crm_data_t *existing_cib, crm_data_t **result_cib, crm_data_t **answer);
54
 
 
55
 
extern enum cib_errors cib_process_replace(
56
 
        const char *op, int options, const char *section, crm_data_t *input,
57
 
        crm_data_t *existing_cib, crm_data_t **result_cib, crm_data_t **answer);
58
 
 
59
 
extern enum cib_errors cib_process_modify(
60
 
        const char *op, int options, const char *section, crm_data_t *input,
61
 
        crm_data_t *existing_cib, crm_data_t **result_cib, crm_data_t **answer);
62
 
 
63
 
extern enum cib_errors cib_process_readwrite(
64
 
        const char *op, int options, const char *section, crm_data_t *input,
65
 
        crm_data_t *existing_cib, crm_data_t **result_cib, crm_data_t **answer);
66
 
 
67
 
extern enum cib_errors cib_process_diff(
68
 
        const char *op, int options, const char *section, crm_data_t *input,
69
 
        crm_data_t *existing_cib, crm_data_t **result_cib, crm_data_t **answer);
70
 
 
71
 
extern enum cib_errors cib_process_sync(
72
 
        const char *op, int options, const char *section, crm_data_t *input,
73
 
        crm_data_t *existing_cib, crm_data_t **result_cib, crm_data_t **answer);
74
 
 
75
 
extern enum cib_errors cib_process_sync_one(
76
 
        const char *op, int options, const char *section, crm_data_t *input,
77
 
        crm_data_t *existing_cib, crm_data_t **result_cib, crm_data_t **answer);
78
 
 
79
 
extern enum cib_errors cib_process_delete(
80
 
        const char *op, int options, const char *section, crm_data_t *input,
81
 
        crm_data_t *existing_cib, crm_data_t **result_cib, crm_data_t **answer);
82
 
 
83
 
extern enum cib_errors cib_process_change(
84
 
        const char *op, int options, const char *section, crm_data_t *input,
85
 
        crm_data_t *existing_cib, crm_data_t **result_cib, crm_data_t **answer);
86
 
 
87
 
#endif