GDB (xrefs)
Loading...
Searching...
No Matches
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]
 
char * name
 
struct serialnext
 
int debug_p
 
int async_state
 
void * async_context
 
serial_event_ftypeasync_handler
 

Detailed Description

Definition at line 232 of file serial.h.

Member Data Documentation

◆ async_context

void* serial::async_context

Definition at line 255 of file serial.h.

Referenced by run_async_handler_and_reschedule(), and serial_async().

◆ async_handler

serial_event_ftype* serial::async_handler

◆ async_state

int serial::async_state

Definition at line 254 of file serial.h.

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

◆ buf

unsigned char serial::buf[BUFSIZ]

◆ bufcnt

int serial::bufcnt

◆ bufp

unsigned char* serial::bufp

◆ debug_p

int serial::debug_p

Definition at line 253 of file serial.h.

Referenced by serial_debug(), and serial_debug_p().

◆ error_fd

int serial::error_fd

◆ fd

int serial::fd

◆ name

char* serial::name

◆ next

struct serial* serial::next

Definition at line 252 of file serial.h.

Referenced by do_serial_close(), serial_fdopen_ops(), serial_for_fd(), and serial_open_ops_1().

◆ ops

const struct serial_ops* serial::ops

◆ refcnt

int serial::refcnt

Definition at line 236 of file serial.h.

Referenced by new_serial(), serial_ref(), and serial_unref().

◆ state

void* serial::state

◆ ttystate

serial_ttystate serial::ttystate

Definition at line 246 of file serial.h.

Referenced by serial_copy_tty_state(), serial_print_tty_state(), and serial_set_tty_state().


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