2 * $Id: sequence.h 1012 2008-03-26 00:44:22Z 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_SEQUENCE_INCLUDED
18 #define PITH_SEQUENCE_INCLUDED
21 #include "../pith/msgno.h"
24 /* exported protoypes */
25 char *selected_sequence(MAILSTREAM
*, MSGNO_S
*, long *, int);
26 char *currentf_sequence(MAILSTREAM
*, MSGNO_S
*, long, long *, int, char **, char **);
27 char *invalid_elt_sequence(MAILSTREAM
*, MSGNO_S
*);
28 char *build_sequence(MAILSTREAM
*, MSGNO_S
*, long *);
29 int pseudo_selected(MAILSTREAM
*, MSGNO_S
*);
30 void restore_selected(MSGNO_S
*);
31 SEARCHSET
*limiting_searchset(MAILSTREAM
*, int);
34 #endif /* PITH_SEQUENCE_INCLUDED */