NetworkManager/clients/tui/nmt-utils.h
Antonio Cardace 328fb90f3e
all: reformat all with new clang-format style
Run:

    ./contrib/scripts/nm-code-format.sh -i
    ./contrib/scripts/nm-code-format.sh -i

Yes, it needs to run twice because the first run doesn't yet produce the
final result.

Signed-off-by: Antonio Cardace <acardace@redhat.com>
2020-09-28 16:07:51 +02:00

21 lines
548 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 */