diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-18 09:14:26 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-03-19 16:20:22 +0100 |
commit | d848d517b54074ae6b0e2349383554302b85109c (patch) | |
tree | ed9fe6e9fb63e4a4d799252ee1d04681d17b62b8 /lib/tsocket/tsocket_internal.h | |
parent | 2e0e416676f5d67e716f272d3923386c3f0c9524 (diff) | |
download | samba-d848d517b54074ae6b0e2349383554302b85109c.tar.gz samba-d848d517b54074ae6b0e2349383554302b85109c.tar.bz2 samba-d848d517b54074ae6b0e2349383554302b85109c.zip |
lib/tsocket: add some useful helper functions
metze
Diffstat (limited to 'lib/tsocket/tsocket_internal.h')
-rw-r--r-- | lib/tsocket/tsocket_internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tsocket/tsocket_internal.h b/lib/tsocket/tsocket_internal.h index fccd1fbeda..e4a4908f3e 100644 --- a/lib/tsocket/tsocket_internal.h +++ b/lib/tsocket/tsocket_internal.h @@ -149,5 +149,9 @@ struct tsocket_address *_tsocket_address_create(TALLOC_CTX *mem_ctx, _tsocket_address_create(mem_ctx, ops, state, sizeof(type), \ #type, location) +int tsocket_error_from_errno(int ret, int sys_errno, bool *retry); +int tsocket_simple_int_recv(struct tevent_req *req, int *perrno); +int tsocket_common_prepare_fd(int fd, bool high_fd); + #endif /* _TSOCKET_H */ |