summaryrefslogtreecommitdiff
path: root/librpc/idl/epmapper.idl
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-10-05 15:32:54 +0200
committerGünther Deschner <gd@samba.org>2011-01-27 14:41:40 +0100
commiteacc9d659afa0b2273be350440c506c5ca5b0205 (patch)
treecb342668e0327efbb66f2c2ec4b55fb8a7eac121 /librpc/idl/epmapper.idl
parentda3e057b6fdb40b6cf6bdb61b35467f34024a246 (diff)
downloadsamba-eacc9d659afa0b2273be350440c506c5ca5b0205.tar.gz
samba-eacc9d659afa0b2273be350440c506c5ca5b0205.tar.bz2
samba-eacc9d659afa0b2273be350440c506c5ca5b0205.zip
idl: Added missing endpoint mapper defines.
[MS-RPCE] 2.2.1.2.4 ept_lookup Method
Diffstat (limited to 'librpc/idl/epmapper.idl')
-rw-r--r--librpc/idl/epmapper.idl33
1 files changed, 23 insertions, 10 deletions
diff --git a/librpc/idl/epmapper.idl b/librpc/idl/epmapper.idl
index d23b68ac25..0ce07d8da1 100644
--- a/librpc/idl/epmapper.idl
+++ b/librpc/idl/epmapper.idl
@@ -35,8 +35,6 @@ interface epmapper
const int EPMAPPER_STATUS_NO_MEMORY = 0x16C9A012;
const int EPMAPPER_STATUS_OK = 0;
-
-
typedef [enum8bit] enum {
/* Level 4 and higher */
@@ -256,17 +254,32 @@ interface epmapper
[in] uint32 num_ents,
[in, size_is(num_ents)] epm_entry_t entries[]
);
-
+
+ typedef [v1_enum] enum {
+ RPC_C_EP_ALL_ELTS = 0x00000000,
+ RPC_C_EP_MATCH_BY_IF = 0x00000001,
+ RPC_C_EP_MATCH_BY_OBJ = 0x00000002,
+ RPC_C_EP_MATCH_BY_BOTH = 0x00000003
+ } epm_InquiryType;
+
+ typedef [v1_enum] enum {
+ RPC_C_VERS_ALL = 0x00000000,
+ RPC_C_VERS_COMPATIBLE = 0x00000001,
+ RPC_C_VERS_EXACT = 0x00000002,
+ RPC_C_VERS_MAJOR_ONLY = 0x00000003,
+ RPC_C_VERS_UPTO = 0x00000004
+ } epm_VersionOption;
+
/**********************/
/* Function 0x02 */
error_status_t epm_Lookup(
- [in] uint32 inquiry_type,
- [in,ptr] GUID *object,
- [in,ptr] rpc_if_id_t *interface_id,
- [in] uint32 vers_option,
- [in,out] policy_handle *entry_handle,
- [in] uint32 max_ents,
- [out] uint32 *num_ents,
+ [in] epm_InquiryType inquiry_type,
+ [in,ptr] GUID *object,
+ [in,ptr] rpc_if_id_t *interface_id,
+ [in] epm_VersionOption vers_option,
+ [in,out] policy_handle *entry_handle,
+ [in] uint32 max_ents,
+ [out] uint32 *num_ents,
[out, length_is(*num_ents), size_is(max_ents)] epm_entry_t entries[]
);