cloud_setup: unexport nm_http_client_get()

It's not used anywhere.

Conflicts: code formatting only

(cherry picked from commit ce225b2c06)
(cherry picked from commit 23b9514080)
(cherry picked from commit 36d417af60)
(cherry picked from commit d83537bff5)
(cherry picked from commit f584b9c97b)
(cherry picked from commit f59f629431)
(cherry picked from commit 1885ff2c65)
(cherry picked from commit cab0b16d3c)
(cherry picked from commit 3a55788885)
(cherry picked from commit d1832ae789)
(cherry picked from commit 90be174b58)
This commit is contained in:
Lubomir Rintel 2023-02-27 00:09:13 +01:00 committed by Íñigo Huguet
parent e09552daff
commit 1e4c7280cc
2 changed files with 2 additions and 17 deletions

View file

@ -259,7 +259,7 @@ _get_cancelled_cb (GObject *object, gpointer user_data)
_ehandle_complete (edata, error);
}
void
static void
nm_http_client_get (NMHttpClient *self,
const char *url,
int timeout_msec,
@ -352,7 +352,7 @@ nm_http_client_get (NMHttpClient *self,
}
}
gboolean
static gboolean
nm_http_client_get_finish (NMHttpClient *self,
GAsyncResult *result,
long *out_response_code,

View file

@ -25,21 +25,6 @@ GMainContext *nm_http_client_get_main_context (NMHttpClient *self);
/*****************************************************************************/
void nm_http_client_get (NMHttpClient *self,
const char *uri,
int timeout_msec,
gssize max_data,
const char *const *http_headers,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean nm_http_client_get_finish (NMHttpClient *self,
GAsyncResult *result,
long *out_response_code,
GBytes **out_response_data,
GError **error);
typedef gboolean (*NMHttpClientPollGetCheckFcn) (long response_code,
GBytes *response_data,
gpointer check_user_data,