Reference

DNAS_gatherinfo(3)

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

SEE ALSO

DNAS_Init(3), DNAS_Finalize(3), DNAS_sendinfo(3), DNAS_freeinfo(3)