/usr/include/cleri/olist.h is in libcleri-dev 0.9.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | /*
* olist.h - linked list for keeping cleri objects.
*
* author : Jeroen van der Heijden
* email : jeroen@transceptor.technology
* copyright : 2016, Transceptor Technology
*
* changes
* - initial version, 08-03-2016
* - refactoring, 17-06-2017
*/
#ifndef CLERI_OLIST_H_
#define CLERI_OLIST_H_
#include <cleri/cleri.h>
/* typedefs */
typedef struct cleri_s cleri_t;
typedef struct cleri_olist_s cleri_olist_t;
typedef struct cleri_olist_s cleri_olist_t;
/* private functions */
cleri_olist_t * cleri__olist_new(void);
int cleri__olist_append(cleri_olist_t * olist, cleri_t * cl_object);
int cleri__olist_append_nref(cleri_olist_t * olist, cleri_t * cl_object);
void cleri__olist_free(cleri_olist_t * olist);
void cleri__olist_empty(cleri_olist_t * olist);
void cleri__olist_cancel(cleri_olist_t * olist);
/* structs */
struct cleri_olist_s
{
cleri_t * cl_obj;
cleri_olist_t * next;
};
#endif /* CLERI_OLIST_H_ */
|