From 47455b4d1adf2e01f0994005a6302ae32c012478 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 8 Nov 2009 19:37:42 +0100 Subject: Revert "s3: Do not reference the ndr_tables in the server calls directly" This reverts commit 98fb71782e05ae72cd6abeb38b6e0b96a50c1761. --- librpc/gen_ndr/srv_epmapper.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'librpc/gen_ndr/srv_epmapper.c') diff --git a/librpc/gen_ndr/srv_epmapper.c b/librpc/gen_ndr/srv_epmapper.c index 8648b011df..d0c617aea6 100644 --- a/librpc/gen_ndr/srv_epmapper.c +++ b/librpc/gen_ndr/srv_epmapper.c @@ -15,7 +15,7 @@ static bool api_epm_Insert(pipes_struct *p) DATA_BLOB blob; struct epm_Insert *r; - call = &p->interface->calls[NDR_EPM_INSERT]; + call = &ndr_table_epmapper.calls[NDR_EPM_INSERT]; r = talloc(talloc_tos(), struct epm_Insert); if (r == NULL) { @@ -88,7 +88,7 @@ static bool api_epm_Delete(pipes_struct *p) DATA_BLOB blob; struct epm_Delete *r; - call = &p->interface->calls[NDR_EPM_DELETE]; + call = &ndr_table_epmapper.calls[NDR_EPM_DELETE]; r = talloc(talloc_tos(), struct epm_Delete); if (r == NULL) { @@ -161,7 +161,7 @@ static bool api_epm_Lookup(pipes_struct *p) DATA_BLOB blob; struct epm_Lookup *r; - call = &p->interface->calls[NDR_EPM_LOOKUP]; + call = &ndr_table_epmapper.calls[NDR_EPM_LOOKUP]; r = talloc(talloc_tos(), struct epm_Lookup); if (r == NULL) { @@ -248,7 +248,7 @@ static bool api_epm_Map(pipes_struct *p) DATA_BLOB blob; struct epm_Map *r; - call = &p->interface->calls[NDR_EPM_MAP]; + call = &ndr_table_epmapper.calls[NDR_EPM_MAP]; r = talloc(talloc_tos(), struct epm_Map); if (r == NULL) { @@ -335,7 +335,7 @@ static bool api_epm_LookupHandleFree(pipes_struct *p) DATA_BLOB blob; struct epm_LookupHandleFree *r; - call = &p->interface->calls[NDR_EPM_LOOKUPHANDLEFREE]; + call = &ndr_table_epmapper.calls[NDR_EPM_LOOKUPHANDLEFREE]; r = talloc(talloc_tos(), struct epm_LookupHandleFree); if (r == NULL) { @@ -410,7 +410,7 @@ static bool api_epm_InqObject(pipes_struct *p) DATA_BLOB blob; struct epm_InqObject *r; - call = &p->interface->calls[NDR_EPM_INQOBJECT]; + call = &ndr_table_epmapper.calls[NDR_EPM_INQOBJECT]; r = talloc(talloc_tos(), struct epm_InqObject); if (r == NULL) { @@ -483,7 +483,7 @@ static bool api_epm_MgmtDelete(pipes_struct *p) DATA_BLOB blob; struct epm_MgmtDelete *r; - call = &p->interface->calls[NDR_EPM_MGMTDELETE]; + call = &ndr_table_epmapper.calls[NDR_EPM_MGMTDELETE]; r = talloc(talloc_tos(), struct epm_MgmtDelete); if (r == NULL) { @@ -556,7 +556,7 @@ static bool api_epm_MapAuth(pipes_struct *p) DATA_BLOB blob; struct epm_MapAuth *r; - call = &p->interface->calls[NDR_EPM_MAPAUTH]; + call = &ndr_table_epmapper.calls[NDR_EPM_MAPAUTH]; r = talloc(talloc_tos(), struct epm_MapAuth); if (r == NULL) { -- cgit