Name
yw_word_fetch_bindata -- fetch binary data from given word
Synopsis
int yw_word_fetch_bindata
(YwWord *w,
void **data,
int *len);
DESCRIPTION
This function fetches binary data from word w, and stores
pointer to it at *data, and length at *len
if it's not NULL. 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, *data and *len are not touched
in the later case.
SEE ALSO
yw_word_word
(3),
INFO
Generated from: word.c,v 1.3 2001/05/05 11:36:18 dobrek Exp.