libIEC61850
0.8.4
Open-source IEC 61850 MMS/GOOSE server and client library
Main Page
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
mms
inc
mms_named_variable_list.h
Go to the documentation of this file.
1
/*
2
* mms_named_variable_list.h
3
*
4
* Copyright 2013 Michael Zillgith
5
*
6
* This file is part of libIEC61850.
7
*
8
* libIEC61850 is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* libIEC61850 is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with libIEC61850. If not, see <http://www.gnu.org/licenses/>.
20
*
21
* See COPYING file for the complete license text.
22
*/
23
24
#ifndef MMS_NAMED_VARIABLE_LIST_H_
25
#define MMS_NAMED_VARIABLE_LIST_H_
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
35
#include "libiec61850_common_api.h"
36
#include "
linked_list.h
"
37
#include "
mms_common.h
"
38
39
struct
sMmsNamedVariableList
{
40
bool
deletable
;
41
MmsDomain*
domain
;
42
char
*
name
;
43
LinkedList
listOfVariables
;
44
};
45
46
MmsNamedVariableListEntry
47
MmsNamedVariableListEntry_create
(
MmsAccessSpecifier
accessSpecifier);
48
49
void
50
MmsNamedVariableListEntry_destroy
(
MmsNamedVariableListEntry
self
);
51
52
MmsDomain*
53
MmsNamedVariableListEntry_getDomain
(
MmsNamedVariableListEntry
self
);
54
55
char
*
56
MmsNamedVariableListEntry_getVariableName
(
MmsNamedVariableListEntry
self
);
57
58
MmsNamedVariableList
59
MmsNamedVariableList_create
(MmsDomain* domain,
char
* name,
bool
deletable);
60
61
char
*
62
MmsNamedVariableList_getName
(MmsNamedVariableList
self
);
63
64
MmsDomain*
65
MmsNamedVariableList_getDomain
(MmsNamedVariableList
self
);
66
67
bool
68
MmsNamedVariableList_isDeletable
(MmsNamedVariableList
self
);
69
70
void
71
MmsNamedVariableList_addVariable
(MmsNamedVariableList
self
,
MmsNamedVariableListEntry
variable);
72
73
LinkedList
74
MmsNamedVariableList_getVariableList
(MmsNamedVariableList
self
);
75
76
void
77
MmsNamedVariableList_destroy
(MmsNamedVariableList
self
);
78
81
#ifdef __cplusplus
82
}
83
#endif
84
85
#endif
/* MMS_NAMED_VARIABLE_LIST_H_ */
Generated on Mon Feb 9 2015 11:48:53 for libIEC61850 by
1.8.4