gnunet_program_lib.h | gnunet_program_lib.h | |||
---|---|---|---|---|
skipping to change at line 62 | skipping to change at line 62 | |||
const struct GNUNET_CONFIGURATION_Hand le * | const struct GNUNET_CONFIGURATION_Hand le * | |||
cfg); | cfg); | |||
/** | /** | |||
* Run a standard GNUnet command startup sequence (initialize loggers | * Run a standard GNUnet command startup sequence (initialize loggers | |||
* and configuration, parse options). | * and configuration, parse options). | |||
* | * | |||
* @param argc number of command line arguments | * @param argc number of command line arguments | |||
* @param argv command line arguments | * @param argv command line arguments | |||
* @param binaryName our expected name | * @param binaryName our expected name | |||
* @param binaryHelp help text for the program | ||||
* @param options command line options | ||||
* @param task main function to run | ||||
* @param task_cls closure for task | ||||
* @param run_without_scheduler GNUNET_NO start the scheduler, GNUNET_YES d | ||||
o not | ||||
* start the scheduler just run the main task | ||||
* @return GNUNET_SYSERR on error, GNUNET_OK on success | ||||
*/ | ||||
int | ||||
GNUNET_PROGRAM_run2 (int argc, char *const *argv, const char *binaryName, | ||||
const char *binaryHelp, | ||||
const struct GNUNET_GETOPT_CommandLineOption *options, | ||||
GNUNET_PROGRAM_Main task, void *task_cls, | ||||
int run_without_scheduler); | ||||
/** | ||||
* Run a standard GNUnet command startup sequence (initialize loggers | ||||
* and configuration, parse options). | ||||
* | ||||
* @param argc number of command line arguments | ||||
* @param argv command line arguments | ||||
* @param binaryName our expected name | ||||
* @param binaryHelp helptext for "-h" option (about the app) | * @param binaryHelp helptext for "-h" option (about the app) | |||
* @param options command line options | * @param options command line options | |||
* @param task main function to run | * @param task main function to run | |||
* @param task_cls closure for task | * @param task_cls closure for task | |||
* @return GNUNET_SYSERR on error, GNUNET_OK on success | * @return GNUNET_SYSERR on error, GNUNET_OK on success | |||
*/ | */ | |||
int | int | |||
GNUNET_PROGRAM_run (int argc, char *const *argv, const char *binaryName, | GNUNET_PROGRAM_run (int argc, char *const *argv, const char *binaryName, | |||
const char *binaryHelp, | const char *binaryHelp, | |||
const struct GNUNET_GETOPT_CommandLineOption *options, | const struct GNUNET_GETOPT_CommandLineOption *options, | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 23 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |