mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gthreadedresolver: Expose g_resolver_record_type_to_rrtype()
So that it can be used in the tests. It’s not part of the public, documented, supported API. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
8b73d7bbf9
commit
2a7b4db243
@ -633,7 +633,7 @@ parse_res_txt (const guint8 *answer,
|
||||
return record;
|
||||
}
|
||||
|
||||
static gint
|
||||
gint
|
||||
g_resolver_record_type_to_rrtype (GResolverRecordType type)
|
||||
{
|
||||
switch (type)
|
||||
|
@ -50,6 +50,8 @@ GList *g_resolver_records_from_res_query (const gchar *rrname,
|
||||
gssize len,
|
||||
gint herr,
|
||||
GError **error);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gint g_resolver_record_type_to_rrtype (GResolverRecordType type);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user