open62541
1.4.15
Open source implementation of OPC UA
Loading...
Searching...
No Matches
doc
open62541
deps
nodesetLoader
src
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>
12
#include "
NodesetLoader/NodesetLoader.h
"
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
struct
NL_Node
;
19
struct
Nodeset
;
20
struct
SortContext
;
21
struct
NodesetLoader_Logger
;
22
typedef
struct
SortContext
SortContext
;
23
SortContext
*
Sort_init
(
void
);
24
void
Sort_cleanup
(
SortContext
* ctx);
25
bool
Sort_addNode
(
SortContext
* ctx,
struct
NL_Node
*node);
26
typedef
void (*
Sort_SortedNodeCallback
)(
struct
Nodeset
*nodeset,
struct
NL_Node
*node);
27
bool
Sort_start
(
SortContext
* ctx,
struct
Nodeset
*nodeset,
Sort_SortedNodeCallback
callback,
struct
NodesetLoader_Logger
* logger);
28
29
#ifdef __cplusplus
30
}
31
#endif
32
33
#endif
NodesetLoader.h
Sort_cleanup
void Sort_cleanup(SortContext *ctx)
Sort_addNode
bool Sort_addNode(SortContext *ctx, struct NL_Node *node)
Sort_init
SortContext * Sort_init(void)
Sort_start
bool Sort_start(SortContext *ctx, struct Nodeset *nodeset, Sort_SortedNodeCallback callback, struct NodesetLoader_Logger *logger)
SortContext
struct SortContext SortContext
Definition
Sort.h:22
Sort_SortedNodeCallback
void(* Sort_SortedNodeCallback)(struct Nodeset *nodeset, struct NL_Node *node)
Definition
Sort.h:26
NL_Node
Definition
NodesetLoader.h:94
NodesetLoader_Logger
Definition
Logger.h:25
Nodeset
Definition
Nodeset.h:29
Generated by
1.9.8