comparison include/freeDiameter/libfdproto.h @ 804:c5b7d4a2cc77

Log message dumps in one call to the dump function to avoid fragmentation in the log files, as per Zack comment
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 22 Aug 2012 00:22:46 +0200
parents cb84f5be889d
children 85b3d7c8bf60
comparison
equal deleted inserted replaced
803:d5a4b5e175c2 804:c5b7d4a2cc77
1112 struct dict_type_data { 1112 struct dict_type_data {
1113 enum dict_avp_basetype type_base; /* How the data of such AVP must be interpreted */ 1113 enum dict_avp_basetype type_base; /* How the data of such AVP must be interpreted */
1114 char * type_name; /* The name of this type */ 1114 char * type_name; /* The name of this type */
1115 dict_avpdata_interpret type_interpret;/* cb to convert the AVP value in more comprehensive format (or NULL) */ 1115 dict_avpdata_interpret type_interpret;/* cb to convert the AVP value in more comprehensive format (or NULL) */
1116 dict_avpdata_encode type_encode; /* cb to convert formatted data into an AVP value (or NULL) */ 1116 dict_avpdata_encode type_encode; /* cb to convert formatted data into an AVP value (or NULL) */
1117 void (*type_dump)(union avp_value * val, FILE * fstr); /* cb called by fd_msg_dump_one for this type of data (if != NULL), to dump the AVP value in fstr */ 1117 char * (*type_dump)(union avp_value * val); /* cb called by fd_msg_dump_one for this type of data (if != NULL). Returned string must be freed. */
1118 }; 1118 };
1119 1119
1120 /* The criteria for searching a type object in the dictionary */ 1120 /* The criteria for searching a type object in the dictionary */
1121 enum { 1121 enum {
1122 TYPE_BY_NAME = 30, /* "what" points to a char * */ 1122 TYPE_BY_NAME = 30, /* "what" points to a char * */
"Welcome to our mercurial repository"