Fix build for tarball
[cascardo/f2fchat.git] / friend.h
index 76a22bd..74af824 100644 (file)
--- a/friend.h
+++ b/friend.h
@@ -26,6 +26,9 @@
 int sock_init(void);
 
 struct friend;
+
+void friend_init(void);
+
 struct cache;
 int create_cache(struct cache **cache);
 int destroy_cache(struct cache *cache);
@@ -38,4 +41,7 @@ struct friend *friend_get_by_address(GInetAddress *address, uint16_t port);
 
 char *friend_get_name();
 
+void friend_timeout(struct friend *friend);
+void friend_got_message(struct friend *friend, char *buffer, size_t len);
+
 #endif