Volker Lendecke
fe56659442
Remove a duplicated comment
2009-01-04 18:03:23 +01:00
Volker Lendecke
c4ff426f67
Fix the build of smbfilter
2009-01-04 17:29:27 +01:00
Volker Lendecke
b4f8996ac7
Simulate the Windows behaviour to fire 445 and after a timeout 139
2009-01-04 16:42:41 +01:00
Volker Lendecke
0cc63c6416
Add open_socket_out_defer_send/recv
2009-01-04 16:42:40 +01:00
Volker Lendecke
19b783cce9
Async wrapper for open_socket_out_send/recv
2009-01-04 16:42:40 +01:00
Volker Lendecke
1b328d9820
Add a quick test of wb_trans_send/recv
2009-01-04 16:42:40 +01:00
Volker Lendecke
4df681abf4
async libwbclient infrastructure
2009-01-04 16:42:40 +01:00
Volker Lendecke
8c1691d213
Remove wb_trans_send/recv
2009-01-04 16:42:40 +01:00
Volker Lendecke
d933362cb7
Move winbindd/winbindd_reqtrans.c to lib/wb_reqtrans.c
2009-01-04 16:42:40 +01:00
Volker Lendecke
c6c33d840b
Convert async_connect to "normal" style
2009-01-04 16:42:40 +01:00
Volker Lendecke
34e8945cb5
Actually do a non-blocking connect.... :-)
2009-01-04 16:42:40 +01:00
Volker Lendecke
611f0d7ee6
Add an async queueing mechanism
2009-01-04 16:42:40 +01:00
Volker Lendecke
ebacce2efe
Add async timeout helpers
2009-01-04 16:42:40 +01:00
Stefan Metzmacher
e058e51d63
tevent: completely initialize tevent_fd structs
...
This fixes crash bugs... I forgot to commit and squash
this to commit e45ed828d0
metze
2009-01-04 09:39:17 +01:00
Stefan Metzmacher
47d532fa68
s4:smbd: convert to tevent_* api
...
metze
2009-01-03 19:58:57 +01:00
Stefan Metzmacher
1c8580cfa9
s4:libcli/ldap: convert to tevent_* api
...
metze
2009-01-03 19:58:56 +01:00
Stefan Metzmacher
c72cbce6ee
s4:auth/kerberos: convert to tevent_* api
...
metze
2009-01-03 19:58:56 +01:00
Stefan Metzmacher
c652b42612
tevent: raise version to 0.9.2 after AUTOCLOSE changes
...
metze
2009-01-03 19:58:55 +01:00
Stefan Metzmacher
67810019a0
tevent: remove TEVENT_FD_AUTOCLOSE feature
...
TEVENT_FD_AUTOCLOSE adds a dependency to SOCKET_WRAPPER,
which is bad. Callers should use tevent_fd_set_close_fn() now.
metze
2009-01-03 19:58:54 +01:00
Stefan Metzmacher
2c8a10fe88
tevent: remove dependency to SOCKET_WRAPPER via "system/network.h"
...
metze
2009-01-03 19:58:54 +01:00
Stefan Metzmacher
5fa0d3d568
s4:socket: use a socket_wrapper aware function to auto close the fd event for sockets
...
metze
2009-01-03 19:58:53 +01:00
Stefan Metzmacher
b1be241ca5
s4:sysdep/inotify: use tevent_fd_set_auto_close()
...
metze
2009-01-03 19:58:52 +01:00
Stefan Metzmacher
193eba85a9
tevent: add tevent_fd_set_auto_close()
...
tevent_fd_set_auto_close() is a simple wrapper
arround tevent_fd_set_close_fn() with a callback
that uses plain close(2).
metze
2009-01-03 19:58:51 +01:00
Stefan Metzmacher
e45ed828d0
tevent: add tevent_fd_set_close_fn()
...
Let callers specify a close function
as an alternative to TEVENT_FD_AUTOCLOSE.
metze
2009-01-03 19:58:51 +01:00
Stefan Metzmacher
e928d863e2
tevent: move some common tevent_fd related functions into tevent_fd.c
...
metze
2009-01-03 19:58:50 +01:00
Stefan Metzmacher
1a26b67ee3
tevent: specify argument names for the event handlers
...
metze
2009-01-03 19:58:49 +01:00
Stefan Metzmacher
7dff14df46
tevent: fix standalone make test
...
metze
2009-01-03 19:58:49 +01:00
Volker Lendecke
fafb9ecc61
open_socket_out is always used with SOCK_STREAM, remove argument "type"
2009-01-03 19:22:06 +01:00
Volker Lendecke
b6138bf4f2
Fix retval of async_syscall_result_int
2009-01-03 19:07:57 +01:00
Volker Lendecke
27abf6731e
struct async_req doesn't really need to carry an event_context
2009-01-03 19:07:57 +01:00
Volker Lendecke
141b76d747
Remove unused argument "vuid" from make_internal_rpc_pipe_p
2009-01-03 15:25:00 +01:00
Stefan Metzmacher
b00f6d169c
tevent: raise version to 0.9.1
...
This 0.9.1 isn't compatible with 0.9.0,
but it makes only sense to raise the major version
after we have reached 1.0.0.
metze
2009-01-03 09:14:23 +01:00
Kai Blin
120dc0e5aa
s4 winbind: Correctly silence a "discard const" warning
...
Thanks to metze for pointing out the error.
2009-01-02 23:42:55 +01:00
Volker Lendecke
980aa0d464
Replace some SMB_ASSERTs with NT_STATUS_INTERNAL_ERROR
2009-01-02 22:14:23 +01:00
Volker Lendecke
b4e1eb4345
Optimize for the common case that packet.c received exactly one full packet
2009-01-02 22:11:50 +01:00
Volker Lendecke
aed8c7bfcf
packet.h API: The callback is now responsible to talloc_free() "buf"
2009-01-02 22:11:50 +01:00
Jeremy Allison
e000045f15
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
2009-01-02 12:51:18 -08:00
Jeremy Allison
3d2d0203e5
Remove cli_cm_set_dest_ss() - removes the global dest_ss
...
from libsmb/clidfs.c. Keep the '-I<address>' option in
smbclient working. The intent is to remove all globals
from libsmb/clidfs.c.
Jeremy.
2009-01-02 12:49:49 -08:00
scudette@gmail.com
793f1cdbd9
Changed code to use proper talloc context instead of NULL to control memory leak.
2009-01-02 20:55:20 +01:00
scudette@gmail.com
cc9771d3da
Memory leak fixed due to accumulation of open reg keys.
2009-01-02 20:55:20 +01:00
scudette@gmail.com
de58ef45ac
Fixes uninitialised access as reported by valgrind.
2009-01-02 20:55:20 +01:00
Jeremy Allison
11576353f6
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
2009-01-02 11:39:04 -08:00
Jeremy Allison
2234173220
Fix warnings in make test code.
...
Jeremy.
2009-01-02 11:38:24 -08:00
Stefan Metzmacher
268f3e93a4
s4:lib/events: remove unused events_internal.h
...
external users need to use tevent_internal.h anyway
metze
2009-01-02 18:16:55 +01:00
Stefan Metzmacher
2885a7ab6e
s4:selftest: report tevent tests as 'tevent.python'
...
metze
2009-01-02 18:16:55 +01:00
Stefan Metzmacher
34cc50cb63
s4:lib/events: convert to use tevent_* functions instead of compat macros
...
metze
2009-01-02 18:16:54 +01:00
Stefan Metzmacher
73ef1773be
tevent: only provide compat macros if the caller wants them
...
metze
2009-01-02 18:16:54 +01:00
Stefan Metzmacher
2176295b02
tevent: change pytevent to tevent_*
...
metze
2009-01-02 18:16:54 +01:00
Stefan Metzmacher
784b2dc8d0
tevent: use TEVENT_FD_* instead of EVENT_FD_*
...
metze
2009-01-02 18:16:53 +01:00
Stefan Metzmacher
4f04b06ac2
tevent: rename ev_debug_ops => tevent_debug_ops
...
And related changes, but we keep compat macros
metze
2009-01-02 18:16:53 +01:00