1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

s4:torture/rpc: rename rpc.h => torture_rpc.h

The reason for this is that some systems include
<rpc/rpc.h> from within system headers. HP-UX 11.00
does so somewhere deep inside of <shadow.h>.

For torture/winbind/struct_based.c <rpc/rpc.h> resolves
to torture/rpc/rpc.h and breaks the build.

metze
This commit is contained in:
Stefan Metzmacher 2010-04-13 22:06:51 +02:00
parent bcd647f943
commit e1e2195a4a
66 changed files with 65 additions and 65 deletions

View File

@ -19,7 +19,7 @@
*/
#include "includes.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "libnet/libnet.h"
#include "librpc/gen_ndr/ndr_samr_c.h"
#include "param/param.h"

View File

@ -19,7 +19,7 @@
*/
#include "includes.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "libnet/libnet.h"
#include "libcli/security/security.h"
#include "librpc/gen_ndr/ndr_samr_c.h"

View File

@ -19,7 +19,7 @@
*/
#include "includes.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "torture/libnet/grouptest.h"
#include "libnet/libnet.h"
#include "librpc/gen_ndr/ndr_samr_c.h"

View File

@ -21,7 +21,7 @@
#include "includes.h"
#include "lib/cmdline/popt_common.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "libnet/libnet.h"
#include "dsdb/samdb/samdb.h"
#include "../lib/util/dlinklist.h"

View File

@ -24,7 +24,7 @@
#include "libnet/libnet.h"
#include "librpc/gen_ndr/ndr_samr_c.h"
#include "librpc/gen_ndr/ndr_lsa_c.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "param/param.h"

View File

@ -24,7 +24,7 @@
#include "libnet/libnet.h"
#include "librpc/gen_ndr/ndr_samr_c.h"
#include "librpc/gen_ndr/ndr_lsa_c.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "param/param.h"

View File

@ -22,7 +22,7 @@
#include "lib/cmdline/popt_common.h"
#include "libnet/libnet.h"
#include "libcli/libcli.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "param/param.h"

View File

@ -25,7 +25,7 @@
#include "librpc/gen_ndr/ndr_lsa.h"
#include "librpc/gen_ndr/ndr_samr.h"
#include "librpc/gen_ndr/ndr_srvsvc.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "param/param.h"

View File

@ -20,7 +20,7 @@
*/
#include "includes.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "libnet/libnet.h"
#include "lib/cmdline/popt_common.h"
#include "librpc/gen_ndr/ndr_srvsvc_c.h"

View File

@ -24,7 +24,7 @@
#include "libnet/libnet.h"
#include "librpc/gen_ndr/ndr_samr_c.h"
#include "librpc/gen_ndr/ndr_lsa_c.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "torture/libnet/usertest.h"
#include "param/param.h"

View File

@ -19,7 +19,7 @@
*/
#include "includes.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "libnet/libnet.h"
#include "libcli/security/security.h"
#include "librpc/gen_ndr/ndr_samr_c.h"

View File

@ -19,7 +19,7 @@
*/
#include "includes.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "torture/libnet/usertest.h"
#include "libnet/libnet.h"
#include "librpc/gen_ndr/ndr_samr_c.h"

View File

@ -23,7 +23,7 @@
*/
#include "includes.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "libnet/libnet.h"
#include "librpc/gen_ndr/ndr_samr_c.h"
#include "torture/libnet/utils.h"

View File

@ -23,7 +23,7 @@
#include "libcli/dgram/libdgram.h"
#include "lib/socket/socket.h"
#include "lib/events/events.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "libcli/resolve/resolve.h"
#include "system/network.h"
#include "lib/socket/netif.h"

View File

@ -25,7 +25,7 @@
#include "lib/stream/packet.h"
#include "lib/tsocket/tsocket.h"
#include "libcli/util/tstream.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "../lib/crypto/crypto.h"
#include "libcli/auth/libcli_auth.h"
#include "librpc/gen_ndr/ndr_netlogon_c.h"

View File

@ -24,7 +24,7 @@
#include "libcli/rap/rap.h"
#include "torture/rap/proto.h"
#include "param/param.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "librpc/gen_ndr/ndr_srvsvc_c.h"
static bool test_rpc_netservergetinfo(struct torture_context *tctx,

View File

@ -23,7 +23,7 @@
#include "libcli/raw/raw_proto.h"
#include "libcli/libcli.h"
#include "torture/util.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "param/param.h"
static struct {

View File

@ -22,7 +22,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_lsa.h"
#include "librpc/gen_ndr/ndr_dssetup.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
bool torture_rpc_alter_context(struct torture_context *torture)
{

View File

@ -23,7 +23,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_lsa.h"
#include "lib/cmdline/popt_common.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
/*
This test initiates multiple rpc bind requests and verifies

View File

@ -20,7 +20,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_atsvc_c.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
static bool test_JobGetInfo(struct dcerpc_pipe *p, struct torture_context *tctx, uint32_t job_id)
{

View File

@ -22,7 +22,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_drsuapi_c.h"
#include "librpc/ndr/ndr_table.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#if 1

View File

@ -21,7 +21,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_srvsvc_c.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
/**************************/
/* srvsvc_NetShare */

View File

@ -23,7 +23,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_lsa_c.h"
#include "lib/cmdline/popt_common.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
/*
This test is 'bogus' in that it doesn't actually perform to the

View File

@ -21,7 +21,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_browser_c.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
bool test_BrowserrQueryOtherDomains(struct torture_context *tctx,
struct dcerpc_pipe *p)

View File

@ -23,7 +23,7 @@
#include "includes.h"
#include "librpc/ndr/libndr.h"
#include "librpc/ndr/ndr_table.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "param/param.h"

View File

@ -20,7 +20,7 @@
*/
#include "includes.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "librpc/gen_ndr/ndr_dfs_c.h"
#include "libnet/libnet.h"
#include "torture/util.h"

View File

@ -23,7 +23,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_drsuapi_c.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "param/param.h"
#define TEST_MACHINE_NAME "torturetest"

View File

@ -23,7 +23,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_drsuapi_c.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "ldb/include/ldb.h"
#include "libcli/security/security.h"

View File

@ -30,7 +30,7 @@
#include "param/param.h"
#include "dsdb/samdb/samdb.h"
#include "lib/ldb_wrap.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "torture/drs/proto.h"

View File

@ -21,7 +21,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_dssetup_c.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
bool test_DsRoleGetPrimaryDomainInformation_ext(struct torture_context *tctx,

View File

@ -31,7 +31,7 @@
#include "param/param.h"
#include "dsdb/samdb/samdb.h"
#include "lib/ldb_wrap.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "torture/drs/proto.h"
#include "lib/tsocket/tsocket.h"
#include "libcli/resolve/resolve.h"

View File

@ -21,7 +21,7 @@
*/
#include "includes.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "lib/events/events.h"
#include "librpc/gen_ndr/ndr_echo_c.h"

View File

@ -22,7 +22,7 @@
#include "librpc/gen_ndr/ndr_epmapper_c.h"
#include "librpc/ndr/ndr_table.h"
#include "librpc/rpc/dcerpc_proto.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
/*

View File

@ -23,7 +23,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_eventlog.h"
#include "librpc/gen_ndr/ndr_eventlog_c.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "param/param.h"
#define TEST_BACKUP_NAME "samrtorturetest"

View File

@ -20,7 +20,7 @@
*/
#include "includes.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "librpc/gen_ndr/ndr_frsapi_c.h"
#include "param/param.h"

View File

@ -23,7 +23,7 @@
#include "librpc/gen_ndr/ndr_samr_c.h"
#include "librpc/gen_ndr/ndr_lsa_c.h"
#include "librpc/gen_ndr/ndr_drsuapi_c.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
/*
this tests the use of policy handles between connections

View File

@ -21,7 +21,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_initshutdown_c.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
static void init_lsa_StringLarge(struct lsa_StringLarge *name, const char *s)
{

View File

@ -1,7 +1,7 @@
#include "includes.h"
#include "libcli/libcli.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "libcli/resolve/resolve.h"
#include "param/param.h"

View File

@ -27,7 +27,7 @@
#include "lib/events/events.h"
#include "libcli/security/security.h"
#include "libcli/auth/libcli_auth.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "param/param.h"
#include "../lib/crypto/crypto.h"
#define TEST_MACHINENAME "lsatestmach"

View File

@ -19,7 +19,7 @@
*/
#include "includes.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "librpc/gen_ndr/ndr_lsa_c.h"
#include "libcli/security/security.h"

View File

@ -22,7 +22,7 @@
#include "librpc/gen_ndr/ndr_mgmt_c.h"
#include "auth/gensec/gensec.h"
#include "librpc/ndr/ndr_table.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "param/param.h"

View File

@ -25,7 +25,7 @@
#include "includes.h"
#include "lib/events/events.h"
#include "lib/cmdline/popt_common.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "../lib/crypto/crypto.h"
#include "libcli/auth/libcli_auth.h"
#include "librpc/gen_ndr/ndr_netlogon_c.h"

View File

@ -20,7 +20,7 @@
*/
#include "includes.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "librpc/gen_ndr/ndr_ntsvcs_c.h"
static bool test_PNP_GetVersion(struct torture_context *tctx,

View File

@ -22,7 +22,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_dssetup.h"
#include "librpc/gen_ndr/ndr_lsa.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
/*
this tests the send object uuids in the dcerpc request

View File

@ -22,7 +22,7 @@
#include "librpc/gen_ndr/ndr_oxidresolver_c.h"
#include "librpc/gen_ndr/ndr_remact_c.h"
#include "librpc/gen_ndr/epmapper.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#define CLSID_IMAGEDOC "02B01C80-E03D-101A-B294-00DD010F2BF9"

View File

@ -21,7 +21,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_remact_c.h"
#include "librpc/gen_ndr/ndr_epmapper_c.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#define CLSID_IMAGEDOC "02B01C80-E03D-101A-B294-00DD010F2BF9"
#define DCERPC_IUNKNOWN_UUID "00000000-0000-0000-c000-000000000046"

View File

@ -23,7 +23,7 @@
#include "auth/auth.h"
#include "auth/gensec/gensec.h"
#include "lib/cmdline/popt_common.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "libcli/auth/libcli_auth.h"
#include "librpc/gen_ndr/ndr_netlogon_c.h"
#include "param/param.h"

View File

@ -20,7 +20,7 @@
#include "includes.h"
#include "lib/cmdline/popt_common.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "torture/smbtorture.h"
#include "librpc/ndr/ndr_table.h"
#include "../lib/util/dlinklist.h"

View File

@ -33,7 +33,7 @@
#include "librpc/gen_ndr/ndr_winreg_c.h"
#include "librpc/gen_ndr/ndr_wkssvc_c.h"
#include "lib/cmdline/popt_common.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "libcli/libcli.h"
#include "libcli/smb_composite/smb_composite.h"
#include "libcli/auth/libcli_auth.h"

View File

@ -27,7 +27,7 @@
#include "librpc/gen_ndr/ndr_samr_c.h"
#include "../lib/crypto/crypto.h"
#include "lib/cmdline/popt_common.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "auth/gensec/gensec.h"
#include "libcli/auth/libcli_auth.h"
#include "param/param.h"

View File

@ -32,7 +32,7 @@
#include "../lib/crypto/crypto.h"
#include "libcli/auth/libcli_auth.h"
#include "libcli/security/security.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "param/param.h"
#include "auth/gensec/gensec.h"
#include "auth/gensec/gensec_proto.h"

View File

@ -21,7 +21,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_samr_c.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "param/param.h"
#include "libcli/security/security.h"

View File

@ -25,7 +25,7 @@
#include "../lib/util/dlinklist.h"
#include "../lib/crypto/crypto.h"
#include "system/time.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "auth/gensec/gensec.h"
#include "libcli/auth/libcli_auth.h"
#include "libcli/samsync/samsync.h"

View File

@ -22,7 +22,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_mgmt_c.h"
#include "librpc/ndr/ndr_table.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "param/param.h"
/*

View File

@ -24,7 +24,7 @@
#include "librpc/gen_ndr/ndr_lsa_c.h"
#include "librpc/gen_ndr/ndr_samr_c.h"
#include "auth/credentials/credentials.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "lib/cmdline/popt_common.h"
#include "../libcli/auth/schannel.h"
#include "libcli/auth/libcli_auth.h"

View File

@ -23,7 +23,7 @@
#include "librpc/gen_ndr/ndr_lsa_c.h"
#include "libcli/auth/libcli_auth.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "lib/cmdline/popt_common.h"
#include "param/param.h"

View File

@ -29,7 +29,7 @@
#include "librpc/gen_ndr/ndr_winreg_c.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "libcli/security/security.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "param/param.h"
#include "lib/registry/registry.h"

View File

@ -24,7 +24,7 @@
#include "system/filesys.h"
#include "librpc/gen_ndr/ndr_spoolss_c.h"
#include "librpc/gen_ndr/ndr_spoolss.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "rpc_server/dcerpc_server.h"
#include "rpc_server/service_rpc.h"
#include "smbd/process_model.h"

View File

@ -19,7 +19,7 @@
*/
#include "includes.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "librpc/gen_ndr/ndr_spoolss_c.h"
#include "librpc/gen_ndr/ndr_misc.h"
#include "ntvfs/ntvfs.h"

View File

@ -20,7 +20,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_srvsvc_c.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
/**************************/
/* srvsvc_NetCharDev */

View File

@ -22,7 +22,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_svcctl_c.h"
#include "librpc/gen_ndr/ndr_svcctl.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "param/param.h"
#define TORTURE_DEFAULT_SERVICE "Spooler"

View File

@ -32,7 +32,7 @@
#include "librpc/gen_ndr/ndr_samr_c.h"
#include "libcli/auth/libcli_auth.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "libcli/security/security.h"
#include "param/param.h"

View File

@ -19,7 +19,7 @@
*/
#include "includes.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "librpc/gen_ndr/ndr_unixinfo_c.h"
#include "libcli/security/security.h"

View File

@ -24,7 +24,7 @@
#include "librpc/gen_ndr/ndr_winreg_c.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "libcli/security/security.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "param/param.h"
#include "lib/registry/registry.h"

View File

@ -22,7 +22,7 @@
#include "includes.h"
#include "torture/torture.h"
#include "librpc/gen_ndr/ndr_wkssvc_c.h"
#include "torture/rpc/rpc.h"
#include "torture/rpc/torture_rpc.h"
#include "lib/cmdline/popt_common.h"
#include "param/param.h"
#include "../lib/crypto/crypto.h"