- */
- uint32_t rd_count;
-
- /* followed by rd_count GNUNET_NAMESTORE_RecordData structs*/
-
-};
-
-
-/**
- * Message from client to GNS service to shorten names.
- */
-struct GNUNET_GNS_ClientShortenMessage
-{
- /**
- * Header of type GNUNET_MESSAGE_TYPE_GNS_CLIENT_SHORTEN
- */
- struct GNUNET_MessageHeader header;
-
- /**
- * Unique identifier for this request
- */
- uint32_t id GNUNET_PACKED;
-
- /**
- * If use_default_zone is empty this zone is used for lookup
- */
- struct GNUNET_CRYPTO_ShortHashCode zone;
-
- /**
- * Shorten zone
- */
- struct GNUNET_CRYPTO_ShortHashCode shorten_zone;
-
- /**
- * Private zone
- */
- struct GNUNET_CRYPTO_ShortHashCode private_zone;
-
- /**
- * Should we look up in the default zone?
- */
- uint32_t use_default_zone GNUNET_PACKED;
-
- /* Followed by the name to shorten up */
-};
-
-
-/**
- * Message from GNS service to client: shorten result.
- */
-struct GNUNET_GNS_ClientShortenResultMessage
-{
- /**
- * Header of type GNUNET_MESSAGE_TYPE_GNS_CLIENT_SHORTEN_RESULT
- */
- struct GNUNET_MessageHeader header;
-
- /**
- * Unique identifier for this request (for key collisions).