use nix build & meson & zlog
This commit is contained in:
parent
0123623742
commit
346768a144
60 changed files with 13739 additions and 0 deletions
21
src/include/xlist.h
Normal file
21
src/include/xlist.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#if !defined(__XLIST_H__)
|
||||
|
||||
#define __XLIST_H__ 1
|
||||
|
||||
typedef int (*xlist_iter_fn_t)(void*, void*);
|
||||
|
||||
typedef struct {
|
||||
int count;
|
||||
int caps;
|
||||
int delta;
|
||||
void** data;
|
||||
} xlist_t;
|
||||
|
||||
typedef int (*xlist_action_fn_t)(xlist_t*, void*);
|
||||
|
||||
extern int xlist_init(xlist_t*, int);
|
||||
extern int xlist_store(xlist_t*, void*);
|
||||
extern void xlist_clear(xlist_t*);
|
||||
extern int xlist_iter(xlist_t*, xlist_iter_fn_t, void*);
|
||||
extern void xlist_fini(xlist_t*);
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue