Commit 0e3f33d7 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(struct isc_mcb): Added write_change_cb.

(isc_killqueue): Now returns an int: the number of payload bytes
	in the killed queue.
parent 760c70be
...@@ -44,6 +44,7 @@ struct isc_mcb ...@@ -44,6 +44,7 @@ struct isc_mcb
struct isc_session_cfg * scfg; struct isc_session_cfg * scfg;
struct isc_scb_entry * sessions; struct isc_scb_entry * sessions;
oop_source * event_source; oop_source * event_source;
isc_write_queue_change_cb *write_change_cb;
}; };
...@@ -169,7 +170,7 @@ isc_newqueue(void); ...@@ -169,7 +170,7 @@ isc_newqueue(void);
/* Return TRUE if the queue is not empty. */ /* Return TRUE if the queue is not empty. */
#define isc_pollqueue(qp) ((qp) != NULL && ((qp)->head != NULL)) #define isc_pollqueue(qp) ((qp) != NULL && ((qp)->head != NULL))
extern void extern int
isc_killqueue(struct isc_msgqueue *queue); isc_killqueue(struct isc_msgqueue *queue);
extern void extern void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment