GDBserver
Functions | Variables
notif.c File Reference
#include "server.h"
#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 164 of file notif.c.

References notif_event_xfree(), and QUEUE_alloc.

Referenced by captured_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 158 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 62 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:
=
{
}
struct notif_server notif_stop
Definition: server.c:186

Definition at line 53 of file notif.c.