Table of Contents
General stuff
P2P application framework
Functions
dm_connect_to_host
Make a TCP connection to host.
dm_count_nodes_number
Count the number of nodes and return.
dm_get_route
Get the route information, received from upstream
dm_get_value_float
Get value from database in floating point format.
dm_get_value_text
Get a text value from the database for one machine.
dm_gethostname_versatile
Get hostname of current system.
dm_nodeinfo_write_out
Command to write out current system's status to uplink.
dm_obtain_grandparent_host
Get the hostname of grandparent host
dm_obtain_route
obtain the route information from uplink, and also return 1 if it needs a relinking.
dm_obtain_uplink_host
get the uplink host.
dm_process_nodes_input
Process the input from node, to refresh my data in database.
dm_randomly_change_route_to
Redirection target chooser.
dm_remove_last_route_to
remove the last route_to member
dm_search_machine
searches for a machine in the DB
dm_send_route
send the route info to downlink.
dm_tcp_host_setup
Set up a Internet daemon listening to TCP streams.
dm_update_db
update a DB of associated-string used to update a database for one machine
dm_wait_route_get
wait until the initial route is obtained from the uplink
dmachinemon_parse_options
Parse command-line options for dmachinemon
dmachinemon_print_commandline_help
Print some common command-line information
Variables
maininfo
The generic information database, which is used for default operations
Enums, Unions, Structs
dm_handle_incoming_params
Used in
dm_tcp_host_setup
.
Typedefs
dm_commandoption
Command line option information, used in dmachinemon_parse_options
dm_machinelist
Machinelist structure.
dm_machinelist_information
the structure to be passed around
dm_pairstring
Pairstring for data-string pair.
This page was generated with the help of
DOC++
.