Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

wvfork.h

Go to the documentation of this file.
00001 /* -*- Mode: C++ -*-
00002  * Worldvisions Weaver Software:
00003  *   Copyright (C) 1997-2002 Net Integration Technologies, Inc.
00004  */
00009 #ifndef __WVFORK_H
00010 #define __WVFORK_H
00011 
00012 #ifndef _WIN32
00013 #include <unistd.h>
00014 #else
00015 typedef int pid_t;
00016 #endif
00017 
00018 #include "wvscatterhash.h"
00019 #include "wvcallback.h"
00020 
00021 DeclareWvScatterTable(int);
00022 typedef WvCallback<void, pid_t> WvForkCallback;
00023 
00032 extern void add_wvfork_callback(WvForkCallback cb);
00033 
00042 extern pid_t wvfork_start(int *waitfd);
00043 
00053 extern pid_t wvfork(int dontclose1 = -1, int dontclose2 = -1);
00054 extern pid_t wvfork(intTable &dontclose );
00055 
00056 #endif

Generated on Sun Jul 10 15:30:22 2005 for WvStreams by  doxygen 1.4.0