Commit 4dbf3f55 4dbf3f5571a950bcca257cc57f6d9f807610efc3 by Sergey Poznyakoff

New file: declares all mailutils' data types

1 parent 5220a9bc
1 /* GNU mailutils - a suite of utilities for electronic mail
2 Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Library Public License as published by
6 the Free Software Foundation; either version 2, or (at your option)
7 any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
17
18 #ifndef _MAILUTILS_TYPES_H
19 #define _MAILUTILS_TYPES_H
20
21 #include <sys/types.h>
22
23 #include <mailutils/mu_features.h>
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28
29 struct _address;
30 struct _attribute;
31 struct _authority;
32 struct _body;
33 struct _debug;
34 struct _envelope;
35 struct _filter;
36 struct _filter_record;
37 struct _folder;
38 struct _header;
39 struct _iterator;
40 struct _list;
41 struct _locker;
42 struct _mailbox;
43 struct _mailer;
44 struct _message;
45 struct _mime;
46 struct _observable;
47 struct _observer;
48 struct _property;
49 struct _record;
50 struct _stream;
51 struct _ticket;
52 struct _url;
53 struct _wicket;
54 struct _refcount;
55 struct _pop3;
56 struct _lockfile;
57 struct _mbox;
58
59 typedef struct _address *address_t;
60 typedef struct _attribute *attribute_t;
61 typedef struct _authority *authority_t;
62 typedef struct _body *body_t;
63 typedef struct _mu_debug *mu_debug_t;
64 typedef struct _envelope *envelope_t;
65 typedef struct _filter *filter_t;
66 typedef struct _filter_record *filter_record_t;
67 typedef struct _folder *folder_t;
68 typedef struct _header * header_t;
69 typedef struct _iterator *iterator_t;
70 typedef struct _list *mu_list_t;
71 typedef struct _locker *locker_t;
72 typedef struct _mailbox *mailbox_t;
73 typedef struct _mailer *mailer_t;
74 typedef struct _message *message_t;
75 typedef struct _mime *mime_t;
76 typedef struct _observable *observable_t;
77 typedef struct _observer *observer_t;
78 typedef struct _property *property_t;
79 typedef struct _record* record_t;
80 typedef struct _stream *stream_t;
81 typedef struct _ticket *ticket_t;
82 typedef struct _url *url_t;
83 typedef struct _wicket *wicket_t;
84 typedef struct _refcount *mu_refcount_t;
85 typedef struct _pop3 *pop3_t;
86 typedef struct _lockfile *lockfile_t;
87 typedef struct _mbox *mbox_t;
88
89 #ifdef __cplusplus
90 }
91 #endif
92
93 #endif
94