summaryrefslogtreecommitdiff
path: root/src/include/gnunet_friends_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_friends_lib.h')
-rw-r--r--src/include/gnunet_friends_lib.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/include/gnunet_friends_lib.h b/src/include/gnunet_friends_lib.h
index 64e7f39d8..d591ea082 100644
--- a/src/include/gnunet_friends_lib.h
+++ b/src/include/gnunet_friends_lib.h
@@ -49,7 +49,8 @@ extern "C"
49 * @param friend_id peer identity of the friend 49 * @param friend_id peer identity of the friend
50 */ 50 */
51typedef void (*GNUNET_FRIENDS_Callback)(void *cls, 51typedef void (*GNUNET_FRIENDS_Callback)(void *cls,
52 const struct GNUNET_PeerIdentity *friend_id); 52 const struct
53 GNUNET_PeerIdentity *friend_id);
53 54
54 55
55/** 56/**
@@ -61,9 +62,9 @@ typedef void (*GNUNET_FRIENDS_Callback)(void *cls,
61 * @return #GNUNET_OK on success, #GNUNET_SYSERR on parsing errors 62 * @return #GNUNET_OK on success, #GNUNET_SYSERR on parsing errors
62 */ 63 */
63int 64int
64GNUNET_FRIENDS_parse(const struct GNUNET_CONFIGURATION_Handle *cfg, 65GNUNET_FRIENDS_parse (const struct GNUNET_CONFIGURATION_Handle *cfg,
65 GNUNET_FRIENDS_Callback cb, 66 GNUNET_FRIENDS_Callback cb,
66 void *cb_cls); 67 void *cb_cls);
67 68
68 69
69/** 70/**
@@ -80,7 +81,7 @@ struct GNUNET_FRIENDS_Writer;
80 * @return NULL on error 81 * @return NULL on error
81 */ 82 */
82struct GNUNET_FRIENDS_Writer * 83struct GNUNET_FRIENDS_Writer *
83GNUNET_FRIENDS_write_start(const struct GNUNET_CONFIGURATION_Handle *cfg); 84GNUNET_FRIENDS_write_start (const struct GNUNET_CONFIGURATION_Handle *cfg);
84 85
85 86
86/** 87/**
@@ -90,7 +91,7 @@ GNUNET_FRIENDS_write_start(const struct GNUNET_CONFIGURATION_Handle *cfg);
90 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error 91 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error
91 */ 92 */
92int 93int
93GNUNET_FRIENDS_write_stop(struct GNUNET_FRIENDS_Writer *w); 94GNUNET_FRIENDS_write_stop (struct GNUNET_FRIENDS_Writer *w);
94 95
95 96
96/** 97/**
@@ -101,8 +102,8 @@ GNUNET_FRIENDS_write_stop(struct GNUNET_FRIENDS_Writer *w);
101 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error 102 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error
102 */ 103 */
103int 104int
104GNUNET_FRIENDS_write(struct GNUNET_FRIENDS_Writer *w, 105GNUNET_FRIENDS_write (struct GNUNET_FRIENDS_Writer *w,
105 const struct GNUNET_PeerIdentity *friend_id); 106 const struct GNUNET_PeerIdentity *friend_id);
106 107
107 108
108#if 0 /* keep Emacsens' auto-indent happy */ 109#if 0 /* keep Emacsens' auto-indent happy */