Manual hardware configuration
[Public interface]

Handle manually configured hardware (in /var/lib/hardware/). More...

Data Structures

struct  hd_manual_s
 Manually configured hardware information. More...
hd_manual_t * hd_manual_read_entry (hd_data_t *hd_data, const char *id)
 Manually configured devices implemented in manual.c.
int hd_manual_write_entry (hd_data_t *hd_data, hd_manual_t *entry)
hd_manual_t * hd_free_manual (hd_manual_t *manual)
hd_t * hd_read_config (hd_data_t *hd_data, const char *id)
int hd_write_config (hd_data_t *hd_data, hd_t *hd)
char * hd_hw_item_name (hd_hw_item_t item)
hd_hw_item_t hd_hw_item_type (char *name)
char * hd_status_value_name (hd_status_value_t status)

Typedefs

typedef hd_manual_s hd_manual_t
 Manually configured hardware information.

Detailed Description

Handle manually configured hardware (in /var/lib/hardware/).


Typedef Documentation

typedef struct hd_manual_s hd_manual_t
 

Manually configured hardware information.


Function Documentation

hd_manual_t* hd_free_manual (  hd_manual_t *  manual  ) 
 

char* hd_hw_item_name (  hd_hw_item_t  item  ) 
 

hd_hw_item_t hd_hw_item_type (  char *  name  ) 
 

hd_manual_t* hd_manual_read_entry (  hd_data_t *  hd_data,
const char *  id
) 
 

Manually configured devices implemented in manual.c.

int hd_manual_write_entry (  hd_data_t *  hd_data,
hd_manual_t *  entry
) 
 

hd_t* hd_read_config (  hd_data_t *  hd_data,
const char *  id
) 
 

char* hd_status_value_name (  hd_status_value_t  status  ) 
 

int hd_write_config (  hd_data_t *  hd_data,
hd_t *  hd
)