Main Page | Modules | Data Structures | File List | Data Fields

list.h

00001 /*
00002  * Copyright (c) 2005-2008 by KoanLogic s.r.l. - All rights reserved.
00003  */
00004 
00005 #ifndef _U_LIST_H_
00006 #define _U_LIST_H_
00007 
00008 #include <u/libu_conf.h>
00009 
00010 #ifdef __cplusplus
00011 extern "C" {
00012 #endif
00013 
00014 struct u_list_s;
00015 typedef struct u_list_s u_list_t;
00016 
00017 int u_list_create(u_list_t **plist);
00018 void u_list_free(u_list_t *list);
00019 int u_list_add(u_list_t *list, void *ptr);
00020 int u_list_del(u_list_t *list, void *ptr);
00021 size_t u_list_count(u_list_t *list);
00022 void* u_list_get_n(u_list_t *list, size_t n);
00023 
00024 #ifdef __cplusplus
00025 }
00026 #endif
00027 
00028 #endif /* !_U_LIST_H_ */

←Products
© 2005-2008 - KoanLogic S.r.l. - All rights reserved