home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
b
/
bmh02src.zip
/
CURRENT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-08-16
|
804b
|
43 lines
/*
current.h : Copyright Paul Healy, EI9GL, 1992.
920706 : Created.
*/
#ifndef _current_h_
#define _current_h_
/*
* Set/return the current folder
*/
char *currentfolder(char *f);
/*
* Set/return the current message number
*/
int currentmsg(int *msg);
/*
* Short hand for calling both of the above
*/
int setcurrent(char *folder, int curmsg);
/*
* Return the current folder in news type notation
*/
char *newsfile(void);
/*
* Get current folder/msg # (optionally set both with command line arguments)
*/
int getcurrent(int argc, char *argv[], char **folder, int *curmsg);
/*
* Make the last message in a list or range the current message
*/
int lastmsg(int argc, char *argv[]);
char *dir2news(char *s);
char *news2dir(char *s);
#endif