LispBM
Data Fields
lbm_char_channel_s Struct Reference

#include <lbm_channel.h>

Data Fields

void * state
 
bool(* more )(struct lbm_char_channel_s *chan)
 
int(* peek )(struct lbm_char_channel_s *chan, unsigned int n, char *res)
 
bool(* read )(struct lbm_char_channel_s *chan, char *res)
 
bool(* drop )(struct lbm_char_channel_s *chan, unsigned int n)
 
bool(* comment )(struct lbm_char_channel_s *chan)
 
void(* set_comment )(struct lbm_char_channel_s *chan, bool comment)
 
void(* reader_close )(struct lbm_char_channel_s *chan)
 
bool(* channel_is_empty )(struct lbm_char_channel_s *chan)
 
bool(* channel_is_full )(struct lbm_char_channel_s *chan)
 
bool(* reader_is_closed )(struct lbm_char_channel_s *chan)
 
int(* write )(struct lbm_char_channel_s *chan, char c)
 
void(* writer_close )(struct lbm_char_channel_s *chan)
 
unsigned int(* row )(struct lbm_char_channel_s *chan)
 
unsigned int(* column )(struct lbm_char_channel_s *chan)
 
bool(* may_block )(struct lbm_char_channel_s *chan)
 

Detailed Description

Struct describing the interface to a character channel.

Field Documentation

◆ channel_is_empty

bool(* lbm_char_channel_s::channel_is_empty) (struct lbm_char_channel_s *chan)

◆ channel_is_full

bool(* lbm_char_channel_s::channel_is_full) (struct lbm_char_channel_s *chan)

◆ column

unsigned int(* lbm_char_channel_s::column) (struct lbm_char_channel_s *chan)

◆ comment

bool(* lbm_char_channel_s::comment) (struct lbm_char_channel_s *chan)

◆ drop

bool(* lbm_char_channel_s::drop) (struct lbm_char_channel_s *chan, unsigned int n)

◆ may_block

bool(* lbm_char_channel_s::may_block) (struct lbm_char_channel_s *chan)

◆ more

bool(* lbm_char_channel_s::more) (struct lbm_char_channel_s *chan)

◆ peek

int(* lbm_char_channel_s::peek) (struct lbm_char_channel_s *chan, unsigned int n, char *res)

◆ read

bool(* lbm_char_channel_s::read) (struct lbm_char_channel_s *chan, char *res)

◆ reader_close

void(* lbm_char_channel_s::reader_close) (struct lbm_char_channel_s *chan)

◆ reader_is_closed

bool(* lbm_char_channel_s::reader_is_closed) (struct lbm_char_channel_s *chan)

◆ row

unsigned int(* lbm_char_channel_s::row) (struct lbm_char_channel_s *chan)

◆ set_comment

void(* lbm_char_channel_s::set_comment) (struct lbm_char_channel_s *chan, bool comment)

◆ state

void* lbm_char_channel_s::state

◆ write

int(* lbm_char_channel_s::write) (struct lbm_char_channel_s *chan, char c)

◆ writer_close

void(* lbm_char_channel_s::writer_close) (struct lbm_char_channel_s *chan)

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