lib/tsocket: add some useful helper functions
[ira/wip.git] / lib / tsocket / tsocket_internal.h
index fccd1fbedaf410e06dbdc5dd8e8615b0c8265bf3..e4a4908f3ea14d9f2904795d9cd54a222d5976ba 100644 (file)
@@ -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 */