1 |
/* |
/* |
2 |
* PUPA -- Preliminary Universal Programming Architecture for GRUB |
* PUPA -- Preliminary Universal Programming Architecture for GRUB |
3 |
* Copyright (C) 2002 Yoshinori K. Okuji <okuji@enbug.org> |
* Copyright (C) 2002,2003 Yoshinori K. Okuji <okuji@enbug.org> |
4 |
* |
* |
5 |
* PUPA is free software; you can redistribute it and/or modify |
* PUPA is free software; you can redistribute it and/or modify |
6 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
36 |
char *pupa_util_get_path (const char *dir, const char *file); |
char *pupa_util_get_path (const char *dir, const char *file); |
37 |
size_t pupa_util_get_image_size (const char *path); |
size_t pupa_util_get_image_size (const char *path); |
38 |
char *pupa_util_read_image (const char *path); |
char *pupa_util_read_image (const char *path); |
39 |
|
void pupa_util_load_image (const char *path, char *buf); |
40 |
void pupa_util_write_image (const char *img, size_t size, FILE *out); |
void pupa_util_write_image (const char *img, size_t size, FILE *out); |
41 |
|
|
42 |
#endif /* ! PUPA_UTIL_MISC_HEADER */ |
#endif /* ! PUPA_UTIL_MISC_HEADER */ |