4 #include <linux/list.h>
11 int string_list_add(struct string_list
*sl
, char *str
);
12 void string_list_print_by_column(struct string_list
*sl
);
14 static inline void string_list_init(struct string_list
*sl
)
16 INIT_LIST_HEAD(&sl
->list
);
19 static inline void string_list_free(struct string_list
*sl
)
21 struct string_list
*entry
, *safe
;
23 list_for_each_entry_safe(entry
, safe
, &sl
->list
, list
)
27 #endif /* __STRING_H */