DNAS_gatherinfo3
Gather info
Usage
#include <dmachinemon/dmachinemon-libp2papplication.h>
char **DNAS_gatherinfo
(
const char *TAG,
dm_commandoption *p2pcdat
);
Parameters
const char *TAG
|
Name of tag to search for. |
|---|---|
dm_commandoption *p2pcdat
|
Command line parameter option. |
Overview
Gather information with the specified tag from the immediate uplink. Other nodes have already sent this information using ndinfo}. Information obtained with this function should be freed with einfo}.
There is a notable delay between sendinfo and actually receiving information via gatherinfo.
Cdat cannot be used in this function, unless external interface is to be broken.
@See dm_freeinfo @see dm_sendinfo @return array of character pointers, or NULL on failure. @Version 0.31.0 changed name to DNAS_Finalize from dm_Finalize, requires pointer to cdat.
Releases
Unchanged in 2 releases since Debian 3.1 (Sarge).