diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2009-04-12 15:11:51 +0000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2009-06-30 15:29:18 +0800 |
commit | f8b433640debefa2bed2ab09af6deefb32251777 (patch) | |
tree | 682a78c2e9fe9936ca818571f087d460be73bbe5 /ui/common/loader.h | |
parent | 8ecee33a2f5fb8562c4db7fa55f50f25a57dc8f3 (diff) | |
download | talos-petitboot-f8b433640debefa2bed2ab09af6deefb32251777.tar.gz talos-petitboot-f8b433640debefa2bed2ab09af6deefb32251777.zip |
Add remote file loading routines
Create the new files loader.h and loader.c for loading remote
file specifed by its URL.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/common/loader.h')
-rw-r--r-- | ui/common/loader.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ui/common/loader.h b/ui/common/loader.h new file mode 100644 index 0000000..b06bb43 --- /dev/null +++ b/ui/common/loader.h @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2009 Sony Computer Entertainment Inc. + * Copyright 2009 Sony Corp. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#if !defined(_PB_FILE_LOADER_H) +#define _PB_FILE_LOADER_H + +char *pb_load_file(void *ctx, const char *remote); + +#endif |