Macaw OS C reference

Function nest_listitem

#include <macaw.h>
int nest_listitem(
    int i,
    char *service,
    int ssize,
    char *account,
    int asize
);

Gives the service and account of one entry in the list nest_list made.

Parameters

iint
Which entry, from 0.
servicechar *
Where its service goes.
ssizeint
How many bytes service holds. Text that doesn't fit is cut short.
accountchar *
Where its account goes.
asizeint
How many bytes account holds. Text that doesn't fit is cut short.

Returns int

1 if there's an entry i in the list, or 0.

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