2
* $Id: sequence.h 136 2006-09-22 20:06:05Z 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_SEQUENCE_INCLUDED
17
#define PITH_SEQUENCE_INCLUDED
20
#include "../pith/msgno.h"
23
/* exported protoypes */
24
char *selected_sequence(MAILSTREAM *, MSGNO_S *, long *, int);
25
char *currentf_sequence(MAILSTREAM *, MSGNO_S *, long, long *, int, char **, char **);
26
char *invalid_elt_sequence(MAILSTREAM *, MSGNO_S *);
27
char *build_sequence(MAILSTREAM *, MSGNO_S *, long *);
28
int pseudo_selected(MSGNO_S *);
29
void restore_selected(MSGNO_S *);
30
SEARCHSET *limiting_searchset(MAILSTREAM *, int);
33
#endif /* PITH_SEQUENCE_INCLUDED */