#include "node.h"#include "mutex.h"#include <http_common.h>#include <list.h>#include <str.h>#include <type.h>#include <apr_network_io.h>#include <apr_strings.h>#include <stdio.h>#include <assert.h>Include dependency graph for node.c:

Go to the source code of this file.
Functions | |
| bs_status | init_node (apr_pool_t *mp) |
| static bs_bool | node_already_known (const char *address, bs_uint16 port) |
| bs_status | add_node (const char *address, bs_uint16 port) |
| bs_status | remove_node (const char *address, bs_uint16 port) |
| bs_uint32 | ping_node (const char *address, bs_uint16 port, apr_pool_t *mp) |
| node_info * | get_servicing_node (const bs_service_request *req) |
Variables | |
| apr_pool_t * | global_mp |
| static bs_list * | nodes = NULL |
Check whether the given address and port combination is not already list in the nodes list.
| address | Address to investigate | |
| port | Port to investigate |
Definition at line 71 of file node.c.
References node_address::address, FALSE, list_index(), list_size(), lock_node_mux(), nodes, node_address::port, streq(), TRUE, and unlock_node_mux().
Referenced by add_node().
Here is the call graph for this function:

Definition at line 49 of file node.c.
Referenced by add_node(), get_servicing_node(), init_node(), node_already_known(), and remove_node().
1.5.1