Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

utility.c File Reference

#include "utility.h"
#include <string.h>

Go to the source code of this file.

Functions

unsigned long header_MyGeneric (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method, int aEntity)
unsigned long header_resourceInfo (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method)
unsigned long header_statisticInfo (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method)
unsigned long getHigh32 (const u_int64_t value)
u_int64_t setHigh32 (const u_int64_t orig, const unsigned long high32)
unsigned long header_writeGeneric (oid *name, size_t name_len, oid *name_prefix, size_t prefix_len, oid *name_suffix, size_t suffix_len, int aEntity, int *createNew)


Function Documentation

unsigned long getHigh32 const u_int64_t    value
 

Definition at line 199 of file utility.c.

unsigned long header_MyGeneric struct variable *    vp,
oid *    name,
size_t *    length,
int    exact,
size_t *    var_len,
WriteMethod **    write_method,
int    aEntity
 

Definition at line 6 of file utility.c.

References findId, and getNextId.

unsigned long header_resourceInfo struct variable *    vp,
oid *    name,
size_t *    length,
int    exact,
size_t *    var_len,
WriteMethod **    write_method
 

Definition at line 66 of file utility.c.

References getNextId, getUnsigned, RESORUCEINFO, RESOURCEINFO_RESOURCEID, and RESOURCEINFO_SUBSYSTEMID.

unsigned long header_statisticInfo struct variable *    vp,
oid *    name,
size_t *    length,
int    exact,
size_t *    var_len,
WriteMethod **    write_method
 

Definition at line 131 of file utility.c.

References getNextId, getUnsigned, STATISTICINFO, STATISTICINFO_ID, STATISTICINFO_RESOURCEID, and STATISTICINFO_SUBSYSTEMID.

unsigned long header_writeGeneric oid *    name,
size_t    name_len,
oid *    name_prefix,
size_t    prefix_len,
oid *    name_suffix,
size_t    suffix_len,
int    aEntity,
int *    createNew
 

Definition at line 212 of file utility.c.

References findId, and getNewId.

u_int64_t setHigh32 const u_int64_t    orig,
const unsigned long    high32
 

Definition at line 205 of file utility.c.


Generated on Tue Sep 10 16:46:34 2002 for ResourceMonitorSNMPSubagent by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002