Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/alq.h
Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* alq_flush: Flush the queue out to disk | * alq_flush: Flush the queue out to disk | ||||
*/ | */ | ||||
void alq_flush(struct alq *alq); | void alq_flush(struct alq *alq); | ||||
/* | /* | ||||
* alq_close: Flush the queue and free all resources. | * alq_close: Flush the queue and free all resources. | ||||
*/ | */ | ||||
void alq_close(struct alq *alq); | int alq_close(struct alq *alq); | ||||
/* | /* | ||||
* alq_getn: Return an entry for direct access | * alq_getn: Return an entry for direct access | ||||
* | * | ||||
* Arguments: | * Arguments: | ||||
* alq The queue to retrieve an entry from | * alq The queue to retrieve an entry from | ||||
* len Max number of bytes required | * len Max number of bytes required | ||||
* flags (ALQ_NOWAIT || ALQ_WAITOK) | * flags (ALQ_NOWAIT || ALQ_WAITOK) | ||||
Show All 27 Lines |