Macaw OS C reference

Function nest_has

#include <macaw.h>
int nest_has(const char *service, const char *account);

Checks whether your program has a password saved, without reading it.

Parameters

serviceconst char *
What the password is for.
accountconst char *
Whose password it is. NULL is the same as "".

Returns int

1 if there's one saved, or 0.

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