Files
calls/src/calls-service-providers.h
Guido Günther 07d751f958 service-providers: Add parsing for service provider info
We currently only need the emergency number information

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/790>
2025-10-16 13:45:49 +00:00

24 lines
889 B
C

/*
* Copyright (C) 2025 The Phosh.mobi e.V.
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#pragma once
#include <gio/gio.h>
G_BEGIN_DECLS
void calls_service_providers_get_emergency_info (const char *serviceproviders,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GHashTable *calls_service_providers_get_emergency_info_finish (GAsyncResult *res,
GError **error);
GHashTable *calls_service_providers_get_emergency_info_sync (const char *serviceproviders,
GError **error) G_GNUC_WARN_UNUSED_RESULT;
G_END_DECLS