update source to use our brand new source generator. Update automakes.
[apps/madmutt.git] / lib-sys / unix.h
index 0911521..eda9d8b 100644 (file)
 #ifndef MUTT_LIB_SYS_UNIX_H
 #define MUTT_LIB_SYS_UNIX_H
 
-#include <sys/types.h>
+#include <lib-lib/lib-lib.h>
 #include <pwd.h>
 
-#include <lib-lib/rx.h>
-
 ssize_t mutt_gecos_name(char *dst, ssize_t n, struct passwd *pw, rx_t *rx);
-
+int getdnsdomainname(char *, ssize_t);
 
 /* flags for _mutt_system() */
 #define M_DETACH_PROCESS       1       /* detach subprocess from group */
@@ -35,4 +33,11 @@ ssize_t mutt_gecos_name(char *dst, ssize_t n, struct passwd *pw, rx_t *rx);
 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);
+
+FILE *mutt_open_read (const char *, pid_t *);
+
 #endif /* MUTT_LIB_SYS_UNIX_H */