|
Tor
0.4.7.0-alpha-dev
|
Data Fields | |
| process_status_t | status |
| process_protocol_t | protocol |
| process_read_callback_t | stdout_read_callback |
| process_read_callback_t | stderr_read_callback |
| process_exit_callback_t | exit_callback |
| process_exit_code_t | exit_code |
| char * | command |
| smartlist_t * | arguments |
| smartlist_t * | environment |
| buf_t * | stdout_buffer |
| buf_t * | stderr_buffer |
| buf_t * | stdin_buffer |
| void * | data |
| process_unix_t * | unix_process |
| smartlist_t* arguments |
The arguments used for the new process. The format here is one argument per element of the smartlist_t. On Windows these arguments are combined together using the tor_join_win_cmdline function. On Unix the process name (argv[0]) and the trailing NULL is added automatically before the process is executed.
Definition at line 63 of file process.c.
Referenced by process_append_argument(), process_free_(), process_get_arguments(), and process_get_argv().
| char* command |
Name of the command we want to execute (for example: /bin/ls).
Definition at line 56 of file process.c.
Referenced by process_free_(), process_get_argv(), and process_get_command().
| void* data |
Do we need to store some custom data with the process?
Definition at line 78 of file process.c.
Referenced by process_get_data(), and process_set_data().
| smartlist_t* environment |
The environment used for the new process.
Definition at line 66 of file process.c.
Referenced by process_get_environment(), process_reset_environment(), and process_set_environment().
| process_exit_callback_t exit_callback |
| process_exit_code_t exit_code |
| process_protocol_t protocol |
Which protocol is the process using?
Definition at line 41 of file process.c.
Referenced by process_get_protocol().
| process_status_t status |
| buf_t* stderr_buffer |
Buffer to store data from stderr when it is read.
Definition at line 72 of file process.c.
Referenced by process_notify_event_stderr().
| process_read_callback_t stderr_read_callback |
Which function to call when we have data ready from stderr?
Definition at line 47 of file process.c.
Referenced by process_notify_event_stderr().
| buf_t* stdin_buffer |
Buffer to store data to stdin before it is written.
Definition at line 75 of file process.c.
Referenced by process_notify_event_stdin(), and process_write().
| buf_t* stdout_buffer |
Buffer to store data from stdout when it is read.
Definition at line 69 of file process.c.
Referenced by process_notify_event_stdout().
| process_read_callback_t stdout_read_callback |
Which function to call when we have data ready from stdout?
Definition at line 44 of file process.c.
Referenced by process_notify_event_stdout().
| process_unix_t* unix_process |
Our Unix process handle.
Definition at line 82 of file process.c.
Referenced by process_get_unix_process().