MySQL 9.1.0
Source Code Documentation
|
Code for handling double-linked lists in C. More...
#include <sys/types.h>
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_list.h"
#include "my_sys.h"
#include "mysql/service_mysql_alloc.h"
#include "mysys/mysys_priv.h"
Functions | |
LIST * | list_add (LIST *root, LIST *element) |
LIST * | list_delete (LIST *root, LIST *element) |
void | list_free (LIST *root, uint free_data) |
LIST * | list_cons (void *data, LIST *list) |
LIST * | list_reverse (LIST *root) |
uint | list_length (LIST *list) |
int | list_walk (LIST *list, list_walk_action action, uchar *argument) |
Code for handling double-linked lists in C.
void list_free | ( | LIST * | root, |
uint | free_data | ||
) |
uint list_length | ( | LIST * | list | ) |
int list_walk | ( | LIST * | list, |
list_walk_action | action, | ||
uchar * | argument | ||
) |