diff options
Diffstat (limited to 'src/include/usr')
-rw-r--r-- | src/include/usr/autoboot.h | 8 | ||||
-rw-r--r-- | src/include/usr/imgmgmt.h | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/include/usr/autoboot.h b/src/include/usr/autoboot.h index 32763beee..a608b3dce 100644 --- a/src/include/usr/autoboot.h +++ b/src/include/usr/autoboot.h @@ -11,12 +11,14 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include <ipxe/in.h> struct net_device; +struct uri; +struct settings; +extern int uriboot ( struct uri *filename, struct uri *root_path ); +extern struct uri * +fetch_next_server_and_filename ( struct settings *settings ); extern int netboot ( struct net_device *netdev ); extern int autoboot ( void ); -extern int boot_next_server_and_filename ( struct in_addr next_server, - const char *filename ); -extern int boot_root_path ( const char *root_path ); extern int pxe_menu_boot ( struct net_device *netdev ); diff --git a/src/include/usr/imgmgmt.h b/src/include/usr/imgmgmt.h index 0c8c8cf72..0beab5139 100644 --- a/src/include/usr/imgmgmt.h +++ b/src/include/usr/imgmgmt.h @@ -11,6 +11,8 @@ FILE_LICENCE ( GPL2_OR_LATER ); struct image; +extern int imgdownload ( struct image *image, struct uri *uri, + int ( * image_register ) ( struct image *image ) ); extern int imgfetch ( struct image *image, const char *uri_string, int ( * image_register ) ( struct image *image ) ); extern int imgload ( struct image *image ); |