Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
return cli_set_timeout(cli_nps->cli, timeout);
}
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;
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);
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_ */
#endif /* _CLI_NP_TSTREAM_H_ */