
/* This file was generated by mib2c and is intended for use as a mib module
   for the ucd-snmp snmpd agent. Edited by Michael Baer

   last changed 2/2/99.
*/

#ifndef _MIBGROUP_SNMPTARGETPARAMSENTRY_H
#define _MIBGROUP_SNMPTARGETPARAMSENTRY_H

/* we use header_generic and checkmib from the util_funcs module */

config_require(util_funcs)

/* Magic number definitions: */

#define   SNMPTARGETPARAMSMPMODEL        1
#define   SNMPTARGETPARAMSSECURITYMODEL  2
#define   SNMPTARGETPARAMSSECURITYNAME   3
#define   SNMPTARGETPARAMSSECURITYLEVEL  4
#define   SNMPTARGETPARAMSSTORAGETYPE    5
#define   SNMPTARGETPARAMSROWSTATUS      6

#define   SNMPTARGETPARAMSMPMODELCOLUMN        2
#define   SNMPTARGETPARAMSSECURITYMODELCOLUMN  3
#define   SNMPTARGETPARAMSSECURITYNAMECOLUMN   4
#define   SNMPTARGETPARAMSSECURITYLEVELCOLUMN  5
#define   SNMPTARGETPARAMSSTORAGETYPECOLUMN    6
#define   SNMPTARGETPARAMSROWSTATUSCOLUMN      7

/* structure definitions */

struct targetParamTable_struct {
  char   *paramName;
  int    mpModel;
  int    secModel;
  char   *secName;
  int    secLevel;
  int    storageType;
  int    rowStatus;
  struct targetParamTable_struct *next; };


/* function definitions */

extern void          init_snmpTargetParamsEntry(void);
extern void          shutdown_snmpTargetParamsEntry(void);
extern FindVarMethod var_snmpTargetParamsEntry;

void snmpd_parse_config_targetParams(   char *, char *);

WriteMethod write_snmpTargetParamsMPModel;
WriteMethod write_snmpTargetParamsSecurityModel;
WriteMethod write_snmpTargetParamsSecurityName;
WriteMethod write_snmpTargetParamsSecurityLevel;
WriteMethod write_snmpTargetParamsStorageType;
WriteMethod write_snmpTargetParamsRowStatus;


/* Only load this structure when this .h file is called in the snmp_vars.c 
   file in tha agent subdirectory of the source tree */

#ifdef IN_SNMP_VARS_C

/* this variable defines function callbacks and type return information 
   for the snmpTargetParamsEntry mib */

struct variable2 snmpTargetParamsEntry_variables[] = {
  { SNMPTARGETPARAMSMPMODEL,       ASN_INTEGER,   RWRITE, 
    var_snmpTargetParamsEntry, 1, { SNMPTARGETPARAMSMPMODELCOLUMN } },
  { SNMPTARGETPARAMSSECURITYMODEL, ASN_INTEGER,   RWRITE, 
    var_snmpTargetParamsEntry, 1, { SNMPTARGETPARAMSSECURITYMODELCOLUMN } },
  { SNMPTARGETPARAMSSECURITYNAME,  ASN_OCTET_STR, RWRITE, 
    var_snmpTargetParamsEntry, 1, { SNMPTARGETPARAMSSECURITYNAMECOLUMN } },
  { SNMPTARGETPARAMSSECURITYLEVEL, ASN_INTEGER,   RWRITE, 
    var_snmpTargetParamsEntry, 1, { SNMPTARGETPARAMSSECURITYLEVELCOLUMN } },
  { SNMPTARGETPARAMSSTORAGETYPE,   ASN_INTEGER,   RWRITE, 
    var_snmpTargetParamsEntry, 1, { SNMPTARGETPARAMSSTORAGETYPECOLUMN } },
  { SNMPTARGETPARAMSROWSTATUS,     ASN_INTEGER,   RWRITE, 
    var_snmpTargetParamsEntry, 1, { SNMPTARGETPARAMSROWSTATUSCOLUMN } }
};

/* now load this mib into the agents mib table */
config_load_mib(1.3.6.1.6.3.12.1.3.1, 10, snmpTargetParamsEntry_variables)

#endif /* IN_SNMP_VARS_C */
#endif /* _MIBGROUP_SNMPTARGETPARAMSENTRY_H */




