Revert "we use glibc, and gconv. Don't need our own transcoding stuff, glibc does"
[apps/madmutt.git] / lib-sys / unix.h
index e392c4e..eda9d8b 100644 (file)
 #ifndef MUTT_LIB_SYS_UNIX_H
 #define MUTT_LIB_SYS_UNIX_H
 
 #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 <pwd.h>
 
-#include <lib-lib/rx.h>
-
-ssize_t mutt_gecos_name(char *dst, ssize_t n, struct passwd *pw, regex_t *rx);
+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() */
 int getdnsdomainname(char *, ssize_t);
 
 /* flags for _mutt_system() */
@@ -40,5 +38,6 @@ pid_t mutt_create_filter_fd (const char *, FILE **, FILE **, FILE **, int,
                              int, int);
 int mutt_wait_filter (pid_t);
 
                              int, int);
 int mutt_wait_filter (pid_t);
 
+FILE *mutt_open_read (const char *, pid_t *);
 
 #endif /* MUTT_LIB_SYS_UNIX_H */
 
 #endif /* MUTT_LIB_SYS_UNIX_H */