push username, homedir and tmpdir in lua too.
[apps/madmutt.git] / lib-sys / unix.h
index e392c4e..bfc16c0 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, regex_t *rx);
 int getdnsdomainname(char *, ssize_t);
 
@@ -40,5 +38,6 @@ 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 */