summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/srv_dssetup.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-08 19:37:42 +0100
committerVolker Lendecke <vl@samba.org>2009-11-08 19:43:46 +0100
commit47455b4d1adf2e01f0994005a6302ae32c012478 (patch)
treef3317aca52f1ca5c3cc9f7ed4a429250295941d4 /librpc/gen_ndr/srv_dssetup.c
parent82c35e460e00d6f9e61df2d20ea9d0ccf765636a (diff)
downloadsamba-47455b4d1adf2e01f0994005a6302ae32c012478.tar.gz
samba-47455b4d1adf2e01f0994005a6302ae32c012478.tar.bz2
samba-47455b4d1adf2e01f0994005a6302ae32c012478.zip
Revert "s3: Do not reference the ndr_tables in the server calls directly"
This reverts commit 98fb71782e05ae72cd6abeb38b6e0b96a50c1761.
Diffstat (limited to 'librpc/gen_ndr/srv_dssetup.c')
-rw-r--r--librpc/gen_ndr/srv_dssetup.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/librpc/gen_ndr/srv_dssetup.c b/librpc/gen_ndr/srv_dssetup.c
index 5bdc6ed35c..effe8c183c 100644
--- a/librpc/gen_ndr/srv_dssetup.c
+++ b/librpc/gen_ndr/srv_dssetup.c
@@ -15,7 +15,7 @@ static bool api_dssetup_DsRoleGetPrimaryDomainInformation(pipes_struct *p)
DATA_BLOB blob;
struct dssetup_DsRoleGetPrimaryDomainInformation *r;
- call = &p->interface->calls[NDR_DSSETUP_DSROLEGETPRIMARYDOMAININFORMATION];
+ call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEGETPRIMARYDOMAININFORMATION];
r = talloc(talloc_tos(), struct dssetup_DsRoleGetPrimaryDomainInformation);
if (r == NULL) {
@@ -95,7 +95,7 @@ static bool api_dssetup_DsRoleDnsNameToFlatName(pipes_struct *p)
DATA_BLOB blob;
struct dssetup_DsRoleDnsNameToFlatName *r;
- call = &p->interface->calls[NDR_DSSETUP_DSROLEDNSNAMETOFLATNAME];
+ call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEDNSNAMETOFLATNAME];
r = talloc(talloc_tos(), struct dssetup_DsRoleDnsNameToFlatName);
if (r == NULL) {
@@ -168,7 +168,7 @@ static bool api_dssetup_DsRoleDcAsDc(pipes_struct *p)
DATA_BLOB blob;
struct dssetup_DsRoleDcAsDc *r;
- call = &p->interface->calls[NDR_DSSETUP_DSROLEDCASDC];
+ call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEDCASDC];
r = talloc(talloc_tos(), struct dssetup_DsRoleDcAsDc);
if (r == NULL) {
@@ -241,7 +241,7 @@ static bool api_dssetup_DsRoleDcAsReplica(pipes_struct *p)
DATA_BLOB blob;
struct dssetup_DsRoleDcAsReplica *r;
- call = &p->interface->calls[NDR_DSSETUP_DSROLEDCASREPLICA];
+ call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEDCASREPLICA];
r = talloc(talloc_tos(), struct dssetup_DsRoleDcAsReplica);
if (r == NULL) {
@@ -314,7 +314,7 @@ static bool api_dssetup_DsRoleDemoteDc(pipes_struct *p)
DATA_BLOB blob;
struct dssetup_DsRoleDemoteDc *r;
- call = &p->interface->calls[NDR_DSSETUP_DSROLEDEMOTEDC];
+ call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEDEMOTEDC];
r = talloc(talloc_tos(), struct dssetup_DsRoleDemoteDc);
if (r == NULL) {
@@ -387,7 +387,7 @@ static bool api_dssetup_DsRoleGetDcOperationProgress(pipes_struct *p)
DATA_BLOB blob;
struct dssetup_DsRoleGetDcOperationProgress *r;
- call = &p->interface->calls[NDR_DSSETUP_DSROLEGETDCOPERATIONPROGRESS];
+ call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEGETDCOPERATIONPROGRESS];
r = talloc(talloc_tos(), struct dssetup_DsRoleGetDcOperationProgress);
if (r == NULL) {
@@ -460,7 +460,7 @@ static bool api_dssetup_DsRoleGetDcOperationResults(pipes_struct *p)
DATA_BLOB blob;
struct dssetup_DsRoleGetDcOperationResults *r;
- call = &p->interface->calls[NDR_DSSETUP_DSROLEGETDCOPERATIONRESULTS];
+ call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEGETDCOPERATIONRESULTS];
r = talloc(talloc_tos(), struct dssetup_DsRoleGetDcOperationResults);
if (r == NULL) {
@@ -533,7 +533,7 @@ static bool api_dssetup_DsRoleCancel(pipes_struct *p)
DATA_BLOB blob;
struct dssetup_DsRoleCancel *r;
- call = &p->interface->calls[NDR_DSSETUP_DSROLECANCEL];
+ call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLECANCEL];
r = talloc(talloc_tos(), struct dssetup_DsRoleCancel);
if (r == NULL) {
@@ -606,7 +606,7 @@ static bool api_dssetup_DsRoleServerSaveStateForUpgrade(pipes_struct *p)
DATA_BLOB blob;
struct dssetup_DsRoleServerSaveStateForUpgrade *r;
- call = &p->interface->calls[NDR_DSSETUP_DSROLESERVERSAVESTATEFORUPGRADE];
+ call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLESERVERSAVESTATEFORUPGRADE];
r = talloc(talloc_tos(), struct dssetup_DsRoleServerSaveStateForUpgrade);
if (r == NULL) {
@@ -679,7 +679,7 @@ static bool api_dssetup_DsRoleUpgradeDownlevelServer(pipes_struct *p)
DATA_BLOB blob;
struct dssetup_DsRoleUpgradeDownlevelServer *r;
- call = &p->interface->calls[NDR_DSSETUP_DSROLEUPGRADEDOWNLEVELSERVER];
+ call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEUPGRADEDOWNLEVELSERVER];
r = talloc(talloc_tos(), struct dssetup_DsRoleUpgradeDownlevelServer);
if (r == NULL) {
@@ -752,7 +752,7 @@ static bool api_dssetup_DsRoleAbortDownlevelServerUpgrade(pipes_struct *p)
DATA_BLOB blob;
struct dssetup_DsRoleAbortDownlevelServerUpgrade *r;
- call = &p->interface->calls[NDR_DSSETUP_DSROLEABORTDOWNLEVELSERVERUPGRADE];
+ call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEABORTDOWNLEVELSERVERUPGRADE];
r = talloc(talloc_tos(), struct dssetup_DsRoleAbortDownlevelServerUpgrade);
if (r == NULL) {