mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-08 18:50:18 +01:00
Our coding style recommends C style comments (/* */) instead of C++ (//). Also, systemd (which we partly fork) uses C style comments for the SPDX-License-Identifier. Unify the style. $ sed -i '1 s#// SPDX-License-Identifier: \([^ ]\+\)$#/* SPDX-License-Identifier: \1 */#' -- $(git ls-files -- '*.[hc]' '*.[hc]pp')
21 lines
551 B
C
21 lines
551 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2013 Red Hat, Inc.
|
|
*/
|
|
|
|
#ifndef NMT_UTILS_H
|
|
#define NMT_UTILS_H
|
|
|
|
typedef struct {
|
|
gpointer private[3];
|
|
} NmtSyncOp;
|
|
|
|
void nmt_sync_op_init(NmtSyncOp *op);
|
|
|
|
gboolean nmt_sync_op_wait_boolean(NmtSyncOp *op, GError **error);
|
|
void nmt_sync_op_complete_boolean(NmtSyncOp *op, gboolean result, GError *error);
|
|
|
|
gpointer nmt_sync_op_wait_pointer(NmtSyncOp *op, GError **error);
|
|
void nmt_sync_op_complete_pointer(NmtSyncOp *op, gpointer result, GError *error);
|
|
|
|
#endif /* NMT_UTILS_H */
|