Function nest_set
#include <macaw.h>int nest_set(
const char *service,
const char *account,
const char *password,
const char *label
);
Saves a password in your program's own keychain, which no other program can read. Saving another for the same service and account replaces it.
Parameters
serviceconst char *- What the password is for, like
"mygame.macaw". accountconst char *- Whose password it is, like a user name.
NULLis the same as"". passwordconst char *- The password to save.
labelconst char *- A note to keep with it, shown in the list, or
NULLto keep the note it had.
Returns int
1 if it was saved, or 0 if it wasn't.
In Saved passwords (Nestchain), with nest_get, nest_has, nest_remove, nest_list, nest_listitem, nest_listlabel, nest_listchanged, nest_request, nest_choose, nest_keep.