Show
Ignore:
Timestamp:
02/13/08 22:50:43 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1202943043 +0000
git-parent:

[6e90b3f8072e3e74ee6b01f01b9b1be2e207738f]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1202943043 +0000
Message:

check, check, 1, 2, 3

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_check.h

    r6e90b3f re01b3ad  
    3737#define NP_KILLED   0x00000002 
    3838#define NP_DISABLED 0x00000004 
     39#define NP_UNCONFIG 0x00000008 
    3940 
    4041#define NP_UNKNOWN 0               /* stats_t.{available,state} */ 
     
    9798#define NOIT_CHECK_LIVE(a) ((a)->fire_event != NULL) 
    9899#define NOIT_CHECK_DISABLED(a) ((a)->flags & NP_DISABLED) 
     100#define NOIT_CHECK_CONFIGURED(a) (((a)->flags & NP_UNCONFIG) == 0) 
    99101#define NOIT_CHECK_RUNNING(a) ((a)->flags & NP_RUNNING) 
    100102#define NOIT_CHECK_KILLED(a) ((a)->flags & NP_KILLED) 
     
    118120                       u_int32_t timeout, 
    119121                       const char *oncheck, 
    120                        noit_conf_boolean disabled
     122                       int flags
    121123                       uuid_t in, 
    122124                       uuid_t out); 
     
    130132                    u_int32_t timeout, 
    131133                    const char *oncheck, 
    132                     noit_conf_boolean disabled); 
     134                    int flags); 
    133135 
    134136API_EXPORT(int)