about summary refs log blame commit diff stats
path: root/log.h
blob: df1052963d6834628d2c8d790375c81f3d16a94c (plain) (tree)
1
2
3
4
5
6
7
8


             




                            


                   
           
            
 


                                                              

      
#ifndef LOG_H
#define LOG_H

#include <stdio.h>

#include <strophe/strophe.h>

// log areas
#define PROF "prof"
#define CONN "conn"

// file log
FILE *logp; 

void log_init(void);
void log_msg(const char * const area, const char * const msg);
void log_close(void);

#endif