libnetconf2
4.6.4
NETCONF server and client library in C.
Toggle main menu visibility
Loading...
Searching...
No Matches
proxy_unix.h
Go to the documentation of this file.
1
15
16
#ifndef NC_PROXY_UNIX_H_
17
#define NC_PROXY_UNIX_H_
18
19
#include <stdint.h>
20
21
#include "
session.h
"
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
33
42
int
nc_proxy_unix_connect
(
const
char
*address,
const
char
*username);
43
60
int
nc_proxy_read_msg
(
int
fd,
NC_PROT_VERSION
version,
int
timeout_ms,
char
**buf, uint32_t *buf_len);
61
77
int
nc_proxy_write_msg
(
int
fd,
NC_PROT_VERSION
version,
const
char
*buf, uint32_t buf_len);
78
86
int
nc_proxy_unix_close
(
int
fd);
87
89
90
#ifdef __cplusplus
91
}
92
#endif
93
94
#endif
/* NC_PROXY_UNIX_H_ */
nc_proxy_unix_close
int nc_proxy_unix_close(int fd)
Close the UNIX proxy connection to a server.
nc_proxy_read_msg
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.
nc_proxy_write_msg
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.
nc_proxy_unix_connect
int nc_proxy_unix_connect(const char *address, const char *username)
Connect to a server UNIX socket to act as a NETCONF proxy.
session.h
libnetconf2 session manipulation
NC_PROT_VERSION
NC_PROT_VERSION
Enumeration of the supported NETCONF protocol versions.
Definition
session.h:66
src
proxy_unix.h
Privacy Policy
Generated on
for libnetconf2 by
1.17.0