#define FILE_MAX_PATH 1024
-/* Device kind */
-#define FILE_DEVICE_BLOCK 1
-#define FILE_DEVICE_NET 2
-
struct boot_fspec_t {
char* dev; /* OF device path */
int part; /* Partition number or -1 */
parse_device_path(char *imagepath, char *defdevice, int defpart,
char *deffile, struct boot_fspec_t *result);
-#if 0
-extern int validate_fspec(
- struct boot_fspec_t* spec,
- char* default_device,
- int default_part);
-extern char *parse_device_path(
- char* of_device,
- char** file_spec,
- int* partition);
-#endif
-
#endif