From fb81cc080d40844010daae559e6be6a747c10ecd Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 17 Sep 2010 17:04:28 +1000 Subject: s4-pyrpc: allow python to access irpc interfaces Pair-Programmed-With: Andrew Bartlett --- source4/librpc/rpc/pyrpc.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source4/librpc/rpc/pyrpc.h') 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_ */ -- cgit