69 s->
str = str ? strdup (str) : NULL;
88 s->
str = str ? strdup (str) : NULL;
110 if (
s->str != NULL && str != NULL && !strcmp (
s->str, str))
121 if (
s->str != NULL && str != NULL && !strcmp (
s->str, str))
131 for (
int i = 0;
i < pos && s != NULL; s = s->
next,
i++) ;
132 return s ? s->
str : NULL;
139 for (s =
root; s != NULL && s->
next != NULL; s = s->
next) ;
140 return s ? s->
str : NULL;
147 return s ? s->
str : NULL;
153 if (cand == NULL)
return;
170 for (
int i = 0; post != NULL &&
i < post->
length ();
i++)
181 char *
t =
s->str ?
s->str : (
char *)
"(null)";
182 int len = strlen (t);
183 size += len + strlen (concat) + 1;
184 txt = (
char *) (
txt ? realloc (
txt, size) : malloc (size));
186 txt = strcat (
txt, concat);
189 return txt ?
txt : (
char *)
"";
static strlist * join(strlist *, strlist *)
struct strlist_t * _first
struct strlist_t * _current
char * toString(const char *concat=" ")