vulcano.c File Reference
#include "magma.h"Define Documentation
| #define INCLUDE_FLARE_INTERNALS |
Function Documentation
| void cat_profile | ( | char * | profile_buf | ) |
| void load_status | ( | ) |
| int magma_add_node_to_ring_near | ( | magma_node_t * | newnode, | |
| magma_node_t * | sibling | |||
| ) |
| int magma_check_keyspace_continuity | ( | ) |
| magma_node_t* magma_config_myself | ( | char * | node_name, | |
| char * | fqdn_name, | |||
| char * | ipaddr, | |||
| int | ipport, | |||
| int | bandwidth, | |||
| int | storage | |||
| ) |
| magma_network_t* magma_create_network_ring | ( | ) |
create a new lava ring structure
- Returns:
- new lava ring structure pointer
| magma_node_t* magma_create_node | ( | char * | node_name, | |
| char * | fqdn_name, | |||
| char * | ipaddr, | |||
| int | ipport, | |||
| int | bandwidth, | |||
| int | storage | |||
| ) |
allocate a new node structure
- Parameters:
-
node_name short name of this node fqdn_name fully qualified domain name of this node ipaddr string rappresenting node IP address ipport node IP port bandwidth declared bandwidth available storage declare storage available
- Returns:
- new node structure pointer
| int magma_destroy_node | ( | magma_node_t * | node | ) |
| magma_node_t* magma_fill_node | ( | magma_node_t * | node, | |
| char * | node_name, | |||
| char * | fqdn_name, | |||
| char * | ipaddr, | |||
| int | ipport, | |||
| int | bandwidth, | |||
| int | storage | |||
| ) |
| magma_node_t* magma_get_next_node | ( | ) |
| magma_node_t* magma_get_previous_node | ( | ) |
| int magma_load_node_from_dht | ( | magma_node_t * | node | ) |
| uint8_t magma_node_exists | ( | magma_node_t * | node | ) |
| void magma_parse_node_line | ( | char * | buf, | |
| magma_node_t * | node | |||
| ) |
| int magma_remove_node_from_ring | ( | magma_node_t * | node | ) |
| int save_node_profile | ( | ) |
| void save_status | ( | ) |
| void write_profile | ( | int | fd | ) |
Variable Documentation
structure hosting the lava ring
structure describing this node
This file last modified Friday, 04-Jan-2008 18:10:35 CET