summaryrefslogtreecommitdiff
path: root/librpc/ndr/ndr_rap.c
diff options
context:
space:
mode:
authorSean Finney <seanius@seanius.net>2011-05-31 09:49:18 +0200
committerAndrew Bartlett <abartlet@samba.org>2011-06-01 00:30:40 +0200
commitc51795c747198f9e002505ffa39ad710beff0358 (patch)
tree89f30804721cc6eb2410cb392869879a426244c7 /librpc/ndr/ndr_rap.c
parentf103e0c39f9f93b765a9cdb93a7600a1f6f06315 (diff)
downloadsamba-c51795c747198f9e002505ffa39ad710beff0358.tar.gz
samba-c51795c747198f9e002505ffa39ad710beff0358.tar.bz2
samba-c51795c747198f9e002505ffa39ad710beff0358.zip
librpc/ndr: consolidate string conversion logic in ndr_pull_string
Reduce the amount of duplicate code in ndr_pull_string by moving the almost duplicate conversion calls and their corresponding NDR pulls and checks to a single location. In the place of the removed calls is logic allowing the conversion to be generalized, and and any specific pulls/checks that do not apply to the general case. This is similar to what has already been done in the switch statement for ndr_push_string. Signed-off-by: Sean Finney <seanius@seanius.net>
Diffstat (limited to 'librpc/ndr/ndr_rap.c')
0 files changed, 0 insertions, 0 deletions