/[pinfo]/pinfo/src/mainfunction.h
ViewVC logotype

Contents of /pinfo/src/mainfunction.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Feb 22 16:24:56 2005 UTC (8 years, 2 months ago) by bas
Branch: MAIN
CVS Tags: PINFO_0_6_8, HEAD
File MIME type: text/plain
Import of last release 0.6.8
1 #ifndef __MAINFUNCTION_H
2 #define __MAINFUNCTION_H
3
4 typedef struct
5 {
6 char *node; /* name of node */
7 char *file; /* name of file, where the node is */
8 }
9 WorkRVal; /*
10 * return value type for work(). it is the name of node,
11 * where to go, after viewing of current node ends. (viewing
12 * always takes place inside of the work() function
13 */
14
15 extern int aftersearch; /* this determines whether we are in a position, found after search */
16
17 WorkRVal work (char ***message, char **type, long *lines, FILE * id, int tag_table_pos);
18 /*
19 * this is main function which handles almost all of the work (keyboard
20 * actions while viewing info). Arguments:
21 * message-- a pointer to char** node content, stored line by line.
22 * type-- a pointer to char*, which holds the header of info node.
23 * lines-- pointer to a long, which holds the number of lines in node.
24 * id-- file descriptor of current info file
25 * tag_table_pos-- position in tag table of the current node (needed for
26 * history)
27 */
28 #endif

  ViewVC Help
Powered by ViewVC 1.1.5