* Create help for explaining how encrypted password file support
[alpine.git] / pith / pineelt.h
blobe44ae37acea1c1f7c454969c480743f371bdf12d
1 /*
2 * $Id: pineelt.h 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2006 University of Washington
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * ========================================================================
16 #ifndef PITH_PINEELT_INCLUDED
17 #define PITH_PINEELT_INCLUDED
20 #include "../pith/thread.h"
21 #include "../pith/indxtype.h"
25 * The two structs below hold all knowledge regarding
26 * messages requiring special handling
28 typedef struct part_exception_s {
29 char *partno;
30 int handling;
31 struct part_exception_s *next;
32 } PARTEX_S;
36 * Pine's private per-message data stored on the c-client's elt
37 * spare pointer.
39 typedef struct pine_elt {
40 PINETHRD_S *pthrd;
41 PARTEX_S *exceptions;
42 ICE_S *ice;
43 /* per-message pine state bits */
44 unsigned int hidden:1;
45 unsigned int excluded:1;
46 unsigned int selected:1;
47 unsigned int searched:1;
48 unsigned int unsorted:1;
49 unsigned int collapsed:1;
50 unsigned int colhid:1;
51 unsigned int colhid2:1;
52 unsigned int tmp:1;
53 } PINELT_S;
56 /* exported protoypes */
57 void msgno_free_exceptions(PARTEX_S **);
60 #endif /* PITH_PINEELT_INCLUDED */