summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-28 05:20:11 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-28 05:20:11 +0000
commitba33beec050bdc4bf0452761c481ea41985b831f (patch)
tree179e98e27411d9c3ca70ab799d73273306b480ed /source4/librpc
parentd419464d87127c9464d1a00976a36774835d196d (diff)
downloadsamba-ba33beec050bdc4bf0452761c481ea41985b831f.tar.gz
samba-ba33beec050bdc4bf0452761c481ea41985b831f.tar.bz2
samba-ba33beec050bdc4bf0452761c481ea41985b831f.zip
* added a bunch of placeholder IDL files
* allow for an interface to list its endpoints in the IDL file, so we can automatically make the server listen on the right pipes, and can scan pipes more easily (I don't take advantage of this yet, just putting the infrastructure in place) (This used to be commit c8b8480244b4ab6204403dc65e92e4317b410a84)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/browser.idl10
-rw-r--r--source4/librpc/idl/dcom.idl43
-rw-r--r--source4/librpc/idl/keysvc.idl15
-rw-r--r--source4/librpc/idl/lsa.idl14
-rw-r--r--source4/librpc/idl/netlogon.idl15
-rw-r--r--source4/librpc/idl/ntsvcs.idl15
-rw-r--r--source4/librpc/idl/protected_storage.idl15
-rw-r--r--source4/librpc/idl/scerpc.idl16
-rw-r--r--source4/librpc/idl/trkwks.idl15
-rw-r--r--source4/librpc/idl/w32time.idl15
-rw-r--r--source4/librpc/idl/wzcsvc.idl15
-rw-r--r--source4/librpc/rpc/dcerpc.h6
12 files changed, 194 insertions, 0 deletions
diff --git a/source4/librpc/idl/browser.idl b/source4/librpc/idl/browser.idl
new file mode 100644
index 0000000000..e1441c7857
--- /dev/null
+++ b/source4/librpc/idl/browser.idl
@@ -0,0 +1,10 @@
+[
+ uuid(6bffd098-a112-3610-9833-012892020162),
+ version(0.0)
+]
+interface browser
+{
+ /******************/
+ /* Function 0x00 */
+ NTSTATUS browser_Unknown0();
+}
diff --git a/source4/librpc/idl/dcom.idl b/source4/librpc/idl/dcom.idl
new file mode 100644
index 0000000000..fc432c6aa4
--- /dev/null
+++ b/source4/librpc/idl/dcom.idl
@@ -0,0 +1,43 @@
+/*
+ this is just a placeholder until we start to support DCOM calls
+*/
+
+[
+ uuid(99fcfec4-5260-101b-bbcb-00aa0021347a),
+ version(0.0)
+]
+interface IOXIDResolver
+{
+
+ /*****************/
+ /* Function 0x00 */
+ WERROR ResolveOxid();
+}
+
+
+[
+ uuid(4d9f4ab8-7d1c-11cf-861e-0020af6e7c57),
+ version(0.0)
+]
+interface IRemoteActivation
+{
+
+ /*****************/
+ /* Function 0x00 */
+ NTSTATUS RemoteActivation();
+}
+
+
+
+[
+ uuid(000001a0-0000-0000-c000-000000000046),
+ version(0.0)
+]
+interface ISystemActivator
+{
+
+ /*****************/
+ /* Function 0x00 */
+ NTSTATUS isa_Unknown0();
+
+}
diff --git a/source4/librpc/idl/keysvc.idl b/source4/librpc/idl/keysvc.idl
new file mode 100644
index 0000000000..396e0fedaf
--- /dev/null
+++ b/source4/librpc/idl/keysvc.idl
@@ -0,0 +1,15 @@
+/*
+ cryptographic key services interface
+*/
+
+[
+ uuid(8d0ffe72-d252-11d0-bf8f-00c04fd9126b),
+ version(1.0)
+]
+interface keysvc
+{
+
+ /*****************/
+ /* Function 0x00 */
+ WERROR keysvc_Unknown0();
+}
diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl
index 7b2de5bd8f..c90654d941 100644
--- a/source4/librpc/idl/lsa.idl
+++ b/source4/librpc/idl/lsa.idl
@@ -6,6 +6,7 @@
[ uuid(12345778-1234-abcd-ef00-0123456789ab),
version(0.0),
+ endpoints(lsarpc lsass),
pointer_default(unique)
] interface lsarpc
{
@@ -444,7 +445,20 @@
NTSTATUS UNK_GET_CONNUSER ();
/* Function: 0x2e */
NTSTATUS QUERYINFO2 ();
+}
+
+[
+ uuid(3919286a-b10c-11d0-9ba8-00c04fd92ef5)
+ version(0.0),
+ endpoints(lsarpc,lsass),
+ pointer_default(unique)
+]
+interface lsads
+{
+ /*****************/
+ /* Function 0x00 */
+ lsads_Unknown0();
}
diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl
new file mode 100644
index 0000000000..049e6936ca
--- /dev/null
+++ b/source4/librpc/idl/netlogon.idl
@@ -0,0 +1,15 @@
+/*
+ plug and play services?
+*/
+
+[
+ uuid(12345678-1234-abcd-ef00-01234567cffb),
+ version(1.0)
+]
+interface netlogon
+{
+
+ /*****************/
+ /* Function 0x00 */
+ WERROR netlogon_Unknown0();
+}
diff --git a/source4/librpc/idl/ntsvcs.idl b/source4/librpc/idl/ntsvcs.idl
new file mode 100644
index 0000000000..88d51a05ba
--- /dev/null
+++ b/source4/librpc/idl/ntsvcs.idl
@@ -0,0 +1,15 @@
+/*
+ plug and play services?
+*/
+
+[
+ uuid(8d9f4e40-a03d-11ce-8f69-08003e30051b),
+ version(1.0)
+]
+interface ntsvcs
+{
+
+ /*****************/
+ /* Function 0x00 */
+ WERROR ntsvcs_Unknown0();
+}
diff --git a/source4/librpc/idl/protected_storage.idl b/source4/librpc/idl/protected_storage.idl
new file mode 100644
index 0000000000..aaf223bbb2
--- /dev/null
+++ b/source4/librpc/idl/protected_storage.idl
@@ -0,0 +1,15 @@
+#include "idl_types.h"
+
+/*
+ protected_storage interface definitions
+*/
+
+[ uuid(e3514235-4b06-11d1-ab04-00c04fc2dcd2),
+ version(4.0),
+ pointer_default(unique)
+] interface protected_storage
+{
+ /*****************************/
+ /* Function 0x00 */
+ WERROR ps_XXX ();
+}
diff --git a/source4/librpc/idl/scerpc.idl b/source4/librpc/idl/scerpc.idl
new file mode 100644
index 0000000000..049de3b19b
--- /dev/null
+++ b/source4/librpc/idl/scerpc.idl
@@ -0,0 +1,16 @@
+/*
+ security configuration editor interface definitions
+*/
+
+[
+ uuid(93149ca2-973b-11d1-8c39-00c04fb984f9),
+ version(0.0)
+]
+interface scerpc
+{
+
+ /*****************/
+ /* Function 0x00 */
+ WERROR scerpc_Unknown0();
+}
+
diff --git a/source4/librpc/idl/trkwks.idl b/source4/librpc/idl/trkwks.idl
new file mode 100644
index 0000000000..c91e1ea788
--- /dev/null
+++ b/source4/librpc/idl/trkwks.idl
@@ -0,0 +1,15 @@
+/*
+ distributed key tracking services
+*/
+
+[
+ uuid(300f3532-38cc-11d0-a3f0-0020af6b0add),
+ version(1.2)
+]
+interface trkwks
+{
+
+ /*****************/
+ /* Function 0x00 */
+ WERROR trkwks_Unknown0();
+}
diff --git a/source4/librpc/idl/w32time.idl b/source4/librpc/idl/w32time.idl
new file mode 100644
index 0000000000..cca5cacc3b
--- /dev/null
+++ b/source4/librpc/idl/w32time.idl
@@ -0,0 +1,15 @@
+/*
+ w32time interface definitions
+*/
+
+[
+ uuid(8fb6d884-2388-11d0-8c35-00c04fda2795),
+ version(4.1)
+]
+interface w32time
+{
+
+ /*****************/
+ /* Function 0x00 */
+ WERROR w32time_Unknown0();
+}
diff --git a/source4/librpc/idl/wzcsvc.idl b/source4/librpc/idl/wzcsvc.idl
new file mode 100644
index 0000000000..167496e3cc
--- /dev/null
+++ b/source4/librpc/idl/wzcsvc.idl
@@ -0,0 +1,15 @@
+/*
+ windows zero-configuration service
+*/
+
+[
+ uuid(378e52b0-c0a9-11cf-822d-00aa0051e40f),
+ version(1.0)
+]
+interface wzcsvc
+{
+
+ /*****************/
+ /* Function 0x00 */
+ WERROR wzcsvc_Unknown0();
+}
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h
index 6f9aa75e8b..7c6ab160f3 100644
--- a/source4/librpc/rpc/dcerpc.h
+++ b/source4/librpc/rpc/dcerpc.h
@@ -76,10 +76,16 @@ struct dcerpc_interface_call {
void (*ndr_print)(struct ndr_print *, const char *, int, void *);
};
+struct dcerpc_endpoint_list {
+ uint32 count;
+ const char *names[];
+};
+
struct dcerpc_interface_table {
const char *name;
const char *uuid;
uint32 if_version;
uint32 num_calls;
const struct dcerpc_interface_call *calls;
+ const struct dcerpc_endpoint_list *endpoints;
};