NativeMethods.h
Go to the documentation of this file.
1 /*----------------------------------------------------------------------------*/
2 /* */
3 /* Copyright (c) 1995, 2004 IBM Corporation. All rights reserved. */
4 /* Copyright (c) 2005-2009 Rexx Language Association. All rights reserved. */
5 /* */
6 /* This program and the accompanying materials are made available under */
7 /* the terms of the Common Public License v1.0 which accompanies this */
8 /* distribution. A copy is also available at the following address: */
9 /* http://www.ibm.com/developerworks/oss/CPLv1.0.htm */
10 /* */
11 /* Redistribution and use in source and binary forms, with or */
12 /* without modification, are permitted provided that the following */
13 /* conditions are met: */
14 /* */
15 /* Redistributions of source code must retain the above copyright */
16 /* notice, this list of conditions and the following disclaimer. */
17 /* Redistributions in binary form must reproduce the above copyright */
18 /* notice, this list of conditions and the following disclaimer in */
19 /* the documentation and/or other materials provided with the distribution. */
20 /* */
21 /* Neither the name of Rexx Language Association nor the names */
22 /* of its contributors may be used to endorse or promote products */
23 /* derived from this software without specific prior written permission. */
24 /* */
25 /* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS */
26 /* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */
27 /* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS */
28 /* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT */
29 /* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, */
30 /* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED */
31 /* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, */
32 /* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY */
33 /* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING */
34 /* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS */
35 /* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
36 /* */
37 /*----------------------------------------------------------------------------*/
38 /******************************************************************************/
39 /* REXX Kernel */
40 /* */
41 /* list of REXX internal native methods */
42 /* */
43 /******************************************************************************/
44 
45 //NOTE: This file gets included multiple times to define different tables, so
46 // it does not have standard #ifndef multiple include protections.
47  INTERNAL_METHOD(alarm_startTimer)
48  INTERNAL_METHOD(alarm_stopTimer)
49  INTERNAL_METHOD(stream_init)
50  INTERNAL_METHOD(stream_chars)
51  INTERNAL_METHOD(stream_lines)
52  INTERNAL_METHOD(stream_position)
53  INTERNAL_METHOD(stream_state)
54  INTERNAL_METHOD(stream_description)
55  INTERNAL_METHOD(stream_query_position)
56  INTERNAL_METHOD(stream_charout)
57  INTERNAL_METHOD(stream_charin)
58  INTERNAL_METHOD(stream_linein)
59  INTERNAL_METHOD(stream_lineout)
60  INTERNAL_METHOD(stream_arrayin)
61  INTERNAL_METHOD(qualify)
62  INTERNAL_METHOD(query_exists)
63  INTERNAL_METHOD(query_size)
64  INTERNAL_METHOD(query_time)
65  INTERNAL_METHOD(handle_set)
66  INTERNAL_METHOD(std_set)
67  INTERNAL_METHOD(stream_flush)
68  INTERNAL_METHOD(query_handle)
69  INTERNAL_METHOD(query_streamtype)
70  INTERNAL_METHOD(stream_close)
71  INTERNAL_METHOD(stream_uninit)
72  INTERNAL_METHOD(stream_open)
73  INTERNAL_METHOD(rexx_create_queue)
74  INTERNAL_METHOD(rexx_open_queue)
75  INTERNAL_METHOD(rexx_queue_exists)
76  INTERNAL_METHOD(rexx_delete_queue)
77  INTERNAL_METHOD(rexx_query_queue)
78  INTERNAL_METHOD(rexx_push_queue)
79  INTERNAL_METHOD(rexx_queue_queue)
80  INTERNAL_METHOD(rexx_pull_queue)
81  INTERNAL_METHOD(rexx_linein_queue)
82  INTERNAL_METHOD(rexx_clear_queue)
83  INTERNAL_METHOD(file_separator)
84  INTERNAL_METHOD(file_path_separator)
85  INTERNAL_METHOD(file_case_sensitive)
86  INTERNAL_METHOD(file_list_roots)
87  INTERNAL_METHOD(file_qualify)
88  INTERNAL_METHOD(file_exists)
89  INTERNAL_METHOD(file_delete_file)
90  INTERNAL_METHOD(file_delete_directory)
91  INTERNAL_METHOD(file_isDirectory)
92  INTERNAL_METHOD(file_isFile)
93  INTERNAL_METHOD(file_isHidden)
94  INTERNAL_METHOD(file_get_last_modified)
95  INTERNAL_METHOD(file_set_last_modified)
96  INTERNAL_METHOD(file_set_read_only)
97  INTERNAL_METHOD(file_length)
98  INTERNAL_METHOD(file_list)
99  INTERNAL_METHOD(file_make_dir)
100  INTERNAL_METHOD(file_can_read)
101  INTERNAL_METHOD(file_can_write)
102  INTERNAL_METHOD(file_rename)
#define INTERNAL_METHOD(name)