/* * mms_goose.h * * Copyright 2013-2018 Michael Zillgith * * This file is part of libIEC61850. * * libIEC61850 is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * libIEC61850 is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with libIEC61850. If not, see . * * See COPYING file for the complete license text. */ #ifndef MMS_GOOSE_H_ #define MMS_GOOSE_H_ typedef struct sMmsGooseControlBlock* MmsGooseControlBlock; LIB61850_INTERNAL MmsGooseControlBlock MmsGooseControlBlock_create(void); LIB61850_INTERNAL void MmsGooseControlBlock_destroy(MmsGooseControlBlock self); LIB61850_INTERNAL MmsDomain* MmsGooseControlBlock_getDomain(MmsGooseControlBlock self); LIB61850_INTERNAL char* MmsGooseControlBlock_getLogicalNodeName(MmsGooseControlBlock self); LIB61850_INTERNAL char* MmsGooseControlBlock_getName(MmsGooseControlBlock self); LIB61850_INTERNAL MmsValue* MmsGooseControlBlock_getGCBValue(MmsGooseControlBlock self, char* elementName); LIB61850_INTERNAL MmsValue* MmsGooseControlBlock_getMmsValues(MmsGooseControlBlock self); LIB61850_INTERNAL MmsVariableSpecification* MmsGooseControlBlock_getVariableSpecification(MmsGooseControlBlock self); LIB61850_INTERNAL DataSet* MmsGooseControlBlock_getDataSet(MmsGooseControlBlock self); LIB61850_INTERNAL bool MmsGooseControlBlock_isEnabled(MmsGooseControlBlock self); LIB61850_INTERNAL void MmsGooseControlBlock_checkAndPublish(MmsGooseControlBlock self, uint64_t currentTime); LIB61850_INTERNAL void MmsGooseControlBlock_observedObjectChanged(MmsGooseControlBlock self); LIB61850_INTERNAL void MmsGooseControlBlock_enable(MmsGooseControlBlock self); LIB61850_INTERNAL void MmsGooseControlBlock_disable(MmsGooseControlBlock self); LIB61850_INTERNAL MmsVariableSpecification* GOOSE_createGOOSEControlBlocks(MmsMapping* self, MmsDomain* domain, LogicalNode* logicalNode, int gseCount); #endif /* MMS_GOOSE_H_ */