CMGDK r49-rc2
组合类型 | 宏定义 | 类型定义 | 函数
K:/CMGDKv18/SDK/Source/SQL/MySQL/include/my_list.h文件参考

浏览该文件的源代码。

组合类型

struct  st_list

宏定义

#define list_rest(a)   ((a)->next)
#define list_push(a, b)   (a)=list_cons((b),(a))
#define list_pop(A)   {LIST *old=(A); (A)=list_delete(old,old) ; my_free((unsigned char *) old,MYF(MY_FAE)); }

类型定义

typedef struct st_list LIST
typedef int(* list_walk_action )(void *, void *)

函数

LISTlist_add (LIST *root, LIST *element)
LISTlist_delete (LIST *root, LIST *element)
LISTlist_cons (void *data, LIST *root)
LISTlist_reverse (LIST *root)
void list_free (LIST *root, unsigned int free_data)
unsigned int list_length (LIST *)
int list_walk (LIST *, list_walk_action action, unsigned char *argument)

宏定义文档

#define list_pop (   A)    {LIST *old=(A); (A)=list_delete(old,old) ; my_free((unsigned char *) old,MYF(MY_FAE)); }
#define list_push (   a,
  b 
)    (a)=list_cons((b),(a))
#define list_rest (   a)    ((a)->next)

类型定义文档

typedef struct st_list LIST
typedef int(* list_walk_action)(void *, void *)

函数文档

LIST* list_add ( LIST root,
LIST element 
)
LIST* list_cons ( void *  data,
LIST root 
)
LIST* list_delete ( LIST root,
LIST element 
)
void list_free ( LIST root,
unsigned int  free_data 
)
unsigned int list_length ( LIST )
LIST* list_reverse ( LIST root)
int list_walk ( LIST ,
list_walk_action  action,
unsigned char *  argument 
)
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义