#ifndef LOGMSG_H
#define LOGMSG_H

#ifdef __cplusplus
extern "C" {
#endif

/*--- Definition des constantes publiques ---*/

#define LOGLEVEL_DISPLAY    4               /* Display >= LOGLEVEL_DISPLAY */

    /* --- */

#define LOGLEVEL_MAIN               4
#define LOGLEVEL_OPCODE				3
#define LOGLEVEL_SENDMAIL           3
#define LOGLEVEL_MAILMESSAGE        0
#define LOGLEVEL_POP                0
#define LOGLEVEL_SMTP               3
#define LOGLEVEL_SOCKET             0
#define LOGLEVEL_SOCKET_DATA		0


/*--- Definition des types publics ---*/

/*--- Declaration des variables globales ---*/

/*--- Declaration des fonctions publiques ---*/
void    LogMsg(int log_level,char *fmt,...);


#ifdef __cplusplus
}
#endif

#endif /* LOGMSG_H */
