summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/srv_dssetup.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-08 10:51:34 +0100
committerVolker Lendecke <vl@samba.org>2009-11-08 13:12:14 +0100
commit98fb71782e05ae72cd6abeb38b6e0b96a50c1761 (patch)
treed70c44840e3cc9b69911d779a0f61a29d76ffb00 /librpc/gen_ndr/srv_dssetup.c
parent9621306351cdb469ef393a6d8cbeea456bc4bd9f (diff)
downloadsamba-98fb71782e05ae72cd6abeb38b6e0b96a50c1761.tar.gz
samba-98fb71782e05ae72cd6abeb38b6e0b96a50c1761.tar.bz2
samba-98fb71782e05ae72cd6abeb38b6e0b96a50c1761.zip
s3: Do not reference the ndr_tables in the server calls directly
This involves storing the interface table in the pipes_struct
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 effe8c183c..5bdc6ed35c 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 = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEGETPRIMARYDOMAININFORMATION];
+ call = &p->interface->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 = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEDNSNAMETOFLATNAME];
+ call = &p->interface->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 = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEDCASDC];
+ call = &p->interface->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 = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEDCASREPLICA];
+ call = &p->interface->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 = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEDEMOTEDC];
+ call = &p->interface->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 = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEGETDCOPERATIONPROGRESS];
+ call = &p->interface->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 = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEGETDCOPERATIONRESULTS];
+ call = &p->interface->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 = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLECANCEL];
+ call = &p->interface->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 = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLESERVERSAVESTATEFORUPGRADE];
+ call = &p->interface->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 = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEUPGRADEDOWNLEVELSERVER];
+ call = &p->interface->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 = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEABORTDOWNLEVELSERVERUPGRADE];
+ call = &p->interface->calls[NDR_DSSETUP_DSROLEABORTDOWNLEVELSERVERUPGRADE];
r = talloc(talloc_tos(), struct dssetup_DsRoleAbortDownlevelServerUpgrade);
if (r == NULL) {