libkeymap
2.0.3
Library to manage the Linux keymaps
Main Page
Data Structures
Files
File List
Globals
src
libkeymap
keymap
array.h
Go to the documentation of this file.
1
#ifndef LK_ARRAY_H
2
#define LK_ARRAY_H
3
8
struct
lk_array
{
9
void
*
array
;
10
size_t
memb
;
11
size_t
count
;
12
size_t
total
;
13
};
14
15
int
lk_array_init
(
struct
lk_array
*a,
size_t
memb,
size_t
size);
16
int
lk_array_free
(
struct
lk_array
*a);
17
18
int
lk_array_empty
(
struct
lk_array
*a);
19
20
int
lk_array_append
(
struct
lk_array
*a,
const
void
*e);
21
22
int
lk_array_set
(
struct
lk_array
*a,
unsigned
int
i,
const
void
*e);
23
void
*
lk_array_get
(
struct
lk_array
*a,
unsigned
int
i);
24
void
*
lk_array_get_ptr
(
struct
lk_array
*a,
unsigned
int
i);
25
26
int
lk_array_unset
(
struct
lk_array
*a,
unsigned
int
i);
27
int
lk_array_exists
(
struct
lk_array
*a,
unsigned
int
i);
28
29
#endif
/* LK_ARRAY_H */
Generated on Thu Jul 16 2015 00:33:36 for libkeymap by
1.8.3.1