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_initshutdown.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_initshutdown.c')
-rw-r--r-- | librpc/gen_ndr/srv_initshutdown.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/librpc/gen_ndr/srv_initshutdown.c b/librpc/gen_ndr/srv_initshutdown.c index bf85fc25d9..d06f5628c3 100644 --- a/librpc/gen_ndr/srv_initshutdown.c +++ b/librpc/gen_ndr/srv_initshutdown.c @@ -15,7 +15,7 @@ static bool api_initshutdown_Init(pipes_struct *p) DATA_BLOB blob; struct initshutdown_Init *r; - call = &ndr_table_initshutdown.calls[NDR_INITSHUTDOWN_INIT]; + call = &p->interface->calls[NDR_INITSHUTDOWN_INIT]; r = talloc(talloc_tos(), struct initshutdown_Init); if (r == NULL) { @@ -88,7 +88,7 @@ static bool api_initshutdown_Abort(pipes_struct *p) DATA_BLOB blob; struct initshutdown_Abort *r; - call = &ndr_table_initshutdown.calls[NDR_INITSHUTDOWN_ABORT]; + call = &p->interface->calls[NDR_INITSHUTDOWN_ABORT]; r = talloc(talloc_tos(), struct initshutdown_Abort); if (r == NULL) { @@ -161,7 +161,7 @@ static bool api_initshutdown_InitEx(pipes_struct *p) DATA_BLOB blob; struct initshutdown_InitEx *r; - call = &ndr_table_initshutdown.calls[NDR_INITSHUTDOWN_INITEX]; + call = &p->interface->calls[NDR_INITSHUTDOWN_INITEX]; r = talloc(talloc_tos(), struct initshutdown_InitEx); if (r == NULL) { |