Go to the documentation of this file.00001
00017 #include "hstructures.h"
00018
00019 #ifndef HDEV_H
00020 #define HDEV_H
00021
00023 #define HDEV_PATH_SIZE 40
00024
00029 int hdev_size();
00030
00035 struct hdev* hdev_get_by_major(int major);
00036
00046 struct hdev* hdev_add(int major, char* device_path);
00047
00053 int hdev_remove(struct hdev* device);
00054
00060 int hdev_get_major(struct hdev* device);
00061
00067 int hdev_remove_by_major(int major);
00068
00073 int hdev_remove_all();
00074
00079 struct hdev* hdev_get_first();
00080
00085 struct hdev* hdev_get_last();
00086
00092 struct hdev* hdev_get_next(struct hdev* device);
00093
00099 struct hdev* hdev_get_prev(struct hdev* device);
00100
00101
00102 #endif
00103