#include "platform.h"
#include <gnunet/platform.h>
#include <gnunet/gnunet_util_lib.h>
Go to the source code of this file.
◆ run()
◆ main()
int main |
( |
int |
argc, |
|
|
char *const * |
argv |
|
) |
| |
Definition at line 18 of file 001.c.
19{
22 };
25 argv,
26 "binary-name",
29}
static void run(void *cls, char *const *args, const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg)
struct GNUNET_GETOPT_CommandLineOption GNUNET_GETOPT_OPTION_END
struct GNUNET_GETOPT_CommandLineOption options[]
#define gettext_noop(String)
enum GNUNET_GenericReturnValue GNUNET_PROGRAM_run(const struct GNUNET_OS_ProjectData *pd, int argc, char *const *argv, const char *binaryName, const char *binaryHelp, const struct GNUNET_GETOPT_CommandLineOption *options, GNUNET_PROGRAM_Main task, void *task_cls)
Run a standard GNUnet command startup sequence (initialize loggers and configuration,...
Definition of a command line option.
References gettext_noop, GNUNET_GETOPT_OPTION_END, GNUNET_OK, GNUNET_PROGRAM_run(), options, ret, and run().
◆ ret