Search
lxdream.org :: lxdream/src/loader.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/loader.h
changeset 427:00270806b4cf
prev26:ad258e3daaa5
next561:533f6b478071
author nkeynes
date Sun Oct 21 05:31:07 2007 +0000 (16 years ago)
permissions -rw-r--r--
last change Rename mmr_win.c to mmio_win.c
file annotate diff log raw
1.1 --- a/src/loader.h Sat Dec 24 08:02:18 2005 +0000
1.2 +++ b/src/loader.h Sun Oct 21 05:31:07 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: loader.h,v 1.1 2005-12-24 08:02:14 nkeynes Exp $
1.6 + * $Id: loader.h,v 1.2 2007-10-07 06:21:14 nkeynes Exp $
1.7 *
1.8 * Interface declarations for the binary loader routines (loader.c, elf.c)
1.9 *
1.10 @@ -39,30 +39,30 @@
1.11 * for any other reason.
1.12 * @return TRUE on success, otherwise FALSE and errno
1.13 */
1.14 -gboolean file_load_bootstrap( gchar *filename );
1.15 +gboolean file_load_bootstrap( const gchar *filename );
1.16
1.17 /**
1.18 * Load a miscellaneous .bin file, as commonly used in demos. No magic
1.19 * applies, file is loaded as is at 8C010000
1.20 */
1.21 -gboolean file_load_binary( gchar *filename );
1.22 +gboolean file_load_binary( const gchar *filename );
1.23
1.24 /**
1.25 * Load a "Self Boot Inducer" .sbi file, also commonly used to package
1.26 * demos. (Actually a ZIP file with a predefined structure
1.27 */
1.28 -gboolean file_load_sbi( gchar *filename );
1.29 +gboolean file_load_sbi( const gchar *filename );
1.30
1.31 /**
1.32 * Load an ELF executable binary file. Origin is file-dependent.
1.33 */
1.34 -gboolean file_load_elf( gchar *filename );
1.35 +gboolean file_load_elf( const gchar *filename );
1.36
1.37 /**
1.38 * Load any of the above file types, using the appropriate magic to determine
1.39 * which is actually applicable
1.40 */
1.41 -gboolean file_load_magic( gchar *filename );
1.42 +gboolean file_load_magic( const gchar *filename );
1.43
1.44 #ifdef __cplusplus
1.45 }
.