source: filterproc.h @ ba5e919

release-1.10release-1.9
Last change on this file since ba5e919 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
RevLine 
[06adc25]1#ifndef INC_BARNOWL_FILTER_PROC_H
2#define INC_BARNOWL_FILTER_PROC_H
[d564c3d]3
[97cdbaf5]4int call_filter(const char *const *argv,
[d564c3d]5                const char *in,
6                char **out, int *status);
7
[06adc25]8#endif /* INC_BARNOWL_FILTER_PROC_H */
Note: See TracBrowser for help on using the repository browser.