libacpi: list.h File Reference

- Main Page
- Classes
- Files

- File List
- File Members

# list.h File Reference

linked list More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | node
struct | list_t
| linked list More...
## Typedefs
typedef node | node_t
## Functions
list_t * | dir_list (char *dir)
void | delete_list (list_t *lst)

## Detailed Description

linked list

Definition in file list.h.

## Typedef Documentation

typedef struct node node_t

## Function Documentation

void delete_list | ( | list_t * | lst | ) |

Delete linked list

Parameters:

  | lst | list to delete

Definition at line 46 of file list.c.

References list_t::last, and list_t::top.

Referenced by init_acpi_acadapt(), init_acpi_batt(), init_acpi_fan(), and init_acpi_thermal().

Here is the caller graph for this function:

list_t* dir_list | ( | char * | dir | ) |

Lists contents (for libacpi directories) of a directory and return them in a linked list

Parameters:

  | dir | directory to list

Returns:
  linked list

Definition at line 61 of file list.c.

Referenced by init_acpi_acadapt(), init_acpi_batt(), init_acpi_fan(), and init_acpi_thermal().

Here is the caller graph for this function: