1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-14 12:23:52 +03:00

r2439: - function that return just an int don't need a TALLOC_CTX

- fix some return and state bugs

metze
This commit is contained in:
Stefan Metzmacher
2004-09-20 09:13:17 +00:00
committed by Gerald (Jerry) Carter
parent 5e2027f8ec
commit 2757c593ab
3 changed files with 22 additions and 21 deletions

View File

@@ -56,11 +56,11 @@ struct socket_ops {
NTSTATUS (*set_option)(struct socket_context *sock, const char *option, const char *val);
char *(*get_peer_addr)(struct socket_context *sock, TALLOC_CTX *mem_ctx);
int (*get_peer_port)(struct socket_context *sock, TALLOC_CTX *mem_ctx);
int (*get_peer_port)(struct socket_context *sock);
char *(*get_my_addr)(struct socket_context *sock, TALLOC_CTX *mem_ctx);
int (*get_my_port)(struct socket_context *sock, TALLOC_CTX *mem_ctx);
int (*get_my_port)(struct socket_context *sock);
int (*get_fd)(struct socket_context *sock, TALLOC_CTX *mem_ctx);
int (*get_fd)(struct socket_context *sock);
};
enum socket_state {