diff options
| author | Brandon Low <lostlogic@rockbox.org> | 2007-11-03 02:54:34 +0000 |
|---|---|---|
| committer | Brandon Low <lostlogic@rockbox.org> | 2007-11-03 02:54:34 +0000 |
| commit | a042c720c3cd0579a77720dad8076a3d33687924 (patch) | |
| tree | 1d29da6be86a620cb48597f14298054b1943eb2f /apps/buffering.h | |
| parent | 9a114614d5991ee74834a52ba07e58aa637349a3 (diff) | |
| download | rockbox-a042c720c3cd0579a77720dad8076a3d33687924.zip rockbox-a042c720c3cd0579a77720dad8076a3d33687924.tar.gz rockbox-a042c720c3cd0579a77720dad8076a3d33687924.tar.bz2 rockbox-a042c720c3cd0579a77720dad8076a3d33687924.tar.xz | |
Use a recursive depth-first shrinkage function, limit handles accordingly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15414 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/buffering.h')
| -rw-r--r-- | apps/buffering.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/buffering.h b/apps/buffering.h index 799c18a..e6b99d3 100644 --- a/apps/buffering.h +++ b/apps/buffering.h @@ -65,6 +65,8 @@ bool buffering_reset(char *buf, size_t buflen); * amount of data is ready (unless EOF is reached). ****************************************************************************/ +#define BUF_MAX_HANDLES 256 + int bufopen(const char *file, size_t offset, enum data_type type); int bufalloc(const void *src, size_t size, enum data_type type); bool bufclose(int handle_id); |