Handle to a command. More...
Data Fields | |
| struct GNUNET_OS_Process * | eip |
| Process handle. | |
| struct GNUNET_DISK_PipeHandle * | opipe |
| Handle to the output pipe. | |
| const struct GNUNET_DISK_FileHandle * | r |
| Read-end of output pipe. | |
| GNUNET_OS_LineProcessor | proc |
| Function to call on each line of output. | |
| void * | proc_cls |
| Closure for proc. | |
| char | buf [1024] |
| Buffer for the output. | |
| struct GNUNET_SCHEDULER_Task * | rtask |
| Task reading from pipe. | |
| struct GNUNET_TIME_Absolute | timeout |
| When to time out. | |
| size_t | off |
| Current read offset in buf. | |
Handle to a command.
Definition at line 941 of file os_priority.c.
| struct GNUNET_OS_Process* GNUNET_OS_CommandHandle::eip |
Process handle.
Definition at line 946 of file os_priority.c.
Referenced by GNUNET_OS_command_run(), and GNUNET_OS_command_stop().
| struct GNUNET_DISK_PipeHandle* GNUNET_OS_CommandHandle::opipe |
Handle to the output pipe.
Definition at line 951 of file os_priority.c.
Referenced by GNUNET_OS_command_run(), and GNUNET_OS_command_stop().
| const struct GNUNET_DISK_FileHandle* GNUNET_OS_CommandHandle::r |
Read-end of output pipe.
Definition at line 956 of file os_priority.c.
Referenced by cmd_read(), and GNUNET_OS_command_run().
| GNUNET_OS_LineProcessor GNUNET_OS_CommandHandle::proc |
Function to call on each line of output.
Definition at line 961 of file os_priority.c.
Referenced by cmd_read(), GNUNET_OS_command_run(), and GNUNET_OS_command_stop().
| void* GNUNET_OS_CommandHandle::proc_cls |
Closure for proc.
Definition at line 966 of file os_priority.c.
Referenced by cmd_read(), and GNUNET_OS_command_run().
| char GNUNET_OS_CommandHandle::buf[1024] |
| struct GNUNET_SCHEDULER_Task* GNUNET_OS_CommandHandle::rtask |
Task reading from pipe.
Definition at line 976 of file os_priority.c.
Referenced by cmd_read(), GNUNET_OS_command_run(), and GNUNET_OS_command_stop().
| struct GNUNET_TIME_Absolute GNUNET_OS_CommandHandle::timeout |
When to time out.
Definition at line 981 of file os_priority.c.
Referenced by cmd_read(), and GNUNET_OS_command_run().
| size_t GNUNET_OS_CommandHandle::off |
Current read offset in buf.
Definition at line 986 of file os_priority.c.
Referenced by cmd_read(), and GNUNET_OS_command_run().