Name
yw_word_fetch_string -- fetch unicode string from given word
Synopsis
int yw_word_fetch_string
(YwWord *w,
YwString **res);
DESCRIPTION
This function fetches unicode string from word w, and
stores pointer to it at *res.
These data is only valid until calling yw_word_free(3)
on pkt, though you are not expected to free nor change this data.
RETURN VALUE
0 is returned in case of sucess,
or -1 when there is no such word, or it has
wrong type, *res is not touched in the later case.
SEE ALSO
yw_word_fetch_keyword
(3),
yw_packet_word
(3),
INFO
Generated from: word.c,v 1.3 2001/05/05 11:36:18 dobrek Exp.