Ignore:
Timestamp:
Aug 20, 2006, 10:45:04 PM (15 years ago)
Author:
joshe
Message:

Make message level available to message handler callback.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.h

    r798 r803  
    6767 * function must be reentrant, it may be called from different threads.
    6868 * A NULL argument means to print messages to stderr.  The function's
    69  * prototype should look like this: void myErrFunc( const char * );
    70  **********************************************************************/
    71 void tr_setMessageFunction( void (*func)( const char * ) );
     69 * prototype should look like this: void myMsgFunc( int, const char * );
     70 **********************************************************************/
     71void tr_setMessageFunction( void (*func)( int, const char * ) );
    7272
    7373/***********************************************************************
     
    7878#define TR_MSG_ERR 1
    7979#define TR_MSG_INF 2
    80 #define TR_MSG_DBG 4
     80#define TR_MSG_DBG 3
    8181void tr_setMessageLevel( int );
    8282int tr_getMessageLevel( void );
Note: See TracChangeset for help on using the changeset viewer.