libkeymap 2.0.3 Library to manage the Linux keymaps

- Main Page
- Data Structures
- Files

- File List
- Globals

Data Structures | Functions
src/libkeymap/keymap/array.h File Reference

Go to the source code of this file.

## Data Structures
struct | lk_array
| Basic structure for array implementation. More...
## Functions
int | lk_array_init (struct lk_array *a, size_t memb, size_t size)
int | lk_array_free (struct lk_array *a)
int | lk_array_empty (struct lk_array *a)
int | lk_array_append (struct lk_array *a, const void *e)
int | lk_array_set (struct lk_array *a, unsigned int i, const void *e)
void * | lk_array_get (struct lk_array *a, unsigned int i)
void * | lk_array_get_ptr (struct lk_array *a, unsigned int i)
int | lk_array_unset (struct lk_array *a, unsigned int i)
int | lk_array_exists (struct lk_array *a, unsigned int i)

## Function Documentation

int lk_array_init | ( | struct lk_array * | a,
|  | size_t | memb,
|  | size_t | size
| ) |  |

int lk_array_free | ( | struct lk_array * | a | ) |

int lk_array_empty | ( | struct lk_array * | a | ) |

int lk_array_append | ( | struct lk_array * | a,
|  | const void * | e
| ) |  |

int lk_array_set | ( | struct lk_array * | a,
|  | unsigned int | i,
|  | const void * | e
| ) |  |

void* lk_array_get | ( | struct lk_array * | a,
|  | unsigned int | i
| ) |  |

void* lk_array_get_ptr | ( | struct lk_array * | a,
|  | unsigned int | i
| ) |  |

int lk_array_unset | ( | struct lk_array * | a,
|  | unsigned int | i
| ) |  |

int lk_array_exists | ( | struct lk_array * | a,
|  | unsigned int | i
| ) |  |