diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-01-07 09:19:52 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-01-07 09:19:52 +0000 |
commit | 1cec56837547b2475319eac671200eea0bb9ec44 (patch) | |
tree | dc37adff72d80d8269fe0ccc2d5a9855d6e990a9 | |
parent | 6f2c86b4561c67812e13626176f3975b8355d5f5 (diff) | |
download | gnunet-gtk-1cec56837547b2475319eac671200eea0bb9ec44.tar.gz gnunet-gtk-1cec56837547b2475319eac671200eea0bb9ec44.zip |
changes in peerinfo
-rw-r--r-- | src/peerinfo.c | 5 | ||||
-rw-r--r-- | src/peerinfo.h | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/peerinfo.c b/src/peerinfo.c index 80595818..147144cd 100644 --- a/src/peerinfo.c +++ b/src/peerinfo.c | |||
@@ -31,12 +31,13 @@ | |||
31 | * @param cls closure | 31 | * @param cls closure |
32 | * @param peer id of the peer, NULL for last call | 32 | * @param peer id of the peer, NULL for last call |
33 | * @param hello hello message for the peer (can be NULL) | 33 | * @param hello hello message for the peer (can be NULL) |
34 | * @param trust amount of trust we have in the peer | 34 | * @param err_msg NULL if successful, otherwise contains error message |
35 | */ | 35 | */ |
36 | void | 36 | void |
37 | GNUNET_GTK_peerinfo_processor (void *cls, | 37 | GNUNET_GTK_peerinfo_processor (void *cls, |
38 | const struct GNUNET_PeerIdentity * peer, | 38 | const struct GNUNET_PeerIdentity * peer, |
39 | const struct GNUNET_HELLO_Message * hello) | 39 | const struct GNUNET_HELLO_Message * hello, |
40 | const char * err_msg) | ||
40 | { | 41 | { |
41 | GtkListStore *ls; | 42 | GtkListStore *ls; |
42 | GtkTreeModel *tm; | 43 | GtkTreeModel *tm; |
diff --git a/src/peerinfo.h b/src/peerinfo.h index 0bf97387..b620822f 100644 --- a/src/peerinfo.h +++ b/src/peerinfo.h | |||
@@ -35,11 +35,13 @@ | |||
35 | * @param cls closure | 35 | * @param cls closure |
36 | * @param peer id of the peer, NULL for last call | 36 | * @param peer id of the peer, NULL for last call |
37 | * @param hello hello message for the peer (can be NULL) | 37 | * @param hello hello message for the peer (can be NULL) |
38 | * @param err_msg NULL if successful, otherwise contains error message | ||
38 | */ | 39 | */ |
39 | void | 40 | void |
40 | GNUNET_GTK_peerinfo_processor (void *cls, | 41 | GNUNET_GTK_peerinfo_processor (void *cls, |
41 | const struct GNUNET_PeerIdentity * peer, | 42 | const struct GNUNET_PeerIdentity * peer, |
42 | const struct GNUNET_HELLO_Message * hello); | 43 | const struct GNUNET_HELLO_Message * hello, |
44 | const char * err_msg); | ||
43 | 45 | ||
44 | /* end of peerinfo.h */ | 46 | /* end of peerinfo.h */ |
45 | #endif | 47 | #endif |