VERSION: Bump version number up to 4.0.4.
[samba.git] / libcli / nbt / libnbt.h
index dfc3b92f962592c6229d88aa3bcca0ea491d0f2c..5a29a027d8ecb1d65584f998b263160745951aa4 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "librpc/gen_ndr/nbt.h"
 #include "librpc/ndr/libndr.h"
-#include "system/network.h"
 /*
   possible states for pending requests
 */
@@ -335,17 +334,16 @@ NTSTATUS nbt_name_reply_send(struct nbt_name_socket *nbtsock,
 
 
 NDR_SCALAR_PROTO(wrepl_nbt_name, const struct nbt_name *)
-NDR_SCALAR_PROTO(nbt_string, const char *)
 NDR_BUFFER_PROTO(nbt_name, struct nbt_name)
 NTSTATUS nbt_rcode_to_ntstatus(uint8_t rcode);
 
-struct composite_context;
-struct composite_context *nbt_name_register_bcast_send(struct nbt_name_socket *nbtsock,
-                                                      struct nbt_name_register_bcast *io);
-NTSTATUS nbt_name_register_bcast_recv(struct composite_context *c);
-
 struct tevent_context;
 struct tevent_req;
+struct tevent_req *nbt_name_register_bcast_send(TALLOC_CTX *mem_ctx,
+                                       struct tevent_context *ev,
+                                       struct nbt_name_socket *nbtsock,
+                                       struct nbt_name_register_bcast *io);
+NTSTATUS nbt_name_register_bcast_recv(struct tevent_req *req);
 struct tevent_req *nbt_name_register_wins_send(TALLOC_CTX *mem_ctx,
                                               struct tevent_context *ev,
                                               struct nbt_name_socket *nbtsock,