You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Structure holding information related to a single event. We
keep a queue of these to push to GDB. It can be extended if
the event of given notification contains more information. */
/* Structure holding information related to a single event. We
keep a queue of these to push to GDB. It can be extended if
the event of given notification contains more information. */
/* A type notification to GDB. An object of 'struct notif_server'
represents a type of notification. */
/* A type notification to GDB. An object of 'struct notif_server'
represents a type of notification. */
/* A queue of events to GDB. A new notif_event can be enque'ed
into QUEUE at any appropriate time, and the notif_reply is
deque'ed only when the ack from GDB arrives. */
/* A queue of events to GDB. A new notif_event can be enque'ed
into QUEUE at any appropriate time, and the notif_reply is
deque'ed only when the ack from GDB arrives. */
/* Write event EVENT to OWN_BUF. */
void (*write) (struct notif_event *event, char *own_buf);
/* Write event EVENT to OWN_BUF. */
void (*write) (struct notif_event *event, char *own_buf);
void notif_event_enque (struct notif_server *notif,
struct notif_event *event);
void notif_event_enque (struct notif_server *notif,
struct notif_event *event);