Macaw OS C reference

Function nest_listlabel

#include <macaw.h>
int nest_listlabel(int i, char *buf, int size);

Gives the note kept with one entry in the list nest_list made.

Parameters

iint
Which entry, from 0.
bufchar *
Where its note goes. It's empty if it has none.
sizeint
How many bytes buf holds. A note that doesn't fit is cut short.

Returns int

The note's whole length, or -1 if there's no entry i.

In Saved passwords (Nestchain), with nest_set, nest_get, nest_has, nest_remove, nest_list, nest_listitem, nest_listchanged, nest_request, nest_choose, nest_keep.