selftest: we fail samba3.smb2.compound.interim2
[Samba.git] / source4 / libnet / composite.h
blob50bf1a761c74d19b91e8abc22132c0100bbf4dff
1 /*
2 Unix SMB/CIFS implementation.
4 Copyright (C) Rafal Szczesniak 2005
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.
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.
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/>.
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.
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)
45 #define mon_NetLookupDc (0x00000100)
46 #define mon_NetRpcConnect (0x00000200)
48 #define mon_Mask_Rpc (0x000000FF)
49 #define mon_Mask_Net (0x0000FF00)
52 struct monitor_msg {
53 uint32_t type;
54 void *data;
55 size_t data_size;