diff options
Diffstat (limited to 'include/net-snmp/output_api.h')
-rw-r--r-- | include/net-snmp/output_api.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/net-snmp/output_api.h b/include/net-snmp/output_api.h new file mode 100644 index 0000000..be2ce0c --- /dev/null +++ b/include/net-snmp/output_api.h @@ -0,0 +1,29 @@ +#ifndef NET_SNMP_LOGGING_API_H +#define NET_SNMP_LOGGING_API_H + + /** + * Library API routines concerned with logging and message output + * (including error handling and debugging). + */ + +#include <net-snmp/types.h> + + /* + * For the initial release, this will just refer to the + * relevant UCD header files. + * In due course, the routines relevant to this area of the + * API will be identified, and listed here directly. + * + * But for the time being, this header file is a placeholder, + * to allow application writers to adopt the new header file names. + */ + +#include <net-snmp/library/snmp_client.h> +#include <net-snmp/library/snmp_debug.h> +#include <net-snmp/library/snmp_logging.h> + +#ifndef ERROR_MSG +#define ERROR_MSG(string) snmp_set_detail(string) +#endif + +#endif /* NET_SNMP_LOGGING_API_H */ |