mail: Use new list functions to simplify vartab-related operations.
* mail/mailvar.c (_mailvar_symbol_to_array): Remove. (_mailvar_symbol_to_list): New function. (mailvar_make_array): Remove. (mailvar_list_copy): New function. (mailvar_iterator)<varptr,varcnt,pos>: Remove. <varlist,varitr>: New members. (mailvar_iterate_next): Use subordinate iterator. (mailvar_iterate_first): Likewise. (mailvar_print): Use mailvar_make_array.
Showing
1 changed file
with
77 additions
and
64 deletions
-
Please register or sign in to post a comment