another update from CVS HEAD, for QA
[alioth/jupp.git] / help.h
1 /*
2  *      Help system
3  *      Copyright
4  *              (C) 1992 Joseph H. Allen
5  *              (C) 2001 Marek 'Marx' Grac
6  *
7  *      This file is part of JOE (Joe's Own Editor)
8  */
9 #ifndef _JOE_HELP_H
10 #define _JOE_HELP_H 1
11
12 #ifdef EXTERN
13 __IDSTRING(rcsid_help_h, "$MirOS: contrib/code/jupp/help.h,v 1.8 2017/12/06 23:02:02 tg Exp $");
14 #endif
15
16 extern struct help *help_actual;
17
18 void help_display(SCREEN *t);           /* display text in help window */
19 void help_off(SCREEN *t);               /* turn help off */
20 int help_on(SCREEN *t);                 /* turn help on */
21 int help_init(const unsigned char *filename);   /* load help file */
22 struct help *find_context_help(const unsigned char *name);
23
24 int u_help(BASE *base);                 /* toggle help on/off */
25 int u_helpcard(BASE *base);             /* enable help at screen */
26 int u_help_next(BASE *base);            /* goto next help screen */
27 int u_help_prev(BASE *base);            /* goto prev help screen */
28
29 #endif