Lines Matching refs:lst
46 X_PFX(hook_add) (x_list * lst, x_hook_function * fun, void *data) {
47 return X_PFX(list_prepend) (lst, CELL_NEW(fun, data));
51 X_PFX(hook_remove) (x_list * lst, x_hook_function * fun, void *data) {
55 for (node = lst; node != NULL; node = node->next) {
63 lst = X_PFX(list_remove) (lst, cell);
68 return lst;
72 X_PFX(hook_run) (x_list * lst, void *arg) {
75 if (!lst)
78 for (node = lst; node != NULL; node = node->next) {
89 X_PFX(hook_free) (x_list * lst) {
92 for (node = lst; node != NULL; node = node->next) {
96 X_PFX(list_free) (lst);