str_list_t * read_file(char *file_name, unsigned start_line, unsigned lines)
Definition: hd.c:2532
static void _read_klog(hd_data_t *hd_data)
Definition: klog.c:77
struct s_str_list_t * next
Link to next member.
Definition: hd.h:411
str_list_t * free_str_list(str_list_t *list)
Free the memory allocated by a string list.
Definition: hd.c:2498
#define ADD2LOG(a...)
Definition: hd_int.h:66
String list type.
Definition: hd.h:410
void read_klog(hd_data_t *hd_data)
Definition: klog.c:50
static int str_list_cmp(str_list_t *sl1, str_list_t *sl2)
Definition: klog.c:36
void dump_klog(hd_data_t *hd_data)
Definition: klog.c:176
static hd_data_t * hd_data
Definition: pppoe.c:29
static int str_ok(str_list_t *sl)
Definition: klog.c:26
#define KLOG_BOOT
Definition: hd_int.h:48
str_list_t * klog
(Internal) kernel log
Definition: hd.h:2700
str_list_t * add_str_list(str_list_t **sl, char *str)
Add a string to a string list.
Definition: hd.c:2484
str_list_t * klog_raw
(Internal) unmodified kernel log
Definition: hd.h:2742
Holds all data accumulated during hardware probing.
Definition: hd.h:2609
void * new_mem(size_t size)
Definition: hd.c:1540
char * str
Some string data.
Definition: hd.h:412
void * free_mem(void *p)
Definition: hd.c:1599