1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 #ifndef CIB_MESSAGES__H
19 # define CIB_MESSAGES__H
20
21 extern xmlNode *createCibRequest(gboolean isLocal, const char *operation, const char *section,
22 const char *verbose, xmlNode * data);
23
24 extern int cib_process_shutdown_req(const char *op, int options, const char *section,
25 xmlNode * req, xmlNode * input,
26 xmlNode * existing_cib, xmlNode ** result_cib,
27 xmlNode ** answer);
28
29 extern int cib_process_default(const char *op, int options, const char *section,
30 xmlNode * req, xmlNode * input, xmlNode * existing_cib,
31 xmlNode ** result_cib, xmlNode ** answer);
32
33 extern int cib_process_quit(const char *op, int options, const char *section,
34 xmlNode * req, xmlNode * input, xmlNode * existing_cib,
35 xmlNode ** result_cib, xmlNode ** answer);
36
37 extern int cib_process_ping(const char *op, int options, const char *section,
38 xmlNode * req, xmlNode * input, xmlNode * existing_cib,
39 xmlNode ** result_cib, xmlNode ** answer);
40
41 extern int cib_process_readwrite(const char *op, int options, const char *section,
42 xmlNode * req, xmlNode * input, xmlNode * existing_cib,
43 xmlNode ** result_cib, xmlNode ** answer);
44
45 extern int cib_process_replace_svr(const char *op, int options, const char *section,
46 xmlNode * req, xmlNode * input,
47 xmlNode * existing_cib, xmlNode ** result_cib,
48 xmlNode ** answer);
49
50 extern int cib_server_process_diff(const char *op, int options, const char *section,
51 xmlNode * req, xmlNode * input,
52 xmlNode * existing_cib, xmlNode ** result_cib,
53 xmlNode ** answer);
54
55 extern int cib_process_sync(const char *op, int options, const char *section,
56 xmlNode * req, xmlNode * input, xmlNode * existing_cib,
57 xmlNode ** result_cib, xmlNode ** answer);
58
59 extern int cib_process_sync_one(const char *op, int options, const char *section,
60 xmlNode * req, xmlNode * input, xmlNode * existing_cib,
61 xmlNode ** result_cib, xmlNode ** answer);
62
63 extern int cib_process_delete_absolute(const char *op, int options, const char *section,
64 xmlNode * req, xmlNode * input,
65 xmlNode * existing_cib, xmlNode ** result_cib,
66 xmlNode ** answer);
67
68 int cib_process_upgrade_server(const char *op, int options, const char *section,
69 xmlNode * req, xmlNode * input,
70 xmlNode * existing_cib, xmlNode ** result_cib,
71 xmlNode ** answer);
72
73 void send_sync_request(const char *host);
74
75
76 #endif