Changes in include/freeDiameter/libfdproto.h [946:5d9229144cac:950:51c15f98a965] in freeDiameter
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/libfdproto.h
r946 r950 1158 1158 }; 1159 1159 1160 /**** 1161 Callbacks defined in libfdproto/dictionary_functions.c file -- see that file for usage. 1162 */ 1163 1164 /* Convert an Address type AVP into a struct sockaddr_storage */ 1165 int fd_dictfct_Address_encode(void * data, union avp_value * avp_value); 1166 int fd_dictfct_Address_interpret(union avp_value * avp_value, void * interpreted); 1167 char * fd_dictfct_Address_dump(union avp_value * avp_value); 1168 1169 /* Display the content of an AVP of type UTF8String in the log file */ 1170 char * fd_dictfct_UTF8String_dump(union avp_value * avp_value); 1171 1172 /* For Time AVPs, map with time_t value directly */ 1173 int fd_dictfct_Time_encode(void * data, union avp_value * avp_value); 1174 int fd_dictfct_Time_interpret(union avp_value * avp_value, void * interpreted); 1175 char * fd_dictfct_Time_dump(union avp_value * avp_value); 1176 1177 1178 1179 /****/ 1160 1180 1161 1181 /*** … … 1188 1208 1189 1209 */ 1190 1210 1191 1211 /* 1192 1212 *************************************************************************** … … 1790 1810 * 1791 1811 * RETURN VALUE: 1792 * 0 : The session is created .1793 * EINVAL : A parameter is invalid. 1794 * EALREADY : A session with the same name already exists (returned in *session) 1812 * 0 : The session is created, the initial msg refcount is 1. 1813 * EINVAL : A parameter is invalid. 1814 * EALREADY : A session with the same name already exists (returned in *session), the msg refcount is increased. 1795 1815 * ENOMEM : Not enough memory to complete the operation 1796 1816 */ … … 2479 2499 int fd_msg_sess_get(struct dictionary * dict, struct msg * msg, struct session ** session, int * isnew); 2480 2500 2501 /* This one is used by the libfdcore, you should use fd_msg_new_session rather than fd_sess_new, when possible */ 2502 int fd_msg_sess_set(struct msg * msg, struct session * session); 2503 2504 2481 2505 /***************************************/ 2482 2506 /* Manage AVP values */
Note: See TracChangeset
for help on using the changeset viewer.