~ubuntu-branches/ubuntu/hoary/s390-tools/hoary

« back to all changes in this revision

Viewing changes to osasnmpd/osasnmpd-2.6/ibmOSAMib.h

  • Committer: Bazaar Package Importer
  • Author(s): Bastian Blank
  • Date: 2004-06-27 18:45:15 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040627184515-q7lnvli1j94gr6dv
Tags: upstream-1.3.1
ImportĀ upstreamĀ versionĀ 1.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * File...........: ibmOSAMib.h
 
3
 * Author(s)......: Thomas Weber <tweber@de.ibm.com>
 
4
 * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 2002
 
5
 *
 
6
 * History of changes:
 
7
 * none 
 
8
 *  
 
9
 * Include file for the OSA-E subagent MIB implementaton module. 
 
10
 * Defines function prototypes of the basic functions in the MIB
 
11
 * implementation module.
 
12
 *
 
13
 * This program is free software; you can redistribute it and/or modify
 
14
 * it under the terms of the GNU General Public License as published by
 
15
 * the Free Software Foundation; either version 2, or (at your option)
 
16
 * any later version.
 
17
 *
 
18
 * This program is distributed in the hope that it will be useful,
 
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
21
 * GNU General Public License for more details.
 
22
 *
 
23
 * You should have received a copy of the GNU General Public License
 
24
 * along with this program; if not, write to the Free Software
 
25
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
26
 */
 
27
 
 
28
#ifndef _MIBGROUP_IBMOSAMIB_H
 
29
#define _MIBGROUP_IBMOSAMIB_H
 
30
 
 
31
/* we may use header_generic and header_simple_table from the util_funcs module */
 
32
 
 
33
config_require(util_funcs)
 
34
 
 
35
 
 
36
/* function prototypes */
 
37
 
 
38
void          init_ibmOSAMib(void);     /* register MIB data */
 
39
FindVarMethod var_ibmOSAMib;            /* handle GET and GETNEXT requests */
 
40
                                        /* for all SMIv2 standard types */
 
41
FindVarMethod var_DisplayStr;           /* handle special case Display String */
 
42
WriteMethod   write_ibmOSAMib;          /* handle SET requests             */
 
43
 
 
44
/* ioctl for Get/Getnext processing */
 
45
int do_GET_ioctl ( int, oid*, size_t, IPA_CMD_GET** ); 
 
46
 
 
47
#endif /* _MIBGROUP_IBMOSAMIB_H */