Find friend by port.
[cascardo/f2fchat.git] / friend.h
index 46f8ffe..76a22bd 100644 (file)
--- a/friend.h
+++ b/friend.h
@@ -34,7 +34,7 @@ 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);
 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);
+struct friend *friend_get_by_address(GInetAddress *address, uint16_t port);
 
 char *friend_get_name();
 
 
 char *friend_get_name();