~ubuntu-branches/ubuntu/karmic/opensync/karmic

« back to all changes in this revision

Viewing changes to formats/vformats-xml/opensync-xml-contact.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Collins
  • Date: 2005-12-18 00:59:13 UTC
  • Revision ID: james.westby@ubuntu.com-20051218005913-8keii9amu8dfkfnp
Tags: upstream-0.18
ImportĀ upstreamĀ versionĀ 0.18

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef HAVE_OPENSYNC_XML_CONTACT_H
 
2
#define HAVE_OPENSYNC_XML_CONTACT_H
 
3
 
 
4
/*
 
5
 * Use the constants in this header if you are going to convert
 
6
 * between "xml-contact" and another format. 
 
7
 *
 
8
 * See xml-vcard.c for an example.
 
9
 */
 
10
 
 
11
 
 
12
/* What this is */
 
13
#define XML_CONTACT_ROOT      "contact"
 
14
 
 
15
/* Parameters */
 
16
#define XML_CONTACT_TYPE      "Type"
 
17
 
 
18
/* Values for XML_CONTACT_TYPE */
 
19
#define XML_CONTACT_BULLETIN_BOARD  "BBS"
 
20
#define XML_CONTACT_CAR             "Car"
 
21
#define XML_CONTACT_CELLULAR        "Cell"
 
22
#define XML_CONTACT_DOMESTIC        "Domestic"
 
23
#define XML_CONTACT_FAX             "Fax"
 
24
#define XML_CONTACT_HOME            "Home"
 
25
#define XML_CONTACT_INTERNATIONAL   "International"
 
26
#define XML_CONTACT_INTERNET        "Internet"
 
27
#define XML_CONTACT_ISDN            "ISDN"
 
28
#define XML_CONTACT_MESSAGE         "Msg"
 
29
#define XML_CONTACT_MODEM           "Modem"
 
30
#define XML_CONTACT_PAGER           "Pager"
 
31
#define XML_CONTACT_PARCEL          "Parcel"
 
32
#define XML_CONTACT_PGP             "PGP"
 
33
#define XML_CONTACT_POSTAL          "Postal"
 
34
#define XML_CONTACT_PREF            "Pref"
 
35
#define XML_CONTACT_VIDEO           "Video"
 
36
#define XML_CONTACT_VOICE           "Voice"
 
37
#define XML_CONTACT_WORK            "Work"
 
38
#define XML_CONTACT_X509            "X509"
 
39
 
 
40
/* Lots of properties */
 
41
#define XML_CONTACT_ADDITIONAL        "Additional"
 
42
#define XML_CONTACT_ADDRESS           "Address"
 
43
#define XML_CONTACT_ADDRESS_LABEL     "AddressLabel"
 
44
#define XML_CONTACT_BIRTHDAY          "Birthday"
 
45
#define XML_CONTACT_CATEGORIES        "Categories"
 
46
#define XML_CONTACT_CITY              "City"
 
47
#define XML_CONTACT_CLASS             "Class"
 
48
#define XML_CONTACT_COUNTRY           "Country"
 
49
#define XML_CONTACT_EMAIL             "EMail"
 
50
#define XML_CONTACT_EXTENDED_ADDRESS  "ExtendedAddress"
 
51
#define XML_CONTACT_FILE_AS           "FileAs"
 
52
#define XML_CONTACT_FIRST_NAME        "FirstName"
 
53
#define XML_CONTACT_FULL_NAME         "FullName"
 
54
#define XML_CONTACT_KEY               "Key"
 
55
#define XML_CONTACT_LAST_NAME         "LastName"
 
56
#define XML_CONTACT_LOCATION          "Location"
 
57
#define XML_CONTACT_LOGO              "Logo"
 
58
#define XML_CONTACT_MAILER            "Mailer"
 
59
#define XML_CONTACT_NAME              "Name"
 
60
#define XML_CONTACT_NICKNAME          "Nickname"
 
61
#define XML_CONTACT_NOTE              "Note"
 
62
#define XML_CONTACT_ORGANIZATION      "Organization"
 
63
#define XML_CONTACT_PHOTO             "Photo"
 
64
#define XML_CONTACT_POSTAL_BOX        "PostalBox"
 
65
#define XML_CONTACT_POSTAL_CODE       "PostalCode"
 
66
#define XML_CONTACT_PREFIX            "Prefix"
 
67
#define XML_CONTACT_REGION            "Region"
 
68
#define XML_CONTACT_REVISION          "Revision"
 
69
#define XML_CONTACT_ROLE              "Role"
 
70
#define XML_CONTACT_SOUND             "Sound"
 
71
#define XML_CONTACT_STREET            "Street"
 
72
#define XML_CONTACT_SUFFIX            "Suffix"
 
73
#define XML_CONTACT_TELEPHONE         "Telephone"
 
74
#define XML_CONTACT_TIMEZONE          "Timezone"
 
75
#define XML_CONTACT_TITLE             "Title"
 
76
#define XML_CONTACT_UID               "Uid"
 
77
#define XML_CONTACT_UNIT              "Unit"
 
78
#define XML_CONTACT_URL               "Url"
 
79
#define XML_CONTACT_WANTS_HTML        "WantsHtml"
 
80
 
 
81
#define XML_CONTACT_CONTENT           "Content"
 
82
 
 
83
/* Unknown parameter */
 
84
#define XML_CONTACT_UNKNOWN_PARAM       "UnknownParam"
 
85
#define XML_CONTACT_PARAMETER_NAME      "ParamName"
 
86
 
 
87
/* Unknown node */
 
88
#define XML_CONTACT_UNKNOWN_NODE        "UnknownNode"
 
89
#define XML_CONTACT_NODE_NAME           "NodeName"
 
90
 
 
91
#endif