8 * snmp-tc.h: Provide some standard #defines for Textual Convention
9 * related value information
12 u_char *date_n_time(time_t *, size_t *);
13 time_t ctime_to_timet(char *);
24 #define RS_NONEXISTENT 0
26 #define RS_NOTINSERVICE 2
28 #define RS_CREATEANDGO 4
29 #define RS_CREATEANDWAIT 5
32 #define RS_IS_GOING_ACTIVE( x ) ( x == RS_CREATEANDGO || x == RS_ACTIVE )
33 #define RS_IS_ACTIVE( x ) ( x == RS_ACTIVE )
34 #define RS_IS_NOT_ACTIVE( x ) ( ! RS_GOING_ACTIVE(x) )
42 #define ST_NONVOLATILE 3
43 #define ST_PERMANENT 4
46 char check_rowstatus_transition(int old_val, int new_val);
47 char check_storage_transition(int old_val, int new_val);
52 #endif /* SNMP_TC_H */