GDBserver
Classes | Typedefs | Functions | Variables
notif.h File Reference
#include "target.h"
#include "queue.h"

Go to the source code of this file.

Classes

struct  notif_event
 
struct  notif_server
 

Typedefs

typedef struct notif_eventnotif_event_p
 
typedef struct notif_servernotif_server_p
 

Functions

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

Variables

struct notif_server notif_stop
 

Typedef Documentation

typedef struct notif_event * notif_event_p
typedef struct notif_server * notif_server_p

Function Documentation

DECLARE_QUEUE_P ( notif_event_p  )
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 
)
void notif_push ( struct notif_server np,
struct notif_event 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 notif_stop

Definition at line 186 of file server.c.

Referenced by discard_queued_stop_replies(), and queue_stop_reply().