Functions

/build/buildd-opendnssec_1.3.2-1~bpo60+1-mipsel-iYafXM/opendnssec-1.3.2/signer/src/scheduler/fifoq.c File Reference

#include "config.h"
#include "daemon/worker.h"
#include "scheduler/fifoq.h"
#include "shared/allocator.h"
#include "shared/log.h"
#include <ldns/ldns.h>
Include dependency graph for fifoq.c:

Go to the source code of this file.

Functions

fifoq_typefifoq_create (allocator_type *allocator)
void fifoq_wipe (fifoq_type *q)
void * fifoq_pop (fifoq_type *q, worker_type **worker)
ods_status fifoq_push (fifoq_type *q, void *item, worker_type *worker)
void fifoq_cleanup (fifoq_type *q)

Function Documentation

void fifoq_cleanup ( fifoq_type q  ) 
fifoq_type* fifoq_create ( allocator_type allocator  ) 
void* fifoq_pop ( fifoq_type q,
worker_type **  worker 
)

Pop item from queue.

Definition at line 98 of file fifoq.c.

References fifoq_struct::blob, fifoq_struct::count, ods_log_deeebug(), and fifoq_struct::owner.

ods_status fifoq_push ( fifoq_type q,
void *  item,
worker_type worker 
)
void fifoq_wipe ( fifoq_type q  ) 

Wipe queue.

Definition at line 80 of file fifoq.c.

References fifoq_struct::blob, fifoq_struct::count, and fifoq_struct::owner.

Referenced by fifoq_create().