Exemple #1
0
/*
 * app_strnode
 *
 * append new string to string-list (at end)
 */
DLNODE *app_strnode(DLLIST * list, STRPTR str)
{
    STRPTR scp = new_string_node(str);
    DLNODE *nd = NULL;

    if (scp)
        nd = app_dlnode(list, (APTR) scp);

    return nd;
}
Exemple #2
0
void append_string_node(struct string_node **p, const char *s)
{
	append_node(p, new_string_node(s));
}