~ubuntu-branches/ubuntu/quantal/maildir-utils/quantal

« back to all changes in this revision

Viewing changes to mu/mu-msg.h

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2010-01-19 20:12:43 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100119201243-d8qmzgxgexhy1bs0
Tags: 0.6~beta1-1
* new upstream release 0.6-beta
  - that merges the several different programs under one binary mu
  - no sqlite storage is used anymore
* debian packaging changes:
  - debian/patches
    . remove all patches
  - remove debian/HOWTO (upstream document) it is completely outdated
  - debian/control:
    . adjust build-dep for gmime-2.4
    . remove build-dep on quilt and sqlite
    . adjust the description to new reality
  - debian/rules:
    . do not try to install doc files that are not present anymore
    . disable quilt adaptions
  - add debian/NEWS that explains that the separate programs are gone

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* 
2
 
** Copyright (C) 2008 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
3
 
**
4
 
** This program is free software; you can redistribute it and/or modify
5
 
** it under the terms of the GNU General Public License as published by
6
 
** the Free Software Foundation; either version 3 of the License, or
7
 
** (at your option) 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 General Public License for more details.
13
 
**  
14
 
** You should have received a copy of the GNU General Public License
15
 
** along with this program; if not, write to the Free Software Foundation,
16
 
** Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  
17
 
**  
18
 
*/
19
 
 
20
 
#ifndef __MU_MSG_H__
21
 
#define __MU_MSG_H__
22
 
 
23
 
#include "mu-msg-flags.h"
24
 
 
25
 
/* what kind of message is this; use by the indexer */
26
 
enum _MuMsgStatus {
27
 
        MU_MSG_STATUS_NEW,        /* message is new */
28
 
        MU_MSG_STATUS_UPDATE,     /* message is to be updated */
29
 
        MU_MSG_STATUS_CLEANUP,    /* message is to be cleaned up from db */
30
 
        MU_MSG_STATUS_CLEANED_UP, /* message has been cleaned up from db */
31
 
        MU_MSG_STATUS_EXISTS,     /* message exists (will not be cleaned up) */
32
 
        MU_MSG_STATUS_UPTODATE    /* message is up-to-date */
33
 
};
34
 
typedef enum _MuMsgStatus MuMsgStatus;
35
 
 
36
 
enum _MuMsgPriority {  /* Reply-To:? */
37
 
        MU_MSG_PRIORITY_LOW     = 1 << 0,
38
 
        MU_MSG_PRIORITY_NORMAL  = 1 << 1,
39
 
        MU_MSG_PRIORITY_HIGH    = 1 << 2
40
 
};
41
 
typedef enum _MuMsgPriority MuMsgPriority;
42
 
 
43
 
enum _MuMsgContactType {  /* Reply-To:? */
44
 
        MU_MSG_CONTACT_TYPE_TO,
45
 
        MU_MSG_CONTACT_TYPE_FROM,
46
 
        MU_MSG_CONTACT_TYPE_CC,
47
 
        MU_MSG_CONTACT_TYPE_BCC
48
 
};
49
 
typedef enum _MuMsgContactType MuMsgContactType;
50
 
 
51
 
struct _MuMsgContact {
52
 
        const char          *_name; /* Foo Bar */
53
 
        const char          *_addr; /* foo@bar.cuux */
54
 
        MuMsgContactType     _type; /*MU_MSG_CONTACT_TYPE_{TO,CC,BCC,FROM}*/  
55
 
};
56
 
typedef struct _MuMsgContact MuMsgContact;
57
 
 
58
 
#endif /*__MU_MSG_H__*/