- moved timeout handling responsibility from for nat tests from caller to the library
[oweals/gnunet.git] / src / peerstore / peerstore.h
index 7c6e6bdbc688c5d4d8dda05114f747c252a63589..5757f784ec084ba3722f9bb121fd3eef5ffcaede 100644 (file)
@@ -75,6 +75,30 @@ struct StoreRecordMessage
    */
   struct GNUNET_TIME_Absolute expiry;
 
+  /**
+   * Options, needed only in case of a
+   * store operation
+   */
+  enum GNUNET_PEERSTORE_StoreOption options;
+
+};
+
+/**
+ * Message carrying record key hash
+ */
+struct StoreKeyHashMessage
+{
+
+  /**
+   * GNUnet message header
+   */
+  struct GNUNET_MessageHeader header;
+
+  /**
+   * Hash of a record key
+   */
+  struct GNUNET_HashCode keyhash;
+
 };
 
 GNUNET_NETWORK_STRUCT_END