simplify include
[apps/madmutt.git] / lib-lib / rx.h
index af86374..3b57168 100644 (file)
@@ -29,7 +29,7 @@
 #ifndef MUTT_LIB_LIB_RX_H
 #define MUTT_LIB_LIB_RX_H
 
-#include <lib-lib/lib-lib.h>
+#include "lib-lib.h"
 
 /* this is a non-standard option supported by Solaris 2.5.x which allows
  * patterns of the form \<...\>
@@ -48,9 +48,12 @@ typedef struct rx_t {
     char *template;               /* out template */
 } rx_t;
 
-rx_t* rx_compile(const char*, int);
+rx_t *rx_compile(const char*, int);
+int rx_validate(const char*, char*, ssize_t);
 void rx_set_template(rx_t *, const char*);
-void rx_delete(rx_t **);
+void rx_wipe(rx_t *);
+DO_DELETE(rx_t, rx);
+
 DO_SLIST(rx_t, rx, rx_delete);
 
 /* for handling lists */