summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2015-05-22 10:59:03 +0200
committerJeremy Allison <jra@samba.org>2015-06-02 02:28:24 +0200
commit9c0139f11f05321f42c8a2854156e02bf4fd6655 (patch)
treee865d6abffa6ebab9f1d4109998e54ce42135577 /librpc/idl
parent0791bb07ca4c356dab60e2a8223b1ebbc6ea0060 (diff)
downloadsamba-9c0139f11f05321f42c8a2854156e02bf4fd6655.tar.gz
clusapi: add inline comment describing why we use so many "if 0" in this IDL.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/clusapi.idl12
1 files changed, 12 insertions, 0 deletions
diff --git a/librpc/idl/clusapi.idl b/librpc/idl/clusapi.idl
index 7747115eee4..3e87114150d 100644
--- a/librpc/idl/clusapi.idl
+++ b/librpc/idl/clusapi.idl
@@ -13,6 +13,11 @@ import "security.idl";
interface clusapi
{
#if 0
+ /*
+ * pidl does not yet have a real [context_handle] implementation, so we
+ * just use some defines here.
+ */
+
typedef [context_handle] void *HCLUSTER_RPC;
typedef [context_handle] void *HNODE_RPC;
typedef [context_handle] void *HGROUP_RPC;
@@ -73,6 +78,13 @@ import "security.idl";
/* Function 0x00 */
#if 0
+ /*
+ * pidl cannot generate code for functions that return structures in
+ * IDL, therefore pretend the function is void and add the returned
+ * structure as an out parameter. This is what we do with pretty much
+ * all the Open calls right now in this interface - gd
+ */
+
HCLUSTER_RPC
clusapi_OpenCluster(
[ out ] WERROR *Status