corosync 3.1.7
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)
 
void 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 
)

◆ totem_config_keyread()

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

◆ totem_config_read()

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

◆ totem_config_validate()

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

◆ totem_reread_crypto_config()

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

Definition at line 2289 of file totemconfig.c.

◆ totem_volatile_config_read()

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

Definition at line 311 of file totemconfig.c.

◆ totem_volatile_config_validate()

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

◆ totemconfig_commit_new_params()

void totemconfig_commit_new_params ( struct totem_config totem_config,
icmap_map_t  map 
)

Definition at line 2417 of file totemconfig.c.

References INTERFACE_MAX, and totem_config::interfaces.

Referenced by main_iface_change_fn().

◆ totemconfig_configure_new_params()

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

Definition at line 2394 of file totemconfig.c.