GDBserver
Functions | Variables
/home/stan/gdb/src/gdb/gdbserver/notif.c File Reference
#include "notif.h"

Go to the source code of this file.

Functions

void notif_write_event (struct notif_server *notif, char *own_buf)
int handle_notif_ack (char *own_buf, int packet_len)
void notif_event_enque (struct notif_server *notif, struct notif_event *event)
void notif_push (struct notif_server *np, struct notif_event *new_event)
static void notif_event_xfree (struct notif_event *event)
void initialize_notif (void)

Variables

static struct notif_servernotifs []

Function Documentation

int handle_notif_ack ( char *  own_buf,
int  packet_len 
)
void initialize_notif ( void  )

Definition at line 160 of file notif.c.

References notif_event_xfree(), and QUEUE_alloc.

Referenced by main().

void notif_event_enque ( struct notif_server notif,
struct notif_event event 
)
static void notif_event_xfree ( struct notif_event event) [static]

Definition at line 154 of file notif.c.

References xfree().

Referenced by initialize_notif().

void notif_push ( struct notif_server np,
struct notif_event new_event 
)
void notif_write_event ( struct notif_server notif,
char *  own_buf 
)

Definition at line 61 of file notif.c.

References QUEUE_is_empty, QUEUE_peek, notif_server::write, and write_ok().

Referenced by handle_notif_ack(), and handle_status().


Variable Documentation

struct notif_server* notifs[] [static]
Initial value:
{
  &notif_stop,
}

Definition at line 52 of file notif.c.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines