diff include/freeDiameter/libfdproto.h @ 892:b2e8f1a3ef76

Allow the content of the Failed-AVP to be parseable to bufferize the message. The content is only padded currently
author Sebastien Decugis <sdecugis@freediameter.net>
date Mon, 19 Nov 2012 08:58:40 +0100
parents 9432ac55823c
children 43fb27a9037f
line wrap: on
line diff
--- a/include/freeDiameter/libfdproto.h	Sat Nov 17 23:28:50 2012 +0100
+++ b/include/freeDiameter/libfdproto.h	Mon Nov 19 08:58:40 2012 +0100
@@ -2024,8 +2024,9 @@
 };
 
 /* Some flags used in the functions bellow */
-#define AVPFL_SET_BLANK_VALUE	0x01	/* When creating an AVP, initialize its value to a blank area */
-#define AVPFL_MAX		AVPFL_SET_BLANK_VALUE	/* The biggest valid flag value */
+#define AVPFL_SET_BLANK_VALUE	   0x01	/* When creating an AVP, initialize its value to a blank area */
+#define AVPFL_SET_RAWDATA_FROM_AVP 0x02 /* When creating an AVP, initialize its rawdata area from an existing AVP -- it is only blank padding (for error reporting) */
+#define AVPFL_MAX		   AVPFL_SET_RAWDATA_FROM_AVP	/* The biggest valid flag value */
 	
 #define MSGFL_ALLOC_ETEID	0x01	/* When creating a message, a new end-to-end ID is allocated and set in the message */
 #define MSGFL_ANSW_ERROR	0x02	/* When creating an answer message, set the 'E' bit and use the generic error ABNF instead of command-specific ABNF */
"Welcome to our mercurial repository"