man DNAS_gatherinfo (Fonctions bibliothèques) - gather info

NAME

DNAS_gatherinfo - gather info

SYNOPSIS

#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.

DESCRIPTION

Gather information with the specified tag from the immediate uplink. Other nodes have already sent this information using Ref{dm_sendinfo}. Information obtained with this function should be freed with Ref{dm_freeinfo}.

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.

SEE ALSO