summaryrefslogtreecommitdiff
path: root/libcli/nbt/nbtsocket.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-08nbt: don't reference the event_ctx in nbtsockAndrew Tridgell1-1/+1
This causes talloc_free with references errors
2009-02-02libcli/nbt: s/private/private_dataStefan Metzmacher1-6/+6
metze
2009-01-19Attempt to fix the merged buildVolker Lendecke1-2/+2
2009-01-19libcli/nbt: add nbt_name_socket_handle_response_packet()Stefan Metzmacher1-3/+10
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)
2009-01-19libcli/nbt: add nbt_set_unexpected_handler()Stefan Metzmacher1-0/+13
metze (from samba4wins tree 74232901d1e7ea9ebcb3bd8d584dda36fac37223)
2009-01-19libcli/nbt: fix wack timeout handlingStefan Metzmacher1-3/+18
If the client gets a WACK response, the server sends a timeout to the client. Possible values are between 9 and 105 seconds. Because w2k3 servers have a bug and always return a value of 5 seconds, we need a workarround. Always using a fixed value of 30 seconds is bad as we could timeout to early. Now we use the value from the server if it's in the valid range and otherwise we use the upper limit of the valid range (105s). metze (from samba4wins tree 40ef7739f4141598a6392c203e4a2d52d972fe06)
2009-01-19Revert "Remove another use of global_loadparm."Stefan Metzmacher1-2/+1
This reverts commit ee7c2170a79f1ca9e2ad1a209d342d8fd287ec8d. A much more correct fix will come soon. (40ef7739f4141598a6392c203e4a2d52d972fe06 from the samba4wins tree) metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-3/+3
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij1-1/+2
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij1-0/+1
remove some unused functions.
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-09-23s4-nbt: move libcli/nbt up one level.Günther Deschner1-0/+521
Guenther