Commit 3b83cd77 authored by nikolajev's avatar nikolajev
Browse files

DIAMETER codec source update

parent 01387dd0
Loading
Loading
Loading
Loading
+524 −107

File changed.

Preview size limit exceeded, changes collapsed.

+31 −1
Changes for codec/c++/diameter_codets.h: 31 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -337,12 +337,21 @@ AVP_ENUM_S32_DEFINITION(LibDiameter_TypesAndValues, Logging_Interval)
AVP_ENUM_S32_DEFINITION(LibDiameter_TypesAndValues, Logging_Duration)

//TODO: I have no idea where this is used....???
AVP_ENUM_DEFINITION(LibDiameter_TypesAndValues, ASP_type)
AVP_ENUM_U32_DEFINITION(LibDiameter_TypesAndValues, ASP_type)


#define DEFINITIONS_CER_MSG() \
	private: \
		int m_nStartingPosition;

#define DEFINITIONS_CEA_MSG() \
	private: \
		int m_nStartingPosition;

#define DEFINITIONS_RAR_MSG() \
	private: \
		int m_nStartingPosition;


//class variable definitions
#define DEFINITIONS_AVP_Data() \
@@ -357,7 +366,28 @@ AVP_ENUM_DEFINITION(LibDiameter_TypesAndValues, ASP_type)
		int m_nStartingPosition;


#define DEFINITIONS_Sponsored_Connectivity_Data_AVP() \
	public: \
		int m_nStartingPosition;

//set type field counters
#define DEFINITIONS_CC_Money_AVP() \
	private:	\
		int m_nFieldIndex;


#define DEFINITIONS_Requested_Service_Unit_AVP() \
	private:	\
		int m_nFieldIndex;


#define DEFINITIONS_Granted_Service_Unit_AVP() \
	private:	\
		int m_nFieldIndex;

#define DEFINITIONS_Used_Service_Unit_AVP() \
	private:	\
		int m_nFieldIndex;
}} //namespaces

#endif