projects
/
apps
/
pfixtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix makefile
[apps/pfixtools.git]
/
buffer.h
diff --git
a/buffer.h
b/buffer.h
index
6c546d9
..
d58ab17
100644
(file)
--- a/
buffer.h
+++ b/
buffer.h
@@
-30,7
+30,7
@@
/******************************************************************************/
/*
/******************************************************************************/
/*
- * Copyright © 2006 Pierre Habouzit
+ * Copyright © 2006
-2007
Pierre Habouzit
*/
#ifndef POSTLICYD_BUFFER_H
*/
#ifndef POSTLICYD_BUFFER_H
@@
-102,4
+102,6
@@
static inline void buffer_addch(buffer_t *buf, int c) {
void buffer_consume(buffer_t *buf, ssize_t len);
void buffer_consume(buffer_t *buf, ssize_t len);
+ssize_t buffer_read(buffer_t *buf, int fd, ssize_t count);
+
#endif /* POSTLICYD_BUFFER_H */
#endif /* POSTLICYD_BUFFER_H */