source: vendor/3.6.0/source4/libnet/composite.h

Last change on this file was 414, checked in by Herwig Bauernfeind, 15 years ago

Samba 3.5.0: Initial import

File size: 2.0 KB
Line 
1/*
2 Unix SMB/CIFS implementation.
3
4 Copyright (C) Rafal Szczesniak 2005
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/*
21 * Monitor structure and message types definitions. Composite function monitoring
22 * allows client application to be notified on function progress. This enables
23 * eg. gui client to display progress bars, status messages, etc.
24 */
25
26
27#define mon_SamrCreateUser (0x00000001)
28#define mon_SamrOpenUser (0x00000002)
29#define mon_SamrQueryUser (0x00000003)
30#define mon_SamrCloseUser (0x00000004)
31#define mon_SamrLookupName (0x00000005)
32#define mon_SamrDeleteUser (0x00000006)
33#define mon_SamrSetUser (0x00000007)
34#define mon_SamrClose (0x00000008)
35#define mon_SamrConnect (0x00000009)
36#define mon_SamrLookupDomain (0x0000000A)
37#define mon_SamrOpenDomain (0x0000000B)
38#define mon_SamrEnumDomains (0x0000000C)
39#define mon_LsaOpenPolicy (0x0000000D)
40#define mon_LsaQueryPolicy (0x0000000E)
41#define mon_LsaClose (0x0000000F)
42#define mon_SamrOpenGroup (0x00000010)
43#define mon_SamrQueryGroup (0x00000011)
44
45#define mon_NetLookupDc (0x00000100)
46#define mon_NetRpcConnect (0x00000200)
47
48#define mon_Mask_Rpc (0x000000FF)
49#define mon_Mask_Net (0x0000FF00)
50
51
52struct monitor_msg {
53 uint32_t type;
54 void *data;
55 size_t data_size;
56};
Note: See TracBrowser for help on using the repository browser.