summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/pyrpc.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-17 17:04:28 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-17 19:02:19 +1000
commitfb81cc080d40844010daae559e6be6a747c10ecd (patch)
treeccfd5fc3a51d6f912055f59b31f187705362c6b1 /source4/librpc/rpc/pyrpc.h
parent1c7c1a86ecf401f54b9462bb9d0946356ddb688d (diff)
downloadsamba-fb81cc080d40844010daae559e6be6a747c10ecd.tar.gz
samba-fb81cc080d40844010daae559e6be6a747c10ecd.tar.bz2
samba-fb81cc080d40844010daae559e6be6a747c10ecd.zip
s4-pyrpc: allow python to access irpc interfaces
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/librpc/rpc/pyrpc.h')
-rw-r--r--source4/librpc/rpc/pyrpc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/librpc/rpc/pyrpc.h b/source4/librpc/rpc/pyrpc.h
index fb5f35fcf1..651f8f11f5 100644
--- a/source4/librpc/rpc/pyrpc.h
+++ b/source4/librpc/rpc/pyrpc.h
@@ -42,4 +42,14 @@ typedef struct {
struct dcerpc_binding_handle *binding_handle;
} dcerpc_InterfaceObject;
+
+/*
+ these prototypes should be generated by the python pidl backend, but
+ aren't yet. They are needed when one module that has python access
+ is accessed by another module
+ */
+union netr_LogonLevel *py_export_netr_LogonLevel(TALLOC_CTX *mem_ctx, int level, PyObject *in);
+union netr_Validation;
+PyObject *py_import_netr_Validation(TALLOC_CTX *mem_ctx, int level, union netr_Validation *in);
+
#endif /* _PYRPC_H_ */