commit | 8ce138c496475c160d5be705d1767510f8dc16da | [log] [tgz] |
---|---|---|
author | Tomas Cejka <cejkat@cesnet.cz> | Mon Apr 27 23:25:25 2015 +0200 |
committer | Tomas Cejka <cejkat@cesnet.cz> | Mon Apr 27 23:25:25 2015 +0200 |
tree | c678db98271a88dcc7ecfad544a508ba6704b2d5 | |
parent | cf44e52b10d6ed537252d0c5d02900d24a383961 [diff] [blame] |
use non-blocking recv() function from libnetconf
diff --git a/src/mod_netconf.h b/src/mod_netconf.h index 2e8951a..0f9bf79 100644 --- a/src/mod_netconf.h +++ b/src/mod_netconf.h
@@ -150,5 +150,8 @@ void clean_err_reply(); void free_err_reply(); +NC_MSG_TYPE netconf_send_recv_timed(struct nc_session *session, nc_rpc *rpc, + int timeout, nc_reply **reply); + #endif