diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-08 10:51:34 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-11-08 13:12:14 +0100 |
commit | 98fb71782e05ae72cd6abeb38b6e0b96a50c1761 (patch) | |
tree | d70c44840e3cc9b69911d779a0f61a29d76ffb00 /librpc/gen_ndr/srv_epmapper.c | |
parent | 9621306351cdb469ef393a6d8cbeea456bc4bd9f (diff) | |
download | samba-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_epmapper.c')
-rw-r--r-- | librpc/gen_ndr/srv_epmapper.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/librpc/gen_ndr/srv_epmapper.c b/librpc/gen_ndr/srv_epmapper.c index d0c617aea6..8648b011df 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 = &ndr_table_epmapper.calls[NDR_EPM_INSERT]; + call = &p->interface->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 = &ndr_table_epmapper.calls[NDR_EPM_DELETE]; + call = &p->interface->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 = &ndr_table_epmapper.calls[NDR_EPM_LOOKUP]; + call = &p->interface->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 = &ndr_table_epmapper.calls[NDR_EPM_MAP]; + call = &p->interface->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 = &ndr_table_epmapper.calls[NDR_EPM_LOOKUPHANDLEFREE]; + call = &p->interface->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 = &ndr_table_epmapper.calls[NDR_EPM_INQOBJECT]; + call = &p->interface->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 = &ndr_table_epmapper.calls[NDR_EPM_MGMTDELETE]; + call = &p->interface->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 = &ndr_table_epmapper.calls[NDR_EPM_MAPAUTH]; + call = &p->interface->calls[NDR_EPM_MAPAUTH]; r = talloc(talloc_tos(), struct epm_MapAuth); if (r == NULL) { |