/* 
** 
**
** file name: ppsoid.h
**
** Prepaid server object id defination tree, 
**
*/

#ifndef PPSOID__H
#define PPSOID__H
#include    <sys/types.h>
#include "../../../../plat/snmp/src/include/snmp.h"

typedef enum {
		WAVELOOP_SYSTEM=1,
		WAVELOOP_OMC,
		WAVELOOP_HLR,
		WAVELOOP_VLR,
		WAVELOOP_CDR,
		WAVELOOP_LAN,
		WAVELOOP_CSU,
		WAVELOOP_VPS,
		WAVELOOP_PCR,
		WAVELOOP_BSC,
		WAVELOOP_BTS,
		WAVELOOP_PPS=0x92,
} _WAVEloop_oid;

typedef enum {
		ppsParam_DB=2,
		PPS_ACCOUNT_DB,
		PPS_RECHARGE_DB,
		PPS_TARIFF_DB,
} _pps_database_id;

typedef enum {
		PARAM_GLOBAL=1,
		PARAM_ZONE,
		PARAM_IVR_COMMON,
		PARAM_IVR_SYNTAX,
		PARAM_IVR_DIGIT,
} _ppsParam_db;

typedef enum {
		CDR_STATISTICS=1,
		CDR_CHARGESUM,
		CDR_DURATIONSUM,
} _pps_csta_oid;


#define  PPS_CONFIGURE   0x02

int initSNMP();
int snmpSetPPS(BYTE oidLen,  DWORD *oid, BYTE *pdata, u_short dataLen);
int snmpGetPPS(BYTE oidLen,  DWORD *oid, BYTE *pdata, BYTE *vartype);
void snmpTrapPPS(BYTE oidLen, DWORD *oid, BYTE *pdata, u_short dataLen,snmp_addr *addr);

#endif  /* PPSOID__H */ 
