#include "platform.h"
#include "gnunet_util_lib.h"
#include "gnunet_hello_uri_lib.h"
#include "gnunet_pils_service.h"
#include "pils.h"
#include <inttypes.h>
Go to the source code of this file.
Functions | |
static void | print_addr (void *cls, const struct GNUNET_PeerIdentity *pid, const char *uri) |
static void | run (void *cls, char *const *args, const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg) |
Main function that will be run. More... | |
int | main (int argc, char *const *argv) |
The main function of the test vector generation tool. More... | |
Variables | |
static const char * | d_seed |
static uint8_t | seed_key [256/8] |
|
static |
Definition at line 39 of file gnunet-pils-tvg.c.
References uri.
Referenced by run().
|
static |
Main function that will be run.
cls | closure |
args | remaining command-line arguments |
cfgfile | name of the configuration file used (for saving, can be NULL!) |
cfg | configuration |
Definition at line 55 of file gnunet-pils-tvg.c.
References d_seed, GNUNET_assert, GNUNET_HELLO_builder_add_address(), GNUNET_HELLO_builder_hash_addresses(), GNUNET_HELLO_builder_iterate(), GNUNET_HELLO_builder_new(), GNUNET_hex2b(), GNUNET_OK, GNUNET_PILS_derive_pid(), GNUNET_print_bytes(), print_addr(), and seed_key.
Referenced by main().
int main | ( | int | argc, |
char *const * | argv | ||
) |
The main function of the test vector generation tool.
argc | number of arguments from the command line |
argv | command line arguments |
Definition at line 100 of file gnunet-pils-tvg.c.
References GNUNET_assert, GNUNET_GETOPT_OPTION_END, GNUNET_log_setup(), GNUNET_OK, GNUNET_OS_project_data_gnunet(), GNUNET_PROGRAM_run(), options, and run().
|
static |
Definition at line 33 of file gnunet-pils-tvg.c.
Referenced by run().
|
static |
Definition at line 36 of file gnunet-pils-tvg.c.
Referenced by GNUNET_PILS_derive_pid(), and run().