Teonet library  0.4.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ksnStreamMapData Struct Reference

File: stream.h Author: Kirill Scherba kiril.nosp@m.l@sc.nosp@m.herba.nosp@m..ru More...

#include <stream.h>

Data Fields

int created
 Created flag. More...
 
int pipe_in [2]
 Input (read) pipe. More...
 
ev_io w_in
 Input stream watcher. More...
 
int pipe_out [2]
 Output (write) pipe. More...
 
ev_io w_out
 Output stream watcher. More...
 
void * ke
 Pointer to ksnetEvMgrClass (to use in watchers) More...
 
void * key
 This key (copy) More...
 
size_t key_len
 Key length. More...
 
ksnCQueDatacq
 Pointer to CQUEUE Data. More...
 

Detailed Description

File: stream.h Author: Kirill Scherba kiril.nosp@m.l@sc.nosp@m.herba.nosp@m..ru

Teonet stream module

Created on October 3, 2015, 3:02 PM Stream map data structure

Examples:
teostream.c.

Field Documentation

ksnCQueData* ksnStreamMapData::cq

Pointer to CQUEUE Data.

Referenced by ksnStreamCreate().

int ksnStreamMapData::created

Created flag.

Referenced by connect_watchers(), ksnStreamClose(), and ksnStreamCreate().

void* ksnStreamMapData::ke

Pointer to ksnetEvMgrClass (to use in watchers)

Referenced by kq_connect_cb(), ksnStreamCreate(), stream_in_cb(), and stream_out_cb().

void* ksnStreamMapData::key
size_t ksnStreamMapData::key_len

Key length.

Referenced by ksnStreamCreate().

int ksnStreamMapData::pipe_in[2]
int ksnStreamMapData::pipe_out[2]
ev_io ksnStreamMapData::w_in

Input stream watcher.

Referenced by connect_watchers(), and ksnStreamClose().

ev_io ksnStreamMapData::w_out

Output stream watcher.

Referenced by connect_watchers(), and ksnStreamClose().


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