#include <stdint.h>
#include <libxml/tree.h>
#include <crm/common/ipc_internal.h>
#include <crm/common/results_internal.h>
#include <crm/common/xml_internal.h>
Go to the source code of this file.
|
#define | pcmk__set_request_flags(request, flags_to_set) |
|
#define | pcmk__new_message(server, reply_to, sender_system, recipient_node, recipient_system, task, data) |
|
#define | pcmk__new_request(server, sender_system, recipient_node, recipient_system, task, data) |
|
#define | pcmk__new_reply(original_request, data) pcmk__new_reply_as(__func__, (original_request), (data)) |
|
|
xmlNode * | pcmk__new_message_as (const char *origin, enum pcmk_ipc_server server, const char *reply_to, const char *sender_system, const char *recipient_node, const char *recipient_system, const char *task, xmlNode *data) |
|
xmlNode * | pcmk__new_reply_as (const char *origin, const xmlNode *original_request, xmlNode *data) |
|
GHashTable * | pcmk__register_handlers (const pcmk__server_command_t handlers[]) |
|
xmlNode * | pcmk__process_request (pcmk__request_t *request, GHashTable *handlers) |
|
void | pcmk__reset_request (pcmk__request_t *request) |
|
◆ pcmk__new_message
#define pcmk__new_message |
( |
|
server, |
|
|
|
reply_to, |
|
|
|
sender_system, |
|
|
|
recipient_node, |
|
|
|
recipient_system, |
|
|
|
task, |
|
|
|
data |
|
) |
| |
Value: (sender_system), (recipient_node), \
(recipient_system), (task), (
data))
xmlNode * pcmk__new_message_as(const char *origin, enum pcmk_ipc_server server, const char *reply_to, const char *sender_system, const char *recipient_node, const char *recipient_system, const char *task, xmlNode *data)
Definition at line 111 of file messages_internal.h.
◆ pcmk__new_reply
◆ pcmk__new_request
#define pcmk__new_request |
( |
|
server, |
|
|
|
sender_system, |
|
|
|
recipient_node, |
|
|
|
recipient_system, |
|
|
|
task, |
|
|
|
data |
|
) |
| |
Value: (sender_system), (recipient_node), \
(recipient_system), (task), (
data))
xmlNode * pcmk__new_message_as(const char *origin, enum pcmk_ipc_server server, const char *reply_to, const char *sender_system, const char *recipient_node, const char *recipient_system, const char *task, xmlNode *data)
Definition at line 141 of file messages_internal.h.
◆ pcmk__set_request_flags
#define pcmk__set_request_flags |
( |
|
request, |
|
|
|
flags_to_set |
|
) |
| |
Value:do { \
(request)->
flags = pcmk__set_flags_as(__func__, __LINE__, \
LOG_TRACE,
"Request",
"message", (request)->flags, \
(flags_to_set), #flags_to_set); \
} while (0)
Definition at line 68 of file messages_internal.h.
◆ pcmk__request_flags
Enumerator |
---|
pcmk__request_none | |
pcmk__request_sync | |
pcmk__request_reuse_options | |
Definition at line 23 of file messages_internal.h.
◆ pcmk__new_message_as()
xmlNode* pcmk__new_message_as |
( |
const char * |
origin, |
|
|
enum pcmk_ipc_server |
server, |
|
|
const char * |
reply_to, |
|
|
const char * |
sender_system, |
|
|
const char * |
recipient_node, |
|
|
const char * |
recipient_system, |
|
|
const char * |
task, |
|
|
xmlNode * |
data |
|
) |
| |
◆ pcmk__new_reply_as()
xmlNode* pcmk__new_reply_as |
( |
const char * |
origin, |
|
|
const xmlNode * |
original_request, |
|
|
xmlNode * |
data |
|
) |
| |
◆ pcmk__process_request()
xmlNode* pcmk__process_request |
( |
pcmk__request_t * |
request, |
|
|
GHashTable * |
handlers |
|
) |
| |
◆ pcmk__register_handlers()
◆ pcmk__reset_request()