corosync  3.0.4
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_IGNORED   (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, 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)
 

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_IGNORED

#define TOTEM_CONFIG_WARNING_TOTEM_NODEID_IGNORED   (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,
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 
)