lib/param: avoid talloc_reference() in copy_service()
[Samba.git] / libcli / nbt / nbt_proto.h
blob281ce25a8646c936bd811cb3aaee2c029620fb6d
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(struct nbt_name_socket *nbtsock,
37 struct socket_address *dest,
38 struct nbt_name_packet *request,
39 int timeout, int retries,
40 bool allow_multiple_replies);
41 NTSTATUS nbt_name_request_recv(struct nbt_name_request *req);
43 /* The following definitions come from ../libcli/nbt/namequery.c */
46 /* The following definitions come from ../libcli/nbt/nameregister.c */
48 struct nbt_name_request *nbt_name_register_send(struct nbt_name_socket *nbtsock,
49 struct nbt_name_register *io);
50 NTSTATUS nbt_name_register_bcast(struct nbt_name_socket *nbtsock,
51 struct nbt_name_register_bcast *io);
53 /* The following definitions come from ../libcli/nbt/namerefresh.c */
55 struct nbt_name_request *nbt_name_refresh_send(struct nbt_name_socket *nbtsock,
56 struct nbt_name_refresh *io);
58 /* The following definitions come from ../libcli/nbt/namerelease.c */
60 #undef _PRINTF_ATTRIBUTE
61 #define _PRINTF_ATTRIBUTE(a1, a2)
63 #endif /* _____LIBCLI_NBT_NBT_PROTO_H__ */