GNUnet  0.11.x
Data Fields
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 comming 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 78 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 83 of file helper.c.

Referenced by GNUNET_HELPER_kill(), GNUNET_HELPER_wait(), and start_helper().

◆ helper_out

struct GNUNET_DISK_PipeHandle* GNUNET_HELPER_Handle::helper_out

PipeHandle to send data to the helper.

Definition at line 88 of file helper.c.

Referenced by GNUNET_HELPER_wait(), and start_helper().

◆ fh_from_helper

const struct GNUNET_DISK_FileHandle* GNUNET_HELPER_Handle::fh_from_helper

FileHandle to receive data from the helper.

Definition at line 93 of file helper.c.

Referenced by GNUNET_HELPER_wait(), helper_read(), and start_helper().

◆ fh_to_helper

const struct GNUNET_DISK_FileHandle* GNUNET_HELPER_Handle::fh_to_helper

FileHandle to send data to the helper.

Definition at line 98 of file helper.c.

Referenced by GNUNET_HELPER_kill(), GNUNET_HELPER_send(), GNUNET_HELPER_wait(), helper_write(), and start_helper().

◆ helper_proc

struct GNUNET_OS_Process* GNUNET_HELPER_Handle::helper_proc

The process id of the helper.

Definition at line 103 of file helper.c.

Referenced by GNUNET_HELPER_kill(), GNUNET_HELPER_wait(), and start_helper().

◆ mst

struct GNUNET_MessageStreamTokenizer* GNUNET_HELPER_Handle::mst

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

Definition at line 108 of file helper.c.

Referenced by GNUNET_HELPER_destroy(), GNUNET_HELPER_start(), GNUNET_HELPER_wait(), helper_read(), and start_helper().

◆ exp_cb

GNUNET_HELPER_ExceptionCallback GNUNET_HELPER_Handle::exp_cb

The exception callback.

Definition at line 113 of file helper.c.

Referenced by GNUNET_HELPER_start(), GNUNET_HELPER_stop(), helper_read(), and helper_write().

◆ cb_cls

void* GNUNET_HELPER_Handle::cb_cls

The closure for callbacks.

Definition at line 118 of file helper.c.

Referenced by GNUNET_HELPER_start(), helper_read(), and helper_write().

◆ sh_head

struct GNUNET_HELPER_SendHandle* GNUNET_HELPER_Handle::sh_head

First message queued for transmission to helper.

Definition at line 123 of file helper.c.

Referenced by GNUNET_HELPER_destroy(), GNUNET_HELPER_kill(), GNUNET_HELPER_send(), GNUNET_HELPER_send_cancel(), GNUNET_HELPER_wait(), and helper_write().

◆ sh_tail

struct GNUNET_HELPER_SendHandle* GNUNET_HELPER_Handle::sh_tail

Last message queued for transmission to helper.

Definition at line 128 of file helper.c.

Referenced by GNUNET_HELPER_destroy(), GNUNET_HELPER_kill(), GNUNET_HELPER_send(), GNUNET_HELPER_send_cancel(), GNUNET_HELPER_wait(), and helper_write().

◆ binary_name

char* GNUNET_HELPER_Handle::binary_name

Binary to run.

Definition at line 133 of file helper.c.

Referenced by GNUNET_HELPER_destroy(), GNUNET_HELPER_start(), helper_read(), helper_write(), and start_helper().

◆ binary_argv

char** GNUNET_HELPER_Handle::binary_argv

NULL-terminated list of command-line arguments.

Definition at line 138 of file helper.c.

Referenced by GNUNET_HELPER_destroy(), GNUNET_HELPER_start(), and start_helper().

◆ read_task

struct GNUNET_SCHEDULER_Task* GNUNET_HELPER_Handle::read_task

Task to read from the helper.

Definition at line 143 of file helper.c.

Referenced by GNUNET_HELPER_destroy(), GNUNET_HELPER_kill(), GNUNET_HELPER_wait(), helper_read(), and start_helper().

◆ write_task

struct GNUNET_SCHEDULER_Task* GNUNET_HELPER_Handle::write_task

Task to read from the helper.

Definition at line 148 of file helper.c.

Referenced by GNUNET_HELPER_destroy(), GNUNET_HELPER_send(), GNUNET_HELPER_send_cancel(), GNUNET_HELPER_wait(), and helper_write().

◆ restart_task

struct GNUNET_SCHEDULER_Task* GNUNET_HELPER_Handle::restart_task

◆ 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 158 of file helper.c.

Referenced by GNUNET_HELPER_start(), and start_helper().

◆ retry_back_off

unsigned int GNUNET_HELPER_Handle::retry_back_off

Count start attempts to increase linear back off.

Definition at line 163 of file helper.c.

Referenced by GNUNET_HELPER_start(), helper_read(), helper_write(), restart_task(), and start_helper().


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