Navigation


Changeset 968:652713ce3596 in freeDiameter for include


Ignore:
Timestamp:
Mar 12, 2013, 11:47:53 PM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Parents:
967:bbc08d58325a (diff), 940:9b00b868e308 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Phase:
public
Message:

merge main

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfdcore.h

    r939 r968  
    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/*
  • include/freeDiameter/libfdcore.h

    r947 r968  
    385385int fd_peer_get_state(struct peer_hdr *peer);
    386386
     387/*
     388 * FUNCTION:    fd_peer_get_load_pending
     389 *
     390 * PARAMETERS:
     391 *  peer        : The peer which load to read
     392 *
     393 * DESCRIPTION:
     394 *   Returns the current number of requests sent to this peer
     395 *  that have not been answered yet. This is an empirical indication
     396 *  of the workload of this peer.
     397 *
     398 * RETURN VALUE:
     399 *  0  : The load parameter has been updated. (it should have a positive value always)
     400 * !0  : An error occurred
     401 */
     402int fd_peer_get_load_pending(struct peer_hdr *peer, int * load);
     403
    387404/*
    388405 * FUNCTION:    fd_peer_validate_register
Note: See TracChangeset for help on using the changeset viewer.