testing
authorChristian Grothoff <christian@grothoff.org>
Fri, 21 May 2010 11:15:07 +0000 (11:15 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 21 May 2010 11:15:07 +0000 (11:15 +0000)
src/include/gnunet_testing_lib.h

index 71bf9f9618b70c1720b20710b47ed2f79439407d..d3ede33e8777f1e9dae2576c3662538d28cb1454 100644 (file)
@@ -301,6 +301,16 @@ struct GNUNET_TESTING_Daemon
    */
   struct GNUNET_DISK_PipeHandle *pipe_stdout;
 
+  /**
+   * Output from gnunet-peerinfo is read into this buffer.
+   */
+  char hostkeybuf[105];
+
+  /**
+   * Current position in 'hostkeybuf' (for reading from gnunet-peerinfo)
+   */
+  unsigned int hostkeybufpos;
+
   /**
    * Set to GNUNET_YES once the peer is up.
    */