Navigation


Changeset 992:80584f0e851a in freeDiameter for include


Ignore:
Timestamp:
Mar 18, 2013, 12:22:32 AM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Copy by default the Proxy-Info AVP included in requests into the answers. Use MSGFL_ANSW_NOPROXYINFO to ignore. This code has not been tested yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfdproto.h

    r981 r992  
    21432143#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 */
    21442144#define MSGFL_ANSW_NOSID        0x04    /* When creating an answer message, do not add the Session-Id even if present in request */
    2145 #define MSGFL_MAX               MSGFL_ANSW_NOSID        /* The biggest valid flag value */
     2145#define MSGFL_ANSW_NOPROXYINFO  0x08    /* When creating an answer message, do not add the Proxy-Info AVPs presents in request */
     2146#define MSGFL_MAX               MSGFL_ANSW_NOPROXYINFO  /* The biggest valid flag value */
    21462147
    21472148/**************************************************/
     
    21522153 *
    21532154 * PARAMETERS:
    2154  *  model       : Pointer to a DICT_AVP dictionary object describing the avp to create, or NULL.
    2155  *  flags       : Flags to use in creation (AVPFL_*).
    2156  *  avp         : Upon success, pointer to the new avp is stored here.
     2155 *  model       : Pointer to a DICT_AVP dictionary object describing the avp to create, or NULL if flags are used.
     2156 *  flags       : Flags to use in creation (AVPFL_*, see above).
     2157 *  avp         : Upon success, pointer to the new avp is stored here. It points to reference AVP upon function call when flags are used.
    21572158 *
    21582159 * DESCRIPTION:
     
    21932194 *  msg         : The location of the query on function call. Updated by the location of answer message on return.
    21942195 *  flag        : Pass MSGFL_ANSW_ERROR to indicate if the answer is an error message (will set the 'E' bit)
     2196 *              : See other MSGFL_ANSW_* definition above for other flags.
    21952197 *
    21962198 * DESCRIPTION:
Note: See TracChangeset for help on using the changeset viewer.