/*** * * This file was originally generated by the libsmi DMH-SNMP backend. * It is part of DMH-SNMP, the easy to use SNMP Agent. * * Copyright (c) Yigal Hochberg, DMH Software 1993-2001 * DMH-SNMP libsmi backend version 1.1.6.2, May 13 2001 * libsmi version: 2:16:0 *---------------------------------------------------------------------- * * Module name: OwnMIB * * Pathname: ../mibs/dmh/ownmib.mib * * File name: ownmib_sys.c * * Purpose: * Implementation of hosting-system access functions (sysget_) to * get and set actual objects values. * * The sysget functions are called from "ownmib.c", the mib file * generated by DMH mib-compiler. * * Function prototypes and related data structures are defined * in generated header file ownmib.h. * * User-note: add system specific code to get/set actual values. Function * parameters and return code may be changed * * Created: Fri Apr 19 15:59:02 2002 * ***/ /* * include files for DMH-snmp method-function(s) file */ #include "std_c.h" #include "snmib.h" /* "h" file generated by dmh backend */ #include "ownmib.h" /* start global user code such as #include, extern, globals */ /* end global user code */ /** * * Module system initialization function * to init actual tables and related data. * **/ void init_ownmib(void) { /* * User-note: add module initialization code here. */ } /* * system get, alloc, free functions called by DMH-snmp Method functions */ /** * sysget_dmhdemo_scalars() * * system function for dmhdemo scalar objects of dmhTemp * * User-note: change function parameters and return code as required * **/ dmhdemo_scalars_t * sysget_dmhdemo_scalars(void **user_hook, ...) { /* * User-note: add support code here. */ return NULL; } /* end sysget_dmhdemo_scalars() */ /* * Local Variables: * mode:c * cc: "gcc" * cc-flags: "-c -g -Wall -If:/yigal/snmpv3/include " * eval: (make-local-variable 'compile-command) * eval: (setq compile-command (concat cc " " cc-flags " " (file-name-nondirectory buffer-file-name))) * End: */ /* EOF: ownmib-sys.c */