Name
yw_word_fetch_keyword -- fetch keyword from given word
Synopsis
int yw_word_fetch_keyword
(YwWord *w,
const char **res);
DESCRIPTION
This function fetches keyword from word w, and
stores 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.
Returned keyword is '\0' terminated.
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_mapped_keyword
(3),
yw_packet_word
(3),
INFO
Generated from: word.c,v 1.3 2001/05/05 11:36:18 dobrek Exp.