about summary refs log tree commit diff
path: root/src/core/nm-priv-helper-call.h
blob: 334daa77f33a208130278ddbcbd45f56e4438cc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: LGPL-2.1-or-later */

#ifndef __NM_PRIV_HELPER_CALL_H__
#define __NM_PRIV_HELPER_CALL_H__

#include "../libnm-base/nm-priv-helper-utils.h"

typedef void (*NMPrivHelperCallGetFDCallback)(int fd_take, GError *error, gpointer user_data);

void nm_priv_helper_call_get_fd(NMPrivHelperGetFDType         fd_type,
                                GCancellable                 *cancellable,
                                NMPrivHelperCallGetFDCallback callback,
                                gpointer                      user_data);

#endif /* __NM_PRIV_HELPER_CALL_H__ */