78 #include "libical_vcal_export.h" 82 #if defined(__CPLUSPLUS__) || defined(__cplusplus) 87 #define VC7bitProp "7BIT" 88 #define VC8bitProp "8BIT" 89 #define VCAAlarmProp "AALARM" 90 #define VCAdditionalNamesProp "ADDN" 91 #define VCAdrProp "ADR" 92 #define VCAgentProp "AGENT" 93 #define VCAIFFProp "AIFF" 94 #define VCAOLProp "AOL" 95 #define VCAppleLinkProp "APPLELINK" 96 #define VCAttachProp "ATTACH" 97 #define VCAttendeeProp "ATTENDEE" 98 #define VCATTMailProp "ATTMAIL" 99 #define VCAudioContentProp "AUDIOCONTENT" 100 #define VCAVIProp "AVI" 101 #define VCBase64Prop "BASE64" 102 #define VCBBSProp "BBS" 103 #define VCBirthDateProp "BDAY" 104 #define VCBMPProp "BMP" 105 #define VCBodyProp "BODY" 106 #define VCBusinessRoleProp "ROLE" 107 #define VCCalProp "VCALENDAR" 108 #define VCCaptionProp "CAP" 109 #define VCCardProp "VCARD" 110 #define VCCarProp "CAR" 111 #define VCCategoriesProp "CATEGORIES" 112 #define VCCellularProp "CELL" 113 #define VCCGMProp "CGM" 114 #define VCCharSetProp "CS" 115 #define VCCIDProp "CID" 116 #define VCCISProp "CIS" 117 #define VCCityProp "L" 118 #define VCClassProp "CLASS" 119 #define VCCommentProp "NOTE" 120 #define VCCompletedProp "COMPLETED" 121 #define VCContentIDProp "CONTENT-ID" 122 #define VCCountryNameProp "C" 123 #define VCDAlarmProp "DALARM" 124 #define VCDataSizeProp "DATASIZE" 125 #define VCDayLightProp "DAYLIGHT" 126 #define VCDCreatedProp "DCREATED" 127 #define VCDeliveryLabelProp "LABEL" 128 #define VCDescriptionProp "DESCRIPTION" 129 #define VCDIBProp "DIB" 130 #define VCDisplayStringProp "DISPLAYSTRING" 131 #define VCDomesticProp "DOM" 132 #define VCDTendProp "DTEND" 133 #define VCDTstartProp "DTSTART" 134 #define VCDueProp "DUE" 135 #define VCEmailAddressProp "EMAIL" 136 #define VCEncodingProp "ENCODING" 137 #define VCEndProp "END" 138 #define VCEventProp "VEVENT" 139 #define VCEWorldProp "EWORLD" 140 #define VCExNumProp "EXNUM" 141 #define VCExpDateProp "EXDATE" 142 #define VCExpectProp "EXPECT" 143 #define VCExtAddressProp "EXT ADD" 144 #define VCFamilyNameProp "F" 145 #define VCFaxProp "FAX" 146 #define VCFullNameProp "FN" 147 #define VCGeoProp "GEO" 148 #define VCGeoLocationProp "GEO" 149 #define VCGIFProp "GIF" 150 #define VCGivenNameProp "G" 151 #define VCGroupingProp "Grouping" 152 #define VCHomeProp "HOME" 153 #define VCIBMMailProp "IBMMail" 154 #define VCInlineProp "INLINE" 155 #define VCInternationalProp "INTL" 156 #define VCInternetProp "INTERNET" 157 #define VCISDNProp "ISDN" 158 #define VCJPEGProp "JPEG" 159 #define VCLanguageProp "LANG" 160 #define VCLastModifiedProp "LAST-MODIFIED" 161 #define VCLastRevisedProp "REV" 162 #define VCLocationProp "LOCATION" 163 #define VCLogoProp "LOGO" 164 #define VCMailerProp "MAILER" 165 #define VCMAlarmProp "MALARM" 166 #define VCMCIMailProp "MCIMAIL" 167 #define VCMessageProp "MSG" 168 #define VCMETProp "MET" 169 #define VCModemProp "MODEM" 170 #define VCMPEG2Prop "MPEG2" 171 #define VCMPEGProp "MPEG" 172 #define VCMSNProp "MSN" 173 #define VCNamePrefixesProp "NPRE" 174 #define VCNameProp "N" 175 #define VCNameSuffixesProp "NSUF" 176 #define VCNoteProp "NOTE" 177 #define VCOrgNameProp "ORGNAME" 178 #define VCOrgProp "ORG" 179 #define VCOrgUnit2Prop "OUN2" 180 #define VCOrgUnit3Prop "OUN3" 181 #define VCOrgUnit4Prop "OUN4" 182 #define VCOrgUnitProp "OUN" 183 #define VCPagerProp "PAGER" 184 #define VCPAlarmProp "PALARM" 185 #define VCParcelProp "PARCEL" 186 #define VCPartProp "PART" 187 #define VCPCMProp "PCM" 188 #define VCPDFProp "PDF" 189 #define VCPGPProp "PGP" 190 #define VCPhotoProp "PHOTO" 191 #define VCPICTProp "PICT" 192 #define VCPMBProp "PMB" 193 #define VCPostalBoxProp "BOX" 194 #define VCPostalCodeProp "PC" 195 #define VCPostalProp "POSTAL" 196 #define VCPowerShareProp "POWERSHARE" 197 #define VCPreferredProp "PREF" 198 #define VCPriorityProp "PRIORITY" 199 #define VCProcedureNameProp "PROCEDURENAME" 200 #define VCProdIdProp "PRODID" 201 #define VCProdigyProp "PRODIGY" 202 #define VCPronunciationProp "SOUND" 203 #define VCPSProp "PS" 204 #define VCPublicKeyProp "KEY" 205 #define VCQPProp "QP" 206 #define VCQuickTimeProp "QTIME" 207 #define VCQuotedPrintableProp "QUOTED-PRINTABLE" 208 #define VCRDateProp "RDATE" 209 #define VCRegionProp "R" 210 #define VCRelatedToProp "RELATED-TO" 211 #define VCRepeatCountProp "REPEATCOUNT" 212 #define VCResourcesProp "RESOURCES" 213 #define VCRNumProp "RNUM" 214 #define VCRoleProp "ROLE" 215 #define VCRRuleProp "RRULE" 216 #define VCRSVPProp "RSVP" 217 #define VCRunTimeProp "RUNTIME" 218 #define VCSequenceProp "SEQUENCE" 219 #define VCSnoozeTimeProp "SNOOZETIME" 220 #define VCStartProp "START" 221 #define VCStatusProp "STATUS" 222 #define VCStreetAddressProp "STREET" 223 #define VCSubTypeProp "SUBTYPE" 224 #define VCSummaryProp "SUMMARY" 225 #define VCTelephoneProp "TEL" 226 #define VCTIFFProp "TIFF" 227 #define VCTimeZoneProp "TZ" 228 #define VCTitleProp "TITLE" 229 #define VCTLXProp "TLX" 230 #define VCTodoProp "VTODO" 231 #define VCTranspProp "TRANSP" 232 #define VCUniqueStringProp "UID" 233 #define VCURLProp "URL" 234 #define VCURLValueProp "URLVAL" 235 #define VCValueProp "VALUE" 236 #define VCVersionProp "VERSION" 237 #define VCVideoProp "VIDEO" 238 #define VCVoiceProp "VOICE" 239 #define VCWAVEProp "WAVE" 240 #define VCWMFProp "WMF" 241 #define VCWorkProp "WORK" 242 #define VCX400Prop "X400" 243 #define VCX509Prop "X509" 244 #define VCXRuleProp "XRULE" 248 #define XPilotIdProp "X-PILOTID" 249 #define XPilotStatusProp "X-PILOTSTAT" 259 LIBICAL_VCAL_EXPORT
VObject *newVObject(
const char *
id);
260 LIBICAL_VCAL_EXPORT
void deleteVObject(
VObject *p);
261 LIBICAL_VCAL_EXPORT
char *dupStr(
const char *s,
size_t size);
262 LIBICAL_VCAL_EXPORT
void deleteStr(
const char *p);
263 LIBICAL_VCAL_EXPORT
void unUseStr(
const char *s);
265 LIBICAL_VCAL_EXPORT
void setVObjectName(
VObject *o,
const char *
id);
266 LIBICAL_VCAL_EXPORT
void setVObjectStringZValue(
VObject *o,
const char *s);
267 LIBICAL_VCAL_EXPORT
void setVObjectStringZValue_(
VObject *o,
const char *s);
268 LIBICAL_VCAL_EXPORT
void setVObjectUStringZValue(
VObject *o,
const wchar_t *s);
269 LIBICAL_VCAL_EXPORT
void setVObjectUStringZValue_(
VObject *o,
const wchar_t *s);
270 LIBICAL_VCAL_EXPORT
void setVObjectIntegerValue(
VObject *o,
unsigned int i);
271 LIBICAL_VCAL_EXPORT
void setVObjectLongValue(
VObject *o,
unsigned long l);
272 LIBICAL_VCAL_EXPORT
void setVObjectAnyValue(
VObject *o,
void *t);
273 LIBICAL_VCAL_EXPORT
VObject *setValueWithSize(
VObject *prop,
void *val,
unsigned int size);
274 LIBICAL_VCAL_EXPORT
VObject *setValueWithSize_(
VObject *prop,
void *val,
unsigned int size);
276 LIBICAL_VCAL_EXPORT
const char *vObjectName(
VObject *o);
277 LIBICAL_VCAL_EXPORT
const char *vObjectStringZValue(
VObject *o);
278 LIBICAL_VCAL_EXPORT
const wchar_t *vObjectUStringZValue(
VObject *o);
279 LIBICAL_VCAL_EXPORT
unsigned int vObjectIntegerValue(
VObject *o);
280 LIBICAL_VCAL_EXPORT
unsigned long vObjectLongValue(
VObject *o);
281 LIBICAL_VCAL_EXPORT
void *vObjectAnyValue(
VObject *o);
283 LIBICAL_VCAL_EXPORT
void setVObjectVObjectValue(
VObject *o,
VObject *p);
287 LIBICAL_VCAL_EXPORT
VObject *addPropValue(
VObject *o,
const char *p,
const char *v);
288 LIBICAL_VCAL_EXPORT
VObject *addPropSizedValue_(
VObject *o,
const char *p,
const char *v,
290 LIBICAL_VCAL_EXPORT
VObject *addPropSizedValue(
VObject *o,
const char *p,
const char *v,
295 LIBICAL_VCAL_EXPORT
VObject *isAPropertyOf(
VObject *o,
const char *
id);
302 LIBICAL_VCAL_EXPORT
char *writeMemVObject(
char *s,
int *len,
VObject *o);
303 LIBICAL_VCAL_EXPORT
char *writeMemVObjects(
char *s,
int *len,
VObject *list);
305 LIBICAL_VCAL_EXPORT
const char *lookupStr(
const char *s);
306 LIBICAL_VCAL_EXPORT
void cleanStrTbl();
308 LIBICAL_VCAL_EXPORT
void cleanVObject(
VObject *o);
309 LIBICAL_VCAL_EXPORT
void cleanVObjects(
VObject *list);
311 LIBICAL_VCAL_EXPORT
const char *lookupProp(
const char *str);
312 LIBICAL_VCAL_EXPORT
const char *lookupProp_(
const char *str);
314 LIBICAL_VCAL_EXPORT
wchar_t *fakeUnicode(
const char *ps,
size_t *bytes);
315 LIBICAL_VCAL_EXPORT
int uStrLen(
const wchar_t *u);
316 LIBICAL_VCAL_EXPORT
char *fakeCString(
const wchar_t *u);
318 LIBICAL_VCAL_EXPORT
void printVObjectToFile(
char *fname,
VObject *o);
319 LIBICAL_VCAL_EXPORT
void printVObjectsToFile(
char *fname,
VObject *list);
320 LIBICAL_VCAL_EXPORT
void writeVObjectToFile(
char *fname,
VObject *o);
321 LIBICAL_VCAL_EXPORT
void writeVObjectsToFile(
char *fname,
VObject *list);
323 LIBICAL_VCAL_EXPORT
int vObjectValueType(
VObject *o);
326 #define VCVT_NOVALUE 0 328 #define VCVT_STRINGZ 1 330 #define VCVT_USTRINGZ 2 338 #define VCVT_VOBJECT 6 341 extern const char **fieldedProp;
354 extern void printVObject(FILE *fp,
VObject *o);
355 extern void writeVObject(FILE *fp,
VObject *o);
357 #if defined(__CPLUSPLUS__) || defined(__cplusplus)
Definition: vobject.h:253