Navigation


Changeset 922:c7bf1a7a4e90 in freeDiameter for include


Ignore:
Timestamp:
Feb 14, 2013, 11:43:36 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Split the encoders/interpreters for the dictionary types into a different file for better reusability, add decoder/interpreter for Time type based on code from Thomas Klausner

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfdproto.h

    r907 r922  
    11641164};
    11651165
     1166/****
     1167 Callbacks defined in libfdproto/dictionary_functions.c file -- see that file for usage.
     1168 */
     1169
     1170/* Convert an Address type AVP into a struct sockaddr_storage */
     1171int fd_dictfct_Address_encode(void * data, union avp_value * avp_value);
     1172int fd_dictfct_Address_interpret(union avp_value * avp_value, void * interpreted);
     1173char * fd_dictfct_Address_dump(union avp_value * avp_value);
     1174
     1175/* Display the content of an AVP of type UTF8String in the log file */
     1176char * fd_dictfct_UTF8String_dump(union avp_value * avp_value);
     1177
     1178/* For Time AVPs, map with time_t value directly */
     1179int fd_dictfct_Time_encode(void * data, union avp_value * avp_value);
     1180int fd_dictfct_Time_interpret(union avp_value * avp_value, void * interpreted);
     1181char * fd_dictfct_Time_dump(union avp_value * avp_value);
     1182
     1183
     1184
     1185/****/
    11661186
    11671187/***
     
    11941214 
    11951215*/
    1196          
     1216
    11971217/*
    11981218 ***************************************************************************
Note: See TracChangeset for help on using the changeset viewer.