aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_testing_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_testing_lib.h')
-rw-r--r--src/include/gnunet_testing_lib.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/gnunet_testing_lib.h b/src/include/gnunet_testing_lib.h
index 6ad3e408c..7830ac226 100644
--- a/src/include/gnunet_testing_lib.h
+++ b/src/include/gnunet_testing_lib.h
@@ -43,6 +43,8 @@ extern "C"
43#endif 43#endif
44#endif 44#endif
45 45
46#define HOSTKEYFILESIZE 914
47
46/** 48/**
47 * Handle for a GNUnet daemon (technically a set of 49 * Handle for a GNUnet daemon (technically a set of
48 * daemons; the handle is really for the master ARM 50 * daemons; the handle is really for the master ARM
@@ -409,6 +411,7 @@ typedef void (*GNUNET_TESTING_NotifyTopology)(void *cls,
409 * (use NULL for localhost). 411 * (use NULL for localhost).
410 * @param ssh_username ssh username to use when connecting to hostname 412 * @param ssh_username ssh username to use when connecting to hostname
411 * @param sshport port to pass to ssh process when connecting to hostname 413 * @param sshport port to pass to ssh process when connecting to hostname
414 * @param hostkey pointer to a hostkey to be written to disk (instead of being generated)
412 * @param hostkey_callback function to call once the hostkey has been 415 * @param hostkey_callback function to call once the hostkey has been
413 * generated for this peer, but it hasn't yet been started 416 * generated for this peer, but it hasn't yet been started
414 * (NULL to start immediately, otherwise waits on GNUNET_TESTING_daemon_continue_start) 417 * (NULL to start immediately, otherwise waits on GNUNET_TESTING_daemon_continue_start)
@@ -423,8 +426,9 @@ GNUNET_TESTING_daemon_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
423 const char *hostname, 426 const char *hostname,
424 const char *ssh_username, 427 const char *ssh_username,
425 uint16_t sshport, 428 uint16_t sshport,
426 GNUNET_TESTING_NotifyHostkeyCreated hostkey_callback, 429 const char *hostkey,
427 void *hostkey_cls, 430 GNUNET_TESTING_NotifyHostkeyCreated
431 hostkey_callback, void *hostkey_cls,
428 GNUNET_TESTING_NotifyDaemonRunning cb, 432 GNUNET_TESTING_NotifyDaemonRunning cb,
429 void *cb_cls); 433 void *cb_cls);
430 434