GDB (xrefs)
Classes | Functions | Variables
/tmp/gdb-8.1/gdb/ser-event.c File Reference
#include "defs.h"
#include "ser-event.h"
#include "serial.h"
#include "common/filestuff.h"

Go to the source code of this file.

Classes

struct  serial_event_state
 

Functions

static int serial_event_open (struct serial *scb, const char *name)
 
static void serial_event_close (struct serial *scb)
 
struct serial_event * make_serial_event (void)
 
int serial_event_fd (struct serial_event *event)
 
void serial_event_set (struct serial_event *event)
 
void serial_event_clear (struct serial_event *event)
 

Variables

static const struct serial_ops serial_event_ops
 

Function Documentation

◆ make_serial_event()

struct serial_event* make_serial_event ( void  )

◆ serial_event_clear()

void serial_event_clear ( struct serial_event *  event)

◆ serial_event_close()

static void serial_event_close ( struct serial scb)
static

Definition at line 94 of file ser-event.c.

References serial::fd, serial::state, serial_event_state::write_fd, and xfree().

◆ serial_event_fd()

int serial_event_fd ( struct serial_event *  event)

◆ serial_event_open()

static int serial_event_open ( struct serial scb,
const char *  name 
)
static

◆ serial_event_set()

void serial_event_set ( struct serial_event *  event)

Variable Documentation

◆ serial_event_ops

const struct serial_ops serial_event_ops
static
Initial value:
=
{
"event",
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
}
static void serial_event_close(struct serial *scb)
Definition: ser-event.c:94
static int serial_event_open(struct serial *scb, const char *name)
Definition: ser-event.c:52

Definition at line 131 of file ser-event.c.

Referenced by make_serial_event().