cli_np_tstream: remove unused tstream_cli_np_get_cli_state()
[mat/samba.git] / source3 / libsmb / cli_np_tstream.h
index 4808db6390eb28314011e42ec50559ad6f6f72e0..6f5e8553302e47ed671c9c45e50dd46e5fe30331 100644 (file)
@@ -36,12 +36,11 @@ NTSTATUS _tstream_cli_np_open_recv(struct tevent_req *req,
 #define tstream_cli_np_open_recv(req, mem_ctx, stream) \
                _tstream_cli_np_open_recv(req, mem_ctx, stream, __location__)
 
-NTSTATUS _tstream_cli_np_existing(TALLOC_CTX *mem_ctx,
-                                 struct cli_state *cli,
-                                 uint16_t fnum,
-                                 struct tstream_context **_stream,
-                                 const char *location);
-#define tstream_cli_np_existing(mem_ctx, cli, npipe, stream) \
-       _tstream_cli_np_existing(mem_ctx, cli, npipe, stream, __location__)
+bool tstream_is_cli_np(struct tstream_context *stream);
+
+NTSTATUS tstream_cli_np_use_trans(struct tstream_context *stream);
+
+unsigned int tstream_cli_np_set_timeout(struct tstream_context *stream,
+                                       unsigned int timeout);
 
 #endif /*  _CLI_NP_TSTREAM_H_ */