1/* 2 * $XConsortium: toc.h,v 2.13 91/07/17 12:28:29 converse Exp $ 3 * 4 * 5 * COPYRIGHT 1987, 1989 6 * DIGITAL EQUIPMENT CORPORATION 7 * MAYNARD, MASSACHUSETTS 8 * ALL RIGHTS RESERVED. 9 * 10 * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND 11 * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION. 12 * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE FOR 13 * ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. 14 * 15 * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT 16 * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN 17 * ADDITION TO THAT SET FORTH ABOVE. 18 * 19 * Permission to use, copy, modify, and distribute this software and its 20 * documentation for any purpose and without fee is hereby granted, provided 21 * that the above copyright notice appear in all copies and that both that 22 * copyright notice and this permission notice appear in supporting 23 * documentation, and that the name of Digital Equipment Corporation not be 24 * used in advertising or publicity pertaining to distribution of the software 25 * without specific, written prior permission. 26 */ 27/* $XFree86$ */ 28 29#ifndef _toc_h 30#define _toc_h 31 32extern void TocInit (void); 33extern Toc TocCreate (const char *); 34extern Toc TocCreateFolder (const char *); 35extern int TocHasMail (Toc); 36extern void TocCheckForNewMail (Boolean); 37extern Boolean TocTestAndSetDeletePending(Toc); 38extern void TocClearDeletePending (Toc); 39extern void TocDeleteFolder (Toc); 40extern void TocSetScrn (Toc, Scrn); 41 42extern void TocRemoveMsg (Toc, Msg); 43extern void TocRecheckValidity (Toc); 44extern void TocSetCurMsg (Toc, Msg); 45extern Msg TocGetCurMsg (Toc); 46extern Msg TocMsgAfter (Toc, Msg); 47extern Msg TocMsgBefore (Toc, Msg); 48extern void TocForceRescan (Toc); 49 50extern void TocReloadSeqLists (Toc); 51extern int TocHasSequences (Toc); 52extern void TocChangeViewedSeq (Toc, Sequence); 53extern Sequence TocViewedSequence (Toc); 54extern Sequence TocGetSeqNamed (Toc, const char *); 55extern void TocSetSelectedSequence (Toc, Sequence); 56extern Sequence TocSelectedSequence (Toc); 57 58extern MsgList TocCurMsgList (Toc); 59extern void TocUnsetSelection (Toc); 60extern Msg TocMakeNewMsg (Toc); 61extern void TocStopUpdate (Toc); 62extern void TocStartUpdate (Toc); 63extern void TocSetCacheValid (Toc); 64 65extern char * TocMakeFolderName (Toc); 66extern char * TocName (Toc); 67extern Toc TocGetNamed (const char *); 68 69extern int TocConfirmCataclysm(Toc, XtCallbackList, XtCallbackList); 70extern void TocCommitChanges (Widget, XtPointer, XtPointer); 71extern int TocCanIncorporate (Toc); 72extern int TocIncorporate (Toc); 73extern void TocMsgChanged (Toc, Msg); 74extern Msg TocMsgFromId (Toc, int); 75 76#endif /* _toc_h */ 77