Deleted Added
full compact
33c33
< * $Begemot: bsnmp/lib/snmpagent.h,v 1.10 2003/12/03 09:55:58 hbb Exp $
---
> * $Begemot: bsnmp/lib/snmpagent.h,v 1.12 2004/04/13 15:18:15 novo Exp $
41a42,50
> enum snmp_ret {
> /* OK, generate a response */
> SNMP_RET_OK = 0,
> /* Error, ignore packet (no response) */
> SNMP_RET_IGN = 1,
> /* Error, generate response from original packet */
> SNMP_RET_ERR = 2
> };
>
47a57
> enum snmp_ret code; /* return code */
59c69,70
< SNMP_DEPOP_ROLLBACK
---
> SNMP_DEPOP_ROLLBACK,
> SNMP_DEPOP_FINISH
71,75d81
< * Functions to be called at the end of a SET operation.
< */
< typedef void (*snmp_set_finish_t)(struct snmp_context *, int fail, void *);
<
< /*
91,99d96
< enum snmp_ret {
< /* OK, generate a response */
< SNMP_RET_OK = 0,
< /* Error, ignore packet (no response) */
< SNMP_RET_IGN = 1,
< /* Error, generate response from original packet */
< SNMP_RET_ERR = 2
< };
<
111a109
> void *tree_data; /* application data */
153,154d150
< int snmp_set_atfinish(struct snmp_context *, snmp_set_finish_t func, void *arg);
<
157a154
> void snmp_dep_finish(struct snmp_context *);