Deleted Added
full compact
doc.h (21495) doc.h (42660)
1/* doc.h -- Structure associating function pointers with documentation. */
2
3/* This file is part of GNU Info, a program for reading online documentation
4 stored in Info format.
5
6 Copyright (C) 1993 Free Software Foundation, Inc.
7
8 This program is free software; you can redistribute it and/or modify

--- 7 unchanged lines hidden (view full) ---

16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21
22 Written by Brian Fox (bfox@ai.mit.edu). */
23
1/* doc.h -- Structure associating function pointers with documentation. */
2
3/* This file is part of GNU Info, a program for reading online documentation
4 stored in Info format.
5
6 Copyright (C) 1993 Free Software Foundation, Inc.
7
8 This program is free software; you can redistribute it and/or modify

--- 7 unchanged lines hidden (view full) ---

16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21
22 Written by Brian Fox (bfox@ai.mit.edu). */
23
24#if !defined (_DOC_H_)
25#define _DOC_H_
24#if !defined (DOC_H)
25#define DOC_H
26
26
27#if !defined (NULL)
28# define NULL 0x0
29#endif /* !NULL */
27#include "info.h" /* for NAMED_FUNCTIONS, VFunction, etc. */
30
28
31#if !defined (__FUNCTION_DEF)
32# define __FUNCTION_DEF
33typedef int Function ();
34typedef void VFunction ();
35#endif /* _FUNCTION_DEF */
36
37typedef struct {
38 VFunction *func;
39#if defined (NAMED_FUNCTIONS)
40 char *func_name;
41#endif /* NAMED_FUNCTIONS */
42 char *doc;
43} FUNCTION_DOC;
44

--- 5 unchanged lines hidden (view full) ---

50extern char *replace_in_documentation ();
51extern void info_document_key ();
52extern void dump_map_to_message_buffer ();
53
54#if defined (NAMED_FUNCTIONS)
55extern char *function_name ();
56extern VFunction *named_function ();
57#endif /* NAMED_FUNCTIONS */
29typedef struct {
30 VFunction *func;
31#if defined (NAMED_FUNCTIONS)
32 char *func_name;
33#endif /* NAMED_FUNCTIONS */
34 char *doc;
35} FUNCTION_DOC;
36

--- 5 unchanged lines hidden (view full) ---

42extern char *replace_in_documentation ();
43extern void info_document_key ();
44extern void dump_map_to_message_buffer ();
45
46#if defined (NAMED_FUNCTIONS)
47extern char *function_name ();
48extern VFunction *named_function ();
49#endif /* NAMED_FUNCTIONS */
58#endif /* !_DOC_H_ */
50#endif /* !DOC_H */