return cli_set_timeout(cli_nps->cli, timeout);
}
+struct cli_state *tstream_cli_np_get_cli_state(struct tstream_context *stream)
+{
+ struct tstream_cli_np *cli_nps = tstream_context_data(stream,
+ struct tstream_cli_np);
+
+ return cli_nps->cli;
+}
+
struct tstream_cli_np_writev_state {
struct tstream_context *stream;
struct tevent_context *ev;
unsigned int tstream_cli_np_set_timeout(struct tstream_context *stream,
unsigned int timeout);
+struct cli_state *tstream_cli_np_get_cli_state(struct tstream_context *stream);
+
#endif /* _CLI_NP_TSTREAM_H_ */