16 #ifndef NC_PROXY_UNIX_H_
17 #define NC_PROXY_UNIX_H_
int nc_proxy_read_msg(int fd, NC_PROT_VERSION version, int timeout_ms, char **buf, uint32_t *buf_len)
Read a full chunked-framing message from a FD.
libnetconf2 session manipulation
int nc_proxy_write_msg(int fd, NC_PROT_VERSION version, const char *buf, uint32_t buf_len)
Write data encapsulated as a chunked-framing message to a FD.
int nc_proxy_unix_connect(const char *address, const char *username)
Connect to a server UNIX socket to act as a NETCONF proxy.
int nc_proxy_unix_close(int fd)
Close the UNIX proxy connection to a server.
NC_PROT_VERSION
Enumeration of the supported NETCONF protocol versions.