/*
 * Note: this file originally auto-generated by mib2c using
 *        : mib2c.iterate_access.conf,v 1.11 2004/08/31 10:23:16 dts12 Exp $
 */
#ifndef test_handlerTABLE_H
#define test_handlerTABLE_H

#define TABLE_TIMEOUT 5

void init_test_handlerTable       (void);

/** User-defined data access functions for data in table test_handlerTable */
/** row level accessors */
Netsnmp_First_Data_Point test_handlerTable_get_first_data_point;
Netsnmp_Next_Data_Point  test_handlerTable_get_next_data_point;

int   test_handlerTable_load               (netsnmp_cache * cache, void *vmagic);
void  test_handlerTable_free               (netsnmp_cache * cache, void *vmagic);
int   test_handlerTable_commit_row         (void **my_data_context, int new_or_del);
void *test_handlerTable_create_data_context(netsnmp_variable_list * index_data, int column);

/** column accessors */

char   *get_TEST_String1      (void *data_context, size_t * ret_len);
char   *get_TEST_Arr1        (void *data_context, size_t * ret_len);
u_long *get_TEST_Int1         (void *data_context, size_t * ret_len);
long   *get_TEST_UsageType       (void *data_context, size_t * ret_len);
int     set_TEST_UsageType       (void *data_context, long *val, size_t val_len);
char   *get_TEST_Date   (void *data_context, size_t * ret_len);

/*
 * these functions are designed to check incoming values for
 * columns in the test_handlerTable table for legality with respect to
 * datatype and value.
 */
int check_Type (int type, long *val, size_t val_len, long *old_val, size_t old_val_len);


/*
 * column number definitions for table test_handlerTable
 */
#define COLUMN_TESTString1   1
#define COLUMN_TESTArr1          2
#define COLUMN_TESTInt1          3
#define COLUMN_TESTUSAGETYPE        4
#define COLUMN_TESTEFFECTIVEDATE    5
#define COLUMN_TESTLASTCHANGED      6


//other stuff deleted

