pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Data Structures | Typedefs | Enumerations
cib_types.h File Reference

Data types for Cluster Information Base access. More...

#include <glib.h>
#include <libxml/tree.h>
#include <crm/common/ipc.h>
#include <crm/common/xml.h>
Include dependency graph for cib_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  cib_api_operations_s
 
struct  cib_s
 

Typedefs

typedef struct cib_s cib_t
 
typedef struct cib_api_operations_s cib_api_operations_t
 

Enumerations

enum  cib_variant {
  cib_undefined = 0, cib_native = 1, cib_file = 2, cib_remote = 3,
  cib_database = 4
}
 
enum  cib_state { cib_connected_command, cib_connected_query, cib_disconnected }
 
enum  cib_conn_type { cib_command, cib_query, cib_no_connection, cib_command_nonblocking }
 
enum  cib_call_options {
  cib_none = 0, cib_verbose = (1 << 0), cib_xpath = (1 << 1), cib_multiple = (1 << 2),
  cib_can_create = (1 << 3), cib_discard_reply = (1 << 4), cib_no_children = (1 << 5), cib_xpath_address = (1 << 6),
  cib_mixed_update = (1 << 7), cib_scope_local = (1 << 8), cib_dryrun = (1 << 9), cib_transaction = (1 << 10),
  cib_sync_call = (1 << 12), cib_no_mtime = (1 << 13), cib_zero_copy = (1 << 14), cib_inhibit_notify = (1 << 16),
  cib_quorum_override = (1 << 20), cib_inhibit_bcast = (1 << 24), cib_force_diff = (1 << 28)
}
 

Detailed Description

Data types for Cluster Information Base access.

Definition in file cib_types.h.

Typedef Documentation

◆ cib_api_operations_t

◆ cib_t

typedef struct cib_s cib_t

Definition at line 123 of file cib_types.h.

Enumeration Type Documentation

◆ cib_call_options

Enumerator
cib_none 
cib_verbose 

Prefer stderr to logs.

cib_xpath 
cib_multiple 
cib_can_create 
cib_discard_reply 
cib_no_children 
cib_xpath_address 
cib_mixed_update 
Deprecated:
This value will be removed in a future release
cib_scope_local 
Deprecated:
This value will be removed in a future release
cib_dryrun 
cib_transaction 

Process request when the client commits the active transaction.

Add the request to the client's active transaction instead of processing it immediately. If the client has no active transaction, or if the request is not supported in transactions, the call will fail.

The request is added to the transaction synchronously, and the return value indicates whether it was added successfully.

Refer to cib_api_operations_t:init_transaction() and cib_api_operations_t:end_transaction() for more details on CIB transactions.

cib_sync_call 
cib_no_mtime 
cib_zero_copy 
Deprecated:
This value will be removed in a future release
cib_inhibit_notify 
cib_quorum_override 
Deprecated:
This value will be removed in a future release
cib_inhibit_bcast 
Deprecated:
This value will be removed in a future release
cib_force_diff 

Definition at line 53 of file cib_types.h.

◆ cib_conn_type

Enumerator
cib_command 
cib_query 
cib_no_connection 
cib_command_nonblocking 

Definition at line 46 of file cib_types.h.

◆ cib_state

enum cib_state
Enumerator
cib_connected_command 
cib_connected_query 
cib_disconnected 

Definition at line 40 of file cib_types.h.

◆ cib_variant

Enumerator
cib_undefined 
cib_native 
cib_file 
cib_remote 
cib_database 
Deprecated:
This value will be removed in a future release

Definition at line 28 of file cib_types.h.