summaryrefslogtreecommitdiffstats
path: root/sqwebmail/token.h
blob: 84371d763864a1dc77016f0aaab0f80291c3ff9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
*/
#ifndef	token_h
#define	token_h

/*
** Copyright 1998 - 1999 Double Precision, Inc.  See COPYING for
** distribution information.
*/


/* To keep a reload from executing a duplicate operation -- such as sending
** a message, each form generates a unique token, which after the operation
** is complete gets saved in MSGTOKENFILE.  Before starting the operation,
** MSGTOKENFILE is checked, and if it has our token, the operation is
** skipped.
*/

void tokennew();
void tokennewget();
int tokencheck();
void tokensave();

#endif