libcli/nbt: add nbt_name_socket_handle_response_packet()
authorStefan Metzmacher <metze@sernet.de>
Wed, 16 Jan 2008 13:51:56 +0000 (14:51 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 19 Jan 2009 06:05:42 +0000 (07:05 +0100)
commitebab6d6ce40ec4d64126964c0223aa2bdef99094
treef934f966e8b64369a652a17c13c409dae8637450
parent26c48098e6c387cc76b123a78d50f23518d734cf
libcli/nbt: add nbt_name_socket_handle_response_packet()

Move the last part of nbt_name_socket_recv() into
a new function nbt_name_socket_handle_response_packet()
so that it can be reused by an unexpected handler.

metze
(from samba4wins tree cb0377f3b95e50c84fac999a49dde80acc933124)
libcli/nbt/libnbt.h
libcli/nbt/nbtsocket.c