source: filterproc.h @ 7ff3907

release-1.10release-1.9
Last change on this file since 7ff3907 was 97cdbaf5, checked in by David Benjamin <davidben@mit.edu>, 13 years ago
Rewrite call_filter to use g_spawn_async_with_pipes This simplifies the error-handling code. Also fixes a bug where file descriptors get double-closed in call_filter. Also adds a unit test. The separate prog argument is removed to avoid having to deal with G_SPAWN_FILE_AND_ARGV_ZERO, and since we don't really use it anyway.
  • Property mode set to 100644
File size: 224 bytes
Line 
1#ifndef INC_BARNOWL_FILTER_PROC_H
2#define INC_BARNOWL_FILTER_PROC_H
3
4int call_filter(const char *const *argv,
5                const char *in,
6                char **out, int *status);
7
8#endif /* INC_BARNOWL_FILTER_PROC_H */
Note: See TracBrowser for help on using the repository browser.