Blame view

app/superdaemon/projectinc.h 576 Bytes
8f39550ce   김태훈   superdaemon 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  #ifndef _PROJECTINC_
  #define _PROJECTINC_
  
  #define NDEBUG
  
  #ifndef NDEBUG
  #define dp(fmt,args...) printf( fmt, ## args ); putchar( '
  ')
  #define dlp(fmt,args...) printf( "[%s %d]" fmt, __FILE__,__LINE__, ## args )
  #else
  #define dp(fmt,args...) 
  #define dlp(fmt,args...) 
  #endif
  
  extern void remove_white_char( char *);
  extern void error_handling(char *message);
  
  //----- SysManager ---------------------------------------------------
  
  #define   PACKET_SIZE          1024
                                                                              
  #endif