Merge branch 'master' of mz-automation.de:libiec61850

pull/6/head
Michael Zillgith 11 years ago
commit e7910ac830

@ -191,6 +191,12 @@ FunctionalConstraint_fromString(const char* fcString)
return NONE;
}
void
Timestamp_clearFlags(Timestamp* self)
{
self->val[7] = 0;
}
bool
Timestamp_isLeapSecondKnown(Timestamp* self)
{

@ -313,6 +313,9 @@ typedef union {
uint8_t val[8];
} Timestamp;
void
Timestamp_clearFlags(Timestamp* self);
uint32_t
Timestamp_getTimeInSeconds(Timestamp* self);

@ -1076,6 +1076,9 @@ IedServer_setWriteAccessPolicy(IedServer self, FunctionalConstraint fc, AccessPo
void
IedServer_handleWriteAccess(IedServer self, DataAttribute* dataAttribute, WriteAccessHandler handler)
{
if (dataAttribute == NULL)
*((int*) NULL) = 1;
MmsMapping_installWriteAccessHandler(self->mmsMapping, dataAttribute, handler);
}

Loading…
Cancel
Save