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>
This commit is contained in:
23
src/calls-service-providers.h
Normal file
23
src/calls-service-providers.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* 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
|
||||
Reference in New Issue
Block a user