Macaw OS C reference

Function nest_choose

#include <macaw.h>
void nest_choose(void (*fn)(const char *password, const char *service, const char *account));

Lets the person pick one of their saved passwords for your program. If they cancel, fn isn't called.

Parameters

fnvoid (*)(const char *password, const char *service, const char *account)
Your function, called with the password they picked and its service and account. Copy them to keep them.

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