GDB (xrefs)
Public Attributes | List of all members
serial Struct Reference

#include "serial.h"

Public Attributes

int refcnt
 
int fd
 
int error_fd
 
const struct serial_opsops
 
void * state
 
serial_ttystate ttystate
 
int bufcnt
 
unsigned char * bufp
 
unsigned char buf [BUFSIZ]
 
int current_timeout
 
int timeout_remaining
 
char * name
 
struct serialnext
 
int debug_p
 
int async_state
 
void * async_context
 
serial_event_ftypeasync_handler
 

Detailed Description

Definition at line 227 of file serial.h.

Member Data Documentation

void* serial::async_context
serial_event_ftype* serial::async_handler
int serial::async_state

Definition at line 254 of file serial.h.

Referenced by push_event(), reschedule(), ser_base_async(), serial_fdopen_ops(), and serial_open().

unsigned char serial::buf[BUFSIZ]
int serial::bufcnt
unsigned char* serial::bufp
int serial::current_timeout

Definition at line 246 of file serial.h.

Referenced by hardwire_raw(), ser_windows_raw(), and wait_for().

int serial::debug_p

Definition at line 253 of file serial.h.

Referenced by serial_debug(), serial_debug_p(), serial_fdopen_ops(), and serial_open().

int serial::error_fd
int serial::fd
char* serial::name

Definition at line 251 of file serial.h.

Referenced by do_serial_close(), serial_fdopen_ops(), and serial_open().

struct serial* serial::next
const struct serial_ops* serial::ops
int serial::refcnt

Definition at line 231 of file serial.h.

Referenced by serial_fdopen_ops(), serial_open(), serial_ref(), and serial_unref().

void* serial::state
int serial::timeout_remaining

Definition at line 248 of file serial.h.

Referenced by do_hardwire_readchar(), and wait_for().

serial_ttystate serial::ttystate

Definition at line 241 of file serial.h.


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