X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.fmil.core%2Fnative%2FFMILibrary%2Fsrc%2FXML%2Fsrc%2FFMI1%2Ffmi1_xml_vendor_annotations_impl.h;fp=org.simantics.fmil.core%2Fnative%2FFMILibrary%2Fsrc%2FXML%2Fsrc%2FFMI1%2Ffmi1_xml_vendor_annotations_impl.h;h=b7dcf4e0214a4e69a6d32f21929173cb1f62cd69;hb=4bed8078f3f6d15b8539d7357b8815f8bfeec2c4;hp=0000000000000000000000000000000000000000;hpb=87cc423aefd98832c6c8d0979afc21551f8ceca3;p=simantics%2Ffmil.git diff --git a/org.simantics.fmil.core/native/FMILibrary/src/XML/src/FMI1/fmi1_xml_vendor_annotations_impl.h b/org.simantics.fmil.core/native/FMILibrary/src/XML/src/FMI1/fmi1_xml_vendor_annotations_impl.h new file mode 100644 index 0000000..b7dcf4e --- /dev/null +++ b/org.simantics.fmil.core/native/FMILibrary/src/XML/src/FMI1/fmi1_xml_vendor_annotations_impl.h @@ -0,0 +1,47 @@ +/* + Copyright (C) 2012 Modelon AB + + This program is free software: you can redistribute it and/or modify + it under the terms of the BSD style license. + + This program 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 + FMILIB_License.txt file for more details. + + You should have received a copy of the FMILIB_License.txt file + along with this program. If not, contact Modelon AB . +*/ + +#ifndef FMI1_XML_VENDORANNOTATIONS_H +#define FMI1_XML_VENDORANNOTATIONS_H + +#include + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +struct fmi1_xml_annotation_t { + const char* name; + char value[1]; +}; + +struct fmi1_xml_vendor_t { + jm_vector(jm_named_ptr) annotations; + char name[1]; +}; + +void fmi1_xml_vendor_free(fmi1_xml_vendor_t* v); + +struct fmi1_xml_vendor_list_t { + jm_vector(jm_voidp) vendors; +}; + +#ifdef __cplusplus +} +#endif + +#endif /* FMI1_XML_VENDORANNOTATIONS_H */