summaryrefslogtreecommitdiff
path: root/apps/misc.h
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-10-21 20:37:33 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-10-21 20:37:33 +0000
commita1ac7434534240f9ce88054028a77466c6e61c7c (patch)
treeb2d4fc2f7d8fc0dbea12607ee93df8f2320859a7 /apps/misc.h
parent593b552486c6502d415f9f31fbaff871a0248cdc (diff)
Implement fast_readline as a function and use it for tagtree also.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11301 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/misc.h')
-rw-r--r--apps/misc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/misc.h b/apps/misc.h
index c5a89901ee..1bc9a23447 100644
--- a/apps/misc.h
+++ b/apps/misc.h
@@ -42,6 +42,8 @@ char *create_datetime_filename(char *buffer, const char *path,
* stored in buffer.
*/
int read_line(int fd, char* buffer, int buffer_size);
+int fast_readline(int fd, char *buf, int buf_size, void *parameters,
+ int (*callback)(int n, const char *buf, void *parameters));
#ifdef HAVE_LCD_BITMAP
/* Save a .BMP file containing the current screen contents. */