[feat] start implementing device lookup

This commit is contained in:
Julian Sparber
2017-10-10 16:09:43 +02:00
parent a2d4cce3ad
commit 56bfde0a45
3 changed files with 20 additions and 3 deletions

View File

@@ -13,11 +13,12 @@ typedef struct Peers {
} Peer;
gchar* teleport_peer_get_name (TeleportPeer *self, gint index, GError **error);
gchar* teleport_peer_get_ip (TeleportPeer *self, gint index, GError **error);
gchar * teleport_peer_get_name (TeleportPeer *self, gint index, GError **error);
gchar * teleport_peer_get_ip (TeleportPeer *self, gint index, GError **error);
gint teleport_peer_get_port (TeleportPeer *self, gint index, GError **error);
void teleport_peer_add_peer (TeleportPeer *self, gchar * name, gchar * ip, gint port);
void teleport_peer_remove_peer (TeleportPeer *, Peer *);
void teleport_peer_remove_peer_by_name (TeleportPeer *, gchar *);
gchar * teleport_peer_get_name_by_addr (TeleportPeer *, gchar *);
#endif /* __TELEPORT_PEER_H */