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
{
32 struct part_exception_s
*next
;
37 * Pine's private per-message data stored on the c-client's elt
40 typedef struct pine_elt
{
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;
58 /* exported protoypes */
59 void msgno_free_exceptions(PARTEX_S
**);
62 #endif /* PITH_PINEELT_INCLUDED */