Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/samhain.h

    r30 r20  
    138138  SH_LEVEL_USER0       = 7,
    139139  SH_LEVEL_USER1       = 8,
    140   SH_LEVEL_USER2       = 9,
    141   SH_LEVEL_USER3       = 10,
    142   SH_LEVEL_USER4       = 11,
    143   SH_LEVEL_PRELINK     = 12
     140  SH_LEVEL_PRELINK     = 9
    144141};
    145142
     
    293290/*@null@*/ extern sh_key_t  *skey;
    294291
    295 /**************************************************
    296  *
    297  * macros
    298  *
    299  **************************************************/
    300 
    301 /* signal-safe log function
    302  */
    303 int  safe_logger (int signal, int method, char * details);
    304 void safe_fatal  (int signal, int method, char * details, char *f, int l);
    305 
    306 #define SH_VALIDATE_EQ(a,b) \
    307      do { \
    308          if ((a) != (b)) safe_fatal(0, 0, #a " != " #b, FIL__, __LINE__);\
    309      } while (0)
    310 
    311 #define SH_VALIDATE_NE(a,b) \
    312      do { \
    313          if ((a) == (b)) safe_fatal(0, 0, #a " == " #b, FIL__, __LINE__);\
    314      } while (0)
    315292
    316293#if defined(HAVE_MLOCK) && !defined(HAVE_BROKEN_MLOCK)
Note: See TracChangeset for help on using the changeset viewer.