diff options
Diffstat (limited to 'apps/recorder/bmp.h')
-rw-r--r-- | apps/recorder/bmp.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/recorder/bmp.h b/apps/recorder/bmp.h index f8650b2203..3d33a8c34b 100644 --- a/apps/recorder/bmp.h +++ b/apps/recorder/bmp.h | |||
@@ -26,12 +26,17 @@ | |||
26 | * read_bmp_file() | 26 | * read_bmp_file() |
27 | * | 27 | * |
28 | * Reads a 8bit BMP file and puts the data in a 1-pixel-per-byte | 28 | * Reads a 8bit BMP file and puts the data in a 1-pixel-per-byte |
29 | * array. | 29 | * array. |
30 | * Returns < 0 for error, or number of bytes used from the bitmap buffer | 30 | * Returns < 0 for error, or number of bytes used from the bitmap buffer |
31 | * | 31 | * |
32 | **********************************************/ | 32 | **********************************************/ |
33 | int read_bmp_file(char* filename, | 33 | int read_bmp_file(const char* filename, |
34 | struct bitmap *bm, | 34 | struct bitmap *bm, |
35 | int maxsize, | 35 | int maxsize, |
36 | int format); | 36 | int format); |
37 | |||
38 | int read_bmp_fd(int fd, | ||
39 | struct bitmap *bm, | ||
40 | int maxsize, | ||
41 | int format); | ||
37 | #endif | 42 | #endif |