/*
 * Copyright Notice:
 * Copyright Treck Incorporated  1997 - 2004.
 * Copyright Elmic Incorporated  1997 - 2004.
 * No portions or the complete contents of this file may be copied or
 * distributed in any form (including but not limited to printed or electronic
 * forms) without the expressed written consent of Treck Inc OR Elmic Systems.
 * Copyright laws and International Treaties protect the contents of this
 * file. Unauthorized use is prohibited. All rights reserved.
 *
 * Description:
 *
 * Filename: example_local.h
 * Generated by The Treck MIB compiler - version 1.25.
 * Date Created: Wed Jun 03 16:07:47 2009
 */


/* Scalar objects */

struct group
{
    ttS32Bit        greenledon;
    ttS32Bit        yellowledon;
    unsigned char    bigboss[MAX_STRING_LEN];
    unsigned short   bigboss_len;
};



/* Tabular objects */

struct simpletable_entry
{
    ttS32Bit        index;
    ttS32Bit        rowstatus;
    unsigned char    name[MAX_STRING_LEN];
    unsigned short   name_len;
};

#ifndef OK
#define OK 1
#endif

#ifndef FAIL
#define FAIL 0
#endif


/* Function Prototypes */

extern long *tfgroup_get(u_char, int *);
extern int tfwrite_group(int, u_char *, int);

extern int tfsimpletable_entry_get(
                int,
                struct simpletable_entry *entry0);
extern int tfwrite_simpletable_entry(int, int, u_char *, int);
extern int tfcreate_simpletable_entry(oid *, int, oid);
extern int tfdelete_simpletable_entry(oid *, int);



/* Traps */

struct exampletrapgreen {
    int        trap_id;
    unsigned long  greenledon;
    int        index0_0;
};
struct exampletrapyellow {
    int        trap_id;
    unsigned long  yellowledon;
    int        index0_0;
};

/* Trap function prototypes */
int tfexampletrapgreen_trap(struct exampletrapgreen *);
int tfexampletrapyellow_trap(struct exampletrapyellow *);
