dnas_sendinfo(3)
NAME
- DNAS_sendinfo - Function to send information to the imme
- diate uplink,
SYNOPSIS
#include <dmachinemon/dmachinemon-libp2papplication.h>
int DNAS_sendinfo
(
const char *TAG,
const char *string,
dm_commandoption *p2pcdat
);
PARAMETERS
- const char *TAG
- TAG to identify information.
- const char *string
- The information string.
- dm_commandoption *p2pcdat
- Command line parameter option.
DESCRIPTION
- To be gathered using Other nodes will be able to see the
- information sent with the TAG, for nodes which are connected to
- the same uplink, and all the children of the nodes which are con
- nected to the same uplink.
- It takes some time before the information is sent to up
- link, namely the --sleep parameter given to dmachinemon-servent
- determines it.
- Also this function should fail if dmachinemon-servent has
- terminated for some reason, maybe with --Dieonload option.
- Unless --layers is specified when invoking dmachinemon
- servent, the information that has been given with sendinfo will
- be available on all of the uplinks, with gatherinfo.
- @Version 0.31.0 changed name to DNAS_Finalize from dm_Fi
- nalize, requires pointer to cdat @return 1 on error, 0 on suc
- cess.
SEE ALSO
- DNAS_Init(3), DNAS_Finalize(3), DNAS_gatherinfo(3),
- DNAS_freeinfo(3)
- c2man dmachinemon-libp2papplicati5nAugust 2002