corosync 3.1.9
Macros | Functions
totemconfig.h File Reference
#include <netinet/in.h>
#include <corosync/corotypes.h>
#include <qb/qbloop.h>
#include <corosync/totem/totempg.h>
#include "totemsrp.h"
Include dependency graph for totemconfig.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TOTEM_CONFIG_WARNING_MEMBERS_IGNORED   (1<<1)
 
#define TOTEM_CONFIG_WARNING_MEMBERS_DEPRECATED   (1<<2)
 
#define TOTEM_CONFIG_WARNING_TOTEM_NODEID_SET   (1<<3)
 
#define TOTEM_CONFIG_BINDNETADDR_NODELIST_SET   (1<<4)
 

Functions

int totem_config_read (struct totem_config *totem_config, const char **error_string, uint64_t *warnings)
 
int totem_config_validate (struct totem_config *totem_config, const char **error_string)
 
int totem_config_keyread (struct totem_config *totem_config, icmap_map_t map, const char **error_string)
 
int totem_config_find_local_addr_in_nodelist (struct totem_config *totem_config, const char *ipaddr_key_prefix, unsigned int *node_pos)
 
void totem_volatile_config_read (struct totem_config *totem_config, icmap_map_t temp_map, const char *deleted_key)
 
int totem_reread_crypto_config (struct totem_config *totem_config, icmap_map_t map, const char **error_string)
 
int totem_volatile_config_validate (struct totem_config *totem_config, icmap_map_t temp_map, const char **error_string)
 
int totemconfig_configure_new_params (struct totem_config *totem_config, icmap_map_t map, const char **error_string)
 
int totemconfig_commit_new_params (struct totem_config *totem_config, icmap_map_t map)
 

Macro Definition Documentation

◆ TOTEM_CONFIG_BINDNETADDR_NODELIST_SET

#define TOTEM_CONFIG_BINDNETADDR_NODELIST_SET   (1<<4)

Definition at line 48 of file totemconfig.h.

◆ TOTEM_CONFIG_WARNING_MEMBERS_DEPRECATED

#define TOTEM_CONFIG_WARNING_MEMBERS_DEPRECATED   (1<<2)

Definition at line 46 of file totemconfig.h.

◆ TOTEM_CONFIG_WARNING_MEMBERS_IGNORED

#define TOTEM_CONFIG_WARNING_MEMBERS_IGNORED   (1<<1)

Definition at line 45 of file totemconfig.h.

◆ TOTEM_CONFIG_WARNING_TOTEM_NODEID_SET

#define TOTEM_CONFIG_WARNING_TOTEM_NODEID_SET   (1<<3)

Definition at line 47 of file totemconfig.h.

Function Documentation

◆ totem_config_find_local_addr_in_nodelist()

int totem_config_find_local_addr_in_nodelist ( struct totem_config totem_config,
const char ipaddr_key_prefix,
unsigned int node_pos 
)
extern

◆ totem_config_keyread()

int totem_config_keyread ( struct totem_config totem_config,
icmap_map_t  map,
const char **  error_string 
)
extern

◆ totem_config_read()

int totem_config_read ( struct totem_config totem_config,
const char **  error_string,
uint64_t warnings 
)
extern

◆ totem_config_validate()

int totem_config_validate ( struct totem_config totem_config,
const char **  error_string 
)
extern

◆ totem_reread_crypto_config()

int totem_reread_crypto_config ( struct totem_config totem_config,
icmap_map_t  map,
const char **  error_string 
)
extern

Definition at line 2293 of file totemconfig.c.

References nodeid, and totem_config_keyread().

◆ totem_volatile_config_read()

void totem_volatile_config_read ( struct totem_config totem_config,
icmap_map_t  temp_map,
const char deleted_key 
)
extern

◆ totem_volatile_config_validate()

int totem_volatile_config_validate ( struct totem_config totem_config,
icmap_map_t  temp_map,
const char **  error_string 
)
extern

◆ totemconfig_commit_new_params()

int totemconfig_commit_new_params ( struct totem_config totem_config,
icmap_map_t  map 
)
extern

◆ totemconfig_configure_new_params()

int totemconfig_configure_new_params ( struct totem_config totem_config,
icmap_map_t  map,
const char **  error_string 
)
extern

Definition at line 2398 of file totemconfig.c.

References log_printf, LOGSYS_LEVEL_DEBUG, and nodeid.