2006-04-06 Dick Porter <dick@ximian.com>
[mono.git] / mono / io-layer / process-private.h
1 /*
2  * process-private.h: Private definitions for process handles
3  *
4  * Author:
5  *      Dick Porter (dick@ximian.com)
6  *
7  * (C) 2002-2006 Novell, Inc.
8  */
9
10 #ifndef _WAPI_PROCESS_PRIVATE_H_
11 #define _WAPI_PROCESS_PRIVATE_H_
12
13 #include <config.h>
14 #include <glib.h>
15
16 extern struct _WapiHandleOps _wapi_process_ops;
17
18 #define _WAPI_PROC_NAME_MAX_LEN _POSIX_PATH_MAX
19
20 struct _WapiHandle_process
21 {
22         pid_t id;
23         guint32 exitstatus;
24         gpointer main_thread;
25         WapiFileTime create_time;
26         WapiFileTime exit_time;
27         gchar proc_name[_WAPI_PROC_NAME_MAX_LEN];
28         size_t min_working_set;
29         size_t max_working_set;
30 };
31
32 extern void _wapi_process_reap (void);
33 extern void _wapi_process_signal_self (void);
34
35 #endif /* _WAPI_PROCESS_PRIVATE_H_ */