2 * Copyright (C) 2008 Diego Hernan Borghetti.
18 /* name to function binding list. */
19 E_Function
*functions
= NULL
;
21 void e_func_free(void)
27 free((void *)functions
);
32 E_Function
*e_func_find(char *name
)
38 if (!strcmp(p
->name
, name
))
45 void e_func_add(char *name
, void (*func
)(E_Eco
*))
49 fn
= e_func_find(name
);
53 fn
= (E_Function
*)malloc(sizeof(E_Function
));
63 void e_func_remove(char *name
)
70 if (!strcmp(p
->name
, name
)) {