#include <crm_internal.h>
#include <unistd.h>
#include <limits.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <pwd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <glib.h>
#include <crm/crm.h>
#include <crm/cib/internal.h>
#include <crm/msg_xml.h>
#include <crm/common/ipc.h>
#include <crm/common/xml.h>
#include <crm/common/xml_internal.h>
Go to the source code of this file.
|
int | cib_file_perform_op (cib_t *cib, const char *op, const char *host, const char *section, xmlNode *data, xmlNode **output_data, int call_options) |
|
int | cib_file_perform_op_delegate (cib_t *cib, const char *op, const char *host, const char *section, xmlNode *data, xmlNode **output_data, int call_options, const char *user_name) |
|
int | cib_file_signon (cib_t *cib, const char *name, enum cib_conn_type type) |
|
int | cib_file_signoff (cib_t *cib) |
|
int | cib_file_free (cib_t *cib) |
|
int | cib_file_read_and_verify (const char *filename, const char *sigfile, xmlNode **root) |
|
int | cib_file_write_with_digest (xmlNode *cib_root, const char *cib_dirname, const char *cib_filename) |
|
cib_t * | cib_file_new (const char *cib_location) |
|
#define cib_clear_file_flags |
( |
|
cibfile, |
|
|
|
flags_to_clear |
|
) |
| |
Value:do { \
(cibfile)->
flags = pcmk__clear_flags_as(__func__, __LINE__, \
cibfile->filename, \
(cibfile)->flags, \
(flags_to_clear), \
#flags_to_clear); \
} while (0)
Definition at line 51 of file cib_file.c.
#define CIB_SERIES_MAX 100 |
#define cib_set_file_flags |
( |
|
cibfile, |
|
|
|
flags_to_set |
|
) |
| |
Value:do { \
(cibfile)->
flags = pcmk__set_flags_as(__func__, __LINE__, \
cibfile->filename, \
(cibfile)->flags, \
(flags_to_set), \
#flags_to_set); \
} while (0)
Definition at line 42 of file cib_file.c.
Enumerator |
---|
cib_file_flag_dirty |
|
cib_file_flag_live |
|
Definition at line 32 of file cib_file.c.
int cib_file_free |
( |
cib_t * |
cib | ) |
|
cib_t* cib_file_new |
( |
const char * |
cib_location | ) |
|
int cib_file_perform_op |
( |
cib_t * |
cib, |
|
|
const char * |
op, |
|
|
const char * |
host, |
|
|
const char * |
section, |
|
|
xmlNode * |
data, |
|
|
xmlNode ** |
output_data, |
|
|
int |
call_options |
|
) |
| |
int cib_file_perform_op_delegate |
( |
cib_t * |
cib, |
|
|
const char * |
op, |
|
|
const char * |
host, |
|
|
const char * |
section, |
|
|
xmlNode * |
data, |
|
|
xmlNode ** |
output_data, |
|
|
int |
call_options, |
|
|
const char * |
user_name |
|
) |
| |
int cib_file_read_and_verify |
( |
const char * |
filename, |
|
|
const char * |
sigfile, |
|
|
xmlNode ** |
root |
|
) |
| |
int cib_file_signoff |
( |
cib_t * |
cib | ) |
|
int cib_file_write_with_digest |
( |
xmlNode * |
cib_root, |
|
|
const char * |
cib_dirname, |
|
|
const char * |
cib_filename |
|
) |
| |