1.1 --- a/src/loader.h Sat Dec 24 08:02:18 2005 +0000
1.2 +++ b/src/loader.h Wed Nov 07 11:45:53 2007 +0000
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.8 * Interface declarations for the binary loader routines (loader.c, elf.c)
1.11 * for any other reason.
1.12 * @return TRUE on success, otherwise FALSE and errno
1.14 -gboolean file_load_bootstrap( gchar *filename );
1.15 +gboolean file_load_bootstrap( const gchar *filename );
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.21 -gboolean file_load_binary( gchar *filename );
1.22 +gboolean file_load_binary( const gchar *filename );
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.28 -gboolean file_load_sbi( gchar *filename );
1.29 +gboolean file_load_sbi( const gchar *filename );
1.32 * Load an ELF executable binary file. Origin is file-dependent.
1.34 -gboolean file_load_elf( gchar *filename );
1.35 +gboolean file_load_elf( const gchar *filename );
1.38 * Load any of the above file types, using the appropriate magic to determine
1.39 * which is actually applicable
1.41 -gboolean file_load_magic( gchar *filename );
1.42 +gboolean file_load_magic( const gchar *filename );