Navigation


Changeset 947:cce5d4bace82 in freeDiameter for include


Ignore:
Timestamp:
Feb 13, 2013, 10:47:47 PM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Make config file parameter const and convert another fprintf to TRACE_DEBUG_ERROR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfdcore.h

    r904 r947  
    8787
    8888/* Parse the freeDiameter.conf configuration file, load the extensions */
    89 int fd_core_parseconf(char * conffile);
     89int fd_core_parseconf(const char * conffile);
    9090
    9191/* Start the server & client threads */
     
    111111        int              cnf_eyec;      /* Eye catcher: EYEC_CONFIG */
    112112       
    113         char            *cnf_file;      /* Configuration file to parse, default is DEFAULT_CONF_FILE */
     113        const char      *cnf_file;      /* Configuration file to parse, default is DEFAULT_CONF_FILE */
    114114       
    115115        DiamId_t         cnf_diamid;    /* Diameter Identity of the local peer (FQDN -- ASCII) */
     
    350350 *    ENOMEM    : Memory allocation for the new object element failed.)
    351351 */
    352 int fd_peer_add ( struct peer_info * info, char * orig_dbg, void (*cb)(struct peer_info *, void *), void * cb_data );
     352int fd_peer_add ( struct peer_info * info, const char * orig_dbg, void (*cb)(struct peer_info *, void *), void * cb_data );
    353353
    354354/*
Note: See TracChangeset for help on using the changeset viewer.