source: branches/samba-3.2.x/source/utils/net.h@ 335

Last change on this file since 335 was 272, checked in by Herwig Bauernfeind, 17 years ago

Update 3.2 to 3.2.12

File size: 3.8 KB
RevLine 
[138]1/*
2 Samba Unix/Linux SMB client library
3 Distributed SMB/CIFS Server Management Utility
4 Copyright (C) 2001 Andrew Bartlett ([email protected])
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
18
19/*
20 * A function of this type is passed to the '
21 * run_rpc_command' wrapper. Must go before the net_proto.h
22 * include
23 */
24
25#include "lib/netapi/netapi.h"
26#include "libnet/libnet.h"
27
28typedef NTSTATUS (*rpc_command_fn)(const DOM_SID *,
29 const char *,
30 struct cli_state *cli,
31 struct rpc_pipe_client *,
32 TALLOC_CTX *,
33 int,