library to read and write the FRIENDS file More...
Go to the source code of this file.
Data Structures | |
struct | GNUNET_FRIENDS_Writer |
Handle for writing a friends file. More... | |
Functions | |
int | GNUNET_FRIENDS_parse (const struct GNUNET_CONFIGURATION_Handle *cfg, GNUNET_FRIENDS_Callback cb, void *cb_cls) |
Parse the FRIENDS file. More... | |
struct GNUNET_FRIENDS_Writer * | GNUNET_FRIENDS_write_start (const struct GNUNET_CONFIGURATION_Handle *cfg) |
Start writing a fresh FRIENDS file. More... | |
int | GNUNET_FRIENDS_write_stop (struct GNUNET_FRIENDS_Writer *w) |
Finish writing out the friends file. More... | |
int | GNUNET_FRIENDS_write (struct GNUNET_FRIENDS_Writer *w, const struct GNUNET_PeerIdentity *friend_id) |
Add a friend to the friends file. More... | |
library to read and write the FRIENDS file
Definition in file friends.c.