diff options
Diffstat (limited to 'include/net-snmp/agent/stash_to_next.h')
-rw-r--r-- | include/net-snmp/agent/stash_to_next.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/net-snmp/agent/stash_to_next.h b/include/net-snmp/agent/stash_to_next.h new file mode 100644 index 0000000..200b5aa --- /dev/null +++ b/include/net-snmp/agent/stash_to_next.h @@ -0,0 +1,24 @@ +/* + * stash_to_next.h + */ +#ifndef STASH_TO_NEXT_H +#define STASH_TO_NEXT_H + +#ifdef __cplusplus +extern "C" { +#endif + + +/* + * The helper merely intercepts GETSTASH requests and converts them to + * GETNEXT reequests. + */ + + +netsnmp_mib_handler *netsnmp_get_stash_to_next_handler(void); +Netsnmp_Node_Handler netsnmp_stash_to_next_helper; + +#ifdef __cplusplus +} +#endif +#endif |