xref: /haiku/src/system/kernel/fs/vfs_net_boot.h (revision 17889a8c70dbb3d59c1412f6431968753c767bab)
1 /*
2  * Copyright 2007, Ingo Weinhold, bonefish@cs.tu-berlin.de.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _VFS_NET_BOOT_H
6 #define _VFS_NET_BOOT_H
7 
8 
9 #include "vfs_boot.h"
10 
11 
12 int compare_image_boot(const void *_a, const void *_b);
13 
14 
15 class NetBootMethod : public BootMethod {
16 public:
17 	NetBootMethod(const KMessage& bootVolume, int32 method);
18 	virtual ~NetBootMethod();
19 
20 	virtual status_t Init();
21 
22 	virtual bool IsBootDevice(KDiskDevice* device, bool strict);
23 	virtual bool IsBootPartition(KPartition* partition, bool& foundForSure);
24 	virtual void SortPartitions(KPartition** partitions, int32 count);
25 };
26 
27 
28 #endif	// _VFS_NET_BOOT_H
29