agent/mibgroup/mibII/updates.h
raw| 1 | #ifndef UPDATES_H |
| 2 | #define UPDATES_H |
| 3 | |
| 4 | /** |
| 5 | * Create a handler_registration that checks *set to determine how to proceede, |
| 6 | * if *set is less than 0 then the object is nonwriteable, otherwise, *set is |
| 7 | * set to 1 in the commit phase. All other parameters are as in |
| 8 | * netsnmp_create_handler_registration. |
| 9 | */ |
| 10 | |
| 11 | extern netsnmp_handler_registration* |
| 12 | netsnmp_create_update_handler_registration(const char* name, |
| 13 | const oid* id, size_t idlen, |
| 14 | int mode, int* set); |
| 15 | |
| 16 | #endif |