Revert "smbd: add smbd_server_connection->raw_ev_ctx pointer"
[Samba.git] / libcli / nbt / nbt_proto.h
blobe6ee46bab86c5c3f53c89820bd6f50a1c94ee0ea
1 /*
2 Unix SMB/CIFS implementation.
4 manipulate nbt name structures
6 Copyright (C) Andrew Tridgell 2005
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef _____LIBCLI_NBT_NBT_PROTO_H__
23 #define _____LIBCLI_NBT_NBT_PROTO_H__
25 #undef _PRINTF_ATTRIBUTE
26 #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
27 /* This file was automatically generated by mkproto.pl. DO NOT EDIT */
29 /* this file contains prototypes for functions that are private
30 * to this subsystem or library. These functions should not be
31 * used outside this particular subsystem! */
34 /* The following definitions come from ../libcli/nbt/nbtsocket.c */
36 struct nbt_name_request *nbt_name_request_send(TALLOC_CTX *mem_ctx,
37 struct nbt_name_socket *nbtsock,
38 struct socket_address *dest,
39 struct nbt_name_packet *request,
40 int timeout, int retries,
41 bool allow_multiple_replies);
42 NTSTATUS nbt_name_request_recv(struct nbt_name_request *req);
44 /* The following definitions come from ../libcli/nbt/namequery.c */
47 /* The following definitions come from ../libcli/nbt/nameregister.c */
49 struct nbt_name_request *nbt_name_register_send(struct nbt_name_socket *nbtsock,
50 struct nbt_name_register *io);
51 NTSTATUS nbt_name_register_bcast(struct nbt_name_socket *nbtsock,
52 struct nbt_name_register_bcast *io);
54 /* The following definitions come from ../libcli/nbt/namerefresh.c */
56 struct nbt_name_request *nbt_name_refresh_send(struct nbt_name_socket *nbtsock,
57 struct nbt_name_refresh *io);
59 /* The following definitions come from ../libcli/nbt/namerelease.c */
61 #undef _PRINTF_ATTRIBUTE
62 #define _PRINTF_ATTRIBUTE(a1, a2)
64 #endif /* _____LIBCLI_NBT_NBT_PROTO_H__ */