GNUnet  0.20.0
friends.c File Reference

library to read and write the FRIENDS file More...

#include "platform.h"
#include "gnunet_friends_lib.h"
Include dependency graph for friends.c:

Go to the source code of this file.

Data Structures

struct  GNUNET_FRIENDS_Writer
 Handle for writing a friends file. More...


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_WriterGNUNET_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...

Detailed Description

library to read and write the FRIENDS file

Christian Grothoff

Definition in file friends.c.