EM-ODP 4.4.0
Event Machine on ODP
Loading...
Searching...
No Matches
em_output_queue_conf_t Struct Reference

#include <event_machine_queue.h>

Data Fields

em_output_func_t output_fn
 
void * output_fn_args
 
size_t args_len
 

Detailed Description

EM output queue configuration. Given to em_queue_create(type=EM_QUEUE_TYPE_OUTPUT) as em_queue_conf_t::conf or part of em_queue_param_t::output_conf when using em_queue_create_param().

Examples
event_types.c, and queues_output.c.

Definition at line 451 of file event_machine_queue.h.

Field Documentation

◆ args_len

size_t em_output_queue_conf_t::args_len

Size of the argument-data passed via 'output_fn_args'. 'output_fn_args' is ignored, if 'args_len' is 0.

Examples
event_types.c, and queues_output.c.

Definition at line 466 of file event_machine_queue.h.

◆ output_fn

em_output_func_t em_output_queue_conf_t::output_fn

User provided function for sending events out. This function will be called by em_send*() when sending to a queue of type EM_QUEUE_TYPE_OUTPUT

Examples
event_types.c, and queues_output.c.

Definition at line 457 of file event_machine_queue.h.

◆ output_fn_args

void* em_output_queue_conf_t::output_fn_args

Extra output-function argument that will be passed.

Examples
event_types.c, and queues_output.c.

Definition at line 461 of file event_machine_queue.h.


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