daemonq
struct daemonq *next; /* pointer to next element in queue */
daemonq = NULL; /* initialize daemon's work queue */
if ((daemonq == NULL) /* no more requests */
||(daemonq->type != daemonrq_saveconfig)) { /* or the next isn't the same */
while (daemonq != NULL) { /* backed up requests, */
request = daemonq; /* get the request */
daemonq = daemonq->next; /* and detach it */
struct daemonq *qelt = (struct daemonq *) Malloc(sizeof(struct daemonq));
if (daemonq) { /* something queued already */
daemonq = qelt; /* this is the whole queue */
struct daemonq *daemonq; /* daemon's work queue */
struct daemonq *dqend; /* and the end of the queue */
struct daemonq intq[INTQSIZE]; /* queue elements for interrupt context */
struct daemonq *intqp; /* and pointer in it */
struct daemonq *request;
while (daemonq != NULL) { /* we have work to do, */
request = daemonq; /* get the request */
daemonq = daemonq->next; /* and detach it */
if (daemonq == NULL) /* got to the end, */
extern struct daemonq *daemonq; /* daemon's work queue */
extern struct daemonq *dqend; /* and the end of the queue */