/*							-- DO NOT EDIT --
 * This file has been generated by smidump
 * version 0.3.1 for the scli package.
 *
 * Derived from OSPF-MIB:
 *   The MIB module to describe the OSPF Version 2
 *   Protocol
 *
 * Revision 1995-01-20 12:25:
 *   [Revision added by libsmi due to a LAST-UPDATED clause.]
 *
 * $Id: ospf-mib.h,v 1.6 2002/03/26 16:26:26 schoenw Exp $
 */

#ifndef _OSPF_MIB_H_
#define _OSPF_MIB_H_

#include "g_snmp.h"

/*
 * Tables to map enumerations to strings and vice versa.
 */

#define OSPF_MIB_OSPFADMINSTAT_ENABLED  1
#define OSPF_MIB_OSPFADMINSTAT_DISABLED 2

extern GSnmpEnum const ospf_mib_enums_ospfAdminStat[];

#define OSPF_MIB_OSPFVERSIONNUMBER_VERSION2 2

extern GSnmpEnum const ospf_mib_enums_ospfVersionNumber[];

#define OSPF_MIB_OSPFAREABDRRTRSTATUS_TRUE  1
#define OSPF_MIB_OSPFAREABDRRTRSTATUS_FALSE 2

extern GSnmpEnum const ospf_mib_enums_ospfAreaBdrRtrStatus[];

#define OSPF_MIB_OSPFASBDRRTRSTATUS_TRUE  1
#define OSPF_MIB_OSPFASBDRRTRSTATUS_FALSE 2

extern GSnmpEnum const ospf_mib_enums_ospfASBdrRtrStatus[];

#define OSPF_MIB_OSPFTOSSUPPORT_TRUE  1
#define OSPF_MIB_OSPFTOSSUPPORT_FALSE 2

extern GSnmpEnum const ospf_mib_enums_ospfTOSSupport[];

#define OSPF_MIB_OSPFDEMANDEXTENSIONS_TRUE  1
#define OSPF_MIB_OSPFDEMANDEXTENSIONS_FALSE 2

extern GSnmpEnum const ospf_mib_enums_ospfDemandExtensions[];

#define OSPF_MIB_OSPFIMPORTASEXTERN_IMPORTEXTERNAL   1
#define OSPF_MIB_OSPFIMPORTASEXTERN_IMPORTNOEXTERNAL 2
#define OSPF_MIB_OSPFIMPORTASEXTERN_IMPORTNSSA       3

extern GSnmpEnum const ospf_mib_enums_ospfImportAsExtern[];

#define OSPF_MIB_OSPFAREASUMMARY_NOAREASUMMARY   1
#define OSPF_MIB_OSPFAREASUMMARY_SENDAREASUMMARY 2

extern GSnmpEnum const ospf_mib_enums_ospfAreaSummary[];

#define OSPF_MIB_OSPFAREASTATUS_ACTIVE        1
#define OSPF_MIB_OSPFAREASTATUS_NOTINSERVICE  2
#define OSPF_MIB_OSPFAREASTATUS_NOTREADY      3
#define OSPF_MIB_OSPFAREASTATUS_CREATEANDGO   4
#define OSPF_MIB_OSPFAREASTATUS_CREATEANDWAIT 5
#define OSPF_MIB_OSPFAREASTATUS_DESTROY       6

extern GSnmpEnum const ospf_mib_enums_ospfAreaStatus[];

#define OSPF_MIB_OSPFSTUBSTATUS_ACTIVE        1
#define OSPF_MIB_OSPFSTUBSTATUS_NOTINSERVICE  2
#define OSPF_MIB_OSPFSTUBSTATUS_NOTREADY      3
#define OSPF_MIB_OSPFSTUBSTATUS_CREATEANDGO   4
#define OSPF_MIB_OSPFSTUBSTATUS_CREATEANDWAIT 5
#define OSPF_MIB_OSPFSTUBSTATUS_DESTROY       6

extern GSnmpEnum const ospf_mib_enums_ospfStubStatus[];

#define OSPF_MIB_OSPFSTUBMETRICTYPE_OSPFMETRIC     1
#define OSPF_MIB_OSPFSTUBMETRICTYPE_COMPARABLECOST 2
#define OSPF_MIB_OSPFSTUBMETRICTYPE_NONCOMPARABLE  3

extern GSnmpEnum const ospf_mib_enums_ospfStubMetricType[];

#define OSPF_MIB_OSPFLSDBTYPE_ROUTERLINK       1
#define OSPF_MIB_OSPFLSDBTYPE_NETWORKLINK      2
#define OSPF_MIB_OSPFLSDBTYPE_SUMMARYLINK      3
#define OSPF_MIB_OSPFLSDBTYPE_ASSUMMARYLINK    4
#define OSPF_MIB_OSPFLSDBTYPE_ASEXTERNALLINK   5
#define OSPF_MIB_OSPFLSDBTYPE_MULTICASTLINK    6
#define OSPF_MIB_OSPFLSDBTYPE_NSSAEXTERNALLINK 7

extern GSnmpEnum const ospf_mib_enums_ospfLsdbType[];

#define OSPF_MIB_OSPFAREARANGESTATUS_ACTIVE        1
#define OSPF_MIB_OSPFAREARANGESTATUS_NOTINSERVICE  2
#define OSPF_MIB_OSPFAREARANGESTATUS_NOTREADY      3
#define OSPF_MIB_OSPFAREARANGESTATUS_CREATEANDGO   4
#define OSPF_MIB_OSPFAREARANGESTATUS_CREATEANDWAIT 5
#define OSPF_MIB_OSPFAREARANGESTATUS_DESTROY       6

extern GSnmpEnum const ospf_mib_enums_ospfAreaRangeStatus[];

#define OSPF_MIB_OSPFAREARANGEEFFECT_ADVERTISEMATCHING      1
#define OSPF_MIB_OSPFAREARANGEEFFECT_DONOTADVERTISEMATCHING 2

extern GSnmpEnum const ospf_mib_enums_ospfAreaRangeEffect[];

#define OSPF_MIB_OSPFHOSTSTATUS_ACTIVE        1
#define OSPF_MIB_OSPFHOSTSTATUS_NOTINSERVICE  2
#define OSPF_MIB_OSPFHOSTSTATUS_NOTREADY      3
#define OSPF_MIB_OSPFHOSTSTATUS_CREATEANDGO   4
#define OSPF_MIB_OSPFHOSTSTATUS_CREATEANDWAIT 5
#define OSPF_MIB_OSPFHOSTSTATUS_DESTROY       6

extern GSnmpEnum const ospf_mib_enums_ospfHostStatus[];

#define OSPF_MIB_OSPFIFTYPE_BROADCAST         1
#define OSPF_MIB_OSPFIFTYPE_NBMA              2
#define OSPF_MIB_OSPFIFTYPE_POINTTOPOINT      3
#define OSPF_MIB_OSPFIFTYPE_POINTTOMULTIPOINT 5

extern GSnmpEnum const ospf_mib_enums_ospfIfType[];

#define OSPF_MIB_OSPFIFADMINSTAT_ENABLED  1
#define OSPF_MIB_OSPFIFADMINSTAT_DISABLED 2

extern GSnmpEnum const ospf_mib_enums_ospfIfAdminStat[];

#define OSPF_MIB_OSPFIFSTATE_DOWN                   1
#define OSPF_MIB_OSPFIFSTATE_LOOPBACK               2
#define OSPF_MIB_OSPFIFSTATE_WAITING                3
#define OSPF_MIB_OSPFIFSTATE_POINTTOPOINT           4
#define OSPF_MIB_OSPFIFSTATE_DESIGNATEDROUTER       5
#define OSPF_MIB_OSPFIFSTATE_BACKUPDESIGNATEDROUTER 6
#define OSPF_MIB_OSPFIFSTATE_OTHERDESIGNATEDROUTER  7

extern GSnmpEnum const ospf_mib_enums_ospfIfState[];

#define OSPF_MIB_OSPFIFSTATUS_ACTIVE        1
#define OSPF_MIB_OSPFIFSTATUS_NOTINSERVICE  2
#define OSPF_MIB_OSPFIFSTATUS_NOTREADY      3
#define OSPF_MIB_OSPFIFSTATUS_CREATEANDGO   4
#define OSPF_MIB_OSPFIFSTATUS_CREATEANDWAIT 5
#define OSPF_MIB_OSPFIFSTATUS_DESTROY       6

extern GSnmpEnum const ospf_mib_enums_ospfIfStatus[];

#define OSPF_MIB_OSPFIFMULTICASTFORWARDING_BLOCKED   1
#define OSPF_MIB_OSPFIFMULTICASTFORWARDING_MULTICAST 2
#define OSPF_MIB_OSPFIFMULTICASTFORWARDING_UNICAST   3

extern GSnmpEnum const ospf_mib_enums_ospfIfMulticastForwarding[];

#define OSPF_MIB_OSPFIFDEMAND_TRUE  1
#define OSPF_MIB_OSPFIFDEMAND_FALSE 2

extern GSnmpEnum const ospf_mib_enums_ospfIfDemand[];

#define OSPF_MIB_OSPFIFMETRICSTATUS_ACTIVE        1
#define OSPF_MIB_OSPFIFMETRICSTATUS_NOTINSERVICE  2
#define OSPF_MIB_OSPFIFMETRICSTATUS_NOTREADY      3
#define OSPF_MIB_OSPFIFMETRICSTATUS_CREATEANDGO   4
#define OSPF_MIB_OSPFIFMETRICSTATUS_CREATEANDWAIT 5
#define OSPF_MIB_OSPFIFMETRICSTATUS_DESTROY       6

extern GSnmpEnum const ospf_mib_enums_ospfIfMetricStatus[];

#define OSPF_MIB_OSPFVIRTIFSTATE_DOWN         1
#define OSPF_MIB_OSPFVIRTIFSTATE_POINTTOPOINT 4

extern GSnmpEnum const ospf_mib_enums_ospfVirtIfState[];

#define OSPF_MIB_OSPFVIRTIFSTATUS_ACTIVE        1
#define OSPF_MIB_OSPFVIRTIFSTATUS_NOTINSERVICE  2
#define OSPF_MIB_OSPFVIRTIFSTATUS_NOTREADY      3
#define OSPF_MIB_OSPFVIRTIFSTATUS_CREATEANDGO   4
#define OSPF_MIB_OSPFVIRTIFSTATUS_CREATEANDWAIT 5
#define OSPF_MIB_OSPFVIRTIFSTATUS_DESTROY       6

extern GSnmpEnum const ospf_mib_enums_ospfVirtIfStatus[];

#define OSPF_MIB_OSPFNBRSTATE_DOWN          1
#define OSPF_MIB_OSPFNBRSTATE_ATTEMPT       2
#define OSPF_MIB_OSPFNBRSTATE_INIT          3
#define OSPF_MIB_OSPFNBRSTATE_TWOWAY        4
#define OSPF_MIB_OSPFNBRSTATE_EXCHANGESTART 5
#define OSPF_MIB_OSPFNBRSTATE_EXCHANGE      6
#define OSPF_MIB_OSPFNBRSTATE_LOADING       7
#define OSPF_MIB_OSPFNBRSTATE_FULL          8

extern GSnmpEnum const ospf_mib_enums_ospfNbrState[];

#define OSPF_MIB_OSPFNBMANBRSTATUS_ACTIVE        1
#define OSPF_MIB_OSPFNBMANBRSTATUS_NOTINSERVICE  2
#define OSPF_MIB_OSPFNBMANBRSTATUS_NOTREADY      3
#define OSPF_MIB_OSPFNBMANBRSTATUS_CREATEANDGO   4
#define OSPF_MIB_OSPFNBMANBRSTATUS_CREATEANDWAIT 5
#define OSPF_MIB_OSPFNBMANBRSTATUS_DESTROY       6

extern GSnmpEnum const ospf_mib_enums_ospfNbmaNbrStatus[];

#define OSPF_MIB_OSPFNBMANBRPERMANENCE_DYNAMIC   1
#define OSPF_MIB_OSPFNBMANBRPERMANENCE_PERMANENT 2

extern GSnmpEnum const ospf_mib_enums_ospfNbmaNbrPermanence[];

#define OSPF_MIB_OSPFNBRHELLOSUPPRESSED_TRUE  1
#define OSPF_MIB_OSPFNBRHELLOSUPPRESSED_FALSE 2

extern GSnmpEnum const ospf_mib_enums_ospfNbrHelloSuppressed[];

#define OSPF_MIB_OSPFVIRTNBRSTATE_DOWN          1
#define OSPF_MIB_OSPFVIRTNBRSTATE_ATTEMPT       2
#define OSPF_MIB_OSPFVIRTNBRSTATE_INIT          3
#define OSPF_MIB_OSPFVIRTNBRSTATE_TWOWAY        4
#define OSPF_MIB_OSPFVIRTNBRSTATE_EXCHANGESTART 5
#define OSPF_MIB_OSPFVIRTNBRSTATE_EXCHANGE      6
#define OSPF_MIB_OSPFVIRTNBRSTATE_LOADING       7
#define OSPF_MIB_OSPFVIRTNBRSTATE_FULL          8

extern GSnmpEnum const ospf_mib_enums_ospfVirtNbrState[];

#define OSPF_MIB_OSPFVIRTNBRHELLOSUPPRESSED_TRUE  1
#define OSPF_MIB_OSPFVIRTNBRHELLOSUPPRESSED_FALSE 2

extern GSnmpEnum const ospf_mib_enums_ospfVirtNbrHelloSuppressed[];

#define OSPF_MIB_OSPFEXTLSDBTYPE_ASEXTERNALLINK 5

extern GSnmpEnum const ospf_mib_enums_ospfExtLsdbType[];

#define OSPF_MIB_OSPFAREAAGGREGATELSDBTYPE_SUMMARYLINK      3
#define OSPF_MIB_OSPFAREAAGGREGATELSDBTYPE_NSSAEXTERNALLINK 7

extern GSnmpEnum const ospf_mib_enums_ospfAreaAggregateLsdbType[];

#define OSPF_MIB_OSPFAREAAGGREGATESTATUS_ACTIVE        1
#define OSPF_MIB_OSPFAREAAGGREGATESTATUS_NOTINSERVICE  2
#define OSPF_MIB_OSPFAREAAGGREGATESTATUS_NOTREADY      3
#define OSPF_MIB_OSPFAREAAGGREGATESTATUS_CREATEANDGO   4
#define OSPF_MIB_OSPFAREAAGGREGATESTATUS_CREATEANDWAIT 5
#define OSPF_MIB_OSPFAREAAGGREGATESTATUS_DESTROY       6

extern GSnmpEnum const ospf_mib_enums_ospfAreaAggregateStatus[];

#define OSPF_MIB_OSPFAREAAGGREGATEEFFECT_ADVERTISEMATCHING      1
#define OSPF_MIB_OSPFAREAAGGREGATEEFFECT_DONOTADVERTISEMATCHING 2

extern GSnmpEnum const ospf_mib_enums_ospfAreaAggregateEffect[];


/*
 * C type definitions for OSPF-MIB::ospfGeneralGroup.
 */

#define OSPF_MIB_OSPFROUTERID             (1 << 0) 
#define OSPF_MIB_OSPFADMINSTAT            (1 << 1) 
#define OSPF_MIB_OSPFVERSIONNUMBER        (1 << 2) 
#define OSPF_MIB_OSPFAREABDRRTRSTATUS     (1 << 3) 
#define OSPF_MIB_OSPFASBDRRTRSTATUS       (1 << 4) 
#define OSPF_MIB_OSPFEXTERNLSACOUNT       (1 << 5) 
#define OSPF_MIB_OSPFEXTERNLSACKSUMSUM    (1 << 6) 
#define OSPF_MIB_OSPFTOSSUPPORT           (1 << 7) 
#define OSPF_MIB_OSPFORIGINATENEWLSAS     (1 << 8) 
#define OSPF_MIB_OSPFRXNEWLSAS            (1 << 9) 
#define OSPF_MIB_OSPFEXTLSDBLIMIT         (1 << 10) 
#define OSPF_MIB_OSPFMULTICASTEXTENSIONS  (1 << 11) 
#define OSPF_MIB_OSPFEXITOVERFLOWINTERVAL (1 << 12) 
#define OSPF_MIB_OSPFDEMANDEXTENSIONS     (1 << 13) 

typedef struct {
    guchar   *ospfRouterId;
#define OSPF_MIB_OSPFROUTERIDLENGTH 4
    gint32   *ospfAdminStat;
    gint32   *ospfVersionNumber;
    gint32   *ospfAreaBdrRtrStatus;
    gint32   *ospfASBdrRtrStatus;
    guint32  *ospfExternLsaCount;
    gint32   *ospfExternLsaCksumSum;
    gint32   *ospfTOSSupport;
    guint32  *ospfOriginateNewLsas;
    guint32  *ospfRxNewLsas;
    gint32   *ospfExtLsdbLimit;
    gint32   *ospfMulticastExtensions;
    gint32   *ospfExitOverflowInterval;
    gint32   *ospfDemandExtensions;
} ospf_mib_ospfGeneralGroup_t;

extern ospf_mib_ospfGeneralGroup_t *
ospf_mib_new_ospfGeneralGroup(void);

extern void
ospf_mib_get_ospfGeneralGroup(GSnmpSession *s, ospf_mib_ospfGeneralGroup_t **ospfGeneralGroup, gint mask);

extern void
ospf_mib_set_ospfGeneralGroup(GSnmpSession *s, ospf_mib_ospfGeneralGroup_t *ospfGeneralGroup, gint mask);

extern void
ospf_mib_free_ospfGeneralGroup(ospf_mib_ospfGeneralGroup_t *ospfGeneralGroup);

/*
 * C type definitions for OSPF-MIB::ospfAreaEntry.
 */

#define OSPF_MIB_OSPFAREAID          (1 << 0) 
#define OSPF_MIB_OSPFAUTHTYPE        (1 << 1) 
#define OSPF_MIB_OSPFIMPORTASEXTERN  (1 << 2) 
#define OSPF_MIB_OSPFSPFRUNS         (1 << 3) 
#define OSPF_MIB_OSPFAREABDRRTRCOUNT (1 << 4) 
#define OSPF_MIB_OSPFASBDRRTRCOUNT   (1 << 5) 
#define OSPF_MIB_OSPFAREALSACOUNT    (1 << 6) 
#define OSPF_MIB_OSPFAREALSACKSUMSUM (1 << 7) 
#define OSPF_MIB_OSPFAREASUMMARY     (1 << 8) 
#define OSPF_MIB_OSPFAREASTATUS      (1 << 9) 

typedef struct {
    guchar   ospfAreaId[4];
#define OSPF_MIB_OSPFAREAIDLENGTH 4
    gint32   *ospfAuthType;
    gint32   *ospfImportAsExtern;
    guint32  *ospfSpfRuns;
    guint32  *ospfAreaBdrRtrCount;
    guint32  *ospfAsBdrRtrCount;
    guint32  *ospfAreaLsaCount;
    gint32   *ospfAreaLsaCksumSum;
    gint32   *ospfAreaSummary;
    gint32   *ospfAreaStatus;
} ospf_mib_ospfAreaEntry_t;

extern void
ospf_mib_get_ospfAreaTable(GSnmpSession *s, ospf_mib_ospfAreaEntry_t ***ospfAreaEntry, gint mask);

extern void
ospf_mib_free_ospfAreaTable(ospf_mib_ospfAreaEntry_t **ospfAreaEntry);

extern ospf_mib_ospfAreaEntry_t *
ospf_mib_new_ospfAreaEntry(void);

extern void
ospf_mib_get_ospfAreaEntry(GSnmpSession *s, ospf_mib_ospfAreaEntry_t **ospfAreaEntry, guchar *ospfAreaId, gint mask);

extern void
ospf_mib_set_ospfAreaEntry(GSnmpSession *s, ospf_mib_ospfAreaEntry_t *ospfAreaEntry, gint mask);

extern void
ospf_mib_free_ospfAreaEntry(ospf_mib_ospfAreaEntry_t *ospfAreaEntry);

/*
 * C type definitions for OSPF-MIB::ospfStubAreaEntry.
 */

#define OSPF_MIB_OSPFSTUBAREAID     (1 << 0) 
#define OSPF_MIB_OSPFSTUBTOS        (1 << 1) 
#define OSPF_MIB_OSPFSTUBMETRIC     (1 << 2) 
#define OSPF_MIB_OSPFSTUBSTATUS     (1 << 3) 
#define OSPF_MIB_OSPFSTUBMETRICTYPE (1 << 4) 

typedef struct {
    guchar   ospfStubAreaId[4];
#define OSPF_MIB_OSPFSTUBAREAIDLENGTH 4
    gint32   ospfStubTOS;
    gint32   *ospfStubMetric;
    gint32   *ospfStubStatus;
    gint32   *ospfStubMetricType;
} ospf_mib_ospfStubAreaEntry_t;

extern void
ospf_mib_get_ospfStubAreaTable(GSnmpSession *s, ospf_mib_ospfStubAreaEntry_t ***ospfStubAreaEntry, gint mask);

extern void
ospf_mib_free_ospfStubAreaTable(ospf_mib_ospfStubAreaEntry_t **ospfStubAreaEntry);

extern ospf_mib_ospfStubAreaEntry_t *
ospf_mib_new_ospfStubAreaEntry(void);

extern void
ospf_mib_get_ospfStubAreaEntry(GSnmpSession *s, ospf_mib_ospfStubAreaEntry_t **ospfStubAreaEntry, guchar *ospfStubAreaId, gint32 ospfStubTOS, gint mask);

extern void
ospf_mib_set_ospfStubAreaEntry(GSnmpSession *s, ospf_mib_ospfStubAreaEntry_t *ospfStubAreaEntry, gint mask);

extern void
ospf_mib_free_ospfStubAreaEntry(ospf_mib_ospfStubAreaEntry_t *ospfStubAreaEntry);

/*
 * C type definitions for OSPF-MIB::ospfLsdbEntry.
 */

#define OSPF_MIB_OSPFLSDBAREAID        (1 << 0) 
#define OSPF_MIB_OSPFLSDBTYPE          (1 << 1) 
#define OSPF_MIB_OSPFLSDBLSID          (1 << 2) 
#define OSPF_MIB_OSPFLSDBROUTERID      (1 << 3) 
#define OSPF_MIB_OSPFLSDBSEQUENCE      (1 << 4) 
#define OSPF_MIB_OSPFLSDBAGE           (1 << 5) 
#define OSPF_MIB_OSPFLSDBCHECKSUM      (1 << 6) 
#define OSPF_MIB_OSPFLSDBADVERTISEMENT (1 << 7) 

typedef struct {
    guchar   ospfLsdbAreaId[4];
#define OSPF_MIB_OSPFLSDBAREAIDLENGTH 4
    gint32   ospfLsdbType;
    guchar   ospfLsdbLsid[4];
#define OSPF_MIB_OSPFLSDBLSIDLENGTH 4
    guchar   ospfLsdbRouterId[4];
#define OSPF_MIB_OSPFLSDBROUTERIDLENGTH 4
    gint32   *ospfLsdbSequence;
    gint32   *ospfLsdbAge;
    gint32   *ospfLsdbChecksum;
    guchar   *ospfLsdbAdvertisement;
#define OSPF_MIB_OSPFLSDBADVERTISEMENTMINLENGTH 1
#define OSPF_MIB_OSPFLSDBADVERTISEMENTMAXLENGTH 65535
    guint16  _ospfLsdbAdvertisementLength;
} ospf_mib_ospfLsdbEntry_t;

extern void
ospf_mib_get_ospfLsdbTable(GSnmpSession *s, ospf_mib_ospfLsdbEntry_t ***ospfLsdbEntry, gint mask);

extern void
ospf_mib_free_ospfLsdbTable(ospf_mib_ospfLsdbEntry_t **ospfLsdbEntry);

extern ospf_mib_ospfLsdbEntry_t *
ospf_mib_new_ospfLsdbEntry(void);

extern void
ospf_mib_get_ospfLsdbEntry(GSnmpSession *s, ospf_mib_ospfLsdbEntry_t **ospfLsdbEntry, guchar *ospfLsdbAreaId, gint32 ospfLsdbType, guchar *ospfLsdbLsid, guchar *ospfLsdbRouterId, gint mask);

extern void
ospf_mib_free_ospfLsdbEntry(ospf_mib_ospfLsdbEntry_t *ospfLsdbEntry);

/*
 * C type definitions for OSPF-MIB::ospfAreaRangeEntry.
 */

#define OSPF_MIB_OSPFAREARANGEAREAID (1 << 0) 
#define OSPF_MIB_OSPFAREARANGENET    (1 << 1) 
#define OSPF_MIB_OSPFAREARANGEMASK   (1 << 2) 
#define OSPF_MIB_OSPFAREARANGESTATUS (1 << 3) 
#define OSPF_MIB_OSPFAREARANGEEFFECT (1 << 4) 

typedef struct {
    guchar   ospfAreaRangeAreaId[4];
#define OSPF_MIB_OSPFAREARANGEAREAIDLENGTH 4
    guchar   ospfAreaRangeNet[4];
#define OSPF_MIB_OSPFAREARANGENETLENGTH 4
    guchar   *ospfAreaRangeMask;
#define OSPF_MIB_OSPFAREARANGEMASKLENGTH 4
    gint32   *ospfAreaRangeStatus;
    gint32   *ospfAreaRangeEffect;
} ospf_mib_ospfAreaRangeEntry_t;

extern void
ospf_mib_get_ospfAreaRangeTable(GSnmpSession *s, ospf_mib_ospfAreaRangeEntry_t ***ospfAreaRangeEntry, gint mask);

extern void
ospf_mib_free_ospfAreaRangeTable(ospf_mib_ospfAreaRangeEntry_t **ospfAreaRangeEntry);

extern ospf_mib_ospfAreaRangeEntry_t *
ospf_mib_new_ospfAreaRangeEntry(void);

extern void
ospf_mib_get_ospfAreaRangeEntry(GSnmpSession *s, ospf_mib_ospfAreaRangeEntry_t **ospfAreaRangeEntry, guchar *ospfAreaRangeAreaId, guchar *ospfAreaRangeNet, gint mask);

extern void
ospf_mib_set_ospfAreaRangeEntry(GSnmpSession *s, ospf_mib_ospfAreaRangeEntry_t *ospfAreaRangeEntry, gint mask);

extern void
ospf_mib_free_ospfAreaRangeEntry(ospf_mib_ospfAreaRangeEntry_t *ospfAreaRangeEntry);

/*
 * C type definitions for OSPF-MIB::ospfHostEntry.
 */

#define OSPF_MIB_OSPFHOSTIPADDRESS (1 << 0) 
#define OSPF_MIB_OSPFHOSTTOS       (1 << 1) 
#define OSPF_MIB_OSPFHOSTMETRIC    (1 << 2) 
#define OSPF_MIB_OSPFHOSTSTATUS    (1 << 3) 
#define OSPF_MIB_OSPFHOSTAREAID    (1 << 4) 

typedef struct {
    guchar   ospfHostIpAddress[4];
#define OSPF_MIB_OSPFHOSTIPADDRESSLENGTH 4
    gint32   ospfHostTOS;
    gint32   *ospfHostMetric;
    gint32   *ospfHostStatus;
    guchar   *ospfHostAreaID;
#define OSPF_MIB_OSPFHOSTAREAIDLENGTH 4
} ospf_mib_ospfHostEntry_t;

extern void
ospf_mib_get_ospfHostTable(GSnmpSession *s, ospf_mib_ospfHostEntry_t ***ospfHostEntry, gint mask);

extern void
ospf_mib_free_ospfHostTable(ospf_mib_ospfHostEntry_t **ospfHostEntry);

extern ospf_mib_ospfHostEntry_t *
ospf_mib_new_ospfHostEntry(void);

extern void
ospf_mib_get_ospfHostEntry(GSnmpSession *s, ospf_mib_ospfHostEntry_t **ospfHostEntry, guchar *ospfHostIpAddress, gint32 ospfHostTOS, gint mask);

extern void
ospf_mib_set_ospfHostEntry(GSnmpSession *s, ospf_mib_ospfHostEntry_t *ospfHostEntry, gint mask);

extern void
ospf_mib_free_ospfHostEntry(ospf_mib_ospfHostEntry_t *ospfHostEntry);

/*
 * C type definitions for OSPF-MIB::ospfIfEntry.
 */

#define OSPF_MIB_OSPFIFIPADDRESS              (1 << 0) 
#define OSPF_MIB_OSPFADDRESSLESSIF            (1 << 1) 
#define OSPF_MIB_OSPFIFAREAID                 (1 << 2) 
#define OSPF_MIB_OSPFIFTYPE                   (1 << 3) 
#define OSPF_MIB_OSPFIFADMINSTAT              (1 << 4) 
#define OSPF_MIB_OSPFIFRTRPRIORITY            (1 << 5) 
#define OSPF_MIB_OSPFIFTRANSITDELAY           (1 << 6) 
#define OSPF_MIB_OSPFIFRETRANSINTERVAL        (1 << 7) 
#define OSPF_MIB_OSPFIFHELLOINTERVAL          (1 << 8) 
#define OSPF_MIB_OSPFIFRTRDEADINTERVAL        (1 << 9) 
#define OSPF_MIB_OSPFIFPOLLINTERVAL           (1 << 10) 
#define OSPF_MIB_OSPFIFSTATE                  (1 << 11) 
#define OSPF_MIB_OSPFIFDESIGNATEDROUTER       (1 << 12) 
#define OSPF_MIB_OSPFIFBACKUPDESIGNATEDROUTER (1 << 13) 
#define OSPF_MIB_OSPFIFEVENTS                 (1 << 14) 
#define OSPF_MIB_OSPFIFAUTHKEY                (1 << 15) 
#define OSPF_MIB_OSPFIFSTATUS                 (1 << 16) 
#define OSPF_MIB_OSPFIFMULTICASTFORWARDING    (1 << 17) 
#define OSPF_MIB_OSPFIFDEMAND                 (1 << 18) 
#define OSPF_MIB_OSPFIFAUTHTYPE               (1 << 19) 

typedef struct {
    guchar   ospfIfIpAddress[4];
#define OSPF_MIB_OSPFIFIPADDRESSLENGTH 4
    gint32   ospfAddressLessIf;
    guchar   *ospfIfAreaId;
#define OSPF_MIB_OSPFIFAREAIDLENGTH 4
    gint32   *ospfIfType;
    gint32   *ospfIfAdminStat;
    gint32   *ospfIfRtrPriority;
    gint32   *ospfIfTransitDelay;
    gint32   *ospfIfRetransInterval;
    gint32   *ospfIfHelloInterval;
    gint32   *ospfIfRtrDeadInterval;
    gint32   *ospfIfPollInterval;
    gint32   *ospfIfState;
    guchar   *ospfIfDesignatedRouter;
#define OSPF_MIB_OSPFIFDESIGNATEDROUTERLENGTH 4
    guchar   *ospfIfBackupDesignatedRouter;
#define OSPF_MIB_OSPFIFBACKUPDESIGNATEDROUTERLENGTH 4
    guint32  *ospfIfEvents;
    guchar   *ospfIfAuthKey;
#define OSPF_MIB_OSPFIFAUTHKEYMINLENGTH 0
#define OSPF_MIB_OSPFIFAUTHKEYMAXLENGTH 256
    guint16  _ospfIfAuthKeyLength;
    gint32   *ospfIfStatus;
    gint32   *ospfIfMulticastForwarding;
    gint32   *ospfIfDemand;
    gint32   *ospfIfAuthType;
} ospf_mib_ospfIfEntry_t;

extern void
ospf_mib_get_ospfIfTable(GSnmpSession *s, ospf_mib_ospfIfEntry_t ***ospfIfEntry, gint mask);

extern void
ospf_mib_free_ospfIfTable(ospf_mib_ospfIfEntry_t **ospfIfEntry);

extern ospf_mib_ospfIfEntry_t *
ospf_mib_new_ospfIfEntry(void);

extern void
ospf_mib_get_ospfIfEntry(GSnmpSession *s, ospf_mib_ospfIfEntry_t **ospfIfEntry, guchar *ospfIfIpAddress, gint32 ospfAddressLessIf, gint mask);

extern void
ospf_mib_set_ospfIfEntry(GSnmpSession *s, ospf_mib_ospfIfEntry_t *ospfIfEntry, gint mask);

extern void
ospf_mib_free_ospfIfEntry(ospf_mib_ospfIfEntry_t *ospfIfEntry);

/*
 * C type definitions for OSPF-MIB::ospfIfMetricEntry.
 */

#define OSPF_MIB_OSPFIFMETRICIPADDRESS     (1 << 0) 
#define OSPF_MIB_OSPFIFMETRICADDRESSLESSIF (1 << 1) 
#define OSPF_MIB_OSPFIFMETRICTOS           (1 << 2) 
#define OSPF_MIB_OSPFIFMETRICVALUE         (1 << 3) 
#define OSPF_MIB_OSPFIFMETRICSTATUS        (1 << 4) 

typedef struct {
    guchar   ospfIfMetricIpAddress[4];
#define OSPF_MIB_OSPFIFMETRICIPADDRESSLENGTH 4
    gint32   ospfIfMetricAddressLessIf;
    gint32   ospfIfMetricTOS;
    gint32   *ospfIfMetricValue;
    gint32   *ospfIfMetricStatus;
} ospf_mib_ospfIfMetricEntry_t;

extern void
ospf_mib_get_ospfIfMetricTable(GSnmpSession *s, ospf_mib_ospfIfMetricEntry_t ***ospfIfMetricEntry, gint mask);

extern void
ospf_mib_free_ospfIfMetricTable(ospf_mib_ospfIfMetricEntry_t **ospfIfMetricEntry);

extern ospf_mib_ospfIfMetricEntry_t *
ospf_mib_new_ospfIfMetricEntry(void);

extern void
ospf_mib_get_ospfIfMetricEntry(GSnmpSession *s, ospf_mib_ospfIfMetricEntry_t **ospfIfMetricEntry, guchar *ospfIfMetricIpAddress, gint32 ospfIfMetricAddressLessIf, gint32 ospfIfMetricTOS, gint mask);

extern void
ospf_mib_set_ospfIfMetricEntry(GSnmpSession *s, ospf_mib_ospfIfMetricEntry_t *ospfIfMetricEntry, gint mask);

extern void
ospf_mib_free_ospfIfMetricEntry(ospf_mib_ospfIfMetricEntry_t *ospfIfMetricEntry);

/*
 * C type definitions for OSPF-MIB::ospfVirtIfEntry.
 */

#define OSPF_MIB_OSPFVIRTIFAREAID          (1 << 0) 
#define OSPF_MIB_OSPFVIRTIFNEIGHBOR        (1 << 1) 
#define OSPF_MIB_OSPFVIRTIFTRANSITDELAY    (1 << 2) 
#define OSPF_MIB_OSPFVIRTIFRETRANSINTERVAL (1 << 3) 
#define OSPF_MIB_OSPFVIRTIFHELLOINTERVAL   (1 << 4) 
#define OSPF_MIB_OSPFVIRTIFRTRDEADINTERVAL (1 << 5) 
#define OSPF_MIB_OSPFVIRTIFSTATE           (1 << 6) 
#define OSPF_MIB_OSPFVIRTIFEVENTS          (1 << 7) 
#define OSPF_MIB_OSPFVIRTIFAUTHKEY         (1 << 8) 
#define OSPF_MIB_OSPFVIRTIFSTATUS          (1 << 9) 
#define OSPF_MIB_OSPFVIRTIFAUTHTYPE        (1 << 10) 

typedef struct {
    guchar   ospfVirtIfAreaId[4];
#define OSPF_MIB_OSPFVIRTIFAREAIDLENGTH 4
    guchar   ospfVirtIfNeighbor[4];
#define OSPF_MIB_OSPFVIRTIFNEIGHBORLENGTH 4
    gint32   *ospfVirtIfTransitDelay;
    gint32   *ospfVirtIfRetransInterval;
    gint32   *ospfVirtIfHelloInterval;
    gint32   *ospfVirtIfRtrDeadInterval;
    gint32   *ospfVirtIfState;
    guint32  *ospfVirtIfEvents;
    guchar   *ospfVirtIfAuthKey;
#define OSPF_MIB_OSPFVIRTIFAUTHKEYMINLENGTH 0
#define OSPF_MIB_OSPFVIRTIFAUTHKEYMAXLENGTH 256
    guint16  _ospfVirtIfAuthKeyLength;
    gint32   *ospfVirtIfStatus;
    gint32   *ospfVirtIfAuthType;
} ospf_mib_ospfVirtIfEntry_t;

extern void
ospf_mib_get_ospfVirtIfTable(GSnmpSession *s, ospf_mib_ospfVirtIfEntry_t ***ospfVirtIfEntry, gint mask);

extern void
ospf_mib_free_ospfVirtIfTable(ospf_mib_ospfVirtIfEntry_t **ospfVirtIfEntry);

extern ospf_mib_ospfVirtIfEntry_t *
ospf_mib_new_ospfVirtIfEntry(void);

extern void
ospf_mib_get_ospfVirtIfEntry(GSnmpSession *s, ospf_mib_ospfVirtIfEntry_t **ospfVirtIfEntry, guchar *ospfVirtIfAreaId, guchar *ospfVirtIfNeighbor, gint mask);

extern void
ospf_mib_set_ospfVirtIfEntry(GSnmpSession *s, ospf_mib_ospfVirtIfEntry_t *ospfVirtIfEntry, gint mask);

extern void
ospf_mib_free_ospfVirtIfEntry(ospf_mib_ospfVirtIfEntry_t *ospfVirtIfEntry);

/*
 * C type definitions for OSPF-MIB::ospfNbrEntry.
 */

#define OSPF_MIB_OSPFNBRIPADDR           (1 << 0) 
#define OSPF_MIB_OSPFNBRADDRESSLESSINDEX (1 << 1) 
#define OSPF_MIB_OSPFNBRRTRID            (1 << 2) 
#define OSPF_MIB_OSPFNBROPTIONS          (1 << 3) 
#define OSPF_MIB_OSPFNBRPRIORITY         (1 << 4) 
#define OSPF_MIB_OSPFNBRSTATE            (1 << 5) 
#define OSPF_MIB_OSPFNBREVENTS           (1 << 6) 
#define OSPF_MIB_OSPFNBRLSRETRANSQLEN    (1 << 7) 
#define OSPF_MIB_OSPFNBMANBRSTATUS       (1 << 8) 
#define OSPF_MIB_OSPFNBMANBRPERMANENCE   (1 << 9) 
#define OSPF_MIB_OSPFNBRHELLOSUPPRESSED  (1 << 10) 

typedef struct {
    guchar   ospfNbrIpAddr[4];
#define OSPF_MIB_OSPFNBRIPADDRLENGTH 4
    gint32   ospfNbrAddressLessIndex;
    guchar   *ospfNbrRtrId;
#define OSPF_MIB_OSPFNBRRTRIDLENGTH 4
    gint32   *ospfNbrOptions;
    gint32   *ospfNbrPriority;
    gint32   *ospfNbrState;
    guint32  *ospfNbrEvents;
    guint32  *ospfNbrLsRetransQLen;
    gint32   *ospfNbmaNbrStatus;
    gint32   *ospfNbmaNbrPermanence;
    gint32   *ospfNbrHelloSuppressed;
} ospf_mib_ospfNbrEntry_t;

extern void
ospf_mib_get_ospfNbrTable(GSnmpSession *s, ospf_mib_ospfNbrEntry_t ***ospfNbrEntry, gint mask);

extern void
ospf_mib_free_ospfNbrTable(ospf_mib_ospfNbrEntry_t **ospfNbrEntry);

extern ospf_mib_ospfNbrEntry_t *
ospf_mib_new_ospfNbrEntry(void);

extern void
ospf_mib_get_ospfNbrEntry(GSnmpSession *s, ospf_mib_ospfNbrEntry_t **ospfNbrEntry, guchar *ospfNbrIpAddr, gint32 ospfNbrAddressLessIndex, gint mask);

extern void
ospf_mib_set_ospfNbrEntry(GSnmpSession *s, ospf_mib_ospfNbrEntry_t *ospfNbrEntry, gint mask);

extern void
ospf_mib_free_ospfNbrEntry(ospf_mib_ospfNbrEntry_t *ospfNbrEntry);

/*
 * C type definitions for OSPF-MIB::ospfVirtNbrEntry.
 */

#define OSPF_MIB_OSPFVIRTNBRAREA            (1 << 0) 
#define OSPF_MIB_OSPFVIRTNBRRTRID           (1 << 1) 
#define OSPF_MIB_OSPFVIRTNBRIPADDR          (1 << 2) 
#define OSPF_MIB_OSPFVIRTNBROPTIONS         (1 << 3) 
#define OSPF_MIB_OSPFVIRTNBRSTATE           (1 << 4) 
#define OSPF_MIB_OSPFVIRTNBREVENTS          (1 << 5) 
#define OSPF_MIB_OSPFVIRTNBRLSRETRANSQLEN   (1 << 6) 
#define OSPF_MIB_OSPFVIRTNBRHELLOSUPPRESSED (1 << 7) 

typedef struct {
    guchar   ospfVirtNbrArea[4];
#define OSPF_MIB_OSPFVIRTNBRAREALENGTH 4
    guchar   ospfVirtNbrRtrId[4];
#define OSPF_MIB_OSPFVIRTNBRRTRIDLENGTH 4
    guchar   *ospfVirtNbrIpAddr;
#define OSPF_MIB_OSPFVIRTNBRIPADDRLENGTH 4
    gint32   *ospfVirtNbrOptions;
    gint32   *ospfVirtNbrState;
    guint32  *ospfVirtNbrEvents;
    guint32  *ospfVirtNbrLsRetransQLen;
    gint32   *ospfVirtNbrHelloSuppressed;
} ospf_mib_ospfVirtNbrEntry_t;

extern void
ospf_mib_get_ospfVirtNbrTable(GSnmpSession *s, ospf_mib_ospfVirtNbrEntry_t ***ospfVirtNbrEntry, gint mask);

extern void
ospf_mib_free_ospfVirtNbrTable(ospf_mib_ospfVirtNbrEntry_t **ospfVirtNbrEntry);

extern ospf_mib_ospfVirtNbrEntry_t *
ospf_mib_new_ospfVirtNbrEntry(void);

extern void
ospf_mib_get_ospfVirtNbrEntry(GSnmpSession *s, ospf_mib_ospfVirtNbrEntry_t **ospfVirtNbrEntry, guchar *ospfVirtNbrArea, guchar *ospfVirtNbrRtrId, gint mask);

extern void
ospf_mib_free_ospfVirtNbrEntry(ospf_mib_ospfVirtNbrEntry_t *ospfVirtNbrEntry);

/*
 * C type definitions for OSPF-MIB::ospfExtLsdbEntry.
 */

#define OSPF_MIB_OSPFEXTLSDBTYPE          (1 << 0) 
#define OSPF_MIB_OSPFEXTLSDBLSID          (1 << 1) 
#define OSPF_MIB_OSPFEXTLSDBROUTERID      (1 << 2) 
#define OSPF_MIB_OSPFEXTLSDBSEQUENCE      (1 << 3) 
#define OSPF_MIB_OSPFEXTLSDBAGE           (1 << 4) 
#define OSPF_MIB_OSPFEXTLSDBCHECKSUM      (1 << 5) 
#define OSPF_MIB_OSPFEXTLSDBADVERTISEMENT (1 << 6) 

typedef struct {
    gint32   ospfExtLsdbType;
    guchar   ospfExtLsdbLsid[4];
#define OSPF_MIB_OSPFEXTLSDBLSIDLENGTH 4
    guchar   ospfExtLsdbRouterId[4];
#define OSPF_MIB_OSPFEXTLSDBROUTERIDLENGTH 4
    gint32   *ospfExtLsdbSequence;
    gint32   *ospfExtLsdbAge;
    gint32   *ospfExtLsdbChecksum;
    guchar   *ospfExtLsdbAdvertisement;
#define OSPF_MIB_OSPFEXTLSDBADVERTISEMENTLENGTH 36
} ospf_mib_ospfExtLsdbEntry_t;

extern void
ospf_mib_get_ospfExtLsdbTable(GSnmpSession *s, ospf_mib_ospfExtLsdbEntry_t ***ospfExtLsdbEntry, gint mask);

extern void
ospf_mib_free_ospfExtLsdbTable(ospf_mib_ospfExtLsdbEntry_t **ospfExtLsdbEntry);

extern ospf_mib_ospfExtLsdbEntry_t *
ospf_mib_new_ospfExtLsdbEntry(void);

extern void
ospf_mib_get_ospfExtLsdbEntry(GSnmpSession *s, ospf_mib_ospfExtLsdbEntry_t **ospfExtLsdbEntry, gint32 ospfExtLsdbType, guchar *ospfExtLsdbLsid, guchar *ospfExtLsdbRouterId, gint mask);

extern void
ospf_mib_free_ospfExtLsdbEntry(ospf_mib_ospfExtLsdbEntry_t *ospfExtLsdbEntry);

/*
 * C type definitions for OSPF-MIB::ospfAreaAggregateEntry.
 */

#define OSPF_MIB_OSPFAREAAGGREGATEAREAID   (1 << 0) 
#define OSPF_MIB_OSPFAREAAGGREGATELSDBTYPE (1 << 1) 
#define OSPF_MIB_OSPFAREAAGGREGATENET      (1 << 2) 
#define OSPF_MIB_OSPFAREAAGGREGATEMASK     (1 << 3) 
#define OSPF_MIB_OSPFAREAAGGREGATESTATUS   (1 << 4) 
#define OSPF_MIB_OSPFAREAAGGREGATEEFFECT   (1 << 5) 

typedef struct {
    guchar   ospfAreaAggregateAreaID[4];
#define OSPF_MIB_OSPFAREAAGGREGATEAREAIDLENGTH 4
    gint32   ospfAreaAggregateLsdbType;
    guchar   ospfAreaAggregateNet[4];
#define OSPF_MIB_OSPFAREAAGGREGATENETLENGTH 4
    guchar   ospfAreaAggregateMask[4];
#define OSPF_MIB_OSPFAREAAGGREGATEMASKLENGTH 4
    gint32   *ospfAreaAggregateStatus;
    gint32   *ospfAreaAggregateEffect;
} ospf_mib_ospfAreaAggregateEntry_t;

extern void
ospf_mib_get_ospfAreaAggregateTable(GSnmpSession *s, ospf_mib_ospfAreaAggregateEntry_t ***ospfAreaAggregateEntry, gint mask);

extern void
ospf_mib_free_ospfAreaAggregateTable(ospf_mib_ospfAreaAggregateEntry_t **ospfAreaAggregateEntry);

extern ospf_mib_ospfAreaAggregateEntry_t *
ospf_mib_new_ospfAreaAggregateEntry(void);

extern void
ospf_mib_get_ospfAreaAggregateEntry(GSnmpSession *s, ospf_mib_ospfAreaAggregateEntry_t **ospfAreaAggregateEntry, guchar *ospfAreaAggregateAreaID, gint32 ospfAreaAggregateLsdbType, guchar *ospfAreaAggregateNet, guchar *ospfAreaAggregateMask, gint mask);

extern void
ospf_mib_set_ospfAreaAggregateEntry(GSnmpSession *s, ospf_mib_ospfAreaAggregateEntry_t *ospfAreaAggregateEntry, gint mask);

extern void
ospf_mib_free_ospfAreaAggregateEntry(ospf_mib_ospfAreaAggregateEntry_t *ospfAreaAggregateEntry);


#endif /* _OSPF_MIB_H_ */
