about summary refs log tree commit diff
path: root/src/core/nm-priv-helper-call.h
blob: 1915c5b3c0f92b83e3df2277a5dd6f504576c5f1 (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__ */