util: Add simple API to query protocol

This commit is contained in:
Evangelos Ribeiro Tzaras
2021-04-26 12:10:43 +02:00
parent 1def4c3585
commit 1e84812938
2 changed files with 52 additions and 0 deletions

View File

@@ -138,6 +138,9 @@ gboolean calls_find_in_store (GListModel *list,
gpointer item,
guint *position);
const char* get_protocol_from_address (const char *target);
const char* get_protocol_from_address_with_fallback (const char *target);
G_END_DECLS
#endif /* CALLS__UTIL_H__ */