From 146c85410946540571fcaf01c85c3a0bffed8cb6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 10 Jul 2005 00:08:48 +0000 Subject: r8268: added the 'needed' logic to ehs generation, so we don't generate functions we don't need. That is a lot of functions, as ejs is only client side, so it only needs push functions for [out] vars, and pull functions for [in] vars added irpc and srvsvc IDL to list of available pipes. (This used to be commit c7a9dbe70a39156a20e56b4dd732fd838437eecd) --- source4/librpc/config.mk | 14 +++++++++++++- source4/librpc/idl/irpc.idl | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'source4/librpc') diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk index 113456c074..665c0920d7 100644 --- a/source4/librpc/config.mk +++ b/source4/librpc/config.mk @@ -629,10 +629,22 @@ OBJ_FILES = librpc/gen_ndr/ndr_netlogon_ejs.o REQUIRED_SUBSYSTEMS = RPC NDR_NETLOGON NOPROTO = YES +[SUBSYSTEM::RPC_EJS_SVCCTL] +INIT_FUNCTION = ejs_init_svcctl +OBJ_FILES = librpc/gen_ndr/ndr_svcctl_ejs.o +REQUIRED_SUBSYSTEMS = RPC NDR_SVCCTL +NOPROTO = YES + +[SUBSYSTEM::RPC_EJS_IRPC] +INIT_FUNCTION = ejs_init_irpc +OBJ_FILES = librpc/gen_ndr/ndr_irpc_ejs.o +REQUIRED_SUBSYSTEMS = RPC NDR_IRPC +NOPROTO = YES + ################################################ # Start SUBSYSTEM RPC_EJS [SUBSYSTEM::RPC_EJS] REQUIRED_SUBSYSTEMS = RPC_EJS_ECHO RPC_EJS_MISC RPC_EJS_SAMR RPC_EJS_SECURITY \ - RPC_EJS_LSA + RPC_EJS_LSA RPC_EJS_SRVSVC RPC_EJS_SVCCTL RPC_EJS_IRPC # End SUBSYSTEM RPC_EJS ################################################ diff --git a/source4/librpc/idl/irpc.idl b/source4/librpc/idl/irpc.idl index c5977ba53e..0d4e305e98 100644 --- a/source4/librpc/idl/irpc.idl +++ b/source4/librpc/idl/irpc.idl @@ -13,7 +13,7 @@ IRPC_FLAG_REPLY = 0x0001 } irpc_flags; - typedef [public] struct { + typedef [public,noejs] struct { GUID uuid; uint32 if_version; uint32 callnum; -- cgit