diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/librpc/gen_ndr/ndr_dcerpc.h | 2 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/tables.c | 63 | ||||
-rw-r--r-- | source3/script/build_idl.sh | 14 |
3 files changed, 0 insertions, 79 deletions
diff --git a/source3/librpc/gen_ndr/ndr_dcerpc.h b/source3/librpc/gen_ndr/ndr_dcerpc.h deleted file mode 100644 index 292e9011c6..0000000000 --- a/source3/librpc/gen_ndr/ndr_dcerpc.h +++ /dev/null @@ -1,2 +0,0 @@ -/* empty header to deal with pidl */ - diff --git a/source3/librpc/gen_ndr/tables.c b/source3/librpc/gen_ndr/tables.c deleted file mode 100644 index 1a24afe0d0..0000000000 --- a/source3/librpc/gen_ndr/tables.c +++ /dev/null @@ -1,63 +0,0 @@ - -/* Automatically generated by tables.pl. DO NOT EDIT */ - -#include "includes.h" -#include "librpc/rpc/dcerpc.h" -#include "librpc/rpc/dcerpc_table.h" -#include "librpc/gen_ndr/ndr_dfs.h" -#include "librpc/gen_ndr/ndr_echo.h" -#include "librpc/gen_ndr/ndr_epmapper.h" -#include "librpc/gen_ndr/ndr_eventlog.h" -#include "librpc/gen_ndr/ndr_initshutdown.h" -#include "librpc/gen_ndr/ndr_lsa.h" -#include "librpc/gen_ndr/ndr_netlogon.h" -#include "librpc/gen_ndr/ndr_srvsvc.h" -#include "librpc/gen_ndr/ndr_svcctl.h" -#include "librpc/gen_ndr/ndr_unixinfo.h" -#include "librpc/gen_ndr/ndr_winreg.h" -#include "librpc/gen_ndr/ndr_wkssvc.h" - -NTSTATUS dcerpc_register_builtin_interfaces(void) -{ - NTSTATUS status; - - status = librpc_register_interface(&ndr_table_netdfs); - if (NT_STATUS_IS_ERR(status)) return status; - - status = librpc_register_interface(&ndr_table_rpcecho); - if (NT_STATUS_IS_ERR(status)) return status; - - status = librpc_register_interface(&ndr_table_epmapper); - if (NT_STATUS_IS_ERR(status)) return status; - - status = librpc_register_interface(&ndr_table_eventlog); - if (NT_STATUS_IS_ERR(status)) return status; - - status = librpc_register_interface(&ndr_table_initshutdown); - if (NT_STATUS_IS_ERR(status)) return status; - - status = librpc_register_interface(&ndr_table_lsarpc); - if (NT_STATUS_IS_ERR(status)) return status; - - status = librpc_register_interface(&ndr_table_netlogon); - if (NT_STATUS_IS_ERR(status)) return status; - - status = librpc_register_interface(&ndr_table_srvsvc); - if (NT_STATUS_IS_ERR(status)) return status; - - status = librpc_register_interface(&ndr_table_svcctl); - if (NT_STATUS_IS_ERR(status)) return status; - - status = librpc_register_interface(&ndr_table_unixinfo); - if (NT_STATUS_IS_ERR(status)) return status; - - status = librpc_register_interface(&ndr_table_winreg); - if (NT_STATUS_IS_ERR(status)) return status; - - status = librpc_register_interface(&ndr_table_wkssvc); - if (NT_STATUS_IS_ERR(status)) return status; - - - - return NT_STATUS_OK; -} diff --git a/source3/script/build_idl.sh b/source3/script/build_idl.sh index 77f37d8e75..7aaddc70c7 100644 --- a/source3/script/build_idl.sh +++ b/source3/script/build_idl.sh @@ -41,20 +41,6 @@ if [ "x$list" != x ]; then $PIDL $list || exit 1 fi -## -## Do miscellaneous cleanup -## - -for f in librpc/gen_ndr/ndr_*.c; do - cat $f | sed -e 's/^static //g' > $f.new - /bin/mv -f $f.new $f -done - -touch librpc/gen_ndr/ndr_dcerpc.h - -echo Generating librpc/gen_ndr/tables.c -./librpc/tables.pl --output=librpc/gen_ndr/tables.c librpc/gen_ndr/*.h > librpc/gen_ndr/tables.c - cd ${oldpwd} exit 0 |