prepare to upload
[debian/yforth] / search.h
1 /* yForth? - Written by Luca Padovani (C) 1996/97
2  * ------------------------------------------------------------------------
3  * This software is FreeWare as long as it comes with this header in each
4  * source file, anyway you can use it or any part of it whatever
5  * you want. It comes without any warranty, so use it at your own risk.
6  * ------------------------------------------------------------------------
7  * Module name:
8  * Abstract:
9  */
10
11 #ifdef DECLARE_WORDS
12 #       ifdef PROTOTYPES
13 #               undef PROTOTYPES
14 #       endif
15 #       undef __SEARCH_H__
16 #else
17 #       ifndef PROTOTYPES
18 #               define PROTOTYPES
19 #       endif
20 #endif
21
22 #ifndef __SEARCH_H__
23 #define __SEARCH_H__
24
25 #include "yforth.h"
26 #include "macro.h"
27
28
29 /**************************************************************************/
30 /* PROTOTYPES *************************************************************/
31 /**************************************************************************/
32
33 code(definitions,                                       "definitions",                  0)
34 code(forth_wordlist,                            "forth-wordlist",               0)
35 code(get_current,                                       "get-current",                  0)
36 code(get_order,                                         "get-order",                    0)
37 code(search_wordlist,                           "search-wordlist",              0)
38 code(set_current,                                       "set-current",                  0)
39 code(set_order,                                         "set-order",                    0)
40 code(wordlist,                                          "wordlist",                             0)
41
42 #ifdef PROTOTYPES
43
44 /**************************************************************************/
45 /* AUXILIARY FUNCSIONS PROTOTYPES *****************************************/
46 /**************************************************************************/
47
48 void save_vocabulary(struct voc_marker *vm);
49 void load_vocabulary(struct voc_marker *vm);
50
51 #endif
52
53 #endif