move more files.
[apps/madmutt.git] / lib-sys / unix.h
index b43077a..e392c4e 100644 (file)
 
 #include <lib-lib/rx.h>
 
-ssize_t mutt_gecos_name(char *dst, ssize_t n, struct passwd *pw, rx_t *rx);
+ssize_t mutt_gecos_name(char *dst, ssize_t n, struct passwd *pw, regex_t *rx);
+int getdnsdomainname(char *, ssize_t);
+
+/* flags for _mutt_system() */
+#define M_DETACH_PROCESS       1       /* detach subprocess from group */
+
+#define mutt_system(x) _mutt_system(x,0)
+int _mutt_system (const char *, int);
+
+
+pid_t mutt_create_filter (const char *, FILE **, FILE **, FILE **);
+pid_t mutt_create_filter_fd (const char *, FILE **, FILE **, FILE **, int,
+                             int, int);
+int mutt_wait_filter (pid_t);
+
 
 #endif /* MUTT_LIB_SYS_UNIX_H */