| 1 | /* |
| 2 | Copyright(C) 2021-2022 Sutou Kouhei <[email protected]> |
| 3 | |
| 4 | This library is free software; you can redistribute it and/or |
| 5 | modify it under the terms of the GNU Lesser General Public |
| 6 | License as published by the Free Software Foundation; either |
| 7 | version 2.1 of the License, or (at your option) any later version. |
| 8 | |
| 9 | This library is distributed in the hope that it will be useful, |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 | Lesser General Public License for more details. |
| 13 | |
| 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | License along with this library; if not, write to the Free Software |
| 16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 17 | */ |
| 18 | |
| 19 | #pragma once |
| 20 | |
| 21 | #include "grn_db.h"cxx . . $ `<file>/lib/grn_db.h`/ |
| 22 | |
| 23 | #ifdef __cplusplus |
| 24 | extern "C" { |
| 25 | #endif |
| 26 | |
| 27 | typedef enumcxx . . $ $anonymous_type_e53e4c44496b1987_0# { |
| 28 | GRN_WAL_EVENT_NILcxx . . $ GRN_WAL_EVENT_NIL., |
| 29 | GRN_WAL_EVENT_SET_VALUEcxx . . $ GRN_WAL_EVENT_SET_VALUE., |
| 30 | GRN_WAL_EVENT_NEW_SEGMENTcxx . . $ GRN_WAL_EVENT_NEW_SEGMENT., |
| 31 | GRN_WAL_EVENT_USE_SEGMENTcxx . . $ GRN_WAL_EVENT_USE_SEGMENT., |
| 32 | GRN_WAL_EVENT_REUSE_SEGMENTcxx . . $ GRN_WAL_EVENT_REUSE_SEGMENT., |
| 33 | GRN_WAL_EVENT_FREE_SEGMENTcxx . . $ GRN_WAL_EVENT_FREE_SEGMENT., |
| 34 | GRN_WAL_EVENT_ADD_ENTRYcxx . . $ GRN_WAL_EVENT_ADD_ENTRY., |
| 35 | GRN_WAL_EVENT_ADD_SHARED_ENTRYcxx . . $ GRN_WAL_EVENT_ADD_SHARED_ENTRY., |
| 36 | GRN_WAL_EVENT_REUSE_ENTRYcxx . . $ GRN_WAL_EVENT_REUSE_ENTRY., |
| 37 | GRN_WAL_EVENT_REUSE_SHARED_ENTRYcxx . . $ GRN_WAL_EVENT_REUSE_SHARED_ENTRY., |
| 38 | GRN_WAL_EVENT_RESET_ENTRYcxx . . $ GRN_WAL_EVENT_RESET_ENTRY., |
| 39 | GRN_WAL_EVENT_ENABLE_ENTRYcxx . . $ GRN_WAL_EVENT_ENABLE_ENTRY., |
| 40 | GRN_WAL_EVENT_SET_ENTRY_KEYcxx . . $ GRN_WAL_EVENT_SET_ENTRY_KEY., |
| 41 | GRN_WAL_EVENT_DELETE_ENTRYcxx . . $ GRN_WAL_EVENT_DELETE_ENTRY., |
| 42 | GRN_WAL_EVENT_UPDATE_ENTRYcxx . . $ GRN_WAL_EVENT_UPDATE_ENTRY., |
| 43 | GRN_WAL_EVENT_REHASHcxx . . $ GRN_WAL_EVENT_REHASH., |
| 44 | GRN_WAL_EVENT_DELETE_INFO_PHASE1cxx . . $ GRN_WAL_EVENT_DELETE_INFO_PHASE1., |
| 45 | GRN_WAL_EVENT_DELETE_INFO_PHASE2cxx . . $ GRN_WAL_EVENT_DELETE_INFO_PHASE2., |
| 46 | GRN_WAL_EVENT_DELETE_INFO_PHASE3cxx . . $ GRN_WAL_EVENT_DELETE_INFO_PHASE3., |
| 47 | GRN_WAL_EVENT_DEFRAG_KEYcxx . . $ GRN_WAL_EVENT_DEFRAG_KEY., |
| 48 | GRN_WAL_EVENT_DEFRAG_CURRENT_KEYcxx . . $ GRN_WAL_EVENT_DEFRAG_CURRENT_KEY., |
| 49 | } grn_wal_eventcxx . . $ grn_wal_event#; |
| 50 | |
| 51 | const char * |
| 52 | grn_wal_event_to_stringcxx . . $ grn_wal_event_to_string(5385ed4c101a64de).(grn_wal_eventcxx . . $ grn_wal_event# event); |
| 53 | |
| 54 | typedef enumcxx . . $ $anonymous_type_e53e4c44496b1987_1# { |
| 55 | GRN_WAL_SEGMENT_CHUNKcxx . . $ GRN_WAL_SEGMENT_CHUNK., |
| 56 | GRN_WAL_SEGMENT_SEQUENTIALcxx . . $ GRN_WAL_SEGMENT_SEQUENTIAL., |
| 57 | GRN_WAL_SEGMENT_HUGEcxx . . $ GRN_WAL_SEGMENT_HUGE., |
| 58 | GRN_WAL_SEGMENT_EINFOcxx . . $ GRN_WAL_SEGMENT_EINFO., |
| 59 | GRN_WAL_SEGMENT_GINFOcxx . . $ GRN_WAL_SEGMENT_GINFO., |
| 60 | } grn_wal_segment_typecxx . . $ grn_wal_segment_type#; |
| 61 | |
| 62 | const char * |
| 63 | grn_wal_segment_type_to_stringcxx . . $ grn_wal_segment_type_to_string(d7a3ed4b496e7d85).(grn_wal_segment_typecxx . . $ grn_wal_segment_type# type); |
| 64 | |
| 65 | typedef enumcxx . . $ $anonymous_type_e53e4c44496b1987_2# { |
| 66 | GRN_WAL_KEY_ENDcxx . . $ GRN_WAL_KEY_END., |
| 67 | GRN_WAL_KEY_IDcxx . . $ GRN_WAL_KEY_ID., |
| 68 | GRN_WAL_KEY_EVENTcxx . . $ GRN_WAL_KEY_EVENT., |
| 69 | GRN_WAL_KEY_RECORD_IDcxx . . $ GRN_WAL_KEY_RECORD_ID., |
| 70 | GRN_WAL_KEY_RECORD_DIRECTIONcxx . . $ GRN_WAL_KEY_RECORD_DIRECTION., |
| 71 | GRN_WAL_KEY_ELEMENT_SIZEcxx . . $ GRN_WAL_KEY_ELEMENT_SIZE., |
| 72 | GRN_WAL_KEY_KEYcxx . . $ GRN_WAL_KEY_KEY., |
| 73 | GRN_WAL_KEY_KEY_SIZEcxx . . $ GRN_WAL_KEY_KEY_SIZE., |
| 74 | GRN_WAL_KEY_KEY_HASH_VALUEcxx . . $ GRN_WAL_KEY_KEY_HASH_VALUE., |
| 75 | GRN_WAL_KEY_KEY_OFFSETcxx . . $ GRN_WAL_KEY_KEY_OFFSET., |
| 76 | GRN_WAL_KEY_SHARED_KEY_OFFSETcxx . . $ GRN_WAL_KEY_SHARED_KEY_OFFSET., |
| 77 | GRN_WAL_KEY_IS_SHAREDcxx . . $ GRN_WAL_KEY_IS_SHARED., |
| 78 | GRN_WAL_KEY_CHECKcxx . . $ GRN_WAL_KEY_CHECK., |
| 79 | GRN_WAL_KEY_NEW_KEYcxx . . $ GRN_WAL_KEY_NEW_KEY., |
| 80 | GRN_WAL_KEY_PARENT_RECORD_IDcxx . . $ GRN_WAL_KEY_PARENT_RECORD_ID., |
| 81 | GRN_WAL_KEY_PARENT_RECORD_DIRECTIONcxx . . $ GRN_WAL_KEY_PARENT_RECORD_DIRECTION., |
| 82 | GRN_WAL_KEY_PARENT_CHECKcxx . . $ GRN_WAL_KEY_PARENT_CHECK., |
| 83 | GRN_WAL_KEY_GRANDPARENT_RECORD_IDcxx . . $ GRN_WAL_KEY_GRANDPARENT_RECORD_ID., |
| 84 | GRN_WAL_KEY_OTHERSIDE_RECORD_IDcxx . . $ GRN_WAL_KEY_OTHERSIDE_RECORD_ID., |
| 85 | GRN_WAL_KEY_OTHERSIDE_CHECKcxx . . $ GRN_WAL_KEY_OTHERSIDE_CHECK., |
| 86 | GRN_WAL_KEY_LEFT_RECORD_IDcxx . . $ GRN_WAL_KEY_LEFT_RECORD_ID., |
| 87 | GRN_WAL_KEY_RIGHT_RECORD_IDcxx . . $ GRN_WAL_KEY_RIGHT_RECORD_ID., |
| 88 | GRN_WAL_KEY_VALUEcxx . . $ GRN_WAL_KEY_VALUE., |
| 89 | GRN_WAL_KEY_INDEX_HASH_VALUEcxx . . $ GRN_WAL_KEY_INDEX_HASH_VALUE., |
| 90 | GRN_WAL_KEY_SEGMENTcxx . . $ GRN_WAL_KEY_SEGMENT., |
| 91 | GRN_WAL_KEY_POSITIONcxx . . $ GRN_WAL_KEY_POSITION., |
| 92 | GRN_WAL_KEY_SEGMENT_TYPEcxx . . $ GRN_WAL_KEY_SEGMENT_TYPE., |
| 93 | GRN_WAL_KEY_SEGMENT_INFOcxx . . $ GRN_WAL_KEY_SEGMENT_INFO., |
| 94 | GRN_WAL_KEY_GARBAGE_SEGMENTcxx . . $ GRN_WAL_KEY_GARBAGE_SEGMENT., |
| 95 | GRN_WAL_KEY_PREVIOUS_GARBAGE_SEGMENTcxx . . $ GRN_WAL_KEY_PREVIOUS_GARBAGE_SEGMENT., |
| 96 | GRN_WAL_KEY_NEXT_GARBAGE_SEGMENTcxx . . $ GRN_WAL_KEY_NEXT_GARBAGE_SEGMENT., |
| 97 | GRN_WAL_KEY_GARBAGE_SEGMENT_HEADcxx . . $ GRN_WAL_KEY_GARBAGE_SEGMENT_HEAD., |
| 98 | GRN_WAL_KEY_GARBAGE_SEGMENT_TAILcxx . . $ GRN_WAL_KEY_GARBAGE_SEGMENT_TAIL., |
| 99 | GRN_WAL_KEY_GARBAGE_SEGMENT_N_RECORDScxx . . $ GRN_WAL_KEY_GARBAGE_SEGMENT_N_RECORDS., |
| 100 | GRN_WAL_KEY_GARBAGE_RECORD_IDcxx . . $ GRN_WAL_KEY_GARBAGE_RECORD_ID., |
| 101 | GRN_WAL_KEY_NEXT_GARBAGE_RECORD_IDcxx . . $ GRN_WAL_KEY_NEXT_GARBAGE_RECORD_ID., |
| 102 | GRN_WAL_KEY_N_GARBAGEScxx . . $ GRN_WAL_KEY_N_GARBAGES., |
| 103 | GRN_WAL_KEY_N_ENTRIEScxx . . $ GRN_WAL_KEY_N_ENTRIES., |
| 104 | GRN_WAL_KEY_FOUND_GARBAGEcxx . . $ GRN_WAL_KEY_FOUND_GARBAGE., |
| 105 | GRN_WAL_KEY_MAX_OFFSETcxx . . $ GRN_WAL_KEY_MAX_OFFSET., |
| 106 | GRN_WAL_KEY_EXPECTED_N_ENTRIEScxx . . $ GRN_WAL_KEY_EXPECTED_N_ENTRIES., |
| 107 | GRN_WAL_KEY_DELETE_INFO_INDEXcxx . . $ GRN_WAL_KEY_DELETE_INFO_INDEX., |
| 108 | GRN_WAL_KEY_DELETE_INFO_PHASE1_INDEXcxx . . $ GRN_WAL_KEY_DELETE_INFO_PHASE1_INDEX., |
| 109 | GRN_WAL_KEY_DELETE_INFO_PHASE2_INDEXcxx . . $ GRN_WAL_KEY_DELETE_INFO_PHASE2_INDEX., |
| 110 | GRN_WAL_KEY_DELETE_INFO_PHASE3_INDEXcxx . . $ GRN_WAL_KEY_DELETE_INFO_PHASE3_INDEX., |
| 111 | GRN_WAL_KEY_PREVIOUS_RECORD_IDcxx . . $ GRN_WAL_KEY_PREVIOUS_RECORD_ID., |
| 112 | } grn_wal_keycxx . . $ grn_wal_key#; |
| 113 | |
| 114 | const char * |
| 115 | grn_wal_key_to_stringcxx . . $ grn_wal_key_to_string(1186932c492158eb).(grn_wal_keycxx . . $ grn_wal_key# key); |
| 116 | |
| 117 | typedef enumcxx . . $ $anonymous_type_e53e4c44496b1987_3# { |
| 118 | GRN_WAL_VALUE_NILcxx . . $ GRN_WAL_VALUE_NIL., |
| 119 | GRN_WAL_VALUE_EVENTcxx . . $ GRN_WAL_VALUE_EVENT., |
| 120 | GRN_WAL_VALUE_RECORD_IDcxx . . $ GRN_WAL_VALUE_RECORD_ID., |
| 121 | GRN_WAL_VALUE_SEGMENT_TYPEcxx . . $ GRN_WAL_VALUE_SEGMENT_TYPE., |
| 122 | GRN_WAL_VALUE_BOOLEANcxx . . $ GRN_WAL_VALUE_BOOLEAN., |
| 123 | GRN_WAL_VALUE_INT32cxx . . $ GRN_WAL_VALUE_INT32., |
| 124 | GRN_WAL_VALUE_UINT32cxx . . $ GRN_WAL_VALUE_UINT32., |
| 125 | GRN_WAL_VALUE_INT64cxx . . $ GRN_WAL_VALUE_INT64., |
| 126 | GRN_WAL_VALUE_UINT64cxx . . $ GRN_WAL_VALUE_UINT64., |
| 127 | GRN_WAL_VALUE_BINARYcxx . . $ GRN_WAL_VALUE_BINARY., |
| 128 | } grn_wal_value_typecxx . . $ grn_wal_value_type#; |
| 129 | |
| 130 | typedef enumcxx . . $ $anonymous_type_e53e4c44496b1987_4# { |
| 131 | GRN_WAL_READER_DATA_NILcxx . . $ GRN_WAL_READER_DATA_NIL., |
| 132 | GRN_WAL_READER_DATA_BOOLEANcxx . . $ GRN_WAL_READER_DATA_BOOLEAN., |
| 133 | GRN_WAL_READER_DATA_INT64cxx . . $ GRN_WAL_READER_DATA_INT64., |
| 134 | GRN_WAL_READER_DATA_UINT64cxx . . $ GRN_WAL_READER_DATA_UINT64., |
| 135 | GRN_WAL_READER_DATA_FLOAT32cxx . . $ GRN_WAL_READER_DATA_FLOAT32., |
| 136 | GRN_WAL_READER_DATA_FLOAT64cxx . . $ GRN_WAL_READER_DATA_FLOAT64., |
| 137 | GRN_WAL_READER_DATA_STRINGcxx . . $ GRN_WAL_READER_DATA_STRING., |
| 138 | GRN_WAL_READER_DATA_BINARYcxx . . $ GRN_WAL_READER_DATA_BINARY., |
| 139 | } grn_wal_reader_data_typecxx . . $ grn_wal_reader_data_type#; |
| 140 | |
| 141 | const char * |
| 142 | grn_wal_reader_data_type_to_stringcxx . . $ grn_wal_reader_data_type_to_string(ddf1a928e550cb1a).(grn_wal_reader_data_typecxx . . $ grn_wal_reader_data_type# type); |
| 143 | |
| 144 | typedef structcxx . . $ $anonymous_type_e53e4c44496b1987_5# { |
| 145 | grn_wal_reader_data_typecxx . . $ grn_wal_reader_data_type# typecxx . . $ $anonymous_type_e53e4c44496b1987_5#type.; |
| 146 | unioncxx . . $ $anonymous_type_e53e4c44496b1987_5#$anonymous_type_6# { |
| 147 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! booleancxx . . $ $anonymous_type_e53e4c44496b1987_5#$anonymous_type_6#boolean.; |
| 148 | int64_tcxx . . $ int64_t# int64cxx . . $ $anonymous_type_e53e4c44496b1987_5#$anonymous_type_6#int64.; |
| 149 | uint64_tcxx . . $ uint64_t# uint64cxx . . $ $anonymous_type_e53e4c44496b1987_5#$anonymous_type_6#uint64.; |
| 150 | float float32cxx . . $ $anonymous_type_e53e4c44496b1987_5#$anonymous_type_6#float32.; |
| 151 | double float64cxx . . $ $anonymous_type_e53e4c44496b1987_5#$anonymous_type_6#float64.; |
| 152 | structcxx . . $ $anonymous_type_e53e4c44496b1987_5#$anonymous_type_6#$anonymous_type_7# { |
| 153 | const char *datacxx . . $ $anonymous_type_e53e4c44496b1987_5#$anonymous_type_6#$anonymous_type_7#data.; |
| 154 | size_t sizecxx . . $ $anonymous_type_e53e4c44496b1987_5#$anonymous_type_6#$anonymous_type_7#size.; |
| 155 | } stringcxx . . $ $anonymous_type_e53e4c44496b1987_5#$anonymous_type_6#string.; |
| 156 | structcxx . . $ $anonymous_type_e53e4c44496b1987_5#$anonymous_type_6#$anonymous_type_8# { |
| 157 | const void *datacxx . . $ $anonymous_type_e53e4c44496b1987_5#$anonymous_type_6#$anonymous_type_8#data.; |
| 158 | size_t sizecxx . . $ $anonymous_type_e53e4c44496b1987_5#$anonymous_type_6#$anonymous_type_8#size.; |
| 159 | } binarycxx . . $ $anonymous_type_e53e4c44496b1987_5#$anonymous_type_6#binary.; |
| 160 | } contentcxx . . $ $anonymous_type_e53e4c44496b1987_5#content.; |
| 161 | } grn_wal_reader_datacxx . . $ grn_wal_reader_data#; |
| 162 | |
| 163 | typedef structcxx . . $ $anonymous_type_e53e4c44496b1987_9# { |
| 164 | uint64_tcxx . . $ uint64_t# idcxx . . $ $anonymous_type_e53e4c44496b1987_9#id.; |
| 165 | grn_wal_eventcxx . . $ grn_wal_event# eventcxx . . $ $anonymous_type_e53e4c44496b1987_9#event.; |
| 166 | grn_idcxx . . $ grn_id# record_idcxx . . $ $anonymous_type_e53e4c44496b1987_9#record_id.; |
| 167 | uint8_tcxx . . $ uint8_t# record_directioncxx . . $ $anonymous_type_e53e4c44496b1987_9#record_direction.; |
| 168 | uint32_tcxx . . $ uint32_t# element_sizecxx . . $ $anonymous_type_e53e4c44496b1987_9#element_size.; |
| 169 | grn_wal_reader_datacxx . . $ grn_wal_reader_data# keycxx . . $ $anonymous_type_e53e4c44496b1987_9#key.; |
| 170 | uint32_tcxx . . $ uint32_t# key_hash_valuecxx . . $ $anonymous_type_e53e4c44496b1987_9#key_hash_value.; |
| 171 | uint64_tcxx . . $ uint64_t# key_offsetcxx . . $ $anonymous_type_e53e4c44496b1987_9#key_offset.; |
| 172 | uint64_tcxx . . $ uint64_t# shared_key_offsetcxx . . $ $anonymous_type_e53e4c44496b1987_9#shared_key_offset.; |
| 173 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! is_sharedcxx . . $ $anonymous_type_e53e4c44496b1987_9#is_shared.; |
| 174 | uint16_tcxx . . $ uint16_t# checkcxx . . $ $anonymous_type_e53e4c44496b1987_9#check.; |
| 175 | grn_wal_reader_datacxx . . $ grn_wal_reader_data# new_keycxx . . $ $anonymous_type_e53e4c44496b1987_9#new_key.; |
| 176 | grn_idcxx . . $ grn_id# parent_record_idcxx . . $ $anonymous_type_e53e4c44496b1987_9#parent_record_id.; |
| 177 | uint8_tcxx . . $ uint8_t# parent_record_directioncxx . . $ $anonymous_type_e53e4c44496b1987_9#parent_record_direction.; |
| 178 | uint16_tcxx . . $ uint16_t# parent_checkcxx . . $ $anonymous_type_e53e4c44496b1987_9#parent_check.; |
| 179 | grn_idcxx . . $ grn_id# grandparent_record_idcxx . . $ $anonymous_type_e53e4c44496b1987_9#grandparent_record_id.; |
| 180 | grn_idcxx . . $ grn_id# otherside_record_idcxx . . $ $anonymous_type_e53e4c44496b1987_9#otherside_record_id.; |
| 181 | uint16_tcxx . . $ uint16_t# otherside_checkcxx . . $ $anonymous_type_e53e4c44496b1987_9#otherside_check.; |
| 182 | grn_idcxx . . $ grn_id# left_record_idcxx . . $ $anonymous_type_e53e4c44496b1987_9#left_record_id.; |
| 183 | grn_idcxx . . $ grn_id# right_record_idcxx . . $ $anonymous_type_e53e4c44496b1987_9#right_record_id.; |
| 184 | grn_wal_reader_datacxx . . $ grn_wal_reader_data# valuecxx . . $ $anonymous_type_e53e4c44496b1987_9#value.; |
| 185 | uint32_tcxx . . $ uint32_t# index_hash_valuecxx . . $ $anonymous_type_e53e4c44496b1987_9#index_hash_value.; |
| 186 | uint32_tcxx . . $ uint32_t# segmentcxx . . $ $anonymous_type_e53e4c44496b1987_9#segment.; |
| 187 | uint32_tcxx . . $ uint32_t# positioncxx . . $ $anonymous_type_e53e4c44496b1987_9#position.; |
| 188 | grn_wal_segment_typecxx . . $ grn_wal_segment_type# segment_typecxx . . $ $anonymous_type_e53e4c44496b1987_9#segment_type.; |
| 189 | uint32_tcxx . . $ uint32_t# segment_infocxx . . $ $anonymous_type_e53e4c44496b1987_9#segment_info.; |
| 190 | uint32_tcxx . . $ uint32_t# garbage_segmentcxx . . $ $anonymous_type_e53e4c44496b1987_9#garbage_segment.; |
| 191 | uint32_tcxx . . $ uint32_t# previous_garbage_segmentcxx . . $ $anonymous_type_e53e4c44496b1987_9#previous_garbage_segment.; |
| 192 | uint32_tcxx . . $ uint32_t# next_garbage_segmentcxx . . $ $anonymous_type_e53e4c44496b1987_9#next_garbage_segment.; |
| 193 | uint32_tcxx . . $ uint32_t# garbage_segment_headcxx . . $ $anonymous_type_e53e4c44496b1987_9#garbage_segment_head.; |
| 194 | uint32_tcxx . . $ uint32_t# garbage_segment_tailcxx . . $ $anonymous_type_e53e4c44496b1987_9#garbage_segment_tail.; |
| 195 | uint32_tcxx . . $ uint32_t# garbage_segment_n_recordscxx . . $ $anonymous_type_e53e4c44496b1987_9#garbage_segment_n_records.; |
| 196 | grn_idcxx . . $ grn_id# garbage_record_idcxx . . $ $anonymous_type_e53e4c44496b1987_9#garbage_record_id.; |
| 197 | grn_idcxx . . $ grn_id# next_garbage_record_idcxx . . $ $anonymous_type_e53e4c44496b1987_9#next_garbage_record_id.; |
| 198 | uint32_tcxx . . $ uint32_t# n_garbagescxx . . $ $anonymous_type_e53e4c44496b1987_9#n_garbages.; |
| 199 | uint32_tcxx . . $ uint32_t# n_entriescxx . . $ $anonymous_type_e53e4c44496b1987_9#n_entries.; |
| 200 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! found_garbagecxx . . $ $anonymous_type_e53e4c44496b1987_9#found_garbage.; |
| 201 | uint32_tcxx . . $ uint32_t# max_offsetcxx . . $ $anonymous_type_e53e4c44496b1987_9#max_offset.; |
| 202 | uint32_tcxx . . $ uint32_t# expected_n_entriescxx . . $ $anonymous_type_e53e4c44496b1987_9#expected_n_entries.; |
| 203 | uint32_tcxx . . $ uint32_t# delete_info_indexcxx . . $ $anonymous_type_e53e4c44496b1987_9#delete_info_index.; |
| 204 | uint32_tcxx . . $ uint32_t# delete_info_phase1_indexcxx . . $ $anonymous_type_e53e4c44496b1987_9#delete_info_phase1_index.; |
| 205 | uint32_tcxx . . $ uint32_t# delete_info_phase2_indexcxx . . $ $anonymous_type_e53e4c44496b1987_9#delete_info_phase2_index.; |
| 206 | uint32_tcxx . . $ uint32_t# delete_info_phase3_indexcxx . . $ $anonymous_type_e53e4c44496b1987_9#delete_info_phase3_index.; |
| 207 | grn_idcxx . . $ grn_id# previous_record_idcxx . . $ $anonymous_type_e53e4c44496b1987_9#previous_record_id.; |
| 208 | } grn_wal_reader_entrycxx . . $ grn_wal_reader_entry#; |
| 209 | |
| 210 | uint64_tcxx . . $ uint64_t# |
| 211 | grn_wal_generate_idcxx . . $ grn_wal_generate_id(a974fc13268e0b36).(grn_ctxcxx . . $ grn_ctx# *ctx); |
| 212 | |
| 213 | grn_rccxx . . $ grn_rc# |
| 214 | grn_wal_add_entrycxx . . $ grn_wal_add_entry(f55418730f3bb4ba).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 215 | grn_objcxx . . $ grn_obj# *obj, |
| 216 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! need_lock, |
| 217 | uint64_tcxx . . $ uint64_t# *wal_id, |
| 218 | const char *tag, |
| 219 | grn_wal_keycxx . . $ grn_wal_key# key, |
| 220 | ...); |
| 221 | grn_rccxx . . $ grn_rc# |
| 222 | grn_wal_add_entryvcxx . . $ grn_wal_add_entryv(b1ccb7fe2e61454b).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 223 | grn_objcxx . . $ grn_obj# *obj, |
| 224 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! need_lock, |
| 225 | uint64_tcxx . . $ uint64_t# *wal_id, |
| 226 | const char *tag, |
| 227 | grn_wal_keycxx . . $ grn_wal_key# key, |
| 228 | va_listcxx . . $ va_list# args); |
| 229 | grn_rccxx . . $ grn_rc# |
| 230 | grn_wal_touchcxx . . $ grn_wal_touch(fd22f27298c093b1).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 231 | grn_objcxx . . $ grn_obj# *obj, |
| 232 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! need_lock, |
| 233 | const char *tag); |
| 234 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! |
| 235 | grn_wal_existcxx . . $ grn_wal_exist(a5760e5c319a06ee).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_objcxx . . $ grn_obj# *obj); |
| 236 | grn_rccxx . . $ grn_rc# |
| 237 | grn_wal_removecxx . . $ grn_wal_remove(acfed50c3cac5568).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 238 | const char *path, |
| 239 | const char *tag); |
| 240 | grn_rccxx . . $ grn_rc# |
| 241 | grn_wal_clearcxx . . $ grn_wal_clear(fd22f27298c093b1).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 242 | grn_objcxx . . $ grn_obj# *obj, |
| 243 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! need_lock, |
| 244 | const char *tag); |
| 245 | |
| 246 | typedef struct grn_wal_reader_cxx . . $ grn_wal_reader_# grn_wal_readercxx . . $ grn_wal_reader#; |
| 247 | grn_wal_readercxx . . $ grn_wal_reader# * |
| 248 | grn_wal_reader_opencxx . . $ grn_wal_reader_open(fe182cc90cbfd5e9).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 249 | grn_objcxx . . $ grn_obj# *obj, |
| 250 | const char *tag); |
| 251 | grn_rccxx . . $ grn_rc# |
| 252 | grn_wal_reader_closecxx . . $ grn_wal_reader_close(c101e2e85ca998d7).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 253 | grn_wal_readercxx . . $ grn_wal_reader# *reader); |
| 254 | grn_rccxx . . $ grn_rc# |
| 255 | grn_wal_reader_read_entrycxx . . $ grn_wal_reader_read_entry(28480d7d513ff5d1).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 256 | grn_wal_readercxx . . $ grn_wal_reader# *reader, |
| 257 | grn_wal_reader_entrycxx . . $ grn_wal_reader_entry# *entry); |
| 258 | |
| 259 | void |
| 260 | grn_wal_set_recover_errorcxx . . $ grn_wal_set_recover_error(f2c1e0ebbcc51133).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 261 | grn_rccxx . . $ grn_rc# rc, |
| 262 | grn_objcxx . . $ grn_obj# *object, |
| 263 | grn_wal_reader_entrycxx . . $ grn_wal_reader_entry# *entry, |
| 264 | const char *tag, |
| 265 | const char *message); |
| 266 | |
| 267 | grn_rccxx . . $ grn_rc# |
| 268 | grn_wal_dumpcxx . . $ grn_wal_dump(4865d068a46d0f83).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_objcxx . . $ grn_obj# *obj); |
| 269 | |
| 270 | |
| 271 | #ifdef __cplusplus |
| 272 | } |
| 273 | #endif |