Navigation


Changeset 902:42d0a08cffa8 in freeDiameter


Ignore:
Timestamp:
Dec 15, 2012, 4:42:28 AM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Remove duplicate definitions, use dependencies instead -- thanks to Thomas Klausner

Location:
contrib/dict_dcca
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • contrib/dict_dcca/dict_dcca_3gpp.c

    r835 r902  
    5959static int dict_dcca_3gpp_entry(char * conffile)
    6060{
    61         struct dict_object * dcca;
    6261        TRACE_ENTRY("%p", conffile);           
    6362       
    6463        /* Applications section */
    6564        {               
    66                 /* DCCA */
    67                 {
    68                         struct dict_application_data data = {        4, "Diameter Credit Control Application"                   };
    69                         CHECK_dict_new( DICT_APPLICATION, &data, NULL, &dcca);
    70                 }
    71                
    7265                /* Create the vendors */
    7366                {
     
    846839}
    847840
    848 EXTENSION_ENTRY("dict_dcca_3gpp", dict_dcca_3gpp_entry);
     841EXTENSION_ENTRY("dict_dcca_3gpp", dict_dcca_3gpp_entry, "dict_dcca");
  • contrib/dict_dcca/dict_dcca_nokia.c

    r800 r902  
    5959static int dict_dcca_nokia_entry(char * conffile)
    6060{
    61         struct dict_object * dcca;
    6261        TRACE_ENTRY("%p", conffile);           
    6362       
    6463        /* Applications section */               
    6564        {               
    66                 /* DCCA */
    67                 {
    68                         struct dict_application_data data = {        4, "Diameter Credit Control Application"                   };
    69                         CHECK_dict_new( DICT_APPLICATION, &data, NULL, &dcca);
    70                 }
    71                
    7265                /* Create the vendors */                               
    7366                {
     
    286279}
    287280
    288 EXTENSION_ENTRY("dict_dcca_nokia", dict_dcca_nokia_entry);
     281EXTENSION_ENTRY("dict_dcca_nokia", dict_dcca_nokia_entry, "dict_dcca");
Note: See TracChangeset for help on using the changeset viewer.