#include <netinet/in.h>
#include <ucd-snmp/ucd-snmp-config.h>
#include <ucd-snmp/ucd-snmp-includes.h>
#include <ucd-snmp/ucd-snmp-agent-includes.h>
#include "RMWatermarkConfig.h"
#include "rmClient.h"
#include "utility.h"
#include <stdlib.h>
#include <string.h>
#include <ucd-snmp/util_funcs.h>
Go to the source code of this file.
Defines | |
#define | WATERMARKCONFIGNEXTINDEX 1 |
#define | WATERMARKTYPE 5 |
#define | WATERMARKCONFIGREFCOUNT 7 |
#define | WATERMARKCONFIGSTATUS 8 |
Functions | |
void | init_RMWatermarkConfig (void) |
unsigned char * | var_RMWatermarkConfig (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) |
unsigned char * | var_WatermarkConfigTable (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) |
int | write_watermarkType (int action, u_char *var_val, u_char var_val_type, size_t var_val_len, u_char *statP, oid *name, size_t name_len) |
int | write_watermarkConfigStatus (int action, u_char *var_val, u_char var_val_type, size_t var_val_len, u_char *statP, oid *name, size_t name_len) |
Variables | |
oid | RMWatermarkConfig_variables_oid [] = { 1,3,6,1,4,1,343,2,15,1,2,2,3 } |
variable4 | RMWatermarkConfig_variables [] |
|
|
|
|
|
|
|
|
|
Definition at line 78 of file RMWatermarkConfig.c. References RMWatermarkConfig_variables, and RMWatermarkConfig_variables_oid. Referenced by main. |
|
Definition at line 103 of file RMWatermarkConfig.c. References getNewId, and WATERMARKCONFIG. |
|
Definition at line 145 of file RMWatermarkConfig.c. References getInteger32, header_MyGeneric, WATERMARKCONFIG, WATERMARKCONFIG_REFCOUNT, WATERMARKCONFIG_STATUS, WATERMARKCONFIG_TYPE, write_watermarkConfigStatus, and write_watermarkType. |
|
Definition at line 302 of file RMWatermarkConfig.c. References ACTIVE, CREATEANDGO, CREATEANDWAIT, deleteEntry, DESTROY, getInteger32, header_writeGeneric, newEntry, NOTINSERVICE, NOTREADY, RMWatermarkConfig_variables_oid, setInteger32, WATERMARKCONFIG, and WATERMARKCONFIG_STATUS. Referenced by var_WatermarkConfigTable. |
|
Definition at line 217 of file RMWatermarkConfig.c. References getInteger32, header_writeGeneric, RMWatermarkConfig_variables_oid, setInteger32, WATERMARKCONFIG, and WATERMARKCONFIG_TYPE. Referenced by var_WatermarkConfigTable. |
|
Initial value: { #define WATERMARKCONFIGNEXTINDEX { WATERMARKCONFIGNEXTINDEX, ASN_UNSIGNED , RONLY , var_RMWatermarkConfig, 1, { 1 } }, #define WATERMARKTYPE { WATERMARKTYPE , ASN_INTEGER , RWRITE, var_WatermarkConfigTable, 3, { 2,1,2 } }, #define WATERMARKCONFIGREFCOUNT { WATERMARKCONFIGREFCOUNT, ASN_INTEGER , RONLY , var_WatermarkConfigTable, 3, { 2,1,3 } }, #define WATERMARKCONFIGSTATUS { WATERMARKCONFIGSTATUS, ASN_INTEGER , RWRITE, var_WatermarkConfigTable, 3, { 2,1,4 } }, } Definition at line 58 of file RMWatermarkConfig.c. Referenced by init_RMWatermarkConfig. |
|
Definition at line 48 of file RMWatermarkConfig.c. Referenced by init_RMWatermarkConfig, write_watermarkConfigStatus, and write_watermarkType. |