open62541 1.4.15
Open source implementation of OPC UA
Loading...
Searching...
No Matches
Sort.h
Go to the documentation of this file.
1/** This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
4 *
5 * Copyright 2019 (c) Matthias Konnerth
6 */
7
8#ifndef SORT_H
9#define SORT_H
10
11#include <stdbool.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18struct NL_Node;
19struct Nodeset;
20struct SortContext;
22typedef struct SortContext SortContext;
25bool Sort_addNode(SortContext* ctx, struct NL_Node *node);
26typedef void (*Sort_SortedNodeCallback)(struct Nodeset *nodeset, struct NL_Node *node);
27bool Sort_start(SortContext* ctx, struct Nodeset *nodeset, Sort_SortedNodeCallback callback, struct NodesetLoader_Logger* logger);
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif
void Sort_cleanup(SortContext *ctx)
bool Sort_addNode(SortContext *ctx, struct NL_Node *node)
SortContext * Sort_init(void)
bool Sort_start(SortContext *ctx, struct Nodeset *nodeset, Sort_SortedNodeCallback callback, struct NodesetLoader_Logger *logger)
struct SortContext SortContext
Definition Sort.h:22
void(* Sort_SortedNodeCallback)(struct Nodeset *nodeset, struct NL_Node *node)
Definition Sort.h:26