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

utility.h

Go to the documentation of this file.
00001 #ifndef __utility_h__
00002 #define __utility_h__
00003 
00004 #include <netinet/in.h>
00005 
00006 #ifdef IN_UCD_SNMP_SOURCE
00007 /* If we're compiling this file inside the ucd-snmp source tree */
00008 
00009 
00010 /* This should always be included first before anything else */
00011 #include <config.h>
00012 
00013 
00014 /* minimal include directives */
00015 #include "mibincl.h"
00016 #include "util_funcs.h"
00017 
00018 
00019 #else /* !IN_UCD_SNMP_SOURCE */
00020 
00021 
00022 #include <ucd-snmp/ucd-snmp-config.h>
00023 #include <ucd-snmp/ucd-snmp-includes.h>
00024 #include <ucd-snmp/ucd-snmp-agent-includes.h>
00025 
00026 #endif /* !IN_UCD_SNMP_SOURCE */
00027 
00028 
00029 
00030 #include "rmClient.h"
00031 
00032 
00033 unsigned long 
00034 header_MyGeneric(struct variable * vp,
00035                  oid             * name,
00036                  size_t          * length,
00037                  int               exact,
00038                  size_t          * var_len,
00039                  WriteMethod     * *write_method,
00040                  int               aEntity) ;
00041 
00042 unsigned long 
00043 header_resourceInfo(struct variable * vp,
00044                  oid             * name,
00045                  size_t          * length,
00046                  int               exact,
00047                  size_t          * var_len,
00048                  WriteMethod     * *write_method);
00049 
00050 unsigned long 
00051 header_statisticInfo(struct variable * vp,
00052                  oid             * name,
00053                  size_t          * length,
00054                  int               exact,
00055                  size_t          * var_len,
00056                  WriteMethod     * *write_method);
00057 
00058 unsigned long
00059 getHigh32(const u_int64_t value);
00060 
00061 u_int64_t
00062 setHigh32(const u_int64_t oirg, const unsigned long high32);
00063 
00064 unsigned long
00065 header_writeGeneric(oid * name,
00066                     size_t name_len,
00067                     oid * name_prefix,
00068                     size_t prefix_len,
00069                     oid * name_suffix,
00070                     size_t suffix_len,
00071                     int aEntity,
00072                     int * createNew);
00073 
00074 
00075 #endif // __utility_h__

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