Navigation


Changeset 127:8ee43cf85a5f in freeDiameter for extensions/test_app/ta_conf.y


Ignore:
Timestamp:
Dec 10, 2009, 2:39:55 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Added User-Name AVP in test_app extension

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/test_app/ta_conf.y

    r120 r127  
    124124%token          DEST_REALM
    125125%token          DEST_HOST
     126%token          USER_NAME
    126127%token          SIGNAL
    127128
     
    147148                        | conffile dstrealm
    148149                        | conffile dsthost
     150                        | conffile usrname
    149151                        | conffile signal
    150152                        ;
     
    194196                        ;
    195197
     198usrname:                USER_NAME '=' QSTRING ';'
     199                        {
     200                                free(ta_conf->user_name);
     201                                ta_conf->user_name = $3;
     202                        }
     203                        ;
     204
    196205signal:                 SIGNAL '=' INTEGER ';'
    197206                        {
Note: See TracChangeset for help on using the changeset viewer.