Line data Source code
1 : #ifndef _SENTINEL_MINIPOT_FORK_H_ 2 : #define _SENTINEL_MINIPOT_FORK_H_ 3 : 4 : #include <minipot_config.h> 5 : 6 : // Forks new minipot subprocess. Common code for main process is implemented 7 : // inside this function. Code after returning from this function is executed 8 : // only in child - minipot process. Returns FD of write end of pipe to which 9 : // minipot subrocess should forward its collected data. 10 0 : int minipot_fork(const struct minipot_config *) __attribute__((nonnull)); 11 : 12 : #endif