aboutsummaryrefslogtreecommitdiffstats
path: root/ebook/e-card-fields.h
blob: c1822ca981f0b3d27d7a9df24c9ea3632dd9fdf0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
 * ECard field type definitions.
 *
 * Author:
 *   Nat Friedman (nat@helixcode.com)
 *
 * Copyright 1999, Helix Code, Inc.
 */

#ifndef __E_CARD_FIELDS_H__
#define __E_CARD_FIELDS_H__

typedef struct {
    int year;
    int month;
    int day;
} ECardDate;

typedef struct {
    char *addr;

    char *desc;
    char *id;
} ECardEmail;

typedef struct {
    char *addr1;
    char *addr2;
    char *city;
    char *postcode;
    char *region;
    char *country;

    char *desc;
    char *id;
} ECardAddress;

typedef struct {
    char *phone;

    char *desc;
    char *id;
} ECardPhone;

typedef struct {
    char *url;

    char *desc;
    char *id;
} ECardURL;

#endif /* ! __E_CARD_FIELDS_H__ */