NeoMutt  2018-07-16 +2481-68dcde
Teaching an old dog new tricks
DOXYGEN
filter.h
Go to the documentation of this file.
1 
21 #ifndef MUTT_FILTER_H
22 #define MUTT_FILTER_H
23 
24 #include <stdio.h>
25 #include <unistd.h>
26 
27 pid_t mutt_create_filter_fd(const char *cmd, FILE **fp_in, FILE **fp_out, FILE **fp_err, int fdin, int fdout, int fderr);
28 pid_t mutt_create_filter(const char *s, FILE **fp_in, FILE **fp_out, FILE **fp_err);
29 int mutt_wait_filter(pid_t pid);
30 int mutt_wait_interactive_filter (pid_t pid);
31 
32 #endif /* MUTT_FILTER_H */
pid_t mutt_create_filter(const char *s, FILE **fp_in, FILE **fp_out, FILE **fp_err)
Set up filter program.
Definition: filter.c:217
int mutt_wait_interactive_filter(pid_t pid)
Wait after an interactive filter.
Definition: filter.c:252
int mutt_wait_filter(pid_t pid)
Wait for the exit of a process and return its status.
Definition: filter.c:228
pid_t mutt_create_filter_fd(const char *cmd, FILE **fp_in, FILE **fp_out, FILE **fp_err, int fdin, int fdout, int fderr)
Run a command on a pipe (optionally connect stdin/stdout)
Definition: filter.c:65