mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 15:58:03 +02:00
cloud_setup: unexport nm_http_client_get()
It's not used anywhere. (cherry picked from commitce225b2c06) (cherry picked from commit23b9514080) (cherry picked from commit36d417af60) (cherry picked from commitd83537bff5)
This commit is contained in:
parent
1cf4fd0235
commit
f584b9c97b
2 changed files with 2 additions and 17 deletions
|
|
@ -256,7 +256,7 @@ _get_cancelled_cb(GObject *object, gpointer user_data)
|
||||||
_ehandle_complete(edata, error);
|
_ehandle_complete(edata, error);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
nm_http_client_get(NMHttpClient *self,
|
nm_http_client_get(NMHttpClient *self,
|
||||||
const char *url,
|
const char *url,
|
||||||
int timeout_msec,
|
int timeout_msec,
|
||||||
|
|
@ -366,7 +366,7 @@ nm_http_client_get(NMHttpClient *self,
|
||||||
*
|
*
|
||||||
* Returns: %TRUE on success or %FALSE with an error code.
|
* Returns: %TRUE on success or %FALSE with an error code.
|
||||||
*/
|
*/
|
||||||
gboolean
|
static gboolean
|
||||||
nm_http_client_get_finish(NMHttpClient *self,
|
nm_http_client_get_finish(NMHttpClient *self,
|
||||||
GAsyncResult *result,
|
GAsyncResult *result,
|
||||||
long *out_response_code,
|
long *out_response_code,
|
||||||
|
|
|
||||||
|
|
@ -27,21 +27,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,
|
typedef gboolean (*NMHttpClientPollGetCheckFcn)(long response_code,
|
||||||
GBytes *response_data,
|
GBytes *response_data,
|
||||||
gpointer check_user_data,
|
gpointer check_user_data,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue