#define HARDWARE_DIR "/var/lib/hardware" |
libhd's directory
#define HD_VERSION 13 |
Interface version.
typedef struct hal_device_s hal_device_t |
HAL device.
typedef struct hal_prop_s hal_prop_t |
HAL device properties.
typedef enum access_flags hd_access_flags_t |
access types for I/O and memory resources
typedef enum boot_arch hd_boot_arch_t |
typedef enum cpu_arch hd_cpu_arch_t |
CPU architecture.
typedef enum geo_types hd_geo_types_t |
typedef enum hw_item hd_hw_item_t |
list types for hd_list()
if you want to modify this: cf. manual.c::hw_items[]
Note: hw_tv _must_ be < hw_display! Sync with check_hd and convert_hd!
typedef enum probe_feature hd_probe_feature_t |
flags to control the probing.
typedef enum resource_types hd_resource_types_t |
resource types: see Resource structures
typedef enum size_units hd_size_units_t |
size units (cf.
(res_size_t).unit)
typedef struct s_sysfsdrv_t hd_sysfsdrv_t |
sysfs driver info
Individual hardware item.
Every hardware component gets an hd_t entry. A list of all hardware items is in hd_data_t::hd.
typedef struct s_udevinfo_t hd_udevinfo_t |
udev database info
typedef enum yes_no_flag hd_yes_no_flag_t |
typedef uint32_t hddb_entry_mask_t |
Hardware DB item entry mask.
typedef struct hddb_list_s hddb_list_t |
Hardware DB list item.
typedef enum modinfo_type_e modinfo_type_t |
module information type
typedef struct s_ser_device_t ser_device_t |
Serial device configuration information.
typedef struct s_serial_t serial_t |
Serial device resource and hardware information.
enum access_flags |
enum cpu_arch |
enum geo_types |
enum hal_prop_type_t |
enum hd_hotplug_t |
enum hd_status_value_t |
enum hw_item |
list types for hd_list()
if you want to modify this: cf. manual.c::hw_items[]
Note: hw_tv _must_ be < hw_display! Sync with check_hd and convert_hd!
enum modinfo_type_e |
enum probe_feature |
flags to control the probing.
enum resource_types |
resource types: see Resource structures
enum size_units |
size units (cf.
(res_size_t).unit)
enum yes_no_flag |
unsigned hd_boot_disk | ( | hd_data_t * | hd_data, | |
int * | matches | |||
) |
const char* hd_busid_to_hwcfg | ( | int | busid | ) |
int hd_change_config_status | ( | hd_data_t * | hd_data, | |
const char * | id, | |||
hd_status_t | status, | |||
const char * | config_string | |||
) |
int hd_change_status | ( | const char * | id, | |
hd_status_t | status, | |||
const char * | config_string | |||
) |
void hd_clear_probe_feature | ( | hd_data_t * | hd_data, | |
enum probe_feature | feature | |||
) |
int hd_color | ( | hd_data_t * | hd_data | ) |
unsigned hd_display_adapter | ( | hd_data_t * | hd_data | ) |
hal_prop_t* hd_free_hal_properties | ( | hal_prop_t * | prop | ) |
hd_manual_t* hd_free_manual | ( | hd_manual_t * | manual | ) |
int hd_has_pcmcia | ( | hd_data_t * | hd_data | ) |
char* hd_hw_item_name | ( | hd_hw_item_t | item | ) |
hd_hw_item_t hd_hw_item_type | ( | char * | name | ) |
int hd_is_hw_class | ( | hd_t * | hd, | |
hd_hw_item_t | hw_class | |||
) |
int hd_is_sgi_altix | ( | hd_data_t * | hd_data | ) |
int hd_is_uml | ( | hd_data_t * | hd_data | ) |
hd_t* hd_list | ( | hd_data_t * | hd_data, | |
hd_hw_item_t | item, | |||
int | rescan, | |||
hd_t * | hd_old | |||
) |
hd_t* hd_list2 | ( | hd_data_t * | hd_data, | |
hd_hw_item_t * | items, | |||
int | rescan | |||
) |
hd_t* hd_list_with_status | ( | hd_data_t * | hd_data, | |
hd_hw_item_t | item, | |||
hd_status_t | status | |||
) |
hd_t* hd_list_with_status2 | ( | hd_data_t * | hd_data, | |
hd_hw_item_t * | items, | |||
hd_status_t | status | |||
) |
int hd_mac_color | ( | hd_data_t * | hd_data | ) |
int hd_manual_write_entry | ( | hd_data_t * | hd_data, | |
hd_manual_t * | entry | |||
) |
int hd_module_is_active | ( | hd_data_t * | hd_data, | |
char * | mod | |||
) |
int hd_probe_feature | ( | hd_data_t * | hd_data, | |
enum probe_feature | feature | |||
) |
enum probe_feature hd_probe_feature_by_name | ( | char * | name | ) |
char* hd_probe_feature_by_value | ( | enum probe_feature | feature | ) |
cdrom_info_t* hd_read_cdrom_info | ( | hd_data_t * | hd_data, | |
hd_t * | hd | |||
) |
int hd_read_mmap | ( | hd_data_t * | hd_data, | |
char * | name, | |||
unsigned char * | buf, | |||
off_t | start, | |||
unsigned | size | |||
) |
hal_prop_t* hd_read_properties | ( | const char * | udi | ) |
void hd_scan | ( | hd_data_t * | hd_data | ) |
the actual hardware scan
void hd_set_hw_class | ( | hd_t * | hd, | |
hd_hw_item_t | hw_class | |||
) |
void hd_set_probe_feature | ( | hd_data_t * | hd_data, | |
enum probe_feature | feature | |||
) |
void hd_set_probe_feature_hw | ( | hd_data_t * | hd_data, | |
hd_hw_item_t | item | |||
) |
int hd_smp_support | ( | hd_data_t * | hd_data | ) |
char* hd_status_value_name | ( | hd_status_value_t | status | ) |
int hd_usb_support | ( | hd_data_t * | hd_data | ) |
char* hd_version | ( | void | ) |
int hd_write_properties | ( | const char * | udi, | |
hal_prop_t * | prop | |||
) |
void hddb_dump | ( | hddb2_data_t * | hddb, | |
FILE * | f | |||
) |
void hddb_dump_raw | ( | hddb2_data_t * | hddb, | |
FILE * | f | |||
) |
str_list_t* hddb_get_packages | ( | hd_data_t * | hd_data | ) |