123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- #include <opc/config.h>
- #include <opc/container.h>
- #ifndef OPC_PROPERTIES_H
- #define OPC_PROPERTIES_H
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- typedef struct OPC_DC_SIMPLE_TYPE {
- xmlChar *str;
- xmlChar *lang;
- } opcDCSimpleType_t;
-
- typedef struct OPC_PROPERTIES_STRUCT {
- xmlChar *category;
- xmlChar *contentStatus;
- xmlChar *created;
- opcDCSimpleType_t creator;
- opcDCSimpleType_t description;
- opcDCSimpleType_t identifier;
- opcDCSimpleType_t *keyword_array;
- opc_uint32_t keyword_items;
- opcDCSimpleType_t language;
- xmlChar *lastModifiedBy;
- xmlChar *lastPrinted;
- xmlChar *modified;
- xmlChar *revision;
- opcDCSimpleType_t subject;
- opcDCSimpleType_t title;
- xmlChar *version;
- } opcProperties_t;
-
- opc_error_t opcCorePropertiesInit(opcProperties_t *cp);
-
- opc_error_t opcCorePropertiesCleanup(opcProperties_t *cp);
-
- opc_error_t opcCorePropertiesRead(opcProperties_t *cp, opcContainer *c);
-
- opc_error_t opcCorePropertiesWrite(opcProperties_t *cp, opcContainer *c);
-
- opc_error_t opcCorePropertiesSetString(xmlChar **prop, const xmlChar *str);
-
- opc_error_t opcCorePropertiesSetStringLang(opcDCSimpleType_t *prop, const xmlChar *str, const xmlChar *lang);
- #ifdef __cplusplus
- }
- #endif
-
- #endif
|