projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduce per group slice sizes.
[paraslash.git]
/
chunk_queue.h
diff --git
a/chunk_queue.h
b/chunk_queue.h
index 3c138eb50f487b299e176da766786bd97b35d147..9e794ba8e8afd524f4837bf9be7ee891ecd8f4e3 100644
(file)
--- a/
chunk_queue.h
+++ b/
chunk_queue.h
@@
-16,3
+16,4
@@
void cq_update(struct chunk_queue *cq, size_t sent);
int cq_get(struct queued_chunk *qc, const char **buf, size_t *len);
struct chunk_queue *cq_new(size_t max_pending);
void cq_destroy(struct chunk_queue *cq);
+int cq_force_enqueue(struct chunk_queue *cq, const char *buf, size_t num_bytes);