Navigation


Changeset 1085:7d7266115a34 in freeDiameter for libfdcore/fdcore-internal.h


Ignore:
Timestamp:
May 3, 2013, 8:20:56 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Cleaning of the traces in progress

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/fdcore-internal.h

    r1016 r1085  
    8686int fd_conf_init();
    8787int fd_conf_deinit();
    88 void fd_conf_dump();
    8988int fd_conf_parse();
    9089int fddparse(struct fd_config * conf); /* yacc generated */
     
    9594int fd_ext_add( char * filename, char * conffile );
    9695int fd_ext_load();
    97 void fd_ext_dump(void);
    9896int fd_ext_term(void);
    9997
     
    218216/* Events codespace for struct fd_peer->p_events */
    219217enum {
    220         /* Dump all info about this peer in the debug log */
    221          FDEVP_DUMP_ALL = 1500
    222        
    223218        /* request to terminate this peer : disconnect, requeue all messages */
    224         ,FDEVP_TERMINATE
     219        FDEVP_TERMINATE = 1500
    225220       
    226221        /* A connection object has received a message. (data contains the buffer + struct timespec piggytailed -- unaligned) */
     
    250245};
    251246#define CHECK_PEVENT( _e ) \
    252         (((int)(_e) >= FDEVP_DUMP_ALL) && ((int)(_e) <= FDEVP_PSM_TIMEOUT))
     247        (((int)(_e) >= FDEVP_TERMINATE) && ((int)(_e) <= FDEVP_PSM_TIMEOUT))
    253248/* The following macro is actually called in p_psm.c -- another solution would be to declare it static inline */
    254249#define DECLARE_PEV_STR()                               \
     
    256251{                                                       \
    257252        switch (event) {                                \
    258                 case_str(FDEVP_DUMP_ALL);               \
    259253                case_str(FDEVP_TERMINATE);              \
    260254                case_str(FDEVP_CNX_MSG_RECV);           \
     
    281275/* Functions */
    282276int  fd_peer_fini();
    283 void fd_peer_dump_list(int details);
    284 void fd_peer_dump(struct fd_peer * peer, int details);
    285277int  fd_peer_alloc(struct fd_peer ** ptr);
    286278int  fd_peer_free(struct fd_peer ** ptr);
     
    339331
    340332/* Server sockets */
    341 void fd_servers_dump();
    342333int  fd_servers_start();
    343334int  fd_servers_stop();
Note: See TracChangeset for help on using the changeset viewer.