GNUnet  0.11.x
Data Fields
GNUNET_OS_CommandHandle Struct Reference

Handle to a command. More...

Collaboration diagram for GNUNET_OS_CommandHandle:
[legend]

Data Fields

struct GNUNET_OS_Processeip
 Process handle. More...
 
struct GNUNET_DISK_PipeHandleopipe
 Handle to the output pipe. More...
 
const struct GNUNET_DISK_FileHandler
 Read-end of output pipe. More...
 
GNUNET_OS_LineProcessor proc
 Function to call on each line of output. More...
 
void * proc_cls
 Closure for proc. More...
 
char buf [1024]
 Buffer for the output. More...
 
struct GNUNET_SCHEDULER_Taskrtask
 Task reading from pipe. More...
 
struct GNUNET_TIME_Absolute timeout
 When to time out. More...
 
size_t off
 Current read offset in buf. More...
 

Detailed Description

Handle to a command.

Definition at line 1002 of file os_priority.c.

Field Documentation

◆ eip

struct GNUNET_OS_Process* GNUNET_OS_CommandHandle::eip

Process handle.

Definition at line 1007 of file os_priority.c.

Referenced by GNUNET_OS_command_run(), and GNUNET_OS_command_stop().

◆ opipe

struct GNUNET_DISK_PipeHandle* GNUNET_OS_CommandHandle::opipe

Handle to the output pipe.

Definition at line 1012 of file os_priority.c.

Referenced by GNUNET_OS_command_run(), and GNUNET_OS_command_stop().

◆ r

const struct GNUNET_DISK_FileHandle* GNUNET_OS_CommandHandle::r

Read-end of output pipe.

Definition at line 1017 of file os_priority.c.

Referenced by cmd_read(), and GNUNET_OS_command_run().

◆ proc

GNUNET_OS_LineProcessor GNUNET_OS_CommandHandle::proc

Function to call on each line of output.

Definition at line 1022 of file os_priority.c.

Referenced by cmd_read(), GNUNET_OS_command_run(), and GNUNET_OS_command_stop().

◆ proc_cls

void* GNUNET_OS_CommandHandle::proc_cls

Closure for proc.

Definition at line 1027 of file os_priority.c.

Referenced by cmd_read(), and GNUNET_OS_command_run().

◆ buf

char GNUNET_OS_CommandHandle::buf[1024]

Buffer for the output.

Definition at line 1032 of file os_priority.c.

Referenced by cmd_read().

◆ rtask

struct GNUNET_SCHEDULER_Task* GNUNET_OS_CommandHandle::rtask

Task reading from pipe.

Definition at line 1037 of file os_priority.c.

Referenced by cmd_read(), GNUNET_OS_command_run(), and GNUNET_OS_command_stop().

◆ timeout

struct GNUNET_TIME_Absolute GNUNET_OS_CommandHandle::timeout

When to time out.

Definition at line 1042 of file os_priority.c.

Referenced by cmd_read(), and GNUNET_OS_command_run().

◆ off

size_t GNUNET_OS_CommandHandle::off

Current read offset in buf.

Definition at line 1047 of file os_priority.c.

Referenced by cmd_read().


The documentation for this struct was generated from the following file: