summaryrefslogtreecommitdiff
path: root/agent/mibgroup/mibII/updates.h
blob: b414e33ffc6796587437eaa46eed76125c02b4dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef UPDATES_H
#define UPDATES_H

/**
 * Create a handler_registration that checks *set to determine how to proceede,
 * if *set is less than 0 then the object is nonwriteable, otherwise, *set is
 * set to 1 in the commit phase. All other parameters are as in
 * netsnmp_create_handler_registration.
 */

extern netsnmp_handler_registration*
netsnmp_create_update_handler_registration(const char* name,
                                           const oid* id, size_t idlen,
                                           int mode, int* set);

#endif