Compare response address with friend address.
[cascardo/f2fchat.git] / friend.h
index b120fa1..c92814d 100644 (file)
--- a/friend.h
+++ b/friend.h
@@ -21,6 +21,7 @@
 
 #include <sys/types.h>
 #include <stdint.h>
+#include <gio/gio.h>
 
 int sock_init(void);
 
@@ -33,5 +34,6 @@ int load_cache(struct cache *cache, char *fname);
 int store_cache(struct cache *cache, char *fname);
 
 int friend_send_message(struct friend *friend, char *buffer, size_t len);
+struct friend *friend_get_by_address(GInetAddress *address);
 
 #endif