svn commit: samba r24604 - in branches/SAMBA_3_2_0/source: librpc/gen_ndr script

metze at samba.org metze at samba.org
Tue Aug 21 19:21:46 GMT 2007


Author: metze
Date: 2007-08-21 19:21:46 +0000 (Tue, 21 Aug 2007)
New Revision: 24604

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24604

Log:
remove some stuff samba3 doesn't need any more

metze
Removed:
   branches/SAMBA_3_2_0/source/librpc/gen_ndr/ndr_dcerpc.h
   branches/SAMBA_3_2_0/source/librpc/gen_ndr/tables.c
Modified:
   branches/SAMBA_3_2_0/source/script/build_idl.sh


Changeset:
Deleted: branches/SAMBA_3_2_0/source/librpc/gen_ndr/ndr_dcerpc.h
===================================================================
--- branches/SAMBA_3_2_0/source/librpc/gen_ndr/ndr_dcerpc.h	2007-08-21 18:45:45 UTC (rev 24603)
+++ branches/SAMBA_3_2_0/source/librpc/gen_ndr/ndr_dcerpc.h	2007-08-21 19:21:46 UTC (rev 24604)
@@ -1,2 +0,0 @@
-/* empty header to deal with pidl */
-

Deleted: branches/SAMBA_3_2_0/source/librpc/gen_ndr/tables.c
===================================================================
--- branches/SAMBA_3_2_0/source/librpc/gen_ndr/tables.c	2007-08-21 18:45:45 UTC (rev 24603)
+++ branches/SAMBA_3_2_0/source/librpc/gen_ndr/tables.c	2007-08-21 19:21:46 UTC (rev 24604)
@@ -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;
-}

Modified: branches/SAMBA_3_2_0/source/script/build_idl.sh
===================================================================
--- branches/SAMBA_3_2_0/source/script/build_idl.sh	2007-08-21 18:45:45 UTC (rev 24603)
+++ branches/SAMBA_3_2_0/source/script/build_idl.sh	2007-08-21 19:21:46 UTC (rev 24604)
@@ -41,20 +41,6 @@
 	$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



More information about the samba-cvs mailing list