make clang static analysis happy
[oweals/gnunet.git] / src / hostlist / gnunet-daemon-hostlist.h
index 7c30344b25f35b6e69e3d210f216e9488eb26c28..a3fbae52396bd37ff2d9fcdd5071bcb37bc867c9 100644 (file)
  */
 #define DEBUG_HOSTLIST GNUNET_NO
 
-/**
- * A HOSTLIST_ADV message is used to exchange information about
- * hostlist advertisements.  This struct is always
- * followed by the actual url under which the hostlist can be obtained:
- *
- * 1) transport-name (0-terminated)
- * 2) address-length (uint32_t, network byte order; possibly
- *    unaligned!)
- * 3) address expiration (GNUNET_TIME_AbsoluteNBO); possibly
- *    unaligned!)
- * 4) address (address-length bytes; possibly unaligned!)
- */
-struct GNUNET_HOSTLIST_ADV_Message
-{
-  /**
-   * Type will be GNUNET_MESSAGE_TYPE_HOSTLIST_ADVERTISEMENT.
-   */
-  struct GNUNET_MessageHeader header;
-
-  /**
-   * Always zero (for alignment).
-   */
-  uint32_t reserved GNUNET_PACKED;
-};
-
+#define MAX_URL_LEN 1000
 
 /* end of gnunet-daemon-hostlist.h */