summaryrefslogtreecommitdiff
path: root/shared/nm-libnm-aux/nm-libnm-aux.h
blob: a0aff19f2882ca0fb688e5deaab336e489fb707d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// SPDX-License-Identifier: LGPL-2.1+

#ifndef __NM_LIBNM_AUX_H__
#define __NM_LIBNM_AUX_H__

NMClient *nmc_client_new_async_valist (GCancellable *cancellable,
                                       GAsyncReadyCallback callback,
                                       gpointer user_data,
                                       const char *first_property_name,
                                       va_list ap);

NMClient *nmc_client_new_async (GCancellable *cancellable,
                                GAsyncReadyCallback callback,
                                gpointer user_data,
                                const char *first_property_name,
                                ...);

gboolean nmc_client_new_waitsync (GCancellable *cancellable,
                                  NMClient **out_nmc,
                                  GError **error,
                                  const char *first_property_name,
                                  ...);

#endif /* __NM_LIBNM_AUX_H__ */