diff options
Diffstat (limited to 'source4/smbd/service_stream.h')
-rw-r--r-- | source4/smbd/service_stream.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source4/smbd/service_stream.h b/source4/smbd/service_stream.h index 5d577d4dd8..02ade716d2 100644 --- a/source4/smbd/service_stream.h +++ b/source4/smbd/service_stream.h @@ -23,7 +23,7 @@ #ifndef __SERVICE_STREAM_H__ #define __SERVICE_STREAM_H__ -#include "librpc/gen_ndr/server_id.h" +#include "librpc/gen_ndr/server_id4.h" /* modules can use the following to determine if the interface has changed * please increment the version number after each interface change @@ -50,6 +50,10 @@ struct stream_connection { struct messaging_context *msg_ctx; struct loadparm_context *lp_ctx; + struct tstream_context *tstream; + struct tsocket_address *local_address; + struct tsocket_address *remote_address; + /* * this transport layer session info, normally NULL * which means the same as an anonymous session info @@ -70,4 +74,6 @@ struct stream_server_ops { void (*send_handler)(struct stream_connection *, uint16_t); }; +void stream_terminate_connection(struct stream_connection *srv_conn, const char *reason); + #endif /* __SERVICE_STREAM_H__ */ |