Show
Ignore:
Timestamp:
02/13/08 20:46:00 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1202935560 +0000
git-parent:

[624c3f92779aef1df9d9b7eda05e93506a07e4cd]

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

support 'no check' on console to delete checks as well as 'reload' on console (currently only reloads checks)

Files:

Legend:

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

    r7a1324a r6e90b3f  
    9696 
    9797#define NOIT_CHECK_LIVE(a) ((a)->fire_event != NULL) 
     98#define NOIT_CHECK_DISABLED(a) ((a)->flags & NP_DISABLED) 
     99#define NOIT_CHECK_RUNNING(a) ((a)->flags & NP_RUNNING) 
     100#define NOIT_CHECK_KILLED(a) ((a)->flags & NP_KILLED) 
    98101 
    99102API_EXPORT(void) noit_poller_init(); 
    100 API_EXPORT(void) noit_poller_load_checks(); 
    101 API_EXPORT(void) noit_poller_process_checks(char *xpath); 
     103API_EXPORT(void) noit_poller_reload(const char *xpath); /* NULL for all */ 
     104API_EXPORT(void) noit_poller_process_checks(const char *xpath); 
     105API_EXPORT(void) noit_poller_make_causal_map(); 
    102106 
    103107API_EXPORT(void)