projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c09aab
)
string.h: for_each_line_ro() takes a _pointer_ to the line_handler.
author
Andre Noll
<maan@systemlinux.org>
Sun, 25 Nov 2007 22:21:35 +0000
(23:21 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Sun, 25 Nov 2007 22:21:35 +0000
(23:21 +0100)
string.h
patch
|
blob
|
history
diff --git
a/string.h
b/string.h
index 6759c261318232f1cf3b61aedc15911412422982..eb29b919c429da0a9ddb7024b785362bf9ba6623 100644
(file)
--- a/
string.h
+++ b/
string.h
@@
-37,7
+37,7
@@
__printf_2_3 int para_printf(struct para_buffer *b, const char *fmt, ...);
typedef int line_handler_t(char *, void *);
int for_each_line(char *buf, size_t size, line_handler_t *line_handler,
void *private_data);
-int for_each_line_ro(char *buf, size_t size, line_handler_t line_handler,
+int for_each_line_ro(char *buf, size_t size, line_handler_t
*
line_handler,
void *private_data);
int para_atoi64(const char *str, int64_t *result);
int para_atoi32(const char *str, int32_t *value);