NAME
DNAS_Init - Initialization for DNAS interface.
SYNOPSIS
#include <dmachinemon/dmachinemon-libp2papplication.h>
int DNAS_Init
(
int *ac,
char ***av,
dm_commandoption *p2pcdat
);
PARAMETERS
- int *ac
-
&Argc.
- char ***av
-
&Argv.
- dm_commandoption *p2pcdat
-
Command line parameter option.
DESCRIPTION
Must be called on application startup. The argc, and argv arguments passed to main function should be passed on to here.
@Return 1 on error, 0 on success. @Version 0.31.0 changed name to DNAS_Init from dm_Init, requires pointer to cdat.
SEE ALSO
DNAS_Finalize(3), DNAS_sendinfo(3), DNAS_gatherinfo(3), DNAS_freeinfo(3)