1 2 /* $Id: fpm_stdio.h,v 1.9 2008/05/24 17:38:47 anight Exp $ */ 3 /* (c) 2007,2008 Andrei Nigmatulin */ 4 5 #ifndef FPM_STDIO_H 6 #define FPM_STDIO_H 1 7 8 #include "fpm_worker_pool.h" 9 10 int fpm_stdio_init_main(); 11 int fpm_stdio_init_final(); 12 int fpm_stdio_init_child(struct fpm_worker_pool_s *wp); 13 int fpm_stdio_prepare_pipes(struct fpm_child_s *child); 14 void fpm_stdio_child_use_pipes(struct fpm_child_s *child); 15 int fpm_stdio_parent_use_pipes(struct fpm_child_s *child); 16 int fpm_stdio_discard_pipes(struct fpm_child_s *child); 17 int fpm_stdio_open_error_log(int reopen); 18 19 #endif 20 21