| 30 |
ashish |
1 |
/*
|
|
|
2 |
* Licensed to the Apache Software Foundation (ASF) under one
|
|
|
3 |
* or more contributor license agreements. See the NOTICE file
|
|
|
4 |
* distributed with this work for additional information
|
|
|
5 |
* regarding copyright ownership. The ASF licenses this file
|
|
|
6 |
* to you under the Apache License, Version 2.0 (the
|
|
|
7 |
* "License"); you may not use this file except in compliance
|
|
|
8 |
* with the License. You may obtain a copy of the License at
|
|
|
9 |
*
|
|
|
10 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
11 |
*
|
|
|
12 |
* Unless required by applicable law or agreed to in writing,
|
|
|
13 |
* software distributed under the License is distributed on an
|
|
|
14 |
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
15 |
* KIND, either express or implied. See the License for the
|
|
|
16 |
* specific language governing permissions and limitations
|
|
|
17 |
* under the License.
|
|
|
18 |
*/
|
|
|
19 |
|
|
|
20 |
extern int TTYPE_STOP;
|
|
|
21 |
extern int TTYPE_BOOL;
|
|
|
22 |
extern int TTYPE_BYTE;
|
|
|
23 |
extern int TTYPE_I16;
|
|
|
24 |
extern int TTYPE_I32;
|
|
|
25 |
extern int TTYPE_I64;
|
|
|
26 |
extern int TTYPE_DOUBLE;
|
|
|
27 |
extern int TTYPE_STRING;
|
|
|
28 |
extern int TTYPE_MAP;
|
|
|
29 |
extern int TTYPE_SET;
|
|
|
30 |
extern int TTYPE_LIST;
|
|
|
31 |
extern int TTYPE_STRUCT;
|
|
|
32 |
|
|
|
33 |
extern ID validate_method_id;
|
|
|
34 |
extern ID write_struct_begin_method_id;
|
|
|
35 |
extern ID write_struct_end_method_id;
|
|
|
36 |
extern ID write_field_begin_method_id;
|
|
|
37 |
extern ID write_field_end_method_id;
|
|
|
38 |
extern ID write_boolean_method_id;
|
|
|
39 |
extern ID write_byte_method_id;
|
|
|
40 |
extern ID write_i16_method_id;
|
|
|
41 |
extern ID write_i32_method_id;
|
|
|
42 |
extern ID write_i64_method_id;
|
|
|
43 |
extern ID write_double_method_id;
|
|
|
44 |
extern ID write_string_method_id;
|
|
|
45 |
extern ID write_map_begin_method_id;
|
|
|
46 |
extern ID write_map_end_method_id;
|
|
|
47 |
extern ID write_list_begin_method_id;
|
|
|
48 |
extern ID write_list_end_method_id;
|
|
|
49 |
extern ID write_set_begin_method_id;
|
|
|
50 |
extern ID write_set_end_method_id;
|
|
|
51 |
extern ID size_method_id;
|
|
|
52 |
extern ID read_bool_method_id;
|
|
|
53 |
extern ID read_byte_method_id;
|
|
|
54 |
extern ID read_i16_method_id;
|
|
|
55 |
extern ID read_i32_method_id;
|
|
|
56 |
extern ID read_i64_method_id;
|
|
|
57 |
extern ID read_string_method_id;
|
|
|
58 |
extern ID read_double_method_id;
|
|
|
59 |
extern ID read_map_begin_method_id;
|
|
|
60 |
extern ID read_map_end_method_id;
|
|
|
61 |
extern ID read_list_begin_method_id;
|
|
|
62 |
extern ID read_list_end_method_id;
|
|
|
63 |
extern ID read_set_begin_method_id;
|
|
|
64 |
extern ID read_set_end_method_id;
|
|
|
65 |
extern ID read_struct_begin_method_id;
|
|
|
66 |
extern ID read_struct_end_method_id;
|
|
|
67 |
extern ID read_field_begin_method_id;
|
|
|
68 |
extern ID read_field_end_method_id;
|
|
|
69 |
extern ID keys_method_id;
|
|
|
70 |
extern ID entries_method_id;
|
|
|
71 |
extern ID name_method_id;
|
|
|
72 |
extern ID sort_method_id;
|
|
|
73 |
extern ID write_field_stop_method_id;
|
|
|
74 |
extern ID skip_method_id;
|
|
|
75 |
extern ID write_method_id;
|
|
|
76 |
extern ID read_all_method_id;
|
|
|
77 |
extern ID native_qmark_method_id;
|
|
|
78 |
|
|
|
79 |
extern ID fields_const_id;
|
|
|
80 |
extern ID transport_ivar_id;
|
|
|
81 |
extern ID strict_read_ivar_id;
|
|
|
82 |
extern ID strict_write_ivar_id;
|
|
|
83 |
|
|
|
84 |
extern VALUE type_sym;
|
|
|
85 |
extern VALUE name_sym;
|
|
|
86 |
extern VALUE key_sym;
|
|
|
87 |
extern VALUE value_sym;
|
|
|
88 |
extern VALUE element_sym;
|
|
|
89 |
extern VALUE class_sym;
|
|
|
90 |
|
|
|
91 |
extern VALUE rb_cSet;
|
|
|
92 |
extern VALUE thrift_module;
|
|
|
93 |
extern VALUE thrift_types_module;
|
|
|
94 |
extern VALUE class_thrift_protocol;
|
|
|
95 |
extern VALUE protocol_exception_class;
|