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, also drop libudns, we will likely use libanl
[apps/pfixtools.git]
/
buffer.h
diff --git
a/buffer.h
b/buffer.h
index
87c0ad2
..
d58ab17
100644
(file)
--- a/
buffer.h
+++ b/
buffer.h
@@
-30,11
+30,11
@@
/******************************************************************************/
/*
/******************************************************************************/
/*
- * Copyright © 2006 Pierre Habouzit
+ * Copyright © 2006
-2007
Pierre Habouzit
*/
*/
-#ifndef
MUTT_LIB_LIB
_BUFFER_H
-#define
MUTT_LIB_LIB
_BUFFER_H
+#ifndef
POSTLICYD
_BUFFER_H
+#define
POSTLICYD
_BUFFER_H
#include "mem.h"
#include "str.h"
#include "mem.h"
#include "str.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);
-#endif /* MUTT_LIB_LIB_BUFFER_H */
+ssize_t buffer_read(buffer_t *buf, int fd, ssize_t count);
+
+#endif /* POSTLICYD_BUFFER_H */