mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
gthreadedresolver: Tighten up types and constness of parsing code
Not everything should be an int. This code is quite dated. We now try to use `guint8*` to represent arbitrary binary data, rather than `guchar*` (which makes it sound like some form of string). Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
@@ -46,8 +46,8 @@ GType g_threaded_resolver_get_type (void) G_GNUC_CONST;
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GList *g_resolver_records_from_res_query (const gchar *rrname,
|
||||
gint rrtype,
|
||||
guchar *answer,
|
||||
gint len,
|
||||
const guint8 *answer,
|
||||
gssize len,
|
||||
gint herr,
|
||||
GError **error);
|
||||
|
||||
|
Reference in New Issue
Block a user