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
{
31 struct part_exception_s
*next
;
36 * Pine's private per-message data stored on the c-client's elt
39 typedef struct pine_elt
{
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;
56 /* exported protoypes */
57 void msgno_free_exceptions(PARTEX_S
**);
60 #endif /* PITH_PINEELT_INCLUDED */