open62541 1.4.15
Open source implementation of OPC UA
Loading...
Searching...
No Matches
NamespaceList.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 2020 (c) Matthias Konnerth
6 */
7
8#ifndef NAMESPACELIST_H
9#define NAMESPACELIST_H
11
12struct NamespaceList;
14
15struct Namespace;
16typedef struct Namespace Namespace;
17
19{
20 short unsigned idx;
21 const char *name;
22};
23
26 const char *uri);
30 int relativeIndex);
31
32#endif
Namespace * NamespaceList_newNamespace(NamespaceList *list, void *userContext, const char *uri)
struct NamespaceList NamespaceList
void NamespaceList_setUri(NamespaceList *list, Namespace *ns)
const Namespace * NamespaceList_getNamespace(const NamespaceList *list, int relativeIndex)
void NamespaceList_delete(NamespaceList *list)
NamespaceList * NamespaceList_new(NL_addNamespaceCallback cb)
unsigned short(* NL_addNamespaceCallback)(void *userContext, const char *)
const char * name
short unsigned idx