libkcal
vobject.h File Reference
#include "port.h"
#include <stdlib.h>
#include <stdio.h>
Include dependency graph for vobject.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | StrItem |
union | ValueItem |
struct | VObject |
struct | VObjectIterator |
Defines | |
#define | __VOBJECT_H__ 1 |
#define | ICMethodProp "X-METHOD" |
#define | ICOrganizerProp "X-ORGANIZER" |
#define | ICRequestStatusProp "X-REQUEST-STATUS" |
#define | KPilotIdProp "X-PILOTID" |
#define | KPilotStatusProp "X-PILOTSTAT" |
#define | VC7bitProp "7BIT" |
#define | VC8bitProp "8BIT" |
#define | VCAAlarmProp "AALARM" |
#define | VCAdditionalNamesProp "ADDN" |
#define | VCAdrProp "ADR" |
#define | VCAgentProp "AGENT" |
#define | VCAIFFProp "AIFF" |
#define | VCAOLProp "AOL" |
#define | VCAppleLinkProp "APPLELINK" |
#define | VCAttachProp "ATTACH" |
#define | VCAttendeeProp "ATTENDEE" |
#define | VCATTMailProp "ATTMAIL" |
#define | VCAudioContentProp "AUDIOCONTENT" |
#define | VCAVIProp "AVI" |
#define | VCBase64Prop "BASE64" |
#define | VCBBSProp "BBS" |
#define | VCBirthDateProp "BDAY" |
#define | VCBMPProp "BMP" |
#define | VCBodyProp "BODY" |
#define | VCBusinessRoleProp "ROLE" |
#define | VCCalProp "VCALENDAR" |
#define | VCCaptionProp "CAP" |
#define | VCCardProp "VCARD" |
#define | VCCarProp "CAR" |
#define | VCCategoriesProp "CATEGORIES" |
#define | VCCellularProp "CELL" |
#define | VCCGMProp "CGM" |
#define | VCCharSetProp "CS" |
#define | VCCIDProp "CID" |
#define | VCCISProp "CIS" |
#define | VCCityProp "L" |
#define | VCClassProp "CLASS" |
#define | VCCommentProp "NOTE" |
#define | VCCompletedProp "COMPLETED" |
#define | VCContentIDProp "CONTENT-ID" |
#define | VCCountryNameProp "C" |
#define | VCDAlarmProp "DALARM" |
#define | VCDataSizeProp "DATASIZE" |
#define | VCDayLightProp "DAYLIGHT" |
#define | VCDCreatedProp "DCREATED" |
#define | VCDeliveryLabelProp "LABEL" |
#define | VCDescriptionProp "DESCRIPTION" |
#define | VCDIBProp "DIB" |
#define | VCDisplayStringProp "DISPLAYSTRING" |
#define | VCDomesticProp "DOM" |
#define | VCDTendProp "DTEND" |
#define | VCDTstartProp "DTSTART" |
#define | VCDueProp "DUE" |
#define | VCEmailAddressProp "EMAIL" |
#define | VCEncodingProp "ENCODING" |
#define | VCEndProp "END" |
#define | VCEventProp "VEVENT" |
#define | VCEWorldProp "EWORLD" |
#define | VCExDateProp "EXDATE" |
#define | VCExNumProp "EXNUM" |
#define | VCExpectProp "EXPECT" |
#define | VCExtAddressProp "EXT ADD" |
#define | VCFamilyNameProp "F" |
#define | VCFaxProp "FAX" |
#define | VCFullNameProp "FN" |
#define | VCGeoLocationProp "GEO" |
#define | VCGeoProp "GEO" |
#define | VCGIFProp "GIF" |
#define | VCGivenNameProp "G" |
#define | VCGroupingProp "Grouping" |
#define | VCHomeProp "HOME" |
#define | VCIBMMailProp "IBMMail" |
#define | VCInlineProp "INLINE" |
#define | VCInternationalProp "INTL" |
#define | VCInternetProp "INTERNET" |
#define | VCISDNProp "ISDN" |
#define | VCJPEGProp "JPEG" |
#define | VCLanguageProp "LANG" |
#define | VCLastModifiedProp "LAST-MODIFIED" |
#define | VCLastRevisedProp "REV" |
#define | VCLocationProp "LOCATION" |
#define | VCLogoProp "LOGO" |
#define | VCMailerProp "MAILER" |
#define | VCMAlarmProp "MALARM" |
#define | VCMCIMailProp "MCIMAIL" |
#define | VCMessageProp "MSG" |
#define | VCMETProp "MET" |
#define | VCModemProp "MODEM" |
#define | VCMPEG2Prop "MPEG2" |
#define | VCMPEGProp "MPEG" |
#define | VCMSNProp "MSN" |
#define | VCNamePrefixesProp "NPRE" |
#define | VCNameProp "N" |
#define | VCNameSuffixesProp "NSUF" |
#define | VCNoteProp "NOTE" |
#define | VCOrgNameProp "ORGNAME" |
#define | VCOrgProp "ORG" |
#define | VCOrgUnit2Prop "OUN2" |
#define | VCOrgUnit3Prop "OUN3" |
#define | VCOrgUnit4Prop "OUN4" |
#define | VCOrgUnitProp "OUN" |
#define | VCPagerProp "PAGER" |
#define | VCPAlarmProp "PALARM" |
#define | VCParcelProp "PARCEL" |
#define | VCPartProp "PART" |
#define | VCPCMProp "PCM" |
#define | VCPDFProp "PDF" |
#define | VCPGPProp "PGP" |
#define | VCPhotoProp "PHOTO" |
#define | VCPICTProp "PICT" |
#define | VCPMBProp "PMB" |
#define | VCPostalBoxProp "BOX" |
#define | VCPostalCodeProp "PC" |
#define | VCPostalProp "POSTAL" |
#define | VCPowerShareProp "POWERSHARE" |
#define | VCPreferredProp "PREF" |
#define | VCPriorityProp "PRIORITY" |
#define | VCProcedureNameProp "PROCEDURENAME" |
#define | VCProdIdProp "PRODID" |
#define | VCProdigyProp "PRODIGY" |
#define | VCPronunciationProp "SOUND" |
#define | VCPSProp "PS" |
#define | VCPublicKeyProp "KEY" |
#define | VCQPProp "QP" |
#define | VCQuickTimeProp "QTIME" |
#define | VCQuotedPrintableProp "QUOTED-PRINTABLE" |
#define | VCRDateProp "RDATE" |
#define | VCRegionProp "R" |
#define | VCRelatedToProp "RELATED-TO" |
#define | VCRepeatCountProp "REPEATCOUNT" |
#define | VCResourcesProp "RESOURCES" |
#define | VCRNumProp "RNUM" |
#define | VCRoleProp "ROLE" |
#define | VCRRuleProp "RRULE" |
#define | VCRSVPProp "RSVP" |
#define | VCRunTimeProp "RUNTIME" |
#define | VCSequenceProp "SEQUENCE" |
#define | VCSnoozeTimeProp "SNOOZETIME" |
#define | VCStartProp "START" |
#define | VCStatusProp "STATUS" |
#define | VCStreetAddressProp "STREET" |
#define | VCSubTypeProp "SUBTYPE" |
#define | VCSummaryProp "SUMMARY" |
#define | VCTelephoneProp "TEL" |
#define | VCTIFFProp "TIFF" |
#define | VCTimeZoneProp "TZ" |
#define | VCTitleProp "TITLE" |
#define | VCTLXProp "TLX" |
#define | VCTodoProp "VTODO" |
#define | VCTranspProp "TRANSP" |
#define | VCUniqueStringProp "UID" |
#define | VCURLProp "URL" |
#define | VCURLValueProp "URLVAL" |
#define | VCValueProp "VALUE" |
#define | VCVersionProp "VERSION" |
#define | VCVideoProp "VIDEO" |
#define | VCVoiceProp "VOICE" |
#define | VCVT_NOVALUE 0 |
#define | VCVT_RAW 5 |
#define | VCVT_STRINGZ 1 |
#define | VCVT_UINT 3 |
#define | VCVT_ULONG 4 |
#define | VCVT_USTRINGZ 2 |
#define | VCVT_VOBJECT 6 |
#define | VCWAVEProp "WAVE" |
#define | VCWMFProp "WMF" |
#define | VCWorkProp "WORK" |
#define | VCX400Prop "X400" |
#define | VCX509Prop "X509" |
#define | VCXRuleProp "XRULE" |
Typedefs | |
typedef struct StrItem | StrItem |
typedef struct VObject | VObject |
Functions | |
VObject * | addGroup (VObject *o, const char *g) |
void | addList (VObject **o, VObject *p) |
VObject * | addProp (VObject *o, const char *id) |
VObject * | addProp_ (VObject *o, const char *id) |
VObject * | addPropSizedValue (VObject *o, const char *p, const char *v, unsigned int size) |
VObject * | addPropSizedValue_ (VObject *o, const char *p, const char *v, unsigned int size) |
VObject * | addPropValue (VObject *o, const char *p, const char *v) |
VObject * | addVObjectProp (VObject *o, VObject *p) |
void | cleanStrTbl () |
void | cleanVObject (VObject *o) |
void | cleanVObjects (VObject *list) |
void | deleteStr (const char *p) |
void | deleteVObject (VObject *p) |
char * | dupStr (const char *s, unsigned int size) |
char * | fakeCString (const wchar_t *u) |
wchar_t * | fakeUnicode (const char *ps, int *bytes) |
void | initPropIterator (VObjectIterator *i, VObject *o) |
VObject * | isAPropertyOf (VObject *o, const char *id) |
const char * | lookupProp (const char *str) |
const char * | lookupProp_ (const char *str) |
const char * | lookupStr (const char *s) |
int | moreIteration (VObjectIterator *i) |
VObject * | newVObject (const char *id) |
VObject * | nextVObject (VObjectIterator *i) |
VObject * | nextVObjectInList (VObject *o) |
void | printVObject (FILE *fp, VObject *o) |
void | printVObjectsToFile (char *fname, VObject *list) |
void | printVObjectToFile (char *fname, VObject *o) |
VObject * | setValueWithSize (VObject *prop, void *val, unsigned int size) |
VObject * | setValueWithSize_ (VObject *prop, void *val, unsigned int size) |
void | setVObjectAnyValue (VObject *o, void *t) |
void | setVObjectIntegerValue (VObject *o, unsigned int i) |
void | setVObjectLongValue (VObject *o, unsigned long l) |
void | setVObjectName (VObject *o, const char *id) |
void | setVObjectStringZValue (VObject *o, const char *s) |
void | setVObjectStringZValue_ (VObject *o, const char *s) |
void | setVObjectUStringZValue (VObject *o, const wchar_t *s) |
void | setVObjectUStringZValue_ (VObject *o, const wchar_t *s) |
void | setVObjectVObjectValue (VObject *o, VObject *p) |
void | unUseStr (const char *s) |
int | uStrLen (const wchar_t *u) |
void * | vObjectAnyValue (VObject *o) |
unsigned int | vObjectIntegerValue (VObject *o) |
unsigned long | vObjectLongValue (VObject *o) |
const char * | vObjectName (VObject *o) |
const char * | vObjectStringZValue (VObject *o) |
const wchar_t * | vObjectUStringZValue (VObject *o) |
int | vObjectValueType (VObject *o) |
VObject * | vObjectVObjectValue (VObject *o) |
char * | writeMemVObject (char *s, int *len, VObject *o) |
char * | writeMemVObjects (char *s, int *len, VObject *list) |
void | writeVObject (FILE *fp, VObject *o) |
void | writeVObjectsToFile (char *fname, VObject *list) |
void | writeVObjectToFile (char *fname, VObject *o) |
Variables | |
const char ** | fieldedProp |
Define Documentation
Typedef Documentation
Function Documentation
void cleanStrTbl | ( | ) |
void cleanVObject | ( | VObject * | o | ) |
void cleanVObjects | ( | VObject * | list | ) |
void deleteStr | ( | const char * | p | ) |
void deleteVObject | ( | VObject * | p | ) |
char* dupStr | ( | const char * | s, | |
unsigned int | size | |||
) |
char* fakeCString | ( | const wchar_t * | u | ) |
wchar_t* fakeUnicode | ( | const char * | ps, | |
int * | bytes | |||
) |
void initPropIterator | ( | VObjectIterator * | i, | |
VObject * | o | |||
) |
const char* lookupProp | ( | const char * | str | ) |
const char* lookupProp_ | ( | const char * | str | ) |
const char* lookupStr | ( | const char * | s | ) |
int moreIteration | ( | VObjectIterator * | i | ) |
VObject* newVObject | ( | const char * | id | ) |
VObject* nextVObject | ( | VObjectIterator * | i | ) |
void printVObject | ( | FILE * | fp, | |
VObject * | o | |||
) |
void printVObjectsToFile | ( | char * | fname, | |
VObject * | list | |||
) |
void printVObjectToFile | ( | char * | fname, | |
VObject * | o | |||
) |
void setVObjectAnyValue | ( | VObject * | o, | |
void * | t | |||
) |
void setVObjectIntegerValue | ( | VObject * | o, | |
unsigned int | i | |||
) |
void setVObjectLongValue | ( | VObject * | o, | |
unsigned long | l | |||
) |
void setVObjectName | ( | VObject * | o, | |
const char * | id | |||
) |
void setVObjectStringZValue | ( | VObject * | o, | |
const char * | s | |||
) |
void setVObjectStringZValue_ | ( | VObject * | o, | |
const char * | s | |||
) |
void setVObjectUStringZValue | ( | VObject * | o, | |
const wchar_t * | s | |||
) |
void setVObjectUStringZValue_ | ( | VObject * | o, | |
const wchar_t * | s | |||
) |
void unUseStr | ( | const char * | s | ) |
int uStrLen | ( | const wchar_t * | u | ) |
void* vObjectAnyValue | ( | VObject * | o | ) |
unsigned int vObjectIntegerValue | ( | VObject * | o | ) |
unsigned long vObjectLongValue | ( | VObject * | o | ) |
const char* vObjectName | ( | VObject * | o | ) |
const char* vObjectStringZValue | ( | VObject * | o | ) |
const wchar_t* vObjectUStringZValue | ( | VObject * | o | ) |
int vObjectValueType | ( | VObject * | o | ) |
char* writeMemVObject | ( | char * | s, | |
int * | len, | |||
VObject * | o | |||
) |
char* writeMemVObjects | ( | char * | s, | |
int * | len, | |||
VObject * | list | |||
) |
void writeVObject | ( | FILE * | fp, | |
VObject * | o | |||
) |
void writeVObjectsToFile | ( | char * | fname, | |
VObject * | list | |||
) |
void writeVObjectToFile | ( | char * | fname, | |
VObject * | o | |||
) |
Variable Documentation
const char** fieldedProp |