* Improvements to the pico manual as well as on the code that displays
[alpine.git] / pith / pineelt.h
blob6a79967d5afa43a07b8bf563bc4b7d9c4092cbe5
1 /*
2 * $Id: pineelt.h 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2013-2019 Eduardo Chappa
6 * Copyright 2006 University of Washington
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * ========================================================================
17 #ifndef PITH_PINEELT_INCLUDED
18 #define PITH_PINEELT_INCLUDED
21 #include "../pith/thread.h"
22 #include "../pith/indxtype.h"
26 * The two structs below hold all knowledge regarding
27 * messages requiring special handling
29 typedef struct part_exception_s {
30 char *partno;
31 int handling;
32 struct part_exception_s *next;
33 } PARTEX_S;
37 * Pine's private per-message data stored on the c-client's elt
38 * spare pointer.
40 typedef struct pine_elt {
41 PINETHRD_S *pthrd;
42 PARTEX_S *exceptions;
43 ICE_S *ice;
44 char *firsttext;
45 /* per-message pine state bits */
46 unsigned int hidden:1;
47 unsigned int excluded:1;
48 unsigned int selected:1;
49 unsigned int searched:1;
50 unsigned int unsorted:1;
51 unsigned int collapsed:1;
52 unsigned int colhid:1;
53 unsigned int colhid2:1;
54 unsigned int tmp:1;
55 } PINELT_S;
58 /* exported protoypes */
59 void msgno_free_exceptions(PARTEX_S **);
62 #endif /* PITH_PINEELT_INCLUDED */