SNMP frontend, new preli table handling code

Skipped data set and use table-helper only
Specialized SNMP error handling
This commit is contained in:
Olof hagsand 2022-05-26 17:47:28 +02:00
parent 468a0aa4ae
commit 6f7a33d196
15 changed files with 750 additions and 363 deletions

View file

@ -55,7 +55,8 @@
/*
* Types
* Add error category here, but must also add an entry in EV variable in clixon_err.c
* Add error category here,
* @see EV variable in clixon_err.c but must also add an entry there
*/
enum clicon_err{
/* 0 means error not set) */
@ -74,11 +75,11 @@ enum clicon_err{
OE_RESTCONF, /* RESTCONF errors */
OE_PLUGIN, /* plugin loading, etc */
OE_YANG , /* Yang error */
OE_SNMP , /* Netsnmp error */
OE_FATAL, /* Fatal error */
OE_UNDEF,
/*-- From here error extensions using clixon_err_cat_reg, XXX register dynamically? --*/
OE_SSL, /* Openssl errors, see eg ssl_get_error */
OE_SNMP , /* Netsnmp error */
OE_NGHTTP2, /* nghttp2 errors, see HAVE_LIBNGHTTP2 */
};