* Updated "evhtp" restconf mode
* No reliance on libevent or libevhtp, but on libssl >= 1.1 directly
* Moved out event handling to clixon event handling
* Moved out all ssl calls to clixon
* New code MUST use libevhtp from https://github.com/clixon/clixon-libevhtp.git
* This does NOT work: libevhtp from https://github.com/criticalstack/libevhtp.git
This commit is contained in:
parent
95a820c862
commit
c7e7598e3b
26 changed files with 1506 additions and 944 deletions
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
/*
|
||||
* Types
|
||||
* Add error category here, but must also add an entry in EV variable.
|
||||
* Add error category here, but must also add an entry in EV variable in clixon_err.c
|
||||
*/
|
||||
enum clicon_err{
|
||||
/* 0 means error not set) */
|
||||
|
|
@ -71,6 +71,7 @@ enum clicon_err{
|
|||
OE_ROUTING, /* routing daemon error (eg quagga) */
|
||||
OE_XML, /* xml parsing etc */
|
||||
OE_SSL, /* Openssl errors, see eg ssl_get_error */
|
||||
OE_RESTCONF, /* RESTCONF errors */
|
||||
OE_PLUGIN, /* plugin loading, etc */
|
||||
OE_YANG , /* Yang error */
|
||||
OE_FATAL, /* Fatal error */
|
||||
|
|
|
|||
|
|
@ -9,6 +9,6 @@
|
|||
/*
|
||||
* Prototypes
|
||||
*/
|
||||
int clixon_netns_socket(const char *netns, struct sockaddr *sa, size_t sin_len, int backlog, int *sock);
|
||||
int clixon_netns_socket(const char *netns, struct sockaddr *sa, size_t sin_len, int backlog, int flags, int *sock);
|
||||
|
||||
#endif /* _CLIXON_NETNS_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue