diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-10-11 08:54:27 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-10-18 15:36:15 +0000 |
commit | 43fb7f1698c0c8aaa7f1e5d6a0f924396a9a12fe (patch) | |
tree | 98ccb1c081b1d6c86ef032494d964451fd546a80 /libcli/nbt/libnbt.h | |
parent | 332f261bbf5a3179cbab6cb7aa8b490d0072b7af (diff) | |
download | samba-43fb7f1698c0c8aaa7f1e5d6a0f924396a9a12fe.tar.gz samba-43fb7f1698c0c8aaa7f1e5d6a0f924396a9a12fe.tar.bz2 samba-43fb7f1698c0c8aaa7f1e5d6a0f924396a9a12fe.zip |
libcli/nbt: convert nbt_name_refresh_wins_send/recv to tevent_req
metze
Diffstat (limited to 'libcli/nbt/libnbt.h')
-rw-r--r-- | libcli/nbt/libnbt.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/libcli/nbt/libnbt.h b/libcli/nbt/libnbt.h index 6165548320..91bef5858f 100644 --- a/libcli/nbt/libnbt.h +++ b/libcli/nbt/libnbt.h @@ -345,13 +345,18 @@ struct composite_context *nbt_name_register_bcast_send(struct nbt_name_socket *n NTSTATUS nbt_name_register_bcast_recv(struct composite_context *c); struct composite_context *nbt_name_register_wins_send(struct nbt_name_socket *nbtsock, struct nbt_name_register_wins *io); -NTSTATUS nbt_name_refresh_wins_recv(struct composite_context *c, TALLOC_CTX *mem_ctx, - struct nbt_name_refresh_wins *io); -struct composite_context *nbt_name_refresh_wins_send(struct nbt_name_socket *nbtsock, - struct nbt_name_refresh_wins *io); NTSTATUS nbt_name_register_wins_recv(struct composite_context *c, TALLOC_CTX *mem_ctx, struct nbt_name_register_wins *io); +struct tevent_context; +struct tevent_req; +struct tevent_req *nbt_name_refresh_wins_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct nbt_name_socket *nbtsock, + struct nbt_name_refresh_wins *io); +NTSTATUS nbt_name_refresh_wins_recv(struct tevent_req *req, + TALLOC_CTX *mem_ctx, + struct nbt_name_refresh_wins *io); XFILE *startlmhosts(const char *fname); bool getlmhostsent(TALLOC_CTX *ctx, XFILE *fp, char **pp_name, int *name_type, |