"Fossies" - the Fresh Open Source Software Archive

Member "mozplugger-2.1.6/child.h" (17 Apr 2014, 1364 Bytes) of package /linux/www/old/mozplugger-2.1.6.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /**
    2  *
    3  * This file is part of mozplugger a fork of plugger, for list of developers
    4  * see the README file.
    5  *
    6  * This program is free software; you can redistribute it and/or modify
    7  * it under the terms of the GNU General Public License as published by
    8  * the Free Software Foundation; either version 2 of the License, or
    9  * (at your option) any later version.
   10  *
   11  * This program is distributed in the hope that it will be useful,
   12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
   13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   14  * GNU General Public License for more details.
   15  *
   16  * You should have received a copy of the GNU General Public License
   17  * along with this program; if not, write to the Free Software
   18  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
   19  *
   20  */
   21 
   22 #ifndef _MOZPLUGGER_CHILD_
   23 #define _MOZPLUGGER_CHILD_
   24 
   25 extern void restore_SIGCHLD_to_default(void);
   26 
   27 /* Use this to redirct the SIGCHLD signal to a file descriptor so we can
   28  * select on this signal */
   29 extern int redirect_SIGCHLD_to_fd(void);
   30 
   31 extern int get_SIGCHLD_fd(void);
   32 
   33 extern void handle_SIGCHLD_event(void);
   34 
   35 
   36 extern int get_chld_out_fd(void);
   37 
   38 extern void handle_chld_out_event(int fd);
   39 
   40 
   41 extern pid_t spawn_app(char * command, const int flags);
   42 
   43 extern int wait_child(pid_t pid);
   44 
   45 extern void kill_app(pid_t pid);
   46 
   47 #endif