00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00029
00030 #ifndef _SML_DEVINF_INTERNALS_H_
00031 #define _SML_DEVINF_INTERNALS_H_
00032
00033 struct SmlDevInf {
00034 gint refCount;
00035 SmlDevInfVersion version;
00036
00037 SmlDevInfDevTyp devtyp;
00038 char *manufacturer;
00039 char *model;
00040 char *oem;
00041 char *softwareVersion;
00042 char *hardwareVersion;
00043 char *firmwareVersion;
00044 char *devid;
00045
00046 SmlBool supportsUTC;
00047 SmlBool supportsLargeObjs;
00048 SmlBool supportsNumberOfChanges;
00049
00050 GList *datastores;
00051
00052 GList *ctcaps;
00053 };
00054
00055 struct SmlDevInfDataStore {
00056 gint refCount;
00057
00058 SmlBool supportsHierarchicalSync;
00059
00060 char *sourceref;
00061 char *displayname;
00062 unsigned int maxGUIDSize;
00063
00064 char *rxPrefContentType;
00065 char *rxPrefVersion;
00066
00067 char *txPrefContentType;
00068 char *txPrefVersion;
00069
00070 SmlDevInfContentType *rxPref;
00071 SmlDevInfContentType *txPref;
00072
00073 GList *rx;
00074 GList *tx;
00075
00076 SmlBool sharedMem;
00077 unsigned int maxid;
00078 unsigned int maxmem;
00079
00080 unsigned int synccap;
00081 };
00082
00083 struct SmlDevInfPropParam {
00084 char *paramName;
00085 char *dataType;
00086 char *displayName;
00087 GList *valEnums;
00088 };
00089
00090 struct SmlDevInfProperty {
00091 char *propName;
00092 char *dataType;
00093 unsigned int maxOccur;
00094 unsigned int maxSize;
00095 unsigned int propSize;
00096 SmlBool noTruncate;
00097 char *displayName;
00098 GList *valEnums;
00099 GList *propParams;
00100 };
00101
00102 struct SmlDevInfCTCap {
00103 SmlDevInfContentType *ct;
00104 GList *properties;
00105 };
00106
00107 struct SmlDevInfContentType {
00108 char *cttype;
00109 char *verct;
00110 };
00111
00112 SmlDevInfSyncCap smlDevInfSyncCapConvert(unsigned int id, SmlError **error);
00113
00114 #endif //_SML_DEVINF_INTERNALS_H_
00115