/* Josh Pieper, (c) 2000 */

/* This file is distributed under the GPL, see file COPYING for details */

#ifndef MONITOR_H
#define MONITOR_H

#include "gnut_lib.h"
#include "Gnut_List.h"

typedef struct _monitored_search {
  char *search;
  int matched;
} monitored_search;

#ifdef __cplusplus
extern "C" {
#endif

  extern char * monitor_filter;

  void free_ms(monitored_search **x, int bugnum);
  int monitor_search_add(char *search, int matched);
  monitored_search *monitor_search_get();
  int monitor_init();

#ifdef __cplusplus
}
#endif

#endif
