libubox
C utility functions for OpenWrt.
ustream Struct Reference

#include <ustream.h>

Collaboration diagram for ustream:

Data Fields

struct ustream_buf_listw
 
struct uloop_timeout state_change
 
struct ustreamnext
 
void(* notify_read )(struct ustream *s, int bytes_new)
 
void(* notify_write )(struct ustream *s, int bytes)
 
void(* notify_state )(struct ustream *s)
 
int(* write )(struct ustream *s, const char *buf, int len, bool more)
 
void(* free )(struct ustream *s)
 
void(* set_read_blocked )(struct ustream *s)
 
bool(* poll )(struct ustream *s)
 
bool string_data
 
bool write_error
 
bool eof
 
bool eof_write_done
 
enum read_blocked_reason read_blocked
 

Detailed Description

Definition at line 49 of file ustream.h.

Field Documentation

◆ eof

bool ustream::eof

Definition at line 117 of file ustream.h.

◆ eof_write_done

bool ustream::eof_write_done

Definition at line 117 of file ustream.h.

◆ free

void(* ustream::free) (struct ustream *s)

Definition at line 94 of file ustream.h.

◆ next

struct ustream* ustream::next

Definition at line 52 of file ustream.h.

◆ notify_read

void(* ustream::notify_read) (struct ustream *s, int bytes_new)

Definition at line 60 of file ustream.h.

◆ notify_state

void(* ustream::notify_state) (struct ustream *s)

Definition at line 78 of file ustream.h.

◆ notify_write

void(* ustream::notify_write) (struct ustream *s, int bytes)

Definition at line 68 of file ustream.h.

◆ poll

bool(* ustream::poll) (struct ustream *s)

Definition at line 109 of file ustream.h.

◆ read_blocked

enum read_blocked_reason ustream::read_blocked

Definition at line 117 of file ustream.h.

◆ set_read_blocked

void(* ustream::set_read_blocked) (struct ustream *s)

Definition at line 101 of file ustream.h.

◆ state_change

struct uloop_timeout ustream::state_change

Definition at line 46 of file ustream.h.

◆ string_data

bool ustream::string_data

Definition at line 115 of file ustream.h.

◆ w

struct ustream_buf_list r ustream::w

Definition at line 46 of file ustream.h.

◆ write

int(* ustream::write) (struct ustream *s, const char *buf, int len, bool more)

Definition at line 88 of file ustream.h.

◆ write_error

bool ustream::write_error

Definition at line 116 of file ustream.h.


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