diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
commit | c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207 (patch) | |
tree | cac3ce030d77b4cbe7c7dc62ed58cfe6d24f73e1 /src/include/gnunet_friends_lib.h | |
parent | fbb71d527c7d6babf269a8fefce1db291b9f7068 (diff) | |
download | gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.tar.gz gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.zip |
global reindent, now with uncrustify hook enabled
Diffstat (limited to 'src/include/gnunet_friends_lib.h')
-rw-r--r-- | src/include/gnunet_friends_lib.h | 17 |
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 | */ |
51 | typedef void (*GNUNET_FRIENDS_Callback)(void *cls, | 51 | typedef 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 | */ |
63 | int | 64 | int |
64 | GNUNET_FRIENDS_parse(const struct GNUNET_CONFIGURATION_Handle *cfg, | 65 | GNUNET_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 | */ |
82 | struct GNUNET_FRIENDS_Writer * | 83 | struct GNUNET_FRIENDS_Writer * |
83 | GNUNET_FRIENDS_write_start(const struct GNUNET_CONFIGURATION_Handle *cfg); | 84 | GNUNET_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 | */ |
92 | int | 93 | int |
93 | GNUNET_FRIENDS_write_stop(struct GNUNET_FRIENDS_Writer *w); | 94 | GNUNET_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 | */ |
103 | int | 104 | int |
104 | GNUNET_FRIENDS_write(struct GNUNET_FRIENDS_Writer *w, | 105 | GNUNET_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 */ |