Changeset 25 for trunk/include/samhain.h


Ignore:
Timestamp:
Mar 14, 2006, 10:27:38 PM (19 years ago)
Author:
rainer
Message:

More tests; fix for update+schedule issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/samhain.h

    r22 r25  
    301301int safe_fatal  (int signal, int method, char * details, char *f, int l);
    302302
    303 #define SH_VAL_EQ(a,b) \
     303#define SH_VALIDATE_EQ(a,b) \
    304304     do { \
    305305         if ((a) != (b)) safe_fatal(0, 0, #a " != " #b, FIL__, __LINE__);\
    306306     } while (0)
    307307
     308#define SH_VALIDATE_NE(a,b) \
     309     do { \
     310         if ((a) == (b)) safe_fatal(0, 0, #a " == " #b, FIL__, __LINE__);\
     311     } while (0)
    308312
    309313#if defined(HAVE_MLOCK) && !defined(HAVE_BROKEN_MLOCK)
Note: See TracChangeset for help on using the changeset viewer.