naming
[oweals/gnunet.git] / src / dht / gnunet-service-dht_clients.h
index db4f0b9fef3181d68f9f83c32b6718672ad8a344..66fa433c0475879f812a66a7460e30f33e6b6ef8 100644 (file)
  * @author Christian Grothoff
  * @author Nathan Evans
  */
-#ifndef GNUNET_SERVICE_DHT_CLIENTS_H
-#define GNUNET_SERVICE_DHT_CLIENTS_H
+#ifndef GNUNET_SERVICE_DHT_CLIENT_H
+#define GNUNET_SERVICE_DHT_CLIENT_H
 
+#include "gnunet_util_lib.h"
+#include "gnunet_block_lib.h"
 
 /**
  * Handle a reply we've received from another peer.  If the reply
  * @param data application payload data
  */
 void
-GDS_CLIENT_handle_reply (struct GNUNET_TIME_Absolute expiration,
+GDS_CLIENTS_handle_reply (struct GNUNET_TIME_Absolute expiration,
                         const GNUNET_HashCode *key,
                         unsigned int get_path_length,
                         const struct GNUNET_PeerIdentity *get_path,
                         unsigned int put_path_length,
                         const struct GNUNET_PeerIdentity *put_path,
-                        uint32_t type,
+                        enum GNUNET_BLOCK_Type type,
                         size_t data_size,
                         const void *data);
 
@@ -61,13 +63,13 @@ GDS_CLIENT_handle_reply (struct GNUNET_TIME_Absolute expiration,
  * @param server the initialized server
  */
 void 
-GDS_CLIENT_init (struct GNUNET_SERVER_Handle *server);
+GDS_CLIENTS_init (struct GNUNET_SERVER_Handle *server);
 
 
 /**
  * Shutdown client subsystem.
  */
 void
-GDS_CLIENT_done (void);
+GDS_CLIENTS_done (void);
 
 #endif