23#ifndef MUTT_MUTT_FILTER_H
24#define MUTT_MUTT_FILTER_H
29#define EXEC_SHELL "/bin/sh"
31pid_t
filter_create (
const char *cmd, FILE **fp_in, FILE **fp_out, FILE **fp_err,
char **envlist);
32pid_t
filter_create_fd(
const char *cmd, FILE **fp_in, FILE **fp_out, FILE **fp_err,
int fdin,
int fdout,
int fderr,
char **envlist);
int filter_wait(pid_t pid)
Wait for the exit of a process and return its status.
pid_t filter_create_fd(const char *cmd, FILE **fp_in, FILE **fp_out, FILE **fp_err, int fdin, int fdout, int fderr, char **envlist)
Run a command on a pipe (optionally connect stdin/stdout)
pid_t filter_create(const char *cmd, FILE **fp_in, FILE **fp_out, FILE **fp_err, char **envlist)
Set up filter program.