snmp_mib.h File Reference


Detailed Description

SNMP MIB support functions.

 * $Id: snmp_mib.h,v 1.1 2008/01/31 09:31:29 haraldkipp Exp $
 * 

Definition in file snmp_mib.h.

Go to the source code of this file.

Data Structures

struct  SNMPVAR

Typedefs

typedef int( WMETHOD )(int, u_char *, u_char, size_t, OID *, size_t)

Functions

int SnmpMibRegister (OID[], size_t, SNMPVAR *, int)
 Register MIB variables.
u_charSnmpMibFind (OID *, size_t *, u_char *, size_t *, u_short *, int, WMETHOD **, int *)
 Find MIB variable.


Typedef Documentation

typedef int( WMETHOD)(int, u_char *, u_char, size_t, OID *, size_t)

Definition at line 48 of file snmp_mib.h.


Function Documentation

int SnmpMibRegister ( OID  [],
size_t  ,
SNMPVAR ,
int   
)

Register MIB variables.

Definition at line 69 of file snmp_mib.c.

u_char* SnmpMibFind ( OID name,
size_t *  namelen,
u_char type,
size_t *  len,
u_short acl,
int  exact,
WMETHOD **  wmethod,
int *  no_obj 
)

Find MIB variable.

Parameters:
name 
namelen 
type 
len 
acl 
exact 
wmethod 
no_obj 

Definition at line 108 of file snmp_mib.c.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/