GNUnet 0.21.1
GNUNET_HELPER_Handle Struct Reference

The handle to a helper process. More...

Collaboration diagram for GNUNET_HELPER_Handle:
[legend]

Data Fields

struct GNUNET_DISK_PipeHandlehelper_in
 PipeHandle to receive data from the helper. More...
 
struct GNUNET_DISK_PipeHandlehelper_out
 PipeHandle to send data to the helper. More...
 
const struct GNUNET_DISK_FileHandlefh_from_helper
 FileHandle to receive data from the helper. More...
 
const struct GNUNET_DISK_FileHandlefh_to_helper
 FileHandle to send data to the helper. More...
 
struct GNUNET_OS_Processhelper_proc
 The process id of the helper. More...
 
struct GNUNET_MessageStreamTokenizermst
 The Message-Tokenizer that tokenizes the messages coming from the helper. More...
 
GNUNET_HELPER_ExceptionCallback exp_cb
 The exception callback. More...
 
void * cb_cls
 The closure for callbacks. More...
 
struct GNUNET_HELPER_SendHandlesh_head
 First message queued for transmission to helper. More...
 
struct GNUNET_HELPER_SendHandlesh_tail
 Last message queued for transmission to helper. More...
 
char * binary_name
 Binary to run. More...
 
char ** binary_argv
 NULL-terminated list of command-line arguments. More...
 
struct GNUNET_SCHEDULER_Taskread_task
 Task to read from the helper. More...
 
struct GNUNET_SCHEDULER_Taskwrite_task
 Task to read from the helper. More...
 
struct GNUNET_SCHEDULER_Taskrestart_task
 Restart task. More...
 
int with_control_pipe
 Does the helper support the use of a control pipe for signalling? More...
 
unsigned int retry_back_off
 Count start attempts to increase linear back off. More...
 

Detailed Description

The handle to a helper process.

Definition at line 76 of file helper.c.

Field Documentation

◆ helper_in

struct GNUNET_DISK_PipeHandle* GNUNET_HELPER_Handle::helper_in

PipeHandle to receive data from the helper.

Definition at line 81 of file helper.c.

◆ helper_out

struct GNUNET_DISK_PipeHandle* GNUNET_HELPER_Handle::helper_out

PipeHandle to send data to the helper.

Definition at line 86 of file helper.c.

◆ fh_from_helper

const struct GNUNET_DISK_FileHandle* GNUNET_HELPER_Handle::fh_from_helper

FileHandle to receive data from the helper.

Definition at line 91 of file helper.c.

◆ fh_to_helper

const struct GNUNET_DISK_FileHandle* GNUNET_HELPER_Handle::fh_to_helper

FileHandle to send data to the helper.

Definition at line 96 of file helper.c.

◆ helper_proc

struct GNUNET_OS_Process* GNUNET_HELPER_Handle::helper_proc

The process id of the helper.

Definition at line 101 of file helper.c.

◆ mst

struct GNUNET_MessageStreamTokenizer* GNUNET_HELPER_Handle::mst

The Message-Tokenizer that tokenizes the messages coming from the helper.

Definition at line 106 of file helper.c.

◆ exp_cb

GNUNET_HELPER_ExceptionCallback GNUNET_HELPER_Handle::exp_cb

The exception callback.

Definition at line 111 of file helper.c.

◆ cb_cls

void* GNUNET_HELPER_Handle::cb_cls

The closure for callbacks.

Definition at line 116 of file helper.c.

Referenced by GNUNET_HELPER_start().

◆ sh_head

struct GNUNET_HELPER_SendHandle* GNUNET_HELPER_Handle::sh_head

First message queued for transmission to helper.

Definition at line 121 of file helper.c.

◆ sh_tail

struct GNUNET_HELPER_SendHandle* GNUNET_HELPER_Handle::sh_tail

Last message queued for transmission to helper.

Definition at line 126 of file helper.c.

◆ binary_name

char* GNUNET_HELPER_Handle::binary_name

Binary to run.

Definition at line 131 of file helper.c.

Referenced by GNUNET_HELPER_start().

◆ binary_argv

char** GNUNET_HELPER_Handle::binary_argv

NULL-terminated list of command-line arguments.

Definition at line 136 of file helper.c.

Referenced by GNUNET_HELPER_start().

◆ read_task

struct GNUNET_SCHEDULER_Task* GNUNET_HELPER_Handle::read_task

Task to read from the helper.

Definition at line 141 of file helper.c.

◆ write_task

struct GNUNET_SCHEDULER_Task* GNUNET_HELPER_Handle::write_task

Task to read from the helper.

Definition at line 146 of file helper.c.

◆ restart_task

struct GNUNET_SCHEDULER_Task* GNUNET_HELPER_Handle::restart_task

Restart task.

Definition at line 151 of file helper.c.

◆ with_control_pipe

int GNUNET_HELPER_Handle::with_control_pipe

Does the helper support the use of a control pipe for signalling?

Definition at line 156 of file helper.c.

Referenced by GNUNET_HELPER_start().

◆ retry_back_off

unsigned int GNUNET_HELPER_Handle::retry_back_off

Count start attempts to increase linear back off.

Definition at line 161 of file helper.c.


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