Navigation


Changeset 285:0daf6fc2b751 in freeDiameter for extensions/app_acct/app_acct.h


Ignore:
Timestamp:
Apr 30, 2010, 5:55:16 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Added a test case for the app_acct extension

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_acct/app_acct.h

    r284 r285  
    8484        unsigned                 index; /* in case of multi */
    8585        union avp_value         *value; /* If the AVP was found in the message, this points to its value. Otherwise, NULL */
     86        union {
     87                uint32_t v32    /* Storage area for network byte-order copy of the AVP value */;
     88                uint64_t v64;
     89                char     c;     /* pointer that is passed to the database */
     90        }                        scalar;/* for scalar AVP (all types except OCTETSTRING) we copy in this area the value in network byte order */
    8691};
    8792
     
    112117int acct_rec_prepare(struct acct_record_list * records);
    113118int acct_rec_map(struct acct_record_list * records, struct msg * msg);
     119int acct_rec_validate(struct acct_record_list * records);
     120void acct_rec_empty(struct acct_record_list * records);
Note: See TracChangeset for help on using the changeset viewer.