libIEC61850  0.8.2
Open-source IEC 61850 MMS/GOOSE server and client library
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
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 
40  bool deletable;
41  char* name;
42  LinkedList listOfVariables;
43 };
44 
45 MmsNamedVariableListEntry
46 MmsNamedVariableListEntry_create(MmsAccessSpecifier accessSpecifier);
47 
48 void
49 MmsNamedVariableListEntry_destroy(MmsNamedVariableListEntry self);
50 
51 MmsDomain*
52 MmsNamedVariableListEntry_getDomain(MmsNamedVariableListEntry self);
53 
54 char*
55 MmsNamedVariableListEntry_getVariableName(MmsNamedVariableListEntry self);
56 
57 MmsNamedVariableList
58 MmsNamedVariableList_create(char* name, bool deletable);
59 
60 char*
61 MmsNamedVariableList_getName(MmsNamedVariableList self);
62 
63 bool
64 MmsNamedVariableList_isDeletable(MmsNamedVariableList self);
65 
66 void
67 MmsNamedVariableList_addVariable(MmsNamedVariableList self, MmsNamedVariableListEntry variable);
68 
69 LinkedList
70 MmsNamedVariableList_getVariableList(MmsNamedVariableList self);
71 
72 void
73 MmsNamedVariableList_destroy(MmsNamedVariableList self);
74 
77 #ifdef __cplusplus
78 }
79 #endif
80 
81 #endif /* MMS_NAMED_VARIABLE_LIST_H_ */