b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | --- /dev/null |
| 2 | +++ b/src/common/sysrepo.pb-c.c |
| 3 | @@ -0,0 +1,10537 @@ |
| 4 | +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ |
| 5 | +/* Generated from: sysrepo.proto */ |
| 6 | + |
| 7 | +/* Do not generate deprecated warnings for self */ |
| 8 | +#ifndef PROTOBUF_C__NO_DEPRECATED |
| 9 | +#define PROTOBUF_C__NO_DEPRECATED |
| 10 | +#endif |
| 11 | + |
| 12 | +#include "sysrepo.pb-c.h" |
| 13 | +void sr__value__init |
| 14 | + (Sr__Value *message) |
| 15 | +{ |
| 16 | + static Sr__Value init_value = SR__VALUE__INIT; |
| 17 | + *message = init_value; |
| 18 | +} |
| 19 | +size_t sr__value__get_packed_size |
| 20 | + (const Sr__Value *message) |
| 21 | +{ |
| 22 | + assert(message->base.descriptor == &sr__value__descriptor); |
| 23 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 24 | +} |
| 25 | +size_t sr__value__pack |
| 26 | + (const Sr__Value *message, |
| 27 | + uint8_t *out) |
| 28 | +{ |
| 29 | + assert(message->base.descriptor == &sr__value__descriptor); |
| 30 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 31 | +} |
| 32 | +size_t sr__value__pack_to_buffer |
| 33 | + (const Sr__Value *message, |
| 34 | + ProtobufCBuffer *buffer) |
| 35 | +{ |
| 36 | + assert(message->base.descriptor == &sr__value__descriptor); |
| 37 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 38 | +} |
| 39 | +Sr__Value * |
| 40 | + sr__value__unpack |
| 41 | + (ProtobufCAllocator *allocator, |
| 42 | + size_t len, |
| 43 | + const uint8_t *data) |
| 44 | +{ |
| 45 | + return (Sr__Value *) |
| 46 | + protobuf_c_message_unpack (&sr__value__descriptor, |
| 47 | + allocator, len, data); |
| 48 | +} |
| 49 | +void sr__value__free_unpacked |
| 50 | + (Sr__Value *message, |
| 51 | + ProtobufCAllocator *allocator) |
| 52 | +{ |
| 53 | + assert(message->base.descriptor == &sr__value__descriptor); |
| 54 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 55 | +} |
| 56 | +void sr__node__init |
| 57 | + (Sr__Node *message) |
| 58 | +{ |
| 59 | + static Sr__Node init_value = SR__NODE__INIT; |
| 60 | + *message = init_value; |
| 61 | +} |
| 62 | +size_t sr__node__get_packed_size |
| 63 | + (const Sr__Node *message) |
| 64 | +{ |
| 65 | + assert(message->base.descriptor == &sr__node__descriptor); |
| 66 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 67 | +} |
| 68 | +size_t sr__node__pack |
| 69 | + (const Sr__Node *message, |
| 70 | + uint8_t *out) |
| 71 | +{ |
| 72 | + assert(message->base.descriptor == &sr__node__descriptor); |
| 73 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 74 | +} |
| 75 | +size_t sr__node__pack_to_buffer |
| 76 | + (const Sr__Node *message, |
| 77 | + ProtobufCBuffer *buffer) |
| 78 | +{ |
| 79 | + assert(message->base.descriptor == &sr__node__descriptor); |
| 80 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 81 | +} |
| 82 | +Sr__Node * |
| 83 | + sr__node__unpack |
| 84 | + (ProtobufCAllocator *allocator, |
| 85 | + size_t len, |
| 86 | + const uint8_t *data) |
| 87 | +{ |
| 88 | + return (Sr__Node *) |
| 89 | + protobuf_c_message_unpack (&sr__node__descriptor, |
| 90 | + allocator, len, data); |
| 91 | +} |
| 92 | +void sr__node__free_unpacked |
| 93 | + (Sr__Node *message, |
| 94 | + ProtobufCAllocator *allocator) |
| 95 | +{ |
| 96 | + assert(message->base.descriptor == &sr__node__descriptor); |
| 97 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 98 | +} |
| 99 | +void sr__error__init |
| 100 | + (Sr__Error *message) |
| 101 | +{ |
| 102 | + static Sr__Error init_value = SR__ERROR__INIT; |
| 103 | + *message = init_value; |
| 104 | +} |
| 105 | +size_t sr__error__get_packed_size |
| 106 | + (const Sr__Error *message) |
| 107 | +{ |
| 108 | + assert(message->base.descriptor == &sr__error__descriptor); |
| 109 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 110 | +} |
| 111 | +size_t sr__error__pack |
| 112 | + (const Sr__Error *message, |
| 113 | + uint8_t *out) |
| 114 | +{ |
| 115 | + assert(message->base.descriptor == &sr__error__descriptor); |
| 116 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 117 | +} |
| 118 | +size_t sr__error__pack_to_buffer |
| 119 | + (const Sr__Error *message, |
| 120 | + ProtobufCBuffer *buffer) |
| 121 | +{ |
| 122 | + assert(message->base.descriptor == &sr__error__descriptor); |
| 123 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 124 | +} |
| 125 | +Sr__Error * |
| 126 | + sr__error__unpack |
| 127 | + (ProtobufCAllocator *allocator, |
| 128 | + size_t len, |
| 129 | + const uint8_t *data) |
| 130 | +{ |
| 131 | + return (Sr__Error *) |
| 132 | + protobuf_c_message_unpack (&sr__error__descriptor, |
| 133 | + allocator, len, data); |
| 134 | +} |
| 135 | +void sr__error__free_unpacked |
| 136 | + (Sr__Error *message, |
| 137 | + ProtobufCAllocator *allocator) |
| 138 | +{ |
| 139 | + assert(message->base.descriptor == &sr__error__descriptor); |
| 140 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 141 | +} |
| 142 | +void sr__session_start_req__init |
| 143 | + (Sr__SessionStartReq *message) |
| 144 | +{ |
| 145 | + static Sr__SessionStartReq init_value = SR__SESSION_START_REQ__INIT; |
| 146 | + *message = init_value; |
| 147 | +} |
| 148 | +size_t sr__session_start_req__get_packed_size |
| 149 | + (const Sr__SessionStartReq *message) |
| 150 | +{ |
| 151 | + assert(message->base.descriptor == &sr__session_start_req__descriptor); |
| 152 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 153 | +} |
| 154 | +size_t sr__session_start_req__pack |
| 155 | + (const Sr__SessionStartReq *message, |
| 156 | + uint8_t *out) |
| 157 | +{ |
| 158 | + assert(message->base.descriptor == &sr__session_start_req__descriptor); |
| 159 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 160 | +} |
| 161 | +size_t sr__session_start_req__pack_to_buffer |
| 162 | + (const Sr__SessionStartReq *message, |
| 163 | + ProtobufCBuffer *buffer) |
| 164 | +{ |
| 165 | + assert(message->base.descriptor == &sr__session_start_req__descriptor); |
| 166 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 167 | +} |
| 168 | +Sr__SessionStartReq * |
| 169 | + sr__session_start_req__unpack |
| 170 | + (ProtobufCAllocator *allocator, |
| 171 | + size_t len, |
| 172 | + const uint8_t *data) |
| 173 | +{ |
| 174 | + return (Sr__SessionStartReq *) |
| 175 | + protobuf_c_message_unpack (&sr__session_start_req__descriptor, |
| 176 | + allocator, len, data); |
| 177 | +} |
| 178 | +void sr__session_start_req__free_unpacked |
| 179 | + (Sr__SessionStartReq *message, |
| 180 | + ProtobufCAllocator *allocator) |
| 181 | +{ |
| 182 | + assert(message->base.descriptor == &sr__session_start_req__descriptor); |
| 183 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 184 | +} |
| 185 | +void sr__session_start_resp__init |
| 186 | + (Sr__SessionStartResp *message) |
| 187 | +{ |
| 188 | + static Sr__SessionStartResp init_value = SR__SESSION_START_RESP__INIT; |
| 189 | + *message = init_value; |
| 190 | +} |
| 191 | +size_t sr__session_start_resp__get_packed_size |
| 192 | + (const Sr__SessionStartResp *message) |
| 193 | +{ |
| 194 | + assert(message->base.descriptor == &sr__session_start_resp__descriptor); |
| 195 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 196 | +} |
| 197 | +size_t sr__session_start_resp__pack |
| 198 | + (const Sr__SessionStartResp *message, |
| 199 | + uint8_t *out) |
| 200 | +{ |
| 201 | + assert(message->base.descriptor == &sr__session_start_resp__descriptor); |
| 202 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 203 | +} |
| 204 | +size_t sr__session_start_resp__pack_to_buffer |
| 205 | + (const Sr__SessionStartResp *message, |
| 206 | + ProtobufCBuffer *buffer) |
| 207 | +{ |
| 208 | + assert(message->base.descriptor == &sr__session_start_resp__descriptor); |
| 209 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 210 | +} |
| 211 | +Sr__SessionStartResp * |
| 212 | + sr__session_start_resp__unpack |
| 213 | + (ProtobufCAllocator *allocator, |
| 214 | + size_t len, |
| 215 | + const uint8_t *data) |
| 216 | +{ |
| 217 | + return (Sr__SessionStartResp *) |
| 218 | + protobuf_c_message_unpack (&sr__session_start_resp__descriptor, |
| 219 | + allocator, len, data); |
| 220 | +} |
| 221 | +void sr__session_start_resp__free_unpacked |
| 222 | + (Sr__SessionStartResp *message, |
| 223 | + ProtobufCAllocator *allocator) |
| 224 | +{ |
| 225 | + assert(message->base.descriptor == &sr__session_start_resp__descriptor); |
| 226 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 227 | +} |
| 228 | +void sr__session_stop_req__init |
| 229 | + (Sr__SessionStopReq *message) |
| 230 | +{ |
| 231 | + static Sr__SessionStopReq init_value = SR__SESSION_STOP_REQ__INIT; |
| 232 | + *message = init_value; |
| 233 | +} |
| 234 | +size_t sr__session_stop_req__get_packed_size |
| 235 | + (const Sr__SessionStopReq *message) |
| 236 | +{ |
| 237 | + assert(message->base.descriptor == &sr__session_stop_req__descriptor); |
| 238 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 239 | +} |
| 240 | +size_t sr__session_stop_req__pack |
| 241 | + (const Sr__SessionStopReq *message, |
| 242 | + uint8_t *out) |
| 243 | +{ |
| 244 | + assert(message->base.descriptor == &sr__session_stop_req__descriptor); |
| 245 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 246 | +} |
| 247 | +size_t sr__session_stop_req__pack_to_buffer |
| 248 | + (const Sr__SessionStopReq *message, |
| 249 | + ProtobufCBuffer *buffer) |
| 250 | +{ |
| 251 | + assert(message->base.descriptor == &sr__session_stop_req__descriptor); |
| 252 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 253 | +} |
| 254 | +Sr__SessionStopReq * |
| 255 | + sr__session_stop_req__unpack |
| 256 | + (ProtobufCAllocator *allocator, |
| 257 | + size_t len, |
| 258 | + const uint8_t *data) |
| 259 | +{ |
| 260 | + return (Sr__SessionStopReq *) |
| 261 | + protobuf_c_message_unpack (&sr__session_stop_req__descriptor, |
| 262 | + allocator, len, data); |
| 263 | +} |
| 264 | +void sr__session_stop_req__free_unpacked |
| 265 | + (Sr__SessionStopReq *message, |
| 266 | + ProtobufCAllocator *allocator) |
| 267 | +{ |
| 268 | + assert(message->base.descriptor == &sr__session_stop_req__descriptor); |
| 269 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 270 | +} |
| 271 | +void sr__session_stop_resp__init |
| 272 | + (Sr__SessionStopResp *message) |
| 273 | +{ |
| 274 | + static Sr__SessionStopResp init_value = SR__SESSION_STOP_RESP__INIT; |
| 275 | + *message = init_value; |
| 276 | +} |
| 277 | +size_t sr__session_stop_resp__get_packed_size |
| 278 | + (const Sr__SessionStopResp *message) |
| 279 | +{ |
| 280 | + assert(message->base.descriptor == &sr__session_stop_resp__descriptor); |
| 281 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 282 | +} |
| 283 | +size_t sr__session_stop_resp__pack |
| 284 | + (const Sr__SessionStopResp *message, |
| 285 | + uint8_t *out) |
| 286 | +{ |
| 287 | + assert(message->base.descriptor == &sr__session_stop_resp__descriptor); |
| 288 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 289 | +} |
| 290 | +size_t sr__session_stop_resp__pack_to_buffer |
| 291 | + (const Sr__SessionStopResp *message, |
| 292 | + ProtobufCBuffer *buffer) |
| 293 | +{ |
| 294 | + assert(message->base.descriptor == &sr__session_stop_resp__descriptor); |
| 295 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 296 | +} |
| 297 | +Sr__SessionStopResp * |
| 298 | + sr__session_stop_resp__unpack |
| 299 | + (ProtobufCAllocator *allocator, |
| 300 | + size_t len, |
| 301 | + const uint8_t *data) |
| 302 | +{ |
| 303 | + return (Sr__SessionStopResp *) |
| 304 | + protobuf_c_message_unpack (&sr__session_stop_resp__descriptor, |
| 305 | + allocator, len, data); |
| 306 | +} |
| 307 | +void sr__session_stop_resp__free_unpacked |
| 308 | + (Sr__SessionStopResp *message, |
| 309 | + ProtobufCAllocator *allocator) |
| 310 | +{ |
| 311 | + assert(message->base.descriptor == &sr__session_stop_resp__descriptor); |
| 312 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 313 | +} |
| 314 | +void sr__session_refresh_req__init |
| 315 | + (Sr__SessionRefreshReq *message) |
| 316 | +{ |
| 317 | + static Sr__SessionRefreshReq init_value = SR__SESSION_REFRESH_REQ__INIT; |
| 318 | + *message = init_value; |
| 319 | +} |
| 320 | +size_t sr__session_refresh_req__get_packed_size |
| 321 | + (const Sr__SessionRefreshReq *message) |
| 322 | +{ |
| 323 | + assert(message->base.descriptor == &sr__session_refresh_req__descriptor); |
| 324 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 325 | +} |
| 326 | +size_t sr__session_refresh_req__pack |
| 327 | + (const Sr__SessionRefreshReq *message, |
| 328 | + uint8_t *out) |
| 329 | +{ |
| 330 | + assert(message->base.descriptor == &sr__session_refresh_req__descriptor); |
| 331 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 332 | +} |
| 333 | +size_t sr__session_refresh_req__pack_to_buffer |
| 334 | + (const Sr__SessionRefreshReq *message, |
| 335 | + ProtobufCBuffer *buffer) |
| 336 | +{ |
| 337 | + assert(message->base.descriptor == &sr__session_refresh_req__descriptor); |
| 338 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 339 | +} |
| 340 | +Sr__SessionRefreshReq * |
| 341 | + sr__session_refresh_req__unpack |
| 342 | + (ProtobufCAllocator *allocator, |
| 343 | + size_t len, |
| 344 | + const uint8_t *data) |
| 345 | +{ |
| 346 | + return (Sr__SessionRefreshReq *) |
| 347 | + protobuf_c_message_unpack (&sr__session_refresh_req__descriptor, |
| 348 | + allocator, len, data); |
| 349 | +} |
| 350 | +void sr__session_refresh_req__free_unpacked |
| 351 | + (Sr__SessionRefreshReq *message, |
| 352 | + ProtobufCAllocator *allocator) |
| 353 | +{ |
| 354 | + assert(message->base.descriptor == &sr__session_refresh_req__descriptor); |
| 355 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 356 | +} |
| 357 | +void sr__session_refresh_resp__init |
| 358 | + (Sr__SessionRefreshResp *message) |
| 359 | +{ |
| 360 | + static Sr__SessionRefreshResp init_value = SR__SESSION_REFRESH_RESP__INIT; |
| 361 | + *message = init_value; |
| 362 | +} |
| 363 | +size_t sr__session_refresh_resp__get_packed_size |
| 364 | + (const Sr__SessionRefreshResp *message) |
| 365 | +{ |
| 366 | + assert(message->base.descriptor == &sr__session_refresh_resp__descriptor); |
| 367 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 368 | +} |
| 369 | +size_t sr__session_refresh_resp__pack |
| 370 | + (const Sr__SessionRefreshResp *message, |
| 371 | + uint8_t *out) |
| 372 | +{ |
| 373 | + assert(message->base.descriptor == &sr__session_refresh_resp__descriptor); |
| 374 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 375 | +} |
| 376 | +size_t sr__session_refresh_resp__pack_to_buffer |
| 377 | + (const Sr__SessionRefreshResp *message, |
| 378 | + ProtobufCBuffer *buffer) |
| 379 | +{ |
| 380 | + assert(message->base.descriptor == &sr__session_refresh_resp__descriptor); |
| 381 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 382 | +} |
| 383 | +Sr__SessionRefreshResp * |
| 384 | + sr__session_refresh_resp__unpack |
| 385 | + (ProtobufCAllocator *allocator, |
| 386 | + size_t len, |
| 387 | + const uint8_t *data) |
| 388 | +{ |
| 389 | + return (Sr__SessionRefreshResp *) |
| 390 | + protobuf_c_message_unpack (&sr__session_refresh_resp__descriptor, |
| 391 | + allocator, len, data); |
| 392 | +} |
| 393 | +void sr__session_refresh_resp__free_unpacked |
| 394 | + (Sr__SessionRefreshResp *message, |
| 395 | + ProtobufCAllocator *allocator) |
| 396 | +{ |
| 397 | + assert(message->base.descriptor == &sr__session_refresh_resp__descriptor); |
| 398 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 399 | +} |
| 400 | +void sr__session_check_req__init |
| 401 | + (Sr__SessionCheckReq *message) |
| 402 | +{ |
| 403 | + static Sr__SessionCheckReq init_value = SR__SESSION_CHECK_REQ__INIT; |
| 404 | + *message = init_value; |
| 405 | +} |
| 406 | +size_t sr__session_check_req__get_packed_size |
| 407 | + (const Sr__SessionCheckReq *message) |
| 408 | +{ |
| 409 | + assert(message->base.descriptor == &sr__session_check_req__descriptor); |
| 410 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 411 | +} |
| 412 | +size_t sr__session_check_req__pack |
| 413 | + (const Sr__SessionCheckReq *message, |
| 414 | + uint8_t *out) |
| 415 | +{ |
| 416 | + assert(message->base.descriptor == &sr__session_check_req__descriptor); |
| 417 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 418 | +} |
| 419 | +size_t sr__session_check_req__pack_to_buffer |
| 420 | + (const Sr__SessionCheckReq *message, |
| 421 | + ProtobufCBuffer *buffer) |
| 422 | +{ |
| 423 | + assert(message->base.descriptor == &sr__session_check_req__descriptor); |
| 424 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 425 | +} |
| 426 | +Sr__SessionCheckReq * |
| 427 | + sr__session_check_req__unpack |
| 428 | + (ProtobufCAllocator *allocator, |
| 429 | + size_t len, |
| 430 | + const uint8_t *data) |
| 431 | +{ |
| 432 | + return (Sr__SessionCheckReq *) |
| 433 | + protobuf_c_message_unpack (&sr__session_check_req__descriptor, |
| 434 | + allocator, len, data); |
| 435 | +} |
| 436 | +void sr__session_check_req__free_unpacked |
| 437 | + (Sr__SessionCheckReq *message, |
| 438 | + ProtobufCAllocator *allocator) |
| 439 | +{ |
| 440 | + assert(message->base.descriptor == &sr__session_check_req__descriptor); |
| 441 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 442 | +} |
| 443 | +void sr__session_check_resp__init |
| 444 | + (Sr__SessionCheckResp *message) |
| 445 | +{ |
| 446 | + static Sr__SessionCheckResp init_value = SR__SESSION_CHECK_RESP__INIT; |
| 447 | + *message = init_value; |
| 448 | +} |
| 449 | +size_t sr__session_check_resp__get_packed_size |
| 450 | + (const Sr__SessionCheckResp *message) |
| 451 | +{ |
| 452 | + assert(message->base.descriptor == &sr__session_check_resp__descriptor); |
| 453 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 454 | +} |
| 455 | +size_t sr__session_check_resp__pack |
| 456 | + (const Sr__SessionCheckResp *message, |
| 457 | + uint8_t *out) |
| 458 | +{ |
| 459 | + assert(message->base.descriptor == &sr__session_check_resp__descriptor); |
| 460 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 461 | +} |
| 462 | +size_t sr__session_check_resp__pack_to_buffer |
| 463 | + (const Sr__SessionCheckResp *message, |
| 464 | + ProtobufCBuffer *buffer) |
| 465 | +{ |
| 466 | + assert(message->base.descriptor == &sr__session_check_resp__descriptor); |
| 467 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 468 | +} |
| 469 | +Sr__SessionCheckResp * |
| 470 | + sr__session_check_resp__unpack |
| 471 | + (ProtobufCAllocator *allocator, |
| 472 | + size_t len, |
| 473 | + const uint8_t *data) |
| 474 | +{ |
| 475 | + return (Sr__SessionCheckResp *) |
| 476 | + protobuf_c_message_unpack (&sr__session_check_resp__descriptor, |
| 477 | + allocator, len, data); |
| 478 | +} |
| 479 | +void sr__session_check_resp__free_unpacked |
| 480 | + (Sr__SessionCheckResp *message, |
| 481 | + ProtobufCAllocator *allocator) |
| 482 | +{ |
| 483 | + assert(message->base.descriptor == &sr__session_check_resp__descriptor); |
| 484 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 485 | +} |
| 486 | +void sr__session_switch_ds_req__init |
| 487 | + (Sr__SessionSwitchDsReq *message) |
| 488 | +{ |
| 489 | + static Sr__SessionSwitchDsReq init_value = SR__SESSION_SWITCH_DS_REQ__INIT; |
| 490 | + *message = init_value; |
| 491 | +} |
| 492 | +size_t sr__session_switch_ds_req__get_packed_size |
| 493 | + (const Sr__SessionSwitchDsReq *message) |
| 494 | +{ |
| 495 | + assert(message->base.descriptor == &sr__session_switch_ds_req__descriptor); |
| 496 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 497 | +} |
| 498 | +size_t sr__session_switch_ds_req__pack |
| 499 | + (const Sr__SessionSwitchDsReq *message, |
| 500 | + uint8_t *out) |
| 501 | +{ |
| 502 | + assert(message->base.descriptor == &sr__session_switch_ds_req__descriptor); |
| 503 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 504 | +} |
| 505 | +size_t sr__session_switch_ds_req__pack_to_buffer |
| 506 | + (const Sr__SessionSwitchDsReq *message, |
| 507 | + ProtobufCBuffer *buffer) |
| 508 | +{ |
| 509 | + assert(message->base.descriptor == &sr__session_switch_ds_req__descriptor); |
| 510 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 511 | +} |
| 512 | +Sr__SessionSwitchDsReq * |
| 513 | + sr__session_switch_ds_req__unpack |
| 514 | + (ProtobufCAllocator *allocator, |
| 515 | + size_t len, |
| 516 | + const uint8_t *data) |
| 517 | +{ |
| 518 | + return (Sr__SessionSwitchDsReq *) |
| 519 | + protobuf_c_message_unpack (&sr__session_switch_ds_req__descriptor, |
| 520 | + allocator, len, data); |
| 521 | +} |
| 522 | +void sr__session_switch_ds_req__free_unpacked |
| 523 | + (Sr__SessionSwitchDsReq *message, |
| 524 | + ProtobufCAllocator *allocator) |
| 525 | +{ |
| 526 | + assert(message->base.descriptor == &sr__session_switch_ds_req__descriptor); |
| 527 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 528 | +} |
| 529 | +void sr__session_switch_ds_resp__init |
| 530 | + (Sr__SessionSwitchDsResp *message) |
| 531 | +{ |
| 532 | + static Sr__SessionSwitchDsResp init_value = SR__SESSION_SWITCH_DS_RESP__INIT; |
| 533 | + *message = init_value; |
| 534 | +} |
| 535 | +size_t sr__session_switch_ds_resp__get_packed_size |
| 536 | + (const Sr__SessionSwitchDsResp *message) |
| 537 | +{ |
| 538 | + assert(message->base.descriptor == &sr__session_switch_ds_resp__descriptor); |
| 539 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 540 | +} |
| 541 | +size_t sr__session_switch_ds_resp__pack |
| 542 | + (const Sr__SessionSwitchDsResp *message, |
| 543 | + uint8_t *out) |
| 544 | +{ |
| 545 | + assert(message->base.descriptor == &sr__session_switch_ds_resp__descriptor); |
| 546 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 547 | +} |
| 548 | +size_t sr__session_switch_ds_resp__pack_to_buffer |
| 549 | + (const Sr__SessionSwitchDsResp *message, |
| 550 | + ProtobufCBuffer *buffer) |
| 551 | +{ |
| 552 | + assert(message->base.descriptor == &sr__session_switch_ds_resp__descriptor); |
| 553 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 554 | +} |
| 555 | +Sr__SessionSwitchDsResp * |
| 556 | + sr__session_switch_ds_resp__unpack |
| 557 | + (ProtobufCAllocator *allocator, |
| 558 | + size_t len, |
| 559 | + const uint8_t *data) |
| 560 | +{ |
| 561 | + return (Sr__SessionSwitchDsResp *) |
| 562 | + protobuf_c_message_unpack (&sr__session_switch_ds_resp__descriptor, |
| 563 | + allocator, len, data); |
| 564 | +} |
| 565 | +void sr__session_switch_ds_resp__free_unpacked |
| 566 | + (Sr__SessionSwitchDsResp *message, |
| 567 | + ProtobufCAllocator *allocator) |
| 568 | +{ |
| 569 | + assert(message->base.descriptor == &sr__session_switch_ds_resp__descriptor); |
| 570 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 571 | +} |
| 572 | +void sr__session_set_opts_req__init |
| 573 | + (Sr__SessionSetOptsReq *message) |
| 574 | +{ |
| 575 | + static Sr__SessionSetOptsReq init_value = SR__SESSION_SET_OPTS_REQ__INIT; |
| 576 | + *message = init_value; |
| 577 | +} |
| 578 | +size_t sr__session_set_opts_req__get_packed_size |
| 579 | + (const Sr__SessionSetOptsReq *message) |
| 580 | +{ |
| 581 | + assert(message->base.descriptor == &sr__session_set_opts_req__descriptor); |
| 582 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 583 | +} |
| 584 | +size_t sr__session_set_opts_req__pack |
| 585 | + (const Sr__SessionSetOptsReq *message, |
| 586 | + uint8_t *out) |
| 587 | +{ |
| 588 | + assert(message->base.descriptor == &sr__session_set_opts_req__descriptor); |
| 589 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 590 | +} |
| 591 | +size_t sr__session_set_opts_req__pack_to_buffer |
| 592 | + (const Sr__SessionSetOptsReq *message, |
| 593 | + ProtobufCBuffer *buffer) |
| 594 | +{ |
| 595 | + assert(message->base.descriptor == &sr__session_set_opts_req__descriptor); |
| 596 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 597 | +} |
| 598 | +Sr__SessionSetOptsReq * |
| 599 | + sr__session_set_opts_req__unpack |
| 600 | + (ProtobufCAllocator *allocator, |
| 601 | + size_t len, |
| 602 | + const uint8_t *data) |
| 603 | +{ |
| 604 | + return (Sr__SessionSetOptsReq *) |
| 605 | + protobuf_c_message_unpack (&sr__session_set_opts_req__descriptor, |
| 606 | + allocator, len, data); |
| 607 | +} |
| 608 | +void sr__session_set_opts_req__free_unpacked |
| 609 | + (Sr__SessionSetOptsReq *message, |
| 610 | + ProtobufCAllocator *allocator) |
| 611 | +{ |
| 612 | + assert(message->base.descriptor == &sr__session_set_opts_req__descriptor); |
| 613 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 614 | +} |
| 615 | +void sr__session_set_opts_resp__init |
| 616 | + (Sr__SessionSetOptsResp *message) |
| 617 | +{ |
| 618 | + static Sr__SessionSetOptsResp init_value = SR__SESSION_SET_OPTS_RESP__INIT; |
| 619 | + *message = init_value; |
| 620 | +} |
| 621 | +size_t sr__session_set_opts_resp__get_packed_size |
| 622 | + (const Sr__SessionSetOptsResp *message) |
| 623 | +{ |
| 624 | + assert(message->base.descriptor == &sr__session_set_opts_resp__descriptor); |
| 625 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 626 | +} |
| 627 | +size_t sr__session_set_opts_resp__pack |
| 628 | + (const Sr__SessionSetOptsResp *message, |
| 629 | + uint8_t *out) |
| 630 | +{ |
| 631 | + assert(message->base.descriptor == &sr__session_set_opts_resp__descriptor); |
| 632 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 633 | +} |
| 634 | +size_t sr__session_set_opts_resp__pack_to_buffer |
| 635 | + (const Sr__SessionSetOptsResp *message, |
| 636 | + ProtobufCBuffer *buffer) |
| 637 | +{ |
| 638 | + assert(message->base.descriptor == &sr__session_set_opts_resp__descriptor); |
| 639 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 640 | +} |
| 641 | +Sr__SessionSetOptsResp * |
| 642 | + sr__session_set_opts_resp__unpack |
| 643 | + (ProtobufCAllocator *allocator, |
| 644 | + size_t len, |
| 645 | + const uint8_t *data) |
| 646 | +{ |
| 647 | + return (Sr__SessionSetOptsResp *) |
| 648 | + protobuf_c_message_unpack (&sr__session_set_opts_resp__descriptor, |
| 649 | + allocator, len, data); |
| 650 | +} |
| 651 | +void sr__session_set_opts_resp__free_unpacked |
| 652 | + (Sr__SessionSetOptsResp *message, |
| 653 | + ProtobufCAllocator *allocator) |
| 654 | +{ |
| 655 | + assert(message->base.descriptor == &sr__session_set_opts_resp__descriptor); |
| 656 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 657 | +} |
| 658 | +void sr__version_verify_req__init |
| 659 | + (Sr__VersionVerifyReq *message) |
| 660 | +{ |
| 661 | + static Sr__VersionVerifyReq init_value = SR__VERSION_VERIFY_REQ__INIT; |
| 662 | + *message = init_value; |
| 663 | +} |
| 664 | +size_t sr__version_verify_req__get_packed_size |
| 665 | + (const Sr__VersionVerifyReq *message) |
| 666 | +{ |
| 667 | + assert(message->base.descriptor == &sr__version_verify_req__descriptor); |
| 668 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 669 | +} |
| 670 | +size_t sr__version_verify_req__pack |
| 671 | + (const Sr__VersionVerifyReq *message, |
| 672 | + uint8_t *out) |
| 673 | +{ |
| 674 | + assert(message->base.descriptor == &sr__version_verify_req__descriptor); |
| 675 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 676 | +} |
| 677 | +size_t sr__version_verify_req__pack_to_buffer |
| 678 | + (const Sr__VersionVerifyReq *message, |
| 679 | + ProtobufCBuffer *buffer) |
| 680 | +{ |
| 681 | + assert(message->base.descriptor == &sr__version_verify_req__descriptor); |
| 682 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 683 | +} |
| 684 | +Sr__VersionVerifyReq * |
| 685 | + sr__version_verify_req__unpack |
| 686 | + (ProtobufCAllocator *allocator, |
| 687 | + size_t len, |
| 688 | + const uint8_t *data) |
| 689 | +{ |
| 690 | + return (Sr__VersionVerifyReq *) |
| 691 | + protobuf_c_message_unpack (&sr__version_verify_req__descriptor, |
| 692 | + allocator, len, data); |
| 693 | +} |
| 694 | +void sr__version_verify_req__free_unpacked |
| 695 | + (Sr__VersionVerifyReq *message, |
| 696 | + ProtobufCAllocator *allocator) |
| 697 | +{ |
| 698 | + assert(message->base.descriptor == &sr__version_verify_req__descriptor); |
| 699 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 700 | +} |
| 701 | +void sr__version_verify_resp__init |
| 702 | + (Sr__VersionVerifyResp *message) |
| 703 | +{ |
| 704 | + static Sr__VersionVerifyResp init_value = SR__VERSION_VERIFY_RESP__INIT; |
| 705 | + *message = init_value; |
| 706 | +} |
| 707 | +size_t sr__version_verify_resp__get_packed_size |
| 708 | + (const Sr__VersionVerifyResp *message) |
| 709 | +{ |
| 710 | + assert(message->base.descriptor == &sr__version_verify_resp__descriptor); |
| 711 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 712 | +} |
| 713 | +size_t sr__version_verify_resp__pack |
| 714 | + (const Sr__VersionVerifyResp *message, |
| 715 | + uint8_t *out) |
| 716 | +{ |
| 717 | + assert(message->base.descriptor == &sr__version_verify_resp__descriptor); |
| 718 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 719 | +} |
| 720 | +size_t sr__version_verify_resp__pack_to_buffer |
| 721 | + (const Sr__VersionVerifyResp *message, |
| 722 | + ProtobufCBuffer *buffer) |
| 723 | +{ |
| 724 | + assert(message->base.descriptor == &sr__version_verify_resp__descriptor); |
| 725 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 726 | +} |
| 727 | +Sr__VersionVerifyResp * |
| 728 | + sr__version_verify_resp__unpack |
| 729 | + (ProtobufCAllocator *allocator, |
| 730 | + size_t len, |
| 731 | + const uint8_t *data) |
| 732 | +{ |
| 733 | + return (Sr__VersionVerifyResp *) |
| 734 | + protobuf_c_message_unpack (&sr__version_verify_resp__descriptor, |
| 735 | + allocator, len, data); |
| 736 | +} |
| 737 | +void sr__version_verify_resp__free_unpacked |
| 738 | + (Sr__VersionVerifyResp *message, |
| 739 | + ProtobufCAllocator *allocator) |
| 740 | +{ |
| 741 | + assert(message->base.descriptor == &sr__version_verify_resp__descriptor); |
| 742 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 743 | +} |
| 744 | +void sr__schema_revision__init |
| 745 | + (Sr__SchemaRevision *message) |
| 746 | +{ |
| 747 | + static Sr__SchemaRevision init_value = SR__SCHEMA_REVISION__INIT; |
| 748 | + *message = init_value; |
| 749 | +} |
| 750 | +size_t sr__schema_revision__get_packed_size |
| 751 | + (const Sr__SchemaRevision *message) |
| 752 | +{ |
| 753 | + assert(message->base.descriptor == &sr__schema_revision__descriptor); |
| 754 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 755 | +} |
| 756 | +size_t sr__schema_revision__pack |
| 757 | + (const Sr__SchemaRevision *message, |
| 758 | + uint8_t *out) |
| 759 | +{ |
| 760 | + assert(message->base.descriptor == &sr__schema_revision__descriptor); |
| 761 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 762 | +} |
| 763 | +size_t sr__schema_revision__pack_to_buffer |
| 764 | + (const Sr__SchemaRevision *message, |
| 765 | + ProtobufCBuffer *buffer) |
| 766 | +{ |
| 767 | + assert(message->base.descriptor == &sr__schema_revision__descriptor); |
| 768 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 769 | +} |
| 770 | +Sr__SchemaRevision * |
| 771 | + sr__schema_revision__unpack |
| 772 | + (ProtobufCAllocator *allocator, |
| 773 | + size_t len, |
| 774 | + const uint8_t *data) |
| 775 | +{ |
| 776 | + return (Sr__SchemaRevision *) |
| 777 | + protobuf_c_message_unpack (&sr__schema_revision__descriptor, |
| 778 | + allocator, len, data); |
| 779 | +} |
| 780 | +void sr__schema_revision__free_unpacked |
| 781 | + (Sr__SchemaRevision *message, |
| 782 | + ProtobufCAllocator *allocator) |
| 783 | +{ |
| 784 | + assert(message->base.descriptor == &sr__schema_revision__descriptor); |
| 785 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 786 | +} |
| 787 | +void sr__schema_submodule__init |
| 788 | + (Sr__SchemaSubmodule *message) |
| 789 | +{ |
| 790 | + static Sr__SchemaSubmodule init_value = SR__SCHEMA_SUBMODULE__INIT; |
| 791 | + *message = init_value; |
| 792 | +} |
| 793 | +size_t sr__schema_submodule__get_packed_size |
| 794 | + (const Sr__SchemaSubmodule *message) |
| 795 | +{ |
| 796 | + assert(message->base.descriptor == &sr__schema_submodule__descriptor); |
| 797 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 798 | +} |
| 799 | +size_t sr__schema_submodule__pack |
| 800 | + (const Sr__SchemaSubmodule *message, |
| 801 | + uint8_t *out) |
| 802 | +{ |
| 803 | + assert(message->base.descriptor == &sr__schema_submodule__descriptor); |
| 804 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 805 | +} |
| 806 | +size_t sr__schema_submodule__pack_to_buffer |
| 807 | + (const Sr__SchemaSubmodule *message, |
| 808 | + ProtobufCBuffer *buffer) |
| 809 | +{ |
| 810 | + assert(message->base.descriptor == &sr__schema_submodule__descriptor); |
| 811 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 812 | +} |
| 813 | +Sr__SchemaSubmodule * |
| 814 | + sr__schema_submodule__unpack |
| 815 | + (ProtobufCAllocator *allocator, |
| 816 | + size_t len, |
| 817 | + const uint8_t *data) |
| 818 | +{ |
| 819 | + return (Sr__SchemaSubmodule *) |
| 820 | + protobuf_c_message_unpack (&sr__schema_submodule__descriptor, |
| 821 | + allocator, len, data); |
| 822 | +} |
| 823 | +void sr__schema_submodule__free_unpacked |
| 824 | + (Sr__SchemaSubmodule *message, |
| 825 | + ProtobufCAllocator *allocator) |
| 826 | +{ |
| 827 | + assert(message->base.descriptor == &sr__schema_submodule__descriptor); |
| 828 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 829 | +} |
| 830 | +void sr__schema__init |
| 831 | + (Sr__Schema *message) |
| 832 | +{ |
| 833 | + static Sr__Schema init_value = SR__SCHEMA__INIT; |
| 834 | + *message = init_value; |
| 835 | +} |
| 836 | +size_t sr__schema__get_packed_size |
| 837 | + (const Sr__Schema *message) |
| 838 | +{ |
| 839 | + assert(message->base.descriptor == &sr__schema__descriptor); |
| 840 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 841 | +} |
| 842 | +size_t sr__schema__pack |
| 843 | + (const Sr__Schema *message, |
| 844 | + uint8_t *out) |
| 845 | +{ |
| 846 | + assert(message->base.descriptor == &sr__schema__descriptor); |
| 847 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 848 | +} |
| 849 | +size_t sr__schema__pack_to_buffer |
| 850 | + (const Sr__Schema *message, |
| 851 | + ProtobufCBuffer *buffer) |
| 852 | +{ |
| 853 | + assert(message->base.descriptor == &sr__schema__descriptor); |
| 854 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 855 | +} |
| 856 | +Sr__Schema * |
| 857 | + sr__schema__unpack |
| 858 | + (ProtobufCAllocator *allocator, |
| 859 | + size_t len, |
| 860 | + const uint8_t *data) |
| 861 | +{ |
| 862 | + return (Sr__Schema *) |
| 863 | + protobuf_c_message_unpack (&sr__schema__descriptor, |
| 864 | + allocator, len, data); |
| 865 | +} |
| 866 | +void sr__schema__free_unpacked |
| 867 | + (Sr__Schema *message, |
| 868 | + ProtobufCAllocator *allocator) |
| 869 | +{ |
| 870 | + assert(message->base.descriptor == &sr__schema__descriptor); |
| 871 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 872 | +} |
| 873 | +void sr__list_schemas_req__init |
| 874 | + (Sr__ListSchemasReq *message) |
| 875 | +{ |
| 876 | + static Sr__ListSchemasReq init_value = SR__LIST_SCHEMAS_REQ__INIT; |
| 877 | + *message = init_value; |
| 878 | +} |
| 879 | +size_t sr__list_schemas_req__get_packed_size |
| 880 | + (const Sr__ListSchemasReq *message) |
| 881 | +{ |
| 882 | + assert(message->base.descriptor == &sr__list_schemas_req__descriptor); |
| 883 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 884 | +} |
| 885 | +size_t sr__list_schemas_req__pack |
| 886 | + (const Sr__ListSchemasReq *message, |
| 887 | + uint8_t *out) |
| 888 | +{ |
| 889 | + assert(message->base.descriptor == &sr__list_schemas_req__descriptor); |
| 890 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 891 | +} |
| 892 | +size_t sr__list_schemas_req__pack_to_buffer |
| 893 | + (const Sr__ListSchemasReq *message, |
| 894 | + ProtobufCBuffer *buffer) |
| 895 | +{ |
| 896 | + assert(message->base.descriptor == &sr__list_schemas_req__descriptor); |
| 897 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 898 | +} |
| 899 | +Sr__ListSchemasReq * |
| 900 | + sr__list_schemas_req__unpack |
| 901 | + (ProtobufCAllocator *allocator, |
| 902 | + size_t len, |
| 903 | + const uint8_t *data) |
| 904 | +{ |
| 905 | + return (Sr__ListSchemasReq *) |
| 906 | + protobuf_c_message_unpack (&sr__list_schemas_req__descriptor, |
| 907 | + allocator, len, data); |
| 908 | +} |
| 909 | +void sr__list_schemas_req__free_unpacked |
| 910 | + (Sr__ListSchemasReq *message, |
| 911 | + ProtobufCAllocator *allocator) |
| 912 | +{ |
| 913 | + assert(message->base.descriptor == &sr__list_schemas_req__descriptor); |
| 914 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 915 | +} |
| 916 | +void sr__list_schemas_resp__init |
| 917 | + (Sr__ListSchemasResp *message) |
| 918 | +{ |
| 919 | + static Sr__ListSchemasResp init_value = SR__LIST_SCHEMAS_RESP__INIT; |
| 920 | + *message = init_value; |
| 921 | +} |
| 922 | +size_t sr__list_schemas_resp__get_packed_size |
| 923 | + (const Sr__ListSchemasResp *message) |
| 924 | +{ |
| 925 | + assert(message->base.descriptor == &sr__list_schemas_resp__descriptor); |
| 926 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 927 | +} |
| 928 | +size_t sr__list_schemas_resp__pack |
| 929 | + (const Sr__ListSchemasResp *message, |
| 930 | + uint8_t *out) |
| 931 | +{ |
| 932 | + assert(message->base.descriptor == &sr__list_schemas_resp__descriptor); |
| 933 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 934 | +} |
| 935 | +size_t sr__list_schemas_resp__pack_to_buffer |
| 936 | + (const Sr__ListSchemasResp *message, |
| 937 | + ProtobufCBuffer *buffer) |
| 938 | +{ |
| 939 | + assert(message->base.descriptor == &sr__list_schemas_resp__descriptor); |
| 940 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 941 | +} |
| 942 | +Sr__ListSchemasResp * |
| 943 | + sr__list_schemas_resp__unpack |
| 944 | + (ProtobufCAllocator *allocator, |
| 945 | + size_t len, |
| 946 | + const uint8_t *data) |
| 947 | +{ |
| 948 | + return (Sr__ListSchemasResp *) |
| 949 | + protobuf_c_message_unpack (&sr__list_schemas_resp__descriptor, |
| 950 | + allocator, len, data); |
| 951 | +} |
| 952 | +void sr__list_schemas_resp__free_unpacked |
| 953 | + (Sr__ListSchemasResp *message, |
| 954 | + ProtobufCAllocator *allocator) |
| 955 | +{ |
| 956 | + assert(message->base.descriptor == &sr__list_schemas_resp__descriptor); |
| 957 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 958 | +} |
| 959 | +void sr__get_schema_req__init |
| 960 | + (Sr__GetSchemaReq *message) |
| 961 | +{ |
| 962 | + static Sr__GetSchemaReq init_value = SR__GET_SCHEMA_REQ__INIT; |
| 963 | + *message = init_value; |
| 964 | +} |
| 965 | +size_t sr__get_schema_req__get_packed_size |
| 966 | + (const Sr__GetSchemaReq *message) |
| 967 | +{ |
| 968 | + assert(message->base.descriptor == &sr__get_schema_req__descriptor); |
| 969 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 970 | +} |
| 971 | +size_t sr__get_schema_req__pack |
| 972 | + (const Sr__GetSchemaReq *message, |
| 973 | + uint8_t *out) |
| 974 | +{ |
| 975 | + assert(message->base.descriptor == &sr__get_schema_req__descriptor); |
| 976 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 977 | +} |
| 978 | +size_t sr__get_schema_req__pack_to_buffer |
| 979 | + (const Sr__GetSchemaReq *message, |
| 980 | + ProtobufCBuffer *buffer) |
| 981 | +{ |
| 982 | + assert(message->base.descriptor == &sr__get_schema_req__descriptor); |
| 983 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 984 | +} |
| 985 | +Sr__GetSchemaReq * |
| 986 | + sr__get_schema_req__unpack |
| 987 | + (ProtobufCAllocator *allocator, |
| 988 | + size_t len, |
| 989 | + const uint8_t *data) |
| 990 | +{ |
| 991 | + return (Sr__GetSchemaReq *) |
| 992 | + protobuf_c_message_unpack (&sr__get_schema_req__descriptor, |
| 993 | + allocator, len, data); |
| 994 | +} |
| 995 | +void sr__get_schema_req__free_unpacked |
| 996 | + (Sr__GetSchemaReq *message, |
| 997 | + ProtobufCAllocator *allocator) |
| 998 | +{ |
| 999 | + assert(message->base.descriptor == &sr__get_schema_req__descriptor); |
| 1000 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1001 | +} |
| 1002 | +void sr__get_schema_resp__init |
| 1003 | + (Sr__GetSchemaResp *message) |
| 1004 | +{ |
| 1005 | + static Sr__GetSchemaResp init_value = SR__GET_SCHEMA_RESP__INIT; |
| 1006 | + *message = init_value; |
| 1007 | +} |
| 1008 | +size_t sr__get_schema_resp__get_packed_size |
| 1009 | + (const Sr__GetSchemaResp *message) |
| 1010 | +{ |
| 1011 | + assert(message->base.descriptor == &sr__get_schema_resp__descriptor); |
| 1012 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1013 | +} |
| 1014 | +size_t sr__get_schema_resp__pack |
| 1015 | + (const Sr__GetSchemaResp *message, |
| 1016 | + uint8_t *out) |
| 1017 | +{ |
| 1018 | + assert(message->base.descriptor == &sr__get_schema_resp__descriptor); |
| 1019 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1020 | +} |
| 1021 | +size_t sr__get_schema_resp__pack_to_buffer |
| 1022 | + (const Sr__GetSchemaResp *message, |
| 1023 | + ProtobufCBuffer *buffer) |
| 1024 | +{ |
| 1025 | + assert(message->base.descriptor == &sr__get_schema_resp__descriptor); |
| 1026 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1027 | +} |
| 1028 | +Sr__GetSchemaResp * |
| 1029 | + sr__get_schema_resp__unpack |
| 1030 | + (ProtobufCAllocator *allocator, |
| 1031 | + size_t len, |
| 1032 | + const uint8_t *data) |
| 1033 | +{ |
| 1034 | + return (Sr__GetSchemaResp *) |
| 1035 | + protobuf_c_message_unpack (&sr__get_schema_resp__descriptor, |
| 1036 | + allocator, len, data); |
| 1037 | +} |
| 1038 | +void sr__get_schema_resp__free_unpacked |
| 1039 | + (Sr__GetSchemaResp *message, |
| 1040 | + ProtobufCAllocator *allocator) |
| 1041 | +{ |
| 1042 | + assert(message->base.descriptor == &sr__get_schema_resp__descriptor); |
| 1043 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1044 | +} |
| 1045 | +void sr__get_item_req__init |
| 1046 | + (Sr__GetItemReq *message) |
| 1047 | +{ |
| 1048 | + static Sr__GetItemReq init_value = SR__GET_ITEM_REQ__INIT; |
| 1049 | + *message = init_value; |
| 1050 | +} |
| 1051 | +size_t sr__get_item_req__get_packed_size |
| 1052 | + (const Sr__GetItemReq *message) |
| 1053 | +{ |
| 1054 | + assert(message->base.descriptor == &sr__get_item_req__descriptor); |
| 1055 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1056 | +} |
| 1057 | +size_t sr__get_item_req__pack |
| 1058 | + (const Sr__GetItemReq *message, |
| 1059 | + uint8_t *out) |
| 1060 | +{ |
| 1061 | + assert(message->base.descriptor == &sr__get_item_req__descriptor); |
| 1062 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1063 | +} |
| 1064 | +size_t sr__get_item_req__pack_to_buffer |
| 1065 | + (const Sr__GetItemReq *message, |
| 1066 | + ProtobufCBuffer *buffer) |
| 1067 | +{ |
| 1068 | + assert(message->base.descriptor == &sr__get_item_req__descriptor); |
| 1069 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1070 | +} |
| 1071 | +Sr__GetItemReq * |
| 1072 | + sr__get_item_req__unpack |
| 1073 | + (ProtobufCAllocator *allocator, |
| 1074 | + size_t len, |
| 1075 | + const uint8_t *data) |
| 1076 | +{ |
| 1077 | + return (Sr__GetItemReq *) |
| 1078 | + protobuf_c_message_unpack (&sr__get_item_req__descriptor, |
| 1079 | + allocator, len, data); |
| 1080 | +} |
| 1081 | +void sr__get_item_req__free_unpacked |
| 1082 | + (Sr__GetItemReq *message, |
| 1083 | + ProtobufCAllocator *allocator) |
| 1084 | +{ |
| 1085 | + assert(message->base.descriptor == &sr__get_item_req__descriptor); |
| 1086 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1087 | +} |
| 1088 | +void sr__get_item_resp__init |
| 1089 | + (Sr__GetItemResp *message) |
| 1090 | +{ |
| 1091 | + static Sr__GetItemResp init_value = SR__GET_ITEM_RESP__INIT; |
| 1092 | + *message = init_value; |
| 1093 | +} |
| 1094 | +size_t sr__get_item_resp__get_packed_size |
| 1095 | + (const Sr__GetItemResp *message) |
| 1096 | +{ |
| 1097 | + assert(message->base.descriptor == &sr__get_item_resp__descriptor); |
| 1098 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1099 | +} |
| 1100 | +size_t sr__get_item_resp__pack |
| 1101 | + (const Sr__GetItemResp *message, |
| 1102 | + uint8_t *out) |
| 1103 | +{ |
| 1104 | + assert(message->base.descriptor == &sr__get_item_resp__descriptor); |
| 1105 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1106 | +} |
| 1107 | +size_t sr__get_item_resp__pack_to_buffer |
| 1108 | + (const Sr__GetItemResp *message, |
| 1109 | + ProtobufCBuffer *buffer) |
| 1110 | +{ |
| 1111 | + assert(message->base.descriptor == &sr__get_item_resp__descriptor); |
| 1112 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1113 | +} |
| 1114 | +Sr__GetItemResp * |
| 1115 | + sr__get_item_resp__unpack |
| 1116 | + (ProtobufCAllocator *allocator, |
| 1117 | + size_t len, |
| 1118 | + const uint8_t *data) |
| 1119 | +{ |
| 1120 | + return (Sr__GetItemResp *) |
| 1121 | + protobuf_c_message_unpack (&sr__get_item_resp__descriptor, |
| 1122 | + allocator, len, data); |
| 1123 | +} |
| 1124 | +void sr__get_item_resp__free_unpacked |
| 1125 | + (Sr__GetItemResp *message, |
| 1126 | + ProtobufCAllocator *allocator) |
| 1127 | +{ |
| 1128 | + assert(message->base.descriptor == &sr__get_item_resp__descriptor); |
| 1129 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1130 | +} |
| 1131 | +void sr__get_items_req__init |
| 1132 | + (Sr__GetItemsReq *message) |
| 1133 | +{ |
| 1134 | + static Sr__GetItemsReq init_value = SR__GET_ITEMS_REQ__INIT; |
| 1135 | + *message = init_value; |
| 1136 | +} |
| 1137 | +size_t sr__get_items_req__get_packed_size |
| 1138 | + (const Sr__GetItemsReq *message) |
| 1139 | +{ |
| 1140 | + assert(message->base.descriptor == &sr__get_items_req__descriptor); |
| 1141 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1142 | +} |
| 1143 | +size_t sr__get_items_req__pack |
| 1144 | + (const Sr__GetItemsReq *message, |
| 1145 | + uint8_t *out) |
| 1146 | +{ |
| 1147 | + assert(message->base.descriptor == &sr__get_items_req__descriptor); |
| 1148 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1149 | +} |
| 1150 | +size_t sr__get_items_req__pack_to_buffer |
| 1151 | + (const Sr__GetItemsReq *message, |
| 1152 | + ProtobufCBuffer *buffer) |
| 1153 | +{ |
| 1154 | + assert(message->base.descriptor == &sr__get_items_req__descriptor); |
| 1155 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1156 | +} |
| 1157 | +Sr__GetItemsReq * |
| 1158 | + sr__get_items_req__unpack |
| 1159 | + (ProtobufCAllocator *allocator, |
| 1160 | + size_t len, |
| 1161 | + const uint8_t *data) |
| 1162 | +{ |
| 1163 | + return (Sr__GetItemsReq *) |
| 1164 | + protobuf_c_message_unpack (&sr__get_items_req__descriptor, |
| 1165 | + allocator, len, data); |
| 1166 | +} |
| 1167 | +void sr__get_items_req__free_unpacked |
| 1168 | + (Sr__GetItemsReq *message, |
| 1169 | + ProtobufCAllocator *allocator) |
| 1170 | +{ |
| 1171 | + assert(message->base.descriptor == &sr__get_items_req__descriptor); |
| 1172 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1173 | +} |
| 1174 | +void sr__get_items_resp__init |
| 1175 | + (Sr__GetItemsResp *message) |
| 1176 | +{ |
| 1177 | + static Sr__GetItemsResp init_value = SR__GET_ITEMS_RESP__INIT; |
| 1178 | + *message = init_value; |
| 1179 | +} |
| 1180 | +size_t sr__get_items_resp__get_packed_size |
| 1181 | + (const Sr__GetItemsResp *message) |
| 1182 | +{ |
| 1183 | + assert(message->base.descriptor == &sr__get_items_resp__descriptor); |
| 1184 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1185 | +} |
| 1186 | +size_t sr__get_items_resp__pack |
| 1187 | + (const Sr__GetItemsResp *message, |
| 1188 | + uint8_t *out) |
| 1189 | +{ |
| 1190 | + assert(message->base.descriptor == &sr__get_items_resp__descriptor); |
| 1191 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1192 | +} |
| 1193 | +size_t sr__get_items_resp__pack_to_buffer |
| 1194 | + (const Sr__GetItemsResp *message, |
| 1195 | + ProtobufCBuffer *buffer) |
| 1196 | +{ |
| 1197 | + assert(message->base.descriptor == &sr__get_items_resp__descriptor); |
| 1198 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1199 | +} |
| 1200 | +Sr__GetItemsResp * |
| 1201 | + sr__get_items_resp__unpack |
| 1202 | + (ProtobufCAllocator *allocator, |
| 1203 | + size_t len, |
| 1204 | + const uint8_t *data) |
| 1205 | +{ |
| 1206 | + return (Sr__GetItemsResp *) |
| 1207 | + protobuf_c_message_unpack (&sr__get_items_resp__descriptor, |
| 1208 | + allocator, len, data); |
| 1209 | +} |
| 1210 | +void sr__get_items_resp__free_unpacked |
| 1211 | + (Sr__GetItemsResp *message, |
| 1212 | + ProtobufCAllocator *allocator) |
| 1213 | +{ |
| 1214 | + assert(message->base.descriptor == &sr__get_items_resp__descriptor); |
| 1215 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1216 | +} |
| 1217 | +void sr__get_subtree_req__init |
| 1218 | + (Sr__GetSubtreeReq *message) |
| 1219 | +{ |
| 1220 | + static Sr__GetSubtreeReq init_value = SR__GET_SUBTREE_REQ__INIT; |
| 1221 | + *message = init_value; |
| 1222 | +} |
| 1223 | +size_t sr__get_subtree_req__get_packed_size |
| 1224 | + (const Sr__GetSubtreeReq *message) |
| 1225 | +{ |
| 1226 | + assert(message->base.descriptor == &sr__get_subtree_req__descriptor); |
| 1227 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1228 | +} |
| 1229 | +size_t sr__get_subtree_req__pack |
| 1230 | + (const Sr__GetSubtreeReq *message, |
| 1231 | + uint8_t *out) |
| 1232 | +{ |
| 1233 | + assert(message->base.descriptor == &sr__get_subtree_req__descriptor); |
| 1234 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1235 | +} |
| 1236 | +size_t sr__get_subtree_req__pack_to_buffer |
| 1237 | + (const Sr__GetSubtreeReq *message, |
| 1238 | + ProtobufCBuffer *buffer) |
| 1239 | +{ |
| 1240 | + assert(message->base.descriptor == &sr__get_subtree_req__descriptor); |
| 1241 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1242 | +} |
| 1243 | +Sr__GetSubtreeReq * |
| 1244 | + sr__get_subtree_req__unpack |
| 1245 | + (ProtobufCAllocator *allocator, |
| 1246 | + size_t len, |
| 1247 | + const uint8_t *data) |
| 1248 | +{ |
| 1249 | + return (Sr__GetSubtreeReq *) |
| 1250 | + protobuf_c_message_unpack (&sr__get_subtree_req__descriptor, |
| 1251 | + allocator, len, data); |
| 1252 | +} |
| 1253 | +void sr__get_subtree_req__free_unpacked |
| 1254 | + (Sr__GetSubtreeReq *message, |
| 1255 | + ProtobufCAllocator *allocator) |
| 1256 | +{ |
| 1257 | + assert(message->base.descriptor == &sr__get_subtree_req__descriptor); |
| 1258 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1259 | +} |
| 1260 | +void sr__get_subtree_resp__init |
| 1261 | + (Sr__GetSubtreeResp *message) |
| 1262 | +{ |
| 1263 | + static Sr__GetSubtreeResp init_value = SR__GET_SUBTREE_RESP__INIT; |
| 1264 | + *message = init_value; |
| 1265 | +} |
| 1266 | +size_t sr__get_subtree_resp__get_packed_size |
| 1267 | + (const Sr__GetSubtreeResp *message) |
| 1268 | +{ |
| 1269 | + assert(message->base.descriptor == &sr__get_subtree_resp__descriptor); |
| 1270 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1271 | +} |
| 1272 | +size_t sr__get_subtree_resp__pack |
| 1273 | + (const Sr__GetSubtreeResp *message, |
| 1274 | + uint8_t *out) |
| 1275 | +{ |
| 1276 | + assert(message->base.descriptor == &sr__get_subtree_resp__descriptor); |
| 1277 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1278 | +} |
| 1279 | +size_t sr__get_subtree_resp__pack_to_buffer |
| 1280 | + (const Sr__GetSubtreeResp *message, |
| 1281 | + ProtobufCBuffer *buffer) |
| 1282 | +{ |
| 1283 | + assert(message->base.descriptor == &sr__get_subtree_resp__descriptor); |
| 1284 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1285 | +} |
| 1286 | +Sr__GetSubtreeResp * |
| 1287 | + sr__get_subtree_resp__unpack |
| 1288 | + (ProtobufCAllocator *allocator, |
| 1289 | + size_t len, |
| 1290 | + const uint8_t *data) |
| 1291 | +{ |
| 1292 | + return (Sr__GetSubtreeResp *) |
| 1293 | + protobuf_c_message_unpack (&sr__get_subtree_resp__descriptor, |
| 1294 | + allocator, len, data); |
| 1295 | +} |
| 1296 | +void sr__get_subtree_resp__free_unpacked |
| 1297 | + (Sr__GetSubtreeResp *message, |
| 1298 | + ProtobufCAllocator *allocator) |
| 1299 | +{ |
| 1300 | + assert(message->base.descriptor == &sr__get_subtree_resp__descriptor); |
| 1301 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1302 | +} |
| 1303 | +void sr__get_subtrees_req__init |
| 1304 | + (Sr__GetSubtreesReq *message) |
| 1305 | +{ |
| 1306 | + static Sr__GetSubtreesReq init_value = SR__GET_SUBTREES_REQ__INIT; |
| 1307 | + *message = init_value; |
| 1308 | +} |
| 1309 | +size_t sr__get_subtrees_req__get_packed_size |
| 1310 | + (const Sr__GetSubtreesReq *message) |
| 1311 | +{ |
| 1312 | + assert(message->base.descriptor == &sr__get_subtrees_req__descriptor); |
| 1313 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1314 | +} |
| 1315 | +size_t sr__get_subtrees_req__pack |
| 1316 | + (const Sr__GetSubtreesReq *message, |
| 1317 | + uint8_t *out) |
| 1318 | +{ |
| 1319 | + assert(message->base.descriptor == &sr__get_subtrees_req__descriptor); |
| 1320 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1321 | +} |
| 1322 | +size_t sr__get_subtrees_req__pack_to_buffer |
| 1323 | + (const Sr__GetSubtreesReq *message, |
| 1324 | + ProtobufCBuffer *buffer) |
| 1325 | +{ |
| 1326 | + assert(message->base.descriptor == &sr__get_subtrees_req__descriptor); |
| 1327 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1328 | +} |
| 1329 | +Sr__GetSubtreesReq * |
| 1330 | + sr__get_subtrees_req__unpack |
| 1331 | + (ProtobufCAllocator *allocator, |
| 1332 | + size_t len, |
| 1333 | + const uint8_t *data) |
| 1334 | +{ |
| 1335 | + return (Sr__GetSubtreesReq *) |
| 1336 | + protobuf_c_message_unpack (&sr__get_subtrees_req__descriptor, |
| 1337 | + allocator, len, data); |
| 1338 | +} |
| 1339 | +void sr__get_subtrees_req__free_unpacked |
| 1340 | + (Sr__GetSubtreesReq *message, |
| 1341 | + ProtobufCAllocator *allocator) |
| 1342 | +{ |
| 1343 | + assert(message->base.descriptor == &sr__get_subtrees_req__descriptor); |
| 1344 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1345 | +} |
| 1346 | +void sr__get_subtrees_resp__init |
| 1347 | + (Sr__GetSubtreesResp *message) |
| 1348 | +{ |
| 1349 | + static Sr__GetSubtreesResp init_value = SR__GET_SUBTREES_RESP__INIT; |
| 1350 | + *message = init_value; |
| 1351 | +} |
| 1352 | +size_t sr__get_subtrees_resp__get_packed_size |
| 1353 | + (const Sr__GetSubtreesResp *message) |
| 1354 | +{ |
| 1355 | + assert(message->base.descriptor == &sr__get_subtrees_resp__descriptor); |
| 1356 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1357 | +} |
| 1358 | +size_t sr__get_subtrees_resp__pack |
| 1359 | + (const Sr__GetSubtreesResp *message, |
| 1360 | + uint8_t *out) |
| 1361 | +{ |
| 1362 | + assert(message->base.descriptor == &sr__get_subtrees_resp__descriptor); |
| 1363 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1364 | +} |
| 1365 | +size_t sr__get_subtrees_resp__pack_to_buffer |
| 1366 | + (const Sr__GetSubtreesResp *message, |
| 1367 | + ProtobufCBuffer *buffer) |
| 1368 | +{ |
| 1369 | + assert(message->base.descriptor == &sr__get_subtrees_resp__descriptor); |
| 1370 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1371 | +} |
| 1372 | +Sr__GetSubtreesResp * |
| 1373 | + sr__get_subtrees_resp__unpack |
| 1374 | + (ProtobufCAllocator *allocator, |
| 1375 | + size_t len, |
| 1376 | + const uint8_t *data) |
| 1377 | +{ |
| 1378 | + return (Sr__GetSubtreesResp *) |
| 1379 | + protobuf_c_message_unpack (&sr__get_subtrees_resp__descriptor, |
| 1380 | + allocator, len, data); |
| 1381 | +} |
| 1382 | +void sr__get_subtrees_resp__free_unpacked |
| 1383 | + (Sr__GetSubtreesResp *message, |
| 1384 | + ProtobufCAllocator *allocator) |
| 1385 | +{ |
| 1386 | + assert(message->base.descriptor == &sr__get_subtrees_resp__descriptor); |
| 1387 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1388 | +} |
| 1389 | +void sr__get_subtree_chunk_req__init |
| 1390 | + (Sr__GetSubtreeChunkReq *message) |
| 1391 | +{ |
| 1392 | + static Sr__GetSubtreeChunkReq init_value = SR__GET_SUBTREE_CHUNK_REQ__INIT; |
| 1393 | + *message = init_value; |
| 1394 | +} |
| 1395 | +size_t sr__get_subtree_chunk_req__get_packed_size |
| 1396 | + (const Sr__GetSubtreeChunkReq *message) |
| 1397 | +{ |
| 1398 | + assert(message->base.descriptor == &sr__get_subtree_chunk_req__descriptor); |
| 1399 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1400 | +} |
| 1401 | +size_t sr__get_subtree_chunk_req__pack |
| 1402 | + (const Sr__GetSubtreeChunkReq *message, |
| 1403 | + uint8_t *out) |
| 1404 | +{ |
| 1405 | + assert(message->base.descriptor == &sr__get_subtree_chunk_req__descriptor); |
| 1406 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1407 | +} |
| 1408 | +size_t sr__get_subtree_chunk_req__pack_to_buffer |
| 1409 | + (const Sr__GetSubtreeChunkReq *message, |
| 1410 | + ProtobufCBuffer *buffer) |
| 1411 | +{ |
| 1412 | + assert(message->base.descriptor == &sr__get_subtree_chunk_req__descriptor); |
| 1413 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1414 | +} |
| 1415 | +Sr__GetSubtreeChunkReq * |
| 1416 | + sr__get_subtree_chunk_req__unpack |
| 1417 | + (ProtobufCAllocator *allocator, |
| 1418 | + size_t len, |
| 1419 | + const uint8_t *data) |
| 1420 | +{ |
| 1421 | + return (Sr__GetSubtreeChunkReq *) |
| 1422 | + protobuf_c_message_unpack (&sr__get_subtree_chunk_req__descriptor, |
| 1423 | + allocator, len, data); |
| 1424 | +} |
| 1425 | +void sr__get_subtree_chunk_req__free_unpacked |
| 1426 | + (Sr__GetSubtreeChunkReq *message, |
| 1427 | + ProtobufCAllocator *allocator) |
| 1428 | +{ |
| 1429 | + assert(message->base.descriptor == &sr__get_subtree_chunk_req__descriptor); |
| 1430 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1431 | +} |
| 1432 | +void sr__get_subtree_chunk_resp__init |
| 1433 | + (Sr__GetSubtreeChunkResp *message) |
| 1434 | +{ |
| 1435 | + static Sr__GetSubtreeChunkResp init_value = SR__GET_SUBTREE_CHUNK_RESP__INIT; |
| 1436 | + *message = init_value; |
| 1437 | +} |
| 1438 | +size_t sr__get_subtree_chunk_resp__get_packed_size |
| 1439 | + (const Sr__GetSubtreeChunkResp *message) |
| 1440 | +{ |
| 1441 | + assert(message->base.descriptor == &sr__get_subtree_chunk_resp__descriptor); |
| 1442 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1443 | +} |
| 1444 | +size_t sr__get_subtree_chunk_resp__pack |
| 1445 | + (const Sr__GetSubtreeChunkResp *message, |
| 1446 | + uint8_t *out) |
| 1447 | +{ |
| 1448 | + assert(message->base.descriptor == &sr__get_subtree_chunk_resp__descriptor); |
| 1449 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1450 | +} |
| 1451 | +size_t sr__get_subtree_chunk_resp__pack_to_buffer |
| 1452 | + (const Sr__GetSubtreeChunkResp *message, |
| 1453 | + ProtobufCBuffer *buffer) |
| 1454 | +{ |
| 1455 | + assert(message->base.descriptor == &sr__get_subtree_chunk_resp__descriptor); |
| 1456 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1457 | +} |
| 1458 | +Sr__GetSubtreeChunkResp * |
| 1459 | + sr__get_subtree_chunk_resp__unpack |
| 1460 | + (ProtobufCAllocator *allocator, |
| 1461 | + size_t len, |
| 1462 | + const uint8_t *data) |
| 1463 | +{ |
| 1464 | + return (Sr__GetSubtreeChunkResp *) |
| 1465 | + protobuf_c_message_unpack (&sr__get_subtree_chunk_resp__descriptor, |
| 1466 | + allocator, len, data); |
| 1467 | +} |
| 1468 | +void sr__get_subtree_chunk_resp__free_unpacked |
| 1469 | + (Sr__GetSubtreeChunkResp *message, |
| 1470 | + ProtobufCAllocator *allocator) |
| 1471 | +{ |
| 1472 | + assert(message->base.descriptor == &sr__get_subtree_chunk_resp__descriptor); |
| 1473 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1474 | +} |
| 1475 | +void sr__set_item_req__init |
| 1476 | + (Sr__SetItemReq *message) |
| 1477 | +{ |
| 1478 | + static Sr__SetItemReq init_value = SR__SET_ITEM_REQ__INIT; |
| 1479 | + *message = init_value; |
| 1480 | +} |
| 1481 | +size_t sr__set_item_req__get_packed_size |
| 1482 | + (const Sr__SetItemReq *message) |
| 1483 | +{ |
| 1484 | + assert(message->base.descriptor == &sr__set_item_req__descriptor); |
| 1485 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1486 | +} |
| 1487 | +size_t sr__set_item_req__pack |
| 1488 | + (const Sr__SetItemReq *message, |
| 1489 | + uint8_t *out) |
| 1490 | +{ |
| 1491 | + assert(message->base.descriptor == &sr__set_item_req__descriptor); |
| 1492 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1493 | +} |
| 1494 | +size_t sr__set_item_req__pack_to_buffer |
| 1495 | + (const Sr__SetItemReq *message, |
| 1496 | + ProtobufCBuffer *buffer) |
| 1497 | +{ |
| 1498 | + assert(message->base.descriptor == &sr__set_item_req__descriptor); |
| 1499 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1500 | +} |
| 1501 | +Sr__SetItemReq * |
| 1502 | + sr__set_item_req__unpack |
| 1503 | + (ProtobufCAllocator *allocator, |
| 1504 | + size_t len, |
| 1505 | + const uint8_t *data) |
| 1506 | +{ |
| 1507 | + return (Sr__SetItemReq *) |
| 1508 | + protobuf_c_message_unpack (&sr__set_item_req__descriptor, |
| 1509 | + allocator, len, data); |
| 1510 | +} |
| 1511 | +void sr__set_item_req__free_unpacked |
| 1512 | + (Sr__SetItemReq *message, |
| 1513 | + ProtobufCAllocator *allocator) |
| 1514 | +{ |
| 1515 | + assert(message->base.descriptor == &sr__set_item_req__descriptor); |
| 1516 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1517 | +} |
| 1518 | +void sr__set_item_resp__init |
| 1519 | + (Sr__SetItemResp *message) |
| 1520 | +{ |
| 1521 | + static Sr__SetItemResp init_value = SR__SET_ITEM_RESP__INIT; |
| 1522 | + *message = init_value; |
| 1523 | +} |
| 1524 | +size_t sr__set_item_resp__get_packed_size |
| 1525 | + (const Sr__SetItemResp *message) |
| 1526 | +{ |
| 1527 | + assert(message->base.descriptor == &sr__set_item_resp__descriptor); |
| 1528 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1529 | +} |
| 1530 | +size_t sr__set_item_resp__pack |
| 1531 | + (const Sr__SetItemResp *message, |
| 1532 | + uint8_t *out) |
| 1533 | +{ |
| 1534 | + assert(message->base.descriptor == &sr__set_item_resp__descriptor); |
| 1535 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1536 | +} |
| 1537 | +size_t sr__set_item_resp__pack_to_buffer |
| 1538 | + (const Sr__SetItemResp *message, |
| 1539 | + ProtobufCBuffer *buffer) |
| 1540 | +{ |
| 1541 | + assert(message->base.descriptor == &sr__set_item_resp__descriptor); |
| 1542 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1543 | +} |
| 1544 | +Sr__SetItemResp * |
| 1545 | + sr__set_item_resp__unpack |
| 1546 | + (ProtobufCAllocator *allocator, |
| 1547 | + size_t len, |
| 1548 | + const uint8_t *data) |
| 1549 | +{ |
| 1550 | + return (Sr__SetItemResp *) |
| 1551 | + protobuf_c_message_unpack (&sr__set_item_resp__descriptor, |
| 1552 | + allocator, len, data); |
| 1553 | +} |
| 1554 | +void sr__set_item_resp__free_unpacked |
| 1555 | + (Sr__SetItemResp *message, |
| 1556 | + ProtobufCAllocator *allocator) |
| 1557 | +{ |
| 1558 | + assert(message->base.descriptor == &sr__set_item_resp__descriptor); |
| 1559 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1560 | +} |
| 1561 | +void sr__set_item_str_req__init |
| 1562 | + (Sr__SetItemStrReq *message) |
| 1563 | +{ |
| 1564 | + static Sr__SetItemStrReq init_value = SR__SET_ITEM_STR_REQ__INIT; |
| 1565 | + *message = init_value; |
| 1566 | +} |
| 1567 | +size_t sr__set_item_str_req__get_packed_size |
| 1568 | + (const Sr__SetItemStrReq *message) |
| 1569 | +{ |
| 1570 | + assert(message->base.descriptor == &sr__set_item_str_req__descriptor); |
| 1571 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1572 | +} |
| 1573 | +size_t sr__set_item_str_req__pack |
| 1574 | + (const Sr__SetItemStrReq *message, |
| 1575 | + uint8_t *out) |
| 1576 | +{ |
| 1577 | + assert(message->base.descriptor == &sr__set_item_str_req__descriptor); |
| 1578 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1579 | +} |
| 1580 | +size_t sr__set_item_str_req__pack_to_buffer |
| 1581 | + (const Sr__SetItemStrReq *message, |
| 1582 | + ProtobufCBuffer *buffer) |
| 1583 | +{ |
| 1584 | + assert(message->base.descriptor == &sr__set_item_str_req__descriptor); |
| 1585 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1586 | +} |
| 1587 | +Sr__SetItemStrReq * |
| 1588 | + sr__set_item_str_req__unpack |
| 1589 | + (ProtobufCAllocator *allocator, |
| 1590 | + size_t len, |
| 1591 | + const uint8_t *data) |
| 1592 | +{ |
| 1593 | + return (Sr__SetItemStrReq *) |
| 1594 | + protobuf_c_message_unpack (&sr__set_item_str_req__descriptor, |
| 1595 | + allocator, len, data); |
| 1596 | +} |
| 1597 | +void sr__set_item_str_req__free_unpacked |
| 1598 | + (Sr__SetItemStrReq *message, |
| 1599 | + ProtobufCAllocator *allocator) |
| 1600 | +{ |
| 1601 | + assert(message->base.descriptor == &sr__set_item_str_req__descriptor); |
| 1602 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1603 | +} |
| 1604 | +void sr__set_item_str_resp__init |
| 1605 | + (Sr__SetItemStrResp *message) |
| 1606 | +{ |
| 1607 | + static Sr__SetItemStrResp init_value = SR__SET_ITEM_STR_RESP__INIT; |
| 1608 | + *message = init_value; |
| 1609 | +} |
| 1610 | +size_t sr__set_item_str_resp__get_packed_size |
| 1611 | + (const Sr__SetItemStrResp *message) |
| 1612 | +{ |
| 1613 | + assert(message->base.descriptor == &sr__set_item_str_resp__descriptor); |
| 1614 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1615 | +} |
| 1616 | +size_t sr__set_item_str_resp__pack |
| 1617 | + (const Sr__SetItemStrResp *message, |
| 1618 | + uint8_t *out) |
| 1619 | +{ |
| 1620 | + assert(message->base.descriptor == &sr__set_item_str_resp__descriptor); |
| 1621 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1622 | +} |
| 1623 | +size_t sr__set_item_str_resp__pack_to_buffer |
| 1624 | + (const Sr__SetItemStrResp *message, |
| 1625 | + ProtobufCBuffer *buffer) |
| 1626 | +{ |
| 1627 | + assert(message->base.descriptor == &sr__set_item_str_resp__descriptor); |
| 1628 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1629 | +} |
| 1630 | +Sr__SetItemStrResp * |
| 1631 | + sr__set_item_str_resp__unpack |
| 1632 | + (ProtobufCAllocator *allocator, |
| 1633 | + size_t len, |
| 1634 | + const uint8_t *data) |
| 1635 | +{ |
| 1636 | + return (Sr__SetItemStrResp *) |
| 1637 | + protobuf_c_message_unpack (&sr__set_item_str_resp__descriptor, |
| 1638 | + allocator, len, data); |
| 1639 | +} |
| 1640 | +void sr__set_item_str_resp__free_unpacked |
| 1641 | + (Sr__SetItemStrResp *message, |
| 1642 | + ProtobufCAllocator *allocator) |
| 1643 | +{ |
| 1644 | + assert(message->base.descriptor == &sr__set_item_str_resp__descriptor); |
| 1645 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1646 | +} |
| 1647 | +void sr__delete_item_req__init |
| 1648 | + (Sr__DeleteItemReq *message) |
| 1649 | +{ |
| 1650 | + static Sr__DeleteItemReq init_value = SR__DELETE_ITEM_REQ__INIT; |
| 1651 | + *message = init_value; |
| 1652 | +} |
| 1653 | +size_t sr__delete_item_req__get_packed_size |
| 1654 | + (const Sr__DeleteItemReq *message) |
| 1655 | +{ |
| 1656 | + assert(message->base.descriptor == &sr__delete_item_req__descriptor); |
| 1657 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1658 | +} |
| 1659 | +size_t sr__delete_item_req__pack |
| 1660 | + (const Sr__DeleteItemReq *message, |
| 1661 | + uint8_t *out) |
| 1662 | +{ |
| 1663 | + assert(message->base.descriptor == &sr__delete_item_req__descriptor); |
| 1664 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1665 | +} |
| 1666 | +size_t sr__delete_item_req__pack_to_buffer |
| 1667 | + (const Sr__DeleteItemReq *message, |
| 1668 | + ProtobufCBuffer *buffer) |
| 1669 | +{ |
| 1670 | + assert(message->base.descriptor == &sr__delete_item_req__descriptor); |
| 1671 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1672 | +} |
| 1673 | +Sr__DeleteItemReq * |
| 1674 | + sr__delete_item_req__unpack |
| 1675 | + (ProtobufCAllocator *allocator, |
| 1676 | + size_t len, |
| 1677 | + const uint8_t *data) |
| 1678 | +{ |
| 1679 | + return (Sr__DeleteItemReq *) |
| 1680 | + protobuf_c_message_unpack (&sr__delete_item_req__descriptor, |
| 1681 | + allocator, len, data); |
| 1682 | +} |
| 1683 | +void sr__delete_item_req__free_unpacked |
| 1684 | + (Sr__DeleteItemReq *message, |
| 1685 | + ProtobufCAllocator *allocator) |
| 1686 | +{ |
| 1687 | + assert(message->base.descriptor == &sr__delete_item_req__descriptor); |
| 1688 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1689 | +} |
| 1690 | +void sr__delete_item_resp__init |
| 1691 | + (Sr__DeleteItemResp *message) |
| 1692 | +{ |
| 1693 | + static Sr__DeleteItemResp init_value = SR__DELETE_ITEM_RESP__INIT; |
| 1694 | + *message = init_value; |
| 1695 | +} |
| 1696 | +size_t sr__delete_item_resp__get_packed_size |
| 1697 | + (const Sr__DeleteItemResp *message) |
| 1698 | +{ |
| 1699 | + assert(message->base.descriptor == &sr__delete_item_resp__descriptor); |
| 1700 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1701 | +} |
| 1702 | +size_t sr__delete_item_resp__pack |
| 1703 | + (const Sr__DeleteItemResp *message, |
| 1704 | + uint8_t *out) |
| 1705 | +{ |
| 1706 | + assert(message->base.descriptor == &sr__delete_item_resp__descriptor); |
| 1707 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1708 | +} |
| 1709 | +size_t sr__delete_item_resp__pack_to_buffer |
| 1710 | + (const Sr__DeleteItemResp *message, |
| 1711 | + ProtobufCBuffer *buffer) |
| 1712 | +{ |
| 1713 | + assert(message->base.descriptor == &sr__delete_item_resp__descriptor); |
| 1714 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1715 | +} |
| 1716 | +Sr__DeleteItemResp * |
| 1717 | + sr__delete_item_resp__unpack |
| 1718 | + (ProtobufCAllocator *allocator, |
| 1719 | + size_t len, |
| 1720 | + const uint8_t *data) |
| 1721 | +{ |
| 1722 | + return (Sr__DeleteItemResp *) |
| 1723 | + protobuf_c_message_unpack (&sr__delete_item_resp__descriptor, |
| 1724 | + allocator, len, data); |
| 1725 | +} |
| 1726 | +void sr__delete_item_resp__free_unpacked |
| 1727 | + (Sr__DeleteItemResp *message, |
| 1728 | + ProtobufCAllocator *allocator) |
| 1729 | +{ |
| 1730 | + assert(message->base.descriptor == &sr__delete_item_resp__descriptor); |
| 1731 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1732 | +} |
| 1733 | +void sr__move_item_req__init |
| 1734 | + (Sr__MoveItemReq *message) |
| 1735 | +{ |
| 1736 | + static Sr__MoveItemReq init_value = SR__MOVE_ITEM_REQ__INIT; |
| 1737 | + *message = init_value; |
| 1738 | +} |
| 1739 | +size_t sr__move_item_req__get_packed_size |
| 1740 | + (const Sr__MoveItemReq *message) |
| 1741 | +{ |
| 1742 | + assert(message->base.descriptor == &sr__move_item_req__descriptor); |
| 1743 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1744 | +} |
| 1745 | +size_t sr__move_item_req__pack |
| 1746 | + (const Sr__MoveItemReq *message, |
| 1747 | + uint8_t *out) |
| 1748 | +{ |
| 1749 | + assert(message->base.descriptor == &sr__move_item_req__descriptor); |
| 1750 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1751 | +} |
| 1752 | +size_t sr__move_item_req__pack_to_buffer |
| 1753 | + (const Sr__MoveItemReq *message, |
| 1754 | + ProtobufCBuffer *buffer) |
| 1755 | +{ |
| 1756 | + assert(message->base.descriptor == &sr__move_item_req__descriptor); |
| 1757 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1758 | +} |
| 1759 | +Sr__MoveItemReq * |
| 1760 | + sr__move_item_req__unpack |
| 1761 | + (ProtobufCAllocator *allocator, |
| 1762 | + size_t len, |
| 1763 | + const uint8_t *data) |
| 1764 | +{ |
| 1765 | + return (Sr__MoveItemReq *) |
| 1766 | + protobuf_c_message_unpack (&sr__move_item_req__descriptor, |
| 1767 | + allocator, len, data); |
| 1768 | +} |
| 1769 | +void sr__move_item_req__free_unpacked |
| 1770 | + (Sr__MoveItemReq *message, |
| 1771 | + ProtobufCAllocator *allocator) |
| 1772 | +{ |
| 1773 | + assert(message->base.descriptor == &sr__move_item_req__descriptor); |
| 1774 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1775 | +} |
| 1776 | +void sr__move_item_resp__init |
| 1777 | + (Sr__MoveItemResp *message) |
| 1778 | +{ |
| 1779 | + static Sr__MoveItemResp init_value = SR__MOVE_ITEM_RESP__INIT; |
| 1780 | + *message = init_value; |
| 1781 | +} |
| 1782 | +size_t sr__move_item_resp__get_packed_size |
| 1783 | + (const Sr__MoveItemResp *message) |
| 1784 | +{ |
| 1785 | + assert(message->base.descriptor == &sr__move_item_resp__descriptor); |
| 1786 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1787 | +} |
| 1788 | +size_t sr__move_item_resp__pack |
| 1789 | + (const Sr__MoveItemResp *message, |
| 1790 | + uint8_t *out) |
| 1791 | +{ |
| 1792 | + assert(message->base.descriptor == &sr__move_item_resp__descriptor); |
| 1793 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1794 | +} |
| 1795 | +size_t sr__move_item_resp__pack_to_buffer |
| 1796 | + (const Sr__MoveItemResp *message, |
| 1797 | + ProtobufCBuffer *buffer) |
| 1798 | +{ |
| 1799 | + assert(message->base.descriptor == &sr__move_item_resp__descriptor); |
| 1800 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1801 | +} |
| 1802 | +Sr__MoveItemResp * |
| 1803 | + sr__move_item_resp__unpack |
| 1804 | + (ProtobufCAllocator *allocator, |
| 1805 | + size_t len, |
| 1806 | + const uint8_t *data) |
| 1807 | +{ |
| 1808 | + return (Sr__MoveItemResp *) |
| 1809 | + protobuf_c_message_unpack (&sr__move_item_resp__descriptor, |
| 1810 | + allocator, len, data); |
| 1811 | +} |
| 1812 | +void sr__move_item_resp__free_unpacked |
| 1813 | + (Sr__MoveItemResp *message, |
| 1814 | + ProtobufCAllocator *allocator) |
| 1815 | +{ |
| 1816 | + assert(message->base.descriptor == &sr__move_item_resp__descriptor); |
| 1817 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1818 | +} |
| 1819 | +void sr__validate_req__init |
| 1820 | + (Sr__ValidateReq *message) |
| 1821 | +{ |
| 1822 | + static Sr__ValidateReq init_value = SR__VALIDATE_REQ__INIT; |
| 1823 | + *message = init_value; |
| 1824 | +} |
| 1825 | +size_t sr__validate_req__get_packed_size |
| 1826 | + (const Sr__ValidateReq *message) |
| 1827 | +{ |
| 1828 | + assert(message->base.descriptor == &sr__validate_req__descriptor); |
| 1829 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1830 | +} |
| 1831 | +size_t sr__validate_req__pack |
| 1832 | + (const Sr__ValidateReq *message, |
| 1833 | + uint8_t *out) |
| 1834 | +{ |
| 1835 | + assert(message->base.descriptor == &sr__validate_req__descriptor); |
| 1836 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1837 | +} |
| 1838 | +size_t sr__validate_req__pack_to_buffer |
| 1839 | + (const Sr__ValidateReq *message, |
| 1840 | + ProtobufCBuffer *buffer) |
| 1841 | +{ |
| 1842 | + assert(message->base.descriptor == &sr__validate_req__descriptor); |
| 1843 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1844 | +} |
| 1845 | +Sr__ValidateReq * |
| 1846 | + sr__validate_req__unpack |
| 1847 | + (ProtobufCAllocator *allocator, |
| 1848 | + size_t len, |
| 1849 | + const uint8_t *data) |
| 1850 | +{ |
| 1851 | + return (Sr__ValidateReq *) |
| 1852 | + protobuf_c_message_unpack (&sr__validate_req__descriptor, |
| 1853 | + allocator, len, data); |
| 1854 | +} |
| 1855 | +void sr__validate_req__free_unpacked |
| 1856 | + (Sr__ValidateReq *message, |
| 1857 | + ProtobufCAllocator *allocator) |
| 1858 | +{ |
| 1859 | + assert(message->base.descriptor == &sr__validate_req__descriptor); |
| 1860 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1861 | +} |
| 1862 | +void sr__validate_resp__init |
| 1863 | + (Sr__ValidateResp *message) |
| 1864 | +{ |
| 1865 | + static Sr__ValidateResp init_value = SR__VALIDATE_RESP__INIT; |
| 1866 | + *message = init_value; |
| 1867 | +} |
| 1868 | +size_t sr__validate_resp__get_packed_size |
| 1869 | + (const Sr__ValidateResp *message) |
| 1870 | +{ |
| 1871 | + assert(message->base.descriptor == &sr__validate_resp__descriptor); |
| 1872 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1873 | +} |
| 1874 | +size_t sr__validate_resp__pack |
| 1875 | + (const Sr__ValidateResp *message, |
| 1876 | + uint8_t *out) |
| 1877 | +{ |
| 1878 | + assert(message->base.descriptor == &sr__validate_resp__descriptor); |
| 1879 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1880 | +} |
| 1881 | +size_t sr__validate_resp__pack_to_buffer |
| 1882 | + (const Sr__ValidateResp *message, |
| 1883 | + ProtobufCBuffer *buffer) |
| 1884 | +{ |
| 1885 | + assert(message->base.descriptor == &sr__validate_resp__descriptor); |
| 1886 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1887 | +} |
| 1888 | +Sr__ValidateResp * |
| 1889 | + sr__validate_resp__unpack |
| 1890 | + (ProtobufCAllocator *allocator, |
| 1891 | + size_t len, |
| 1892 | + const uint8_t *data) |
| 1893 | +{ |
| 1894 | + return (Sr__ValidateResp *) |
| 1895 | + protobuf_c_message_unpack (&sr__validate_resp__descriptor, |
| 1896 | + allocator, len, data); |
| 1897 | +} |
| 1898 | +void sr__validate_resp__free_unpacked |
| 1899 | + (Sr__ValidateResp *message, |
| 1900 | + ProtobufCAllocator *allocator) |
| 1901 | +{ |
| 1902 | + assert(message->base.descriptor == &sr__validate_resp__descriptor); |
| 1903 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1904 | +} |
| 1905 | +void sr__commit_req__init |
| 1906 | + (Sr__CommitReq *message) |
| 1907 | +{ |
| 1908 | + static Sr__CommitReq init_value = SR__COMMIT_REQ__INIT; |
| 1909 | + *message = init_value; |
| 1910 | +} |
| 1911 | +size_t sr__commit_req__get_packed_size |
| 1912 | + (const Sr__CommitReq *message) |
| 1913 | +{ |
| 1914 | + assert(message->base.descriptor == &sr__commit_req__descriptor); |
| 1915 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1916 | +} |
| 1917 | +size_t sr__commit_req__pack |
| 1918 | + (const Sr__CommitReq *message, |
| 1919 | + uint8_t *out) |
| 1920 | +{ |
| 1921 | + assert(message->base.descriptor == &sr__commit_req__descriptor); |
| 1922 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1923 | +} |
| 1924 | +size_t sr__commit_req__pack_to_buffer |
| 1925 | + (const Sr__CommitReq *message, |
| 1926 | + ProtobufCBuffer *buffer) |
| 1927 | +{ |
| 1928 | + assert(message->base.descriptor == &sr__commit_req__descriptor); |
| 1929 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1930 | +} |
| 1931 | +Sr__CommitReq * |
| 1932 | + sr__commit_req__unpack |
| 1933 | + (ProtobufCAllocator *allocator, |
| 1934 | + size_t len, |
| 1935 | + const uint8_t *data) |
| 1936 | +{ |
| 1937 | + return (Sr__CommitReq *) |
| 1938 | + protobuf_c_message_unpack (&sr__commit_req__descriptor, |
| 1939 | + allocator, len, data); |
| 1940 | +} |
| 1941 | +void sr__commit_req__free_unpacked |
| 1942 | + (Sr__CommitReq *message, |
| 1943 | + ProtobufCAllocator *allocator) |
| 1944 | +{ |
| 1945 | + assert(message->base.descriptor == &sr__commit_req__descriptor); |
| 1946 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1947 | +} |
| 1948 | +void sr__commit_resp__init |
| 1949 | + (Sr__CommitResp *message) |
| 1950 | +{ |
| 1951 | + static Sr__CommitResp init_value = SR__COMMIT_RESP__INIT; |
| 1952 | + *message = init_value; |
| 1953 | +} |
| 1954 | +size_t sr__commit_resp__get_packed_size |
| 1955 | + (const Sr__CommitResp *message) |
| 1956 | +{ |
| 1957 | + assert(message->base.descriptor == &sr__commit_resp__descriptor); |
| 1958 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 1959 | +} |
| 1960 | +size_t sr__commit_resp__pack |
| 1961 | + (const Sr__CommitResp *message, |
| 1962 | + uint8_t *out) |
| 1963 | +{ |
| 1964 | + assert(message->base.descriptor == &sr__commit_resp__descriptor); |
| 1965 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 1966 | +} |
| 1967 | +size_t sr__commit_resp__pack_to_buffer |
| 1968 | + (const Sr__CommitResp *message, |
| 1969 | + ProtobufCBuffer *buffer) |
| 1970 | +{ |
| 1971 | + assert(message->base.descriptor == &sr__commit_resp__descriptor); |
| 1972 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 1973 | +} |
| 1974 | +Sr__CommitResp * |
| 1975 | + sr__commit_resp__unpack |
| 1976 | + (ProtobufCAllocator *allocator, |
| 1977 | + size_t len, |
| 1978 | + const uint8_t *data) |
| 1979 | +{ |
| 1980 | + return (Sr__CommitResp *) |
| 1981 | + protobuf_c_message_unpack (&sr__commit_resp__descriptor, |
| 1982 | + allocator, len, data); |
| 1983 | +} |
| 1984 | +void sr__commit_resp__free_unpacked |
| 1985 | + (Sr__CommitResp *message, |
| 1986 | + ProtobufCAllocator *allocator) |
| 1987 | +{ |
| 1988 | + assert(message->base.descriptor == &sr__commit_resp__descriptor); |
| 1989 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 1990 | +} |
| 1991 | +void sr__discard_changes_req__init |
| 1992 | + (Sr__DiscardChangesReq *message) |
| 1993 | +{ |
| 1994 | + static Sr__DiscardChangesReq init_value = SR__DISCARD_CHANGES_REQ__INIT; |
| 1995 | + *message = init_value; |
| 1996 | +} |
| 1997 | +size_t sr__discard_changes_req__get_packed_size |
| 1998 | + (const Sr__DiscardChangesReq *message) |
| 1999 | +{ |
| 2000 | + assert(message->base.descriptor == &sr__discard_changes_req__descriptor); |
| 2001 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2002 | +} |
| 2003 | +size_t sr__discard_changes_req__pack |
| 2004 | + (const Sr__DiscardChangesReq *message, |
| 2005 | + uint8_t *out) |
| 2006 | +{ |
| 2007 | + assert(message->base.descriptor == &sr__discard_changes_req__descriptor); |
| 2008 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2009 | +} |
| 2010 | +size_t sr__discard_changes_req__pack_to_buffer |
| 2011 | + (const Sr__DiscardChangesReq *message, |
| 2012 | + ProtobufCBuffer *buffer) |
| 2013 | +{ |
| 2014 | + assert(message->base.descriptor == &sr__discard_changes_req__descriptor); |
| 2015 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2016 | +} |
| 2017 | +Sr__DiscardChangesReq * |
| 2018 | + sr__discard_changes_req__unpack |
| 2019 | + (ProtobufCAllocator *allocator, |
| 2020 | + size_t len, |
| 2021 | + const uint8_t *data) |
| 2022 | +{ |
| 2023 | + return (Sr__DiscardChangesReq *) |
| 2024 | + protobuf_c_message_unpack (&sr__discard_changes_req__descriptor, |
| 2025 | + allocator, len, data); |
| 2026 | +} |
| 2027 | +void sr__discard_changes_req__free_unpacked |
| 2028 | + (Sr__DiscardChangesReq *message, |
| 2029 | + ProtobufCAllocator *allocator) |
| 2030 | +{ |
| 2031 | + assert(message->base.descriptor == &sr__discard_changes_req__descriptor); |
| 2032 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2033 | +} |
| 2034 | +void sr__discard_changes_resp__init |
| 2035 | + (Sr__DiscardChangesResp *message) |
| 2036 | +{ |
| 2037 | + static Sr__DiscardChangesResp init_value = SR__DISCARD_CHANGES_RESP__INIT; |
| 2038 | + *message = init_value; |
| 2039 | +} |
| 2040 | +size_t sr__discard_changes_resp__get_packed_size |
| 2041 | + (const Sr__DiscardChangesResp *message) |
| 2042 | +{ |
| 2043 | + assert(message->base.descriptor == &sr__discard_changes_resp__descriptor); |
| 2044 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2045 | +} |
| 2046 | +size_t sr__discard_changes_resp__pack |
| 2047 | + (const Sr__DiscardChangesResp *message, |
| 2048 | + uint8_t *out) |
| 2049 | +{ |
| 2050 | + assert(message->base.descriptor == &sr__discard_changes_resp__descriptor); |
| 2051 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2052 | +} |
| 2053 | +size_t sr__discard_changes_resp__pack_to_buffer |
| 2054 | + (const Sr__DiscardChangesResp *message, |
| 2055 | + ProtobufCBuffer *buffer) |
| 2056 | +{ |
| 2057 | + assert(message->base.descriptor == &sr__discard_changes_resp__descriptor); |
| 2058 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2059 | +} |
| 2060 | +Sr__DiscardChangesResp * |
| 2061 | + sr__discard_changes_resp__unpack |
| 2062 | + (ProtobufCAllocator *allocator, |
| 2063 | + size_t len, |
| 2064 | + const uint8_t *data) |
| 2065 | +{ |
| 2066 | + return (Sr__DiscardChangesResp *) |
| 2067 | + protobuf_c_message_unpack (&sr__discard_changes_resp__descriptor, |
| 2068 | + allocator, len, data); |
| 2069 | +} |
| 2070 | +void sr__discard_changes_resp__free_unpacked |
| 2071 | + (Sr__DiscardChangesResp *message, |
| 2072 | + ProtobufCAllocator *allocator) |
| 2073 | +{ |
| 2074 | + assert(message->base.descriptor == &sr__discard_changes_resp__descriptor); |
| 2075 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2076 | +} |
| 2077 | +void sr__copy_config_req__init |
| 2078 | + (Sr__CopyConfigReq *message) |
| 2079 | +{ |
| 2080 | + static Sr__CopyConfigReq init_value = SR__COPY_CONFIG_REQ__INIT; |
| 2081 | + *message = init_value; |
| 2082 | +} |
| 2083 | +size_t sr__copy_config_req__get_packed_size |
| 2084 | + (const Sr__CopyConfigReq *message) |
| 2085 | +{ |
| 2086 | + assert(message->base.descriptor == &sr__copy_config_req__descriptor); |
| 2087 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2088 | +} |
| 2089 | +size_t sr__copy_config_req__pack |
| 2090 | + (const Sr__CopyConfigReq *message, |
| 2091 | + uint8_t *out) |
| 2092 | +{ |
| 2093 | + assert(message->base.descriptor == &sr__copy_config_req__descriptor); |
| 2094 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2095 | +} |
| 2096 | +size_t sr__copy_config_req__pack_to_buffer |
| 2097 | + (const Sr__CopyConfigReq *message, |
| 2098 | + ProtobufCBuffer *buffer) |
| 2099 | +{ |
| 2100 | + assert(message->base.descriptor == &sr__copy_config_req__descriptor); |
| 2101 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2102 | +} |
| 2103 | +Sr__CopyConfigReq * |
| 2104 | + sr__copy_config_req__unpack |
| 2105 | + (ProtobufCAllocator *allocator, |
| 2106 | + size_t len, |
| 2107 | + const uint8_t *data) |
| 2108 | +{ |
| 2109 | + return (Sr__CopyConfigReq *) |
| 2110 | + protobuf_c_message_unpack (&sr__copy_config_req__descriptor, |
| 2111 | + allocator, len, data); |
| 2112 | +} |
| 2113 | +void sr__copy_config_req__free_unpacked |
| 2114 | + (Sr__CopyConfigReq *message, |
| 2115 | + ProtobufCAllocator *allocator) |
| 2116 | +{ |
| 2117 | + assert(message->base.descriptor == &sr__copy_config_req__descriptor); |
| 2118 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2119 | +} |
| 2120 | +void sr__copy_config_resp__init |
| 2121 | + (Sr__CopyConfigResp *message) |
| 2122 | +{ |
| 2123 | + static Sr__CopyConfigResp init_value = SR__COPY_CONFIG_RESP__INIT; |
| 2124 | + *message = init_value; |
| 2125 | +} |
| 2126 | +size_t sr__copy_config_resp__get_packed_size |
| 2127 | + (const Sr__CopyConfigResp *message) |
| 2128 | +{ |
| 2129 | + assert(message->base.descriptor == &sr__copy_config_resp__descriptor); |
| 2130 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2131 | +} |
| 2132 | +size_t sr__copy_config_resp__pack |
| 2133 | + (const Sr__CopyConfigResp *message, |
| 2134 | + uint8_t *out) |
| 2135 | +{ |
| 2136 | + assert(message->base.descriptor == &sr__copy_config_resp__descriptor); |
| 2137 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2138 | +} |
| 2139 | +size_t sr__copy_config_resp__pack_to_buffer |
| 2140 | + (const Sr__CopyConfigResp *message, |
| 2141 | + ProtobufCBuffer *buffer) |
| 2142 | +{ |
| 2143 | + assert(message->base.descriptor == &sr__copy_config_resp__descriptor); |
| 2144 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2145 | +} |
| 2146 | +Sr__CopyConfigResp * |
| 2147 | + sr__copy_config_resp__unpack |
| 2148 | + (ProtobufCAllocator *allocator, |
| 2149 | + size_t len, |
| 2150 | + const uint8_t *data) |
| 2151 | +{ |
| 2152 | + return (Sr__CopyConfigResp *) |
| 2153 | + protobuf_c_message_unpack (&sr__copy_config_resp__descriptor, |
| 2154 | + allocator, len, data); |
| 2155 | +} |
| 2156 | +void sr__copy_config_resp__free_unpacked |
| 2157 | + (Sr__CopyConfigResp *message, |
| 2158 | + ProtobufCAllocator *allocator) |
| 2159 | +{ |
| 2160 | + assert(message->base.descriptor == &sr__copy_config_resp__descriptor); |
| 2161 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2162 | +} |
| 2163 | +void sr__lock_req__init |
| 2164 | + (Sr__LockReq *message) |
| 2165 | +{ |
| 2166 | + static Sr__LockReq init_value = SR__LOCK_REQ__INIT; |
| 2167 | + *message = init_value; |
| 2168 | +} |
| 2169 | +size_t sr__lock_req__get_packed_size |
| 2170 | + (const Sr__LockReq *message) |
| 2171 | +{ |
| 2172 | + assert(message->base.descriptor == &sr__lock_req__descriptor); |
| 2173 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2174 | +} |
| 2175 | +size_t sr__lock_req__pack |
| 2176 | + (const Sr__LockReq *message, |
| 2177 | + uint8_t *out) |
| 2178 | +{ |
| 2179 | + assert(message->base.descriptor == &sr__lock_req__descriptor); |
| 2180 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2181 | +} |
| 2182 | +size_t sr__lock_req__pack_to_buffer |
| 2183 | + (const Sr__LockReq *message, |
| 2184 | + ProtobufCBuffer *buffer) |
| 2185 | +{ |
| 2186 | + assert(message->base.descriptor == &sr__lock_req__descriptor); |
| 2187 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2188 | +} |
| 2189 | +Sr__LockReq * |
| 2190 | + sr__lock_req__unpack |
| 2191 | + (ProtobufCAllocator *allocator, |
| 2192 | + size_t len, |
| 2193 | + const uint8_t *data) |
| 2194 | +{ |
| 2195 | + return (Sr__LockReq *) |
| 2196 | + protobuf_c_message_unpack (&sr__lock_req__descriptor, |
| 2197 | + allocator, len, data); |
| 2198 | +} |
| 2199 | +void sr__lock_req__free_unpacked |
| 2200 | + (Sr__LockReq *message, |
| 2201 | + ProtobufCAllocator *allocator) |
| 2202 | +{ |
| 2203 | + assert(message->base.descriptor == &sr__lock_req__descriptor); |
| 2204 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2205 | +} |
| 2206 | +void sr__lock_resp__init |
| 2207 | + (Sr__LockResp *message) |
| 2208 | +{ |
| 2209 | + static Sr__LockResp init_value = SR__LOCK_RESP__INIT; |
| 2210 | + *message = init_value; |
| 2211 | +} |
| 2212 | +size_t sr__lock_resp__get_packed_size |
| 2213 | + (const Sr__LockResp *message) |
| 2214 | +{ |
| 2215 | + assert(message->base.descriptor == &sr__lock_resp__descriptor); |
| 2216 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2217 | +} |
| 2218 | +size_t sr__lock_resp__pack |
| 2219 | + (const Sr__LockResp *message, |
| 2220 | + uint8_t *out) |
| 2221 | +{ |
| 2222 | + assert(message->base.descriptor == &sr__lock_resp__descriptor); |
| 2223 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2224 | +} |
| 2225 | +size_t sr__lock_resp__pack_to_buffer |
| 2226 | + (const Sr__LockResp *message, |
| 2227 | + ProtobufCBuffer *buffer) |
| 2228 | +{ |
| 2229 | + assert(message->base.descriptor == &sr__lock_resp__descriptor); |
| 2230 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2231 | +} |
| 2232 | +Sr__LockResp * |
| 2233 | + sr__lock_resp__unpack |
| 2234 | + (ProtobufCAllocator *allocator, |
| 2235 | + size_t len, |
| 2236 | + const uint8_t *data) |
| 2237 | +{ |
| 2238 | + return (Sr__LockResp *) |
| 2239 | + protobuf_c_message_unpack (&sr__lock_resp__descriptor, |
| 2240 | + allocator, len, data); |
| 2241 | +} |
| 2242 | +void sr__lock_resp__free_unpacked |
| 2243 | + (Sr__LockResp *message, |
| 2244 | + ProtobufCAllocator *allocator) |
| 2245 | +{ |
| 2246 | + assert(message->base.descriptor == &sr__lock_resp__descriptor); |
| 2247 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2248 | +} |
| 2249 | +void sr__unlock_req__init |
| 2250 | + (Sr__UnlockReq *message) |
| 2251 | +{ |
| 2252 | + static Sr__UnlockReq init_value = SR__UNLOCK_REQ__INIT; |
| 2253 | + *message = init_value; |
| 2254 | +} |
| 2255 | +size_t sr__unlock_req__get_packed_size |
| 2256 | + (const Sr__UnlockReq *message) |
| 2257 | +{ |
| 2258 | + assert(message->base.descriptor == &sr__unlock_req__descriptor); |
| 2259 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2260 | +} |
| 2261 | +size_t sr__unlock_req__pack |
| 2262 | + (const Sr__UnlockReq *message, |
| 2263 | + uint8_t *out) |
| 2264 | +{ |
| 2265 | + assert(message->base.descriptor == &sr__unlock_req__descriptor); |
| 2266 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2267 | +} |
| 2268 | +size_t sr__unlock_req__pack_to_buffer |
| 2269 | + (const Sr__UnlockReq *message, |
| 2270 | + ProtobufCBuffer *buffer) |
| 2271 | +{ |
| 2272 | + assert(message->base.descriptor == &sr__unlock_req__descriptor); |
| 2273 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2274 | +} |
| 2275 | +Sr__UnlockReq * |
| 2276 | + sr__unlock_req__unpack |
| 2277 | + (ProtobufCAllocator *allocator, |
| 2278 | + size_t len, |
| 2279 | + const uint8_t *data) |
| 2280 | +{ |
| 2281 | + return (Sr__UnlockReq *) |
| 2282 | + protobuf_c_message_unpack (&sr__unlock_req__descriptor, |
| 2283 | + allocator, len, data); |
| 2284 | +} |
| 2285 | +void sr__unlock_req__free_unpacked |
| 2286 | + (Sr__UnlockReq *message, |
| 2287 | + ProtobufCAllocator *allocator) |
| 2288 | +{ |
| 2289 | + assert(message->base.descriptor == &sr__unlock_req__descriptor); |
| 2290 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2291 | +} |
| 2292 | +void sr__unlock_resp__init |
| 2293 | + (Sr__UnlockResp *message) |
| 2294 | +{ |
| 2295 | + static Sr__UnlockResp init_value = SR__UNLOCK_RESP__INIT; |
| 2296 | + *message = init_value; |
| 2297 | +} |
| 2298 | +size_t sr__unlock_resp__get_packed_size |
| 2299 | + (const Sr__UnlockResp *message) |
| 2300 | +{ |
| 2301 | + assert(message->base.descriptor == &sr__unlock_resp__descriptor); |
| 2302 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2303 | +} |
| 2304 | +size_t sr__unlock_resp__pack |
| 2305 | + (const Sr__UnlockResp *message, |
| 2306 | + uint8_t *out) |
| 2307 | +{ |
| 2308 | + assert(message->base.descriptor == &sr__unlock_resp__descriptor); |
| 2309 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2310 | +} |
| 2311 | +size_t sr__unlock_resp__pack_to_buffer |
| 2312 | + (const Sr__UnlockResp *message, |
| 2313 | + ProtobufCBuffer *buffer) |
| 2314 | +{ |
| 2315 | + assert(message->base.descriptor == &sr__unlock_resp__descriptor); |
| 2316 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2317 | +} |
| 2318 | +Sr__UnlockResp * |
| 2319 | + sr__unlock_resp__unpack |
| 2320 | + (ProtobufCAllocator *allocator, |
| 2321 | + size_t len, |
| 2322 | + const uint8_t *data) |
| 2323 | +{ |
| 2324 | + return (Sr__UnlockResp *) |
| 2325 | + protobuf_c_message_unpack (&sr__unlock_resp__descriptor, |
| 2326 | + allocator, len, data); |
| 2327 | +} |
| 2328 | +void sr__unlock_resp__free_unpacked |
| 2329 | + (Sr__UnlockResp *message, |
| 2330 | + ProtobufCAllocator *allocator) |
| 2331 | +{ |
| 2332 | + assert(message->base.descriptor == &sr__unlock_resp__descriptor); |
| 2333 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2334 | +} |
| 2335 | +void sr__subscribe_req__init |
| 2336 | + (Sr__SubscribeReq *message) |
| 2337 | +{ |
| 2338 | + static Sr__SubscribeReq init_value = SR__SUBSCRIBE_REQ__INIT; |
| 2339 | + *message = init_value; |
| 2340 | +} |
| 2341 | +size_t sr__subscribe_req__get_packed_size |
| 2342 | + (const Sr__SubscribeReq *message) |
| 2343 | +{ |
| 2344 | + assert(message->base.descriptor == &sr__subscribe_req__descriptor); |
| 2345 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2346 | +} |
| 2347 | +size_t sr__subscribe_req__pack |
| 2348 | + (const Sr__SubscribeReq *message, |
| 2349 | + uint8_t *out) |
| 2350 | +{ |
| 2351 | + assert(message->base.descriptor == &sr__subscribe_req__descriptor); |
| 2352 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2353 | +} |
| 2354 | +size_t sr__subscribe_req__pack_to_buffer |
| 2355 | + (const Sr__SubscribeReq *message, |
| 2356 | + ProtobufCBuffer *buffer) |
| 2357 | +{ |
| 2358 | + assert(message->base.descriptor == &sr__subscribe_req__descriptor); |
| 2359 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2360 | +} |
| 2361 | +Sr__SubscribeReq * |
| 2362 | + sr__subscribe_req__unpack |
| 2363 | + (ProtobufCAllocator *allocator, |
| 2364 | + size_t len, |
| 2365 | + const uint8_t *data) |
| 2366 | +{ |
| 2367 | + return (Sr__SubscribeReq *) |
| 2368 | + protobuf_c_message_unpack (&sr__subscribe_req__descriptor, |
| 2369 | + allocator, len, data); |
| 2370 | +} |
| 2371 | +void sr__subscribe_req__free_unpacked |
| 2372 | + (Sr__SubscribeReq *message, |
| 2373 | + ProtobufCAllocator *allocator) |
| 2374 | +{ |
| 2375 | + assert(message->base.descriptor == &sr__subscribe_req__descriptor); |
| 2376 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2377 | +} |
| 2378 | +void sr__subscribe_resp__init |
| 2379 | + (Sr__SubscribeResp *message) |
| 2380 | +{ |
| 2381 | + static Sr__SubscribeResp init_value = SR__SUBSCRIBE_RESP__INIT; |
| 2382 | + *message = init_value; |
| 2383 | +} |
| 2384 | +size_t sr__subscribe_resp__get_packed_size |
| 2385 | + (const Sr__SubscribeResp *message) |
| 2386 | +{ |
| 2387 | + assert(message->base.descriptor == &sr__subscribe_resp__descriptor); |
| 2388 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2389 | +} |
| 2390 | +size_t sr__subscribe_resp__pack |
| 2391 | + (const Sr__SubscribeResp *message, |
| 2392 | + uint8_t *out) |
| 2393 | +{ |
| 2394 | + assert(message->base.descriptor == &sr__subscribe_resp__descriptor); |
| 2395 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2396 | +} |
| 2397 | +size_t sr__subscribe_resp__pack_to_buffer |
| 2398 | + (const Sr__SubscribeResp *message, |
| 2399 | + ProtobufCBuffer *buffer) |
| 2400 | +{ |
| 2401 | + assert(message->base.descriptor == &sr__subscribe_resp__descriptor); |
| 2402 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2403 | +} |
| 2404 | +Sr__SubscribeResp * |
| 2405 | + sr__subscribe_resp__unpack |
| 2406 | + (ProtobufCAllocator *allocator, |
| 2407 | + size_t len, |
| 2408 | + const uint8_t *data) |
| 2409 | +{ |
| 2410 | + return (Sr__SubscribeResp *) |
| 2411 | + protobuf_c_message_unpack (&sr__subscribe_resp__descriptor, |
| 2412 | + allocator, len, data); |
| 2413 | +} |
| 2414 | +void sr__subscribe_resp__free_unpacked |
| 2415 | + (Sr__SubscribeResp *message, |
| 2416 | + ProtobufCAllocator *allocator) |
| 2417 | +{ |
| 2418 | + assert(message->base.descriptor == &sr__subscribe_resp__descriptor); |
| 2419 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2420 | +} |
| 2421 | +void sr__unsubscribe_req__init |
| 2422 | + (Sr__UnsubscribeReq *message) |
| 2423 | +{ |
| 2424 | + static Sr__UnsubscribeReq init_value = SR__UNSUBSCRIBE_REQ__INIT; |
| 2425 | + *message = init_value; |
| 2426 | +} |
| 2427 | +size_t sr__unsubscribe_req__get_packed_size |
| 2428 | + (const Sr__UnsubscribeReq *message) |
| 2429 | +{ |
| 2430 | + assert(message->base.descriptor == &sr__unsubscribe_req__descriptor); |
| 2431 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2432 | +} |
| 2433 | +size_t sr__unsubscribe_req__pack |
| 2434 | + (const Sr__UnsubscribeReq *message, |
| 2435 | + uint8_t *out) |
| 2436 | +{ |
| 2437 | + assert(message->base.descriptor == &sr__unsubscribe_req__descriptor); |
| 2438 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2439 | +} |
| 2440 | +size_t sr__unsubscribe_req__pack_to_buffer |
| 2441 | + (const Sr__UnsubscribeReq *message, |
| 2442 | + ProtobufCBuffer *buffer) |
| 2443 | +{ |
| 2444 | + assert(message->base.descriptor == &sr__unsubscribe_req__descriptor); |
| 2445 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2446 | +} |
| 2447 | +Sr__UnsubscribeReq * |
| 2448 | + sr__unsubscribe_req__unpack |
| 2449 | + (ProtobufCAllocator *allocator, |
| 2450 | + size_t len, |
| 2451 | + const uint8_t *data) |
| 2452 | +{ |
| 2453 | + return (Sr__UnsubscribeReq *) |
| 2454 | + protobuf_c_message_unpack (&sr__unsubscribe_req__descriptor, |
| 2455 | + allocator, len, data); |
| 2456 | +} |
| 2457 | +void sr__unsubscribe_req__free_unpacked |
| 2458 | + (Sr__UnsubscribeReq *message, |
| 2459 | + ProtobufCAllocator *allocator) |
| 2460 | +{ |
| 2461 | + assert(message->base.descriptor == &sr__unsubscribe_req__descriptor); |
| 2462 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2463 | +} |
| 2464 | +void sr__unsubscribe_resp__init |
| 2465 | + (Sr__UnsubscribeResp *message) |
| 2466 | +{ |
| 2467 | + static Sr__UnsubscribeResp init_value = SR__UNSUBSCRIBE_RESP__INIT; |
| 2468 | + *message = init_value; |
| 2469 | +} |
| 2470 | +size_t sr__unsubscribe_resp__get_packed_size |
| 2471 | + (const Sr__UnsubscribeResp *message) |
| 2472 | +{ |
| 2473 | + assert(message->base.descriptor == &sr__unsubscribe_resp__descriptor); |
| 2474 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2475 | +} |
| 2476 | +size_t sr__unsubscribe_resp__pack |
| 2477 | + (const Sr__UnsubscribeResp *message, |
| 2478 | + uint8_t *out) |
| 2479 | +{ |
| 2480 | + assert(message->base.descriptor == &sr__unsubscribe_resp__descriptor); |
| 2481 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2482 | +} |
| 2483 | +size_t sr__unsubscribe_resp__pack_to_buffer |
| 2484 | + (const Sr__UnsubscribeResp *message, |
| 2485 | + ProtobufCBuffer *buffer) |
| 2486 | +{ |
| 2487 | + assert(message->base.descriptor == &sr__unsubscribe_resp__descriptor); |
| 2488 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2489 | +} |
| 2490 | +Sr__UnsubscribeResp * |
| 2491 | + sr__unsubscribe_resp__unpack |
| 2492 | + (ProtobufCAllocator *allocator, |
| 2493 | + size_t len, |
| 2494 | + const uint8_t *data) |
| 2495 | +{ |
| 2496 | + return (Sr__UnsubscribeResp *) |
| 2497 | + protobuf_c_message_unpack (&sr__unsubscribe_resp__descriptor, |
| 2498 | + allocator, len, data); |
| 2499 | +} |
| 2500 | +void sr__unsubscribe_resp__free_unpacked |
| 2501 | + (Sr__UnsubscribeResp *message, |
| 2502 | + ProtobufCAllocator *allocator) |
| 2503 | +{ |
| 2504 | + assert(message->base.descriptor == &sr__unsubscribe_resp__descriptor); |
| 2505 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2506 | +} |
| 2507 | +void sr__check_enabled_running_req__init |
| 2508 | + (Sr__CheckEnabledRunningReq *message) |
| 2509 | +{ |
| 2510 | + static Sr__CheckEnabledRunningReq init_value = SR__CHECK_ENABLED_RUNNING_REQ__INIT; |
| 2511 | + *message = init_value; |
| 2512 | +} |
| 2513 | +size_t sr__check_enabled_running_req__get_packed_size |
| 2514 | + (const Sr__CheckEnabledRunningReq *message) |
| 2515 | +{ |
| 2516 | + assert(message->base.descriptor == &sr__check_enabled_running_req__descriptor); |
| 2517 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2518 | +} |
| 2519 | +size_t sr__check_enabled_running_req__pack |
| 2520 | + (const Sr__CheckEnabledRunningReq *message, |
| 2521 | + uint8_t *out) |
| 2522 | +{ |
| 2523 | + assert(message->base.descriptor == &sr__check_enabled_running_req__descriptor); |
| 2524 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2525 | +} |
| 2526 | +size_t sr__check_enabled_running_req__pack_to_buffer |
| 2527 | + (const Sr__CheckEnabledRunningReq *message, |
| 2528 | + ProtobufCBuffer *buffer) |
| 2529 | +{ |
| 2530 | + assert(message->base.descriptor == &sr__check_enabled_running_req__descriptor); |
| 2531 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2532 | +} |
| 2533 | +Sr__CheckEnabledRunningReq * |
| 2534 | + sr__check_enabled_running_req__unpack |
| 2535 | + (ProtobufCAllocator *allocator, |
| 2536 | + size_t len, |
| 2537 | + const uint8_t *data) |
| 2538 | +{ |
| 2539 | + return (Sr__CheckEnabledRunningReq *) |
| 2540 | + protobuf_c_message_unpack (&sr__check_enabled_running_req__descriptor, |
| 2541 | + allocator, len, data); |
| 2542 | +} |
| 2543 | +void sr__check_enabled_running_req__free_unpacked |
| 2544 | + (Sr__CheckEnabledRunningReq *message, |
| 2545 | + ProtobufCAllocator *allocator) |
| 2546 | +{ |
| 2547 | + assert(message->base.descriptor == &sr__check_enabled_running_req__descriptor); |
| 2548 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2549 | +} |
| 2550 | +void sr__check_enabled_running_resp__init |
| 2551 | + (Sr__CheckEnabledRunningResp *message) |
| 2552 | +{ |
| 2553 | + static Sr__CheckEnabledRunningResp init_value = SR__CHECK_ENABLED_RUNNING_RESP__INIT; |
| 2554 | + *message = init_value; |
| 2555 | +} |
| 2556 | +size_t sr__check_enabled_running_resp__get_packed_size |
| 2557 | + (const Sr__CheckEnabledRunningResp *message) |
| 2558 | +{ |
| 2559 | + assert(message->base.descriptor == &sr__check_enabled_running_resp__descriptor); |
| 2560 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2561 | +} |
| 2562 | +size_t sr__check_enabled_running_resp__pack |
| 2563 | + (const Sr__CheckEnabledRunningResp *message, |
| 2564 | + uint8_t *out) |
| 2565 | +{ |
| 2566 | + assert(message->base.descriptor == &sr__check_enabled_running_resp__descriptor); |
| 2567 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2568 | +} |
| 2569 | +size_t sr__check_enabled_running_resp__pack_to_buffer |
| 2570 | + (const Sr__CheckEnabledRunningResp *message, |
| 2571 | + ProtobufCBuffer *buffer) |
| 2572 | +{ |
| 2573 | + assert(message->base.descriptor == &sr__check_enabled_running_resp__descriptor); |
| 2574 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2575 | +} |
| 2576 | +Sr__CheckEnabledRunningResp * |
| 2577 | + sr__check_enabled_running_resp__unpack |
| 2578 | + (ProtobufCAllocator *allocator, |
| 2579 | + size_t len, |
| 2580 | + const uint8_t *data) |
| 2581 | +{ |
| 2582 | + return (Sr__CheckEnabledRunningResp *) |
| 2583 | + protobuf_c_message_unpack (&sr__check_enabled_running_resp__descriptor, |
| 2584 | + allocator, len, data); |
| 2585 | +} |
| 2586 | +void sr__check_enabled_running_resp__free_unpacked |
| 2587 | + (Sr__CheckEnabledRunningResp *message, |
| 2588 | + ProtobufCAllocator *allocator) |
| 2589 | +{ |
| 2590 | + assert(message->base.descriptor == &sr__check_enabled_running_resp__descriptor); |
| 2591 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2592 | +} |
| 2593 | +void sr__module_install_notification__init |
| 2594 | + (Sr__ModuleInstallNotification *message) |
| 2595 | +{ |
| 2596 | + static Sr__ModuleInstallNotification init_value = SR__MODULE_INSTALL_NOTIFICATION__INIT; |
| 2597 | + *message = init_value; |
| 2598 | +} |
| 2599 | +size_t sr__module_install_notification__get_packed_size |
| 2600 | + (const Sr__ModuleInstallNotification *message) |
| 2601 | +{ |
| 2602 | + assert(message->base.descriptor == &sr__module_install_notification__descriptor); |
| 2603 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2604 | +} |
| 2605 | +size_t sr__module_install_notification__pack |
| 2606 | + (const Sr__ModuleInstallNotification *message, |
| 2607 | + uint8_t *out) |
| 2608 | +{ |
| 2609 | + assert(message->base.descriptor == &sr__module_install_notification__descriptor); |
| 2610 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2611 | +} |
| 2612 | +size_t sr__module_install_notification__pack_to_buffer |
| 2613 | + (const Sr__ModuleInstallNotification *message, |
| 2614 | + ProtobufCBuffer *buffer) |
| 2615 | +{ |
| 2616 | + assert(message->base.descriptor == &sr__module_install_notification__descriptor); |
| 2617 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2618 | +} |
| 2619 | +Sr__ModuleInstallNotification * |
| 2620 | + sr__module_install_notification__unpack |
| 2621 | + (ProtobufCAllocator *allocator, |
| 2622 | + size_t len, |
| 2623 | + const uint8_t *data) |
| 2624 | +{ |
| 2625 | + return (Sr__ModuleInstallNotification *) |
| 2626 | + protobuf_c_message_unpack (&sr__module_install_notification__descriptor, |
| 2627 | + allocator, len, data); |
| 2628 | +} |
| 2629 | +void sr__module_install_notification__free_unpacked |
| 2630 | + (Sr__ModuleInstallNotification *message, |
| 2631 | + ProtobufCAllocator *allocator) |
| 2632 | +{ |
| 2633 | + assert(message->base.descriptor == &sr__module_install_notification__descriptor); |
| 2634 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2635 | +} |
| 2636 | +void sr__feature_enable_notification__init |
| 2637 | + (Sr__FeatureEnableNotification *message) |
| 2638 | +{ |
| 2639 | + static Sr__FeatureEnableNotification init_value = SR__FEATURE_ENABLE_NOTIFICATION__INIT; |
| 2640 | + *message = init_value; |
| 2641 | +} |
| 2642 | +size_t sr__feature_enable_notification__get_packed_size |
| 2643 | + (const Sr__FeatureEnableNotification *message) |
| 2644 | +{ |
| 2645 | + assert(message->base.descriptor == &sr__feature_enable_notification__descriptor); |
| 2646 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2647 | +} |
| 2648 | +size_t sr__feature_enable_notification__pack |
| 2649 | + (const Sr__FeatureEnableNotification *message, |
| 2650 | + uint8_t *out) |
| 2651 | +{ |
| 2652 | + assert(message->base.descriptor == &sr__feature_enable_notification__descriptor); |
| 2653 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2654 | +} |
| 2655 | +size_t sr__feature_enable_notification__pack_to_buffer |
| 2656 | + (const Sr__FeatureEnableNotification *message, |
| 2657 | + ProtobufCBuffer *buffer) |
| 2658 | +{ |
| 2659 | + assert(message->base.descriptor == &sr__feature_enable_notification__descriptor); |
| 2660 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2661 | +} |
| 2662 | +Sr__FeatureEnableNotification * |
| 2663 | + sr__feature_enable_notification__unpack |
| 2664 | + (ProtobufCAllocator *allocator, |
| 2665 | + size_t len, |
| 2666 | + const uint8_t *data) |
| 2667 | +{ |
| 2668 | + return (Sr__FeatureEnableNotification *) |
| 2669 | + protobuf_c_message_unpack (&sr__feature_enable_notification__descriptor, |
| 2670 | + allocator, len, data); |
| 2671 | +} |
| 2672 | +void sr__feature_enable_notification__free_unpacked |
| 2673 | + (Sr__FeatureEnableNotification *message, |
| 2674 | + ProtobufCAllocator *allocator) |
| 2675 | +{ |
| 2676 | + assert(message->base.descriptor == &sr__feature_enable_notification__descriptor); |
| 2677 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2678 | +} |
| 2679 | +void sr__module_change_notification__init |
| 2680 | + (Sr__ModuleChangeNotification *message) |
| 2681 | +{ |
| 2682 | + static Sr__ModuleChangeNotification init_value = SR__MODULE_CHANGE_NOTIFICATION__INIT; |
| 2683 | + *message = init_value; |
| 2684 | +} |
| 2685 | +size_t sr__module_change_notification__get_packed_size |
| 2686 | + (const Sr__ModuleChangeNotification *message) |
| 2687 | +{ |
| 2688 | + assert(message->base.descriptor == &sr__module_change_notification__descriptor); |
| 2689 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2690 | +} |
| 2691 | +size_t sr__module_change_notification__pack |
| 2692 | + (const Sr__ModuleChangeNotification *message, |
| 2693 | + uint8_t *out) |
| 2694 | +{ |
| 2695 | + assert(message->base.descriptor == &sr__module_change_notification__descriptor); |
| 2696 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2697 | +} |
| 2698 | +size_t sr__module_change_notification__pack_to_buffer |
| 2699 | + (const Sr__ModuleChangeNotification *message, |
| 2700 | + ProtobufCBuffer *buffer) |
| 2701 | +{ |
| 2702 | + assert(message->base.descriptor == &sr__module_change_notification__descriptor); |
| 2703 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2704 | +} |
| 2705 | +Sr__ModuleChangeNotification * |
| 2706 | + sr__module_change_notification__unpack |
| 2707 | + (ProtobufCAllocator *allocator, |
| 2708 | + size_t len, |
| 2709 | + const uint8_t *data) |
| 2710 | +{ |
| 2711 | + return (Sr__ModuleChangeNotification *) |
| 2712 | + protobuf_c_message_unpack (&sr__module_change_notification__descriptor, |
| 2713 | + allocator, len, data); |
| 2714 | +} |
| 2715 | +void sr__module_change_notification__free_unpacked |
| 2716 | + (Sr__ModuleChangeNotification *message, |
| 2717 | + ProtobufCAllocator *allocator) |
| 2718 | +{ |
| 2719 | + assert(message->base.descriptor == &sr__module_change_notification__descriptor); |
| 2720 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2721 | +} |
| 2722 | +void sr__subtree_change_notification__init |
| 2723 | + (Sr__SubtreeChangeNotification *message) |
| 2724 | +{ |
| 2725 | + static Sr__SubtreeChangeNotification init_value = SR__SUBTREE_CHANGE_NOTIFICATION__INIT; |
| 2726 | + *message = init_value; |
| 2727 | +} |
| 2728 | +size_t sr__subtree_change_notification__get_packed_size |
| 2729 | + (const Sr__SubtreeChangeNotification *message) |
| 2730 | +{ |
| 2731 | + assert(message->base.descriptor == &sr__subtree_change_notification__descriptor); |
| 2732 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2733 | +} |
| 2734 | +size_t sr__subtree_change_notification__pack |
| 2735 | + (const Sr__SubtreeChangeNotification *message, |
| 2736 | + uint8_t *out) |
| 2737 | +{ |
| 2738 | + assert(message->base.descriptor == &sr__subtree_change_notification__descriptor); |
| 2739 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2740 | +} |
| 2741 | +size_t sr__subtree_change_notification__pack_to_buffer |
| 2742 | + (const Sr__SubtreeChangeNotification *message, |
| 2743 | + ProtobufCBuffer *buffer) |
| 2744 | +{ |
| 2745 | + assert(message->base.descriptor == &sr__subtree_change_notification__descriptor); |
| 2746 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2747 | +} |
| 2748 | +Sr__SubtreeChangeNotification * |
| 2749 | + sr__subtree_change_notification__unpack |
| 2750 | + (ProtobufCAllocator *allocator, |
| 2751 | + size_t len, |
| 2752 | + const uint8_t *data) |
| 2753 | +{ |
| 2754 | + return (Sr__SubtreeChangeNotification *) |
| 2755 | + protobuf_c_message_unpack (&sr__subtree_change_notification__descriptor, |
| 2756 | + allocator, len, data); |
| 2757 | +} |
| 2758 | +void sr__subtree_change_notification__free_unpacked |
| 2759 | + (Sr__SubtreeChangeNotification *message, |
| 2760 | + ProtobufCAllocator *allocator) |
| 2761 | +{ |
| 2762 | + assert(message->base.descriptor == &sr__subtree_change_notification__descriptor); |
| 2763 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2764 | +} |
| 2765 | +void sr__change__init |
| 2766 | + (Sr__Change *message) |
| 2767 | +{ |
| 2768 | + static Sr__Change init_value = SR__CHANGE__INIT; |
| 2769 | + *message = init_value; |
| 2770 | +} |
| 2771 | +size_t sr__change__get_packed_size |
| 2772 | + (const Sr__Change *message) |
| 2773 | +{ |
| 2774 | + assert(message->base.descriptor == &sr__change__descriptor); |
| 2775 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2776 | +} |
| 2777 | +size_t sr__change__pack |
| 2778 | + (const Sr__Change *message, |
| 2779 | + uint8_t *out) |
| 2780 | +{ |
| 2781 | + assert(message->base.descriptor == &sr__change__descriptor); |
| 2782 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2783 | +} |
| 2784 | +size_t sr__change__pack_to_buffer |
| 2785 | + (const Sr__Change *message, |
| 2786 | + ProtobufCBuffer *buffer) |
| 2787 | +{ |
| 2788 | + assert(message->base.descriptor == &sr__change__descriptor); |
| 2789 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2790 | +} |
| 2791 | +Sr__Change * |
| 2792 | + sr__change__unpack |
| 2793 | + (ProtobufCAllocator *allocator, |
| 2794 | + size_t len, |
| 2795 | + const uint8_t *data) |
| 2796 | +{ |
| 2797 | + return (Sr__Change *) |
| 2798 | + protobuf_c_message_unpack (&sr__change__descriptor, |
| 2799 | + allocator, len, data); |
| 2800 | +} |
| 2801 | +void sr__change__free_unpacked |
| 2802 | + (Sr__Change *message, |
| 2803 | + ProtobufCAllocator *allocator) |
| 2804 | +{ |
| 2805 | + assert(message->base.descriptor == &sr__change__descriptor); |
| 2806 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2807 | +} |
| 2808 | +void sr__get_changes_req__init |
| 2809 | + (Sr__GetChangesReq *message) |
| 2810 | +{ |
| 2811 | + static Sr__GetChangesReq init_value = SR__GET_CHANGES_REQ__INIT; |
| 2812 | + *message = init_value; |
| 2813 | +} |
| 2814 | +size_t sr__get_changes_req__get_packed_size |
| 2815 | + (const Sr__GetChangesReq *message) |
| 2816 | +{ |
| 2817 | + assert(message->base.descriptor == &sr__get_changes_req__descriptor); |
| 2818 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2819 | +} |
| 2820 | +size_t sr__get_changes_req__pack |
| 2821 | + (const Sr__GetChangesReq *message, |
| 2822 | + uint8_t *out) |
| 2823 | +{ |
| 2824 | + assert(message->base.descriptor == &sr__get_changes_req__descriptor); |
| 2825 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2826 | +} |
| 2827 | +size_t sr__get_changes_req__pack_to_buffer |
| 2828 | + (const Sr__GetChangesReq *message, |
| 2829 | + ProtobufCBuffer *buffer) |
| 2830 | +{ |
| 2831 | + assert(message->base.descriptor == &sr__get_changes_req__descriptor); |
| 2832 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2833 | +} |
| 2834 | +Sr__GetChangesReq * |
| 2835 | + sr__get_changes_req__unpack |
| 2836 | + (ProtobufCAllocator *allocator, |
| 2837 | + size_t len, |
| 2838 | + const uint8_t *data) |
| 2839 | +{ |
| 2840 | + return (Sr__GetChangesReq *) |
| 2841 | + protobuf_c_message_unpack (&sr__get_changes_req__descriptor, |
| 2842 | + allocator, len, data); |
| 2843 | +} |
| 2844 | +void sr__get_changes_req__free_unpacked |
| 2845 | + (Sr__GetChangesReq *message, |
| 2846 | + ProtobufCAllocator *allocator) |
| 2847 | +{ |
| 2848 | + assert(message->base.descriptor == &sr__get_changes_req__descriptor); |
| 2849 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2850 | +} |
| 2851 | +void sr__get_changes_resp__init |
| 2852 | + (Sr__GetChangesResp *message) |
| 2853 | +{ |
| 2854 | + static Sr__GetChangesResp init_value = SR__GET_CHANGES_RESP__INIT; |
| 2855 | + *message = init_value; |
| 2856 | +} |
| 2857 | +size_t sr__get_changes_resp__get_packed_size |
| 2858 | + (const Sr__GetChangesResp *message) |
| 2859 | +{ |
| 2860 | + assert(message->base.descriptor == &sr__get_changes_resp__descriptor); |
| 2861 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2862 | +} |
| 2863 | +size_t sr__get_changes_resp__pack |
| 2864 | + (const Sr__GetChangesResp *message, |
| 2865 | + uint8_t *out) |
| 2866 | +{ |
| 2867 | + assert(message->base.descriptor == &sr__get_changes_resp__descriptor); |
| 2868 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2869 | +} |
| 2870 | +size_t sr__get_changes_resp__pack_to_buffer |
| 2871 | + (const Sr__GetChangesResp *message, |
| 2872 | + ProtobufCBuffer *buffer) |
| 2873 | +{ |
| 2874 | + assert(message->base.descriptor == &sr__get_changes_resp__descriptor); |
| 2875 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2876 | +} |
| 2877 | +Sr__GetChangesResp * |
| 2878 | + sr__get_changes_resp__unpack |
| 2879 | + (ProtobufCAllocator *allocator, |
| 2880 | + size_t len, |
| 2881 | + const uint8_t *data) |
| 2882 | +{ |
| 2883 | + return (Sr__GetChangesResp *) |
| 2884 | + protobuf_c_message_unpack (&sr__get_changes_resp__descriptor, |
| 2885 | + allocator, len, data); |
| 2886 | +} |
| 2887 | +void sr__get_changes_resp__free_unpacked |
| 2888 | + (Sr__GetChangesResp *message, |
| 2889 | + ProtobufCAllocator *allocator) |
| 2890 | +{ |
| 2891 | + assert(message->base.descriptor == &sr__get_changes_resp__descriptor); |
| 2892 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2893 | +} |
| 2894 | +void sr__check_exec_perm_req__init |
| 2895 | + (Sr__CheckExecPermReq *message) |
| 2896 | +{ |
| 2897 | + static Sr__CheckExecPermReq init_value = SR__CHECK_EXEC_PERM_REQ__INIT; |
| 2898 | + *message = init_value; |
| 2899 | +} |
| 2900 | +size_t sr__check_exec_perm_req__get_packed_size |
| 2901 | + (const Sr__CheckExecPermReq *message) |
| 2902 | +{ |
| 2903 | + assert(message->base.descriptor == &sr__check_exec_perm_req__descriptor); |
| 2904 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2905 | +} |
| 2906 | +size_t sr__check_exec_perm_req__pack |
| 2907 | + (const Sr__CheckExecPermReq *message, |
| 2908 | + uint8_t *out) |
| 2909 | +{ |
| 2910 | + assert(message->base.descriptor == &sr__check_exec_perm_req__descriptor); |
| 2911 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2912 | +} |
| 2913 | +size_t sr__check_exec_perm_req__pack_to_buffer |
| 2914 | + (const Sr__CheckExecPermReq *message, |
| 2915 | + ProtobufCBuffer *buffer) |
| 2916 | +{ |
| 2917 | + assert(message->base.descriptor == &sr__check_exec_perm_req__descriptor); |
| 2918 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2919 | +} |
| 2920 | +Sr__CheckExecPermReq * |
| 2921 | + sr__check_exec_perm_req__unpack |
| 2922 | + (ProtobufCAllocator *allocator, |
| 2923 | + size_t len, |
| 2924 | + const uint8_t *data) |
| 2925 | +{ |
| 2926 | + return (Sr__CheckExecPermReq *) |
| 2927 | + protobuf_c_message_unpack (&sr__check_exec_perm_req__descriptor, |
| 2928 | + allocator, len, data); |
| 2929 | +} |
| 2930 | +void sr__check_exec_perm_req__free_unpacked |
| 2931 | + (Sr__CheckExecPermReq *message, |
| 2932 | + ProtobufCAllocator *allocator) |
| 2933 | +{ |
| 2934 | + assert(message->base.descriptor == &sr__check_exec_perm_req__descriptor); |
| 2935 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2936 | +} |
| 2937 | +void sr__check_exec_perm_resp__init |
| 2938 | + (Sr__CheckExecPermResp *message) |
| 2939 | +{ |
| 2940 | + static Sr__CheckExecPermResp init_value = SR__CHECK_EXEC_PERM_RESP__INIT; |
| 2941 | + *message = init_value; |
| 2942 | +} |
| 2943 | +size_t sr__check_exec_perm_resp__get_packed_size |
| 2944 | + (const Sr__CheckExecPermResp *message) |
| 2945 | +{ |
| 2946 | + assert(message->base.descriptor == &sr__check_exec_perm_resp__descriptor); |
| 2947 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2948 | +} |
| 2949 | +size_t sr__check_exec_perm_resp__pack |
| 2950 | + (const Sr__CheckExecPermResp *message, |
| 2951 | + uint8_t *out) |
| 2952 | +{ |
| 2953 | + assert(message->base.descriptor == &sr__check_exec_perm_resp__descriptor); |
| 2954 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2955 | +} |
| 2956 | +size_t sr__check_exec_perm_resp__pack_to_buffer |
| 2957 | + (const Sr__CheckExecPermResp *message, |
| 2958 | + ProtobufCBuffer *buffer) |
| 2959 | +{ |
| 2960 | + assert(message->base.descriptor == &sr__check_exec_perm_resp__descriptor); |
| 2961 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 2962 | +} |
| 2963 | +Sr__CheckExecPermResp * |
| 2964 | + sr__check_exec_perm_resp__unpack |
| 2965 | + (ProtobufCAllocator *allocator, |
| 2966 | + size_t len, |
| 2967 | + const uint8_t *data) |
| 2968 | +{ |
| 2969 | + return (Sr__CheckExecPermResp *) |
| 2970 | + protobuf_c_message_unpack (&sr__check_exec_perm_resp__descriptor, |
| 2971 | + allocator, len, data); |
| 2972 | +} |
| 2973 | +void sr__check_exec_perm_resp__free_unpacked |
| 2974 | + (Sr__CheckExecPermResp *message, |
| 2975 | + ProtobufCAllocator *allocator) |
| 2976 | +{ |
| 2977 | + assert(message->base.descriptor == &sr__check_exec_perm_resp__descriptor); |
| 2978 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 2979 | +} |
| 2980 | +void sr__rpcreq__init |
| 2981 | + (Sr__RPCReq *message) |
| 2982 | +{ |
| 2983 | + static Sr__RPCReq init_value = SR__RPCREQ__INIT; |
| 2984 | + *message = init_value; |
| 2985 | +} |
| 2986 | +size_t sr__rpcreq__get_packed_size |
| 2987 | + (const Sr__RPCReq *message) |
| 2988 | +{ |
| 2989 | + assert(message->base.descriptor == &sr__rpcreq__descriptor); |
| 2990 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 2991 | +} |
| 2992 | +size_t sr__rpcreq__pack |
| 2993 | + (const Sr__RPCReq *message, |
| 2994 | + uint8_t *out) |
| 2995 | +{ |
| 2996 | + assert(message->base.descriptor == &sr__rpcreq__descriptor); |
| 2997 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 2998 | +} |
| 2999 | +size_t sr__rpcreq__pack_to_buffer |
| 3000 | + (const Sr__RPCReq *message, |
| 3001 | + ProtobufCBuffer *buffer) |
| 3002 | +{ |
| 3003 | + assert(message->base.descriptor == &sr__rpcreq__descriptor); |
| 3004 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3005 | +} |
| 3006 | +Sr__RPCReq * |
| 3007 | + sr__rpcreq__unpack |
| 3008 | + (ProtobufCAllocator *allocator, |
| 3009 | + size_t len, |
| 3010 | + const uint8_t *data) |
| 3011 | +{ |
| 3012 | + return (Sr__RPCReq *) |
| 3013 | + protobuf_c_message_unpack (&sr__rpcreq__descriptor, |
| 3014 | + allocator, len, data); |
| 3015 | +} |
| 3016 | +void sr__rpcreq__free_unpacked |
| 3017 | + (Sr__RPCReq *message, |
| 3018 | + ProtobufCAllocator *allocator) |
| 3019 | +{ |
| 3020 | + assert(message->base.descriptor == &sr__rpcreq__descriptor); |
| 3021 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3022 | +} |
| 3023 | +void sr__rpcresp__init |
| 3024 | + (Sr__RPCResp *message) |
| 3025 | +{ |
| 3026 | + static Sr__RPCResp init_value = SR__RPCRESP__INIT; |
| 3027 | + *message = init_value; |
| 3028 | +} |
| 3029 | +size_t sr__rpcresp__get_packed_size |
| 3030 | + (const Sr__RPCResp *message) |
| 3031 | +{ |
| 3032 | + assert(message->base.descriptor == &sr__rpcresp__descriptor); |
| 3033 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3034 | +} |
| 3035 | +size_t sr__rpcresp__pack |
| 3036 | + (const Sr__RPCResp *message, |
| 3037 | + uint8_t *out) |
| 3038 | +{ |
| 3039 | + assert(message->base.descriptor == &sr__rpcresp__descriptor); |
| 3040 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3041 | +} |
| 3042 | +size_t sr__rpcresp__pack_to_buffer |
| 3043 | + (const Sr__RPCResp *message, |
| 3044 | + ProtobufCBuffer *buffer) |
| 3045 | +{ |
| 3046 | + assert(message->base.descriptor == &sr__rpcresp__descriptor); |
| 3047 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3048 | +} |
| 3049 | +Sr__RPCResp * |
| 3050 | + sr__rpcresp__unpack |
| 3051 | + (ProtobufCAllocator *allocator, |
| 3052 | + size_t len, |
| 3053 | + const uint8_t *data) |
| 3054 | +{ |
| 3055 | + return (Sr__RPCResp *) |
| 3056 | + protobuf_c_message_unpack (&sr__rpcresp__descriptor, |
| 3057 | + allocator, len, data); |
| 3058 | +} |
| 3059 | +void sr__rpcresp__free_unpacked |
| 3060 | + (Sr__RPCResp *message, |
| 3061 | + ProtobufCAllocator *allocator) |
| 3062 | +{ |
| 3063 | + assert(message->base.descriptor == &sr__rpcresp__descriptor); |
| 3064 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3065 | +} |
| 3066 | +void sr__event_notif_req__init |
| 3067 | + (Sr__EventNotifReq *message) |
| 3068 | +{ |
| 3069 | + static Sr__EventNotifReq init_value = SR__EVENT_NOTIF_REQ__INIT; |
| 3070 | + *message = init_value; |
| 3071 | +} |
| 3072 | +size_t sr__event_notif_req__get_packed_size |
| 3073 | + (const Sr__EventNotifReq *message) |
| 3074 | +{ |
| 3075 | + assert(message->base.descriptor == &sr__event_notif_req__descriptor); |
| 3076 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3077 | +} |
| 3078 | +size_t sr__event_notif_req__pack |
| 3079 | + (const Sr__EventNotifReq *message, |
| 3080 | + uint8_t *out) |
| 3081 | +{ |
| 3082 | + assert(message->base.descriptor == &sr__event_notif_req__descriptor); |
| 3083 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3084 | +} |
| 3085 | +size_t sr__event_notif_req__pack_to_buffer |
| 3086 | + (const Sr__EventNotifReq *message, |
| 3087 | + ProtobufCBuffer *buffer) |
| 3088 | +{ |
| 3089 | + assert(message->base.descriptor == &sr__event_notif_req__descriptor); |
| 3090 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3091 | +} |
| 3092 | +Sr__EventNotifReq * |
| 3093 | + sr__event_notif_req__unpack |
| 3094 | + (ProtobufCAllocator *allocator, |
| 3095 | + size_t len, |
| 3096 | + const uint8_t *data) |
| 3097 | +{ |
| 3098 | + return (Sr__EventNotifReq *) |
| 3099 | + protobuf_c_message_unpack (&sr__event_notif_req__descriptor, |
| 3100 | + allocator, len, data); |
| 3101 | +} |
| 3102 | +void sr__event_notif_req__free_unpacked |
| 3103 | + (Sr__EventNotifReq *message, |
| 3104 | + ProtobufCAllocator *allocator) |
| 3105 | +{ |
| 3106 | + assert(message->base.descriptor == &sr__event_notif_req__descriptor); |
| 3107 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3108 | +} |
| 3109 | +void sr__event_notif_resp__init |
| 3110 | + (Sr__EventNotifResp *message) |
| 3111 | +{ |
| 3112 | + static Sr__EventNotifResp init_value = SR__EVENT_NOTIF_RESP__INIT; |
| 3113 | + *message = init_value; |
| 3114 | +} |
| 3115 | +size_t sr__event_notif_resp__get_packed_size |
| 3116 | + (const Sr__EventNotifResp *message) |
| 3117 | +{ |
| 3118 | + assert(message->base.descriptor == &sr__event_notif_resp__descriptor); |
| 3119 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3120 | +} |
| 3121 | +size_t sr__event_notif_resp__pack |
| 3122 | + (const Sr__EventNotifResp *message, |
| 3123 | + uint8_t *out) |
| 3124 | +{ |
| 3125 | + assert(message->base.descriptor == &sr__event_notif_resp__descriptor); |
| 3126 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3127 | +} |
| 3128 | +size_t sr__event_notif_resp__pack_to_buffer |
| 3129 | + (const Sr__EventNotifResp *message, |
| 3130 | + ProtobufCBuffer *buffer) |
| 3131 | +{ |
| 3132 | + assert(message->base.descriptor == &sr__event_notif_resp__descriptor); |
| 3133 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3134 | +} |
| 3135 | +Sr__EventNotifResp * |
| 3136 | + sr__event_notif_resp__unpack |
| 3137 | + (ProtobufCAllocator *allocator, |
| 3138 | + size_t len, |
| 3139 | + const uint8_t *data) |
| 3140 | +{ |
| 3141 | + return (Sr__EventNotifResp *) |
| 3142 | + protobuf_c_message_unpack (&sr__event_notif_resp__descriptor, |
| 3143 | + allocator, len, data); |
| 3144 | +} |
| 3145 | +void sr__event_notif_resp__free_unpacked |
| 3146 | + (Sr__EventNotifResp *message, |
| 3147 | + ProtobufCAllocator *allocator) |
| 3148 | +{ |
| 3149 | + assert(message->base.descriptor == &sr__event_notif_resp__descriptor); |
| 3150 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3151 | +} |
| 3152 | +void sr__event_notif_replay_req__init |
| 3153 | + (Sr__EventNotifReplayReq *message) |
| 3154 | +{ |
| 3155 | + static Sr__EventNotifReplayReq init_value = SR__EVENT_NOTIF_REPLAY_REQ__INIT; |
| 3156 | + *message = init_value; |
| 3157 | +} |
| 3158 | +size_t sr__event_notif_replay_req__get_packed_size |
| 3159 | + (const Sr__EventNotifReplayReq *message) |
| 3160 | +{ |
| 3161 | + assert(message->base.descriptor == &sr__event_notif_replay_req__descriptor); |
| 3162 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3163 | +} |
| 3164 | +size_t sr__event_notif_replay_req__pack |
| 3165 | + (const Sr__EventNotifReplayReq *message, |
| 3166 | + uint8_t *out) |
| 3167 | +{ |
| 3168 | + assert(message->base.descriptor == &sr__event_notif_replay_req__descriptor); |
| 3169 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3170 | +} |
| 3171 | +size_t sr__event_notif_replay_req__pack_to_buffer |
| 3172 | + (const Sr__EventNotifReplayReq *message, |
| 3173 | + ProtobufCBuffer *buffer) |
| 3174 | +{ |
| 3175 | + assert(message->base.descriptor == &sr__event_notif_replay_req__descriptor); |
| 3176 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3177 | +} |
| 3178 | +Sr__EventNotifReplayReq * |
| 3179 | + sr__event_notif_replay_req__unpack |
| 3180 | + (ProtobufCAllocator *allocator, |
| 3181 | + size_t len, |
| 3182 | + const uint8_t *data) |
| 3183 | +{ |
| 3184 | + return (Sr__EventNotifReplayReq *) |
| 3185 | + protobuf_c_message_unpack (&sr__event_notif_replay_req__descriptor, |
| 3186 | + allocator, len, data); |
| 3187 | +} |
| 3188 | +void sr__event_notif_replay_req__free_unpacked |
| 3189 | + (Sr__EventNotifReplayReq *message, |
| 3190 | + ProtobufCAllocator *allocator) |
| 3191 | +{ |
| 3192 | + assert(message->base.descriptor == &sr__event_notif_replay_req__descriptor); |
| 3193 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3194 | +} |
| 3195 | +void sr__event_notif_replay_resp__init |
| 3196 | + (Sr__EventNotifReplayResp *message) |
| 3197 | +{ |
| 3198 | + static Sr__EventNotifReplayResp init_value = SR__EVENT_NOTIF_REPLAY_RESP__INIT; |
| 3199 | + *message = init_value; |
| 3200 | +} |
| 3201 | +size_t sr__event_notif_replay_resp__get_packed_size |
| 3202 | + (const Sr__EventNotifReplayResp *message) |
| 3203 | +{ |
| 3204 | + assert(message->base.descriptor == &sr__event_notif_replay_resp__descriptor); |
| 3205 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3206 | +} |
| 3207 | +size_t sr__event_notif_replay_resp__pack |
| 3208 | + (const Sr__EventNotifReplayResp *message, |
| 3209 | + uint8_t *out) |
| 3210 | +{ |
| 3211 | + assert(message->base.descriptor == &sr__event_notif_replay_resp__descriptor); |
| 3212 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3213 | +} |
| 3214 | +size_t sr__event_notif_replay_resp__pack_to_buffer |
| 3215 | + (const Sr__EventNotifReplayResp *message, |
| 3216 | + ProtobufCBuffer *buffer) |
| 3217 | +{ |
| 3218 | + assert(message->base.descriptor == &sr__event_notif_replay_resp__descriptor); |
| 3219 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3220 | +} |
| 3221 | +Sr__EventNotifReplayResp * |
| 3222 | + sr__event_notif_replay_resp__unpack |
| 3223 | + (ProtobufCAllocator *allocator, |
| 3224 | + size_t len, |
| 3225 | + const uint8_t *data) |
| 3226 | +{ |
| 3227 | + return (Sr__EventNotifReplayResp *) |
| 3228 | + protobuf_c_message_unpack (&sr__event_notif_replay_resp__descriptor, |
| 3229 | + allocator, len, data); |
| 3230 | +} |
| 3231 | +void sr__event_notif_replay_resp__free_unpacked |
| 3232 | + (Sr__EventNotifReplayResp *message, |
| 3233 | + ProtobufCAllocator *allocator) |
| 3234 | +{ |
| 3235 | + assert(message->base.descriptor == &sr__event_notif_replay_resp__descriptor); |
| 3236 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3237 | +} |
| 3238 | +void sr__data_provide_req__init |
| 3239 | + (Sr__DataProvideReq *message) |
| 3240 | +{ |
| 3241 | + static Sr__DataProvideReq init_value = SR__DATA_PROVIDE_REQ__INIT; |
| 3242 | + *message = init_value; |
| 3243 | +} |
| 3244 | +size_t sr__data_provide_req__get_packed_size |
| 3245 | + (const Sr__DataProvideReq *message) |
| 3246 | +{ |
| 3247 | + assert(message->base.descriptor == &sr__data_provide_req__descriptor); |
| 3248 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3249 | +} |
| 3250 | +size_t sr__data_provide_req__pack |
| 3251 | + (const Sr__DataProvideReq *message, |
| 3252 | + uint8_t *out) |
| 3253 | +{ |
| 3254 | + assert(message->base.descriptor == &sr__data_provide_req__descriptor); |
| 3255 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3256 | +} |
| 3257 | +size_t sr__data_provide_req__pack_to_buffer |
| 3258 | + (const Sr__DataProvideReq *message, |
| 3259 | + ProtobufCBuffer *buffer) |
| 3260 | +{ |
| 3261 | + assert(message->base.descriptor == &sr__data_provide_req__descriptor); |
| 3262 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3263 | +} |
| 3264 | +Sr__DataProvideReq * |
| 3265 | + sr__data_provide_req__unpack |
| 3266 | + (ProtobufCAllocator *allocator, |
| 3267 | + size_t len, |
| 3268 | + const uint8_t *data) |
| 3269 | +{ |
| 3270 | + return (Sr__DataProvideReq *) |
| 3271 | + protobuf_c_message_unpack (&sr__data_provide_req__descriptor, |
| 3272 | + allocator, len, data); |
| 3273 | +} |
| 3274 | +void sr__data_provide_req__free_unpacked |
| 3275 | + (Sr__DataProvideReq *message, |
| 3276 | + ProtobufCAllocator *allocator) |
| 3277 | +{ |
| 3278 | + assert(message->base.descriptor == &sr__data_provide_req__descriptor); |
| 3279 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3280 | +} |
| 3281 | +void sr__data_provide_resp__init |
| 3282 | + (Sr__DataProvideResp *message) |
| 3283 | +{ |
| 3284 | + static Sr__DataProvideResp init_value = SR__DATA_PROVIDE_RESP__INIT; |
| 3285 | + *message = init_value; |
| 3286 | +} |
| 3287 | +size_t sr__data_provide_resp__get_packed_size |
| 3288 | + (const Sr__DataProvideResp *message) |
| 3289 | +{ |
| 3290 | + assert(message->base.descriptor == &sr__data_provide_resp__descriptor); |
| 3291 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3292 | +} |
| 3293 | +size_t sr__data_provide_resp__pack |
| 3294 | + (const Sr__DataProvideResp *message, |
| 3295 | + uint8_t *out) |
| 3296 | +{ |
| 3297 | + assert(message->base.descriptor == &sr__data_provide_resp__descriptor); |
| 3298 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3299 | +} |
| 3300 | +size_t sr__data_provide_resp__pack_to_buffer |
| 3301 | + (const Sr__DataProvideResp *message, |
| 3302 | + ProtobufCBuffer *buffer) |
| 3303 | +{ |
| 3304 | + assert(message->base.descriptor == &sr__data_provide_resp__descriptor); |
| 3305 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3306 | +} |
| 3307 | +Sr__DataProvideResp * |
| 3308 | + sr__data_provide_resp__unpack |
| 3309 | + (ProtobufCAllocator *allocator, |
| 3310 | + size_t len, |
| 3311 | + const uint8_t *data) |
| 3312 | +{ |
| 3313 | + return (Sr__DataProvideResp *) |
| 3314 | + protobuf_c_message_unpack (&sr__data_provide_resp__descriptor, |
| 3315 | + allocator, len, data); |
| 3316 | +} |
| 3317 | +void sr__data_provide_resp__free_unpacked |
| 3318 | + (Sr__DataProvideResp *message, |
| 3319 | + ProtobufCAllocator *allocator) |
| 3320 | +{ |
| 3321 | + assert(message->base.descriptor == &sr__data_provide_resp__descriptor); |
| 3322 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3323 | +} |
| 3324 | +void sr__module_install_req__init |
| 3325 | + (Sr__ModuleInstallReq *message) |
| 3326 | +{ |
| 3327 | + static Sr__ModuleInstallReq init_value = SR__MODULE_INSTALL_REQ__INIT; |
| 3328 | + *message = init_value; |
| 3329 | +} |
| 3330 | +size_t sr__module_install_req__get_packed_size |
| 3331 | + (const Sr__ModuleInstallReq *message) |
| 3332 | +{ |
| 3333 | + assert(message->base.descriptor == &sr__module_install_req__descriptor); |
| 3334 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3335 | +} |
| 3336 | +size_t sr__module_install_req__pack |
| 3337 | + (const Sr__ModuleInstallReq *message, |
| 3338 | + uint8_t *out) |
| 3339 | +{ |
| 3340 | + assert(message->base.descriptor == &sr__module_install_req__descriptor); |
| 3341 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3342 | +} |
| 3343 | +size_t sr__module_install_req__pack_to_buffer |
| 3344 | + (const Sr__ModuleInstallReq *message, |
| 3345 | + ProtobufCBuffer *buffer) |
| 3346 | +{ |
| 3347 | + assert(message->base.descriptor == &sr__module_install_req__descriptor); |
| 3348 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3349 | +} |
| 3350 | +Sr__ModuleInstallReq * |
| 3351 | + sr__module_install_req__unpack |
| 3352 | + (ProtobufCAllocator *allocator, |
| 3353 | + size_t len, |
| 3354 | + const uint8_t *data) |
| 3355 | +{ |
| 3356 | + return (Sr__ModuleInstallReq *) |
| 3357 | + protobuf_c_message_unpack (&sr__module_install_req__descriptor, |
| 3358 | + allocator, len, data); |
| 3359 | +} |
| 3360 | +void sr__module_install_req__free_unpacked |
| 3361 | + (Sr__ModuleInstallReq *message, |
| 3362 | + ProtobufCAllocator *allocator) |
| 3363 | +{ |
| 3364 | + assert(message->base.descriptor == &sr__module_install_req__descriptor); |
| 3365 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3366 | +} |
| 3367 | +void sr__module_install_resp__init |
| 3368 | + (Sr__ModuleInstallResp *message) |
| 3369 | +{ |
| 3370 | + static Sr__ModuleInstallResp init_value = SR__MODULE_INSTALL_RESP__INIT; |
| 3371 | + *message = init_value; |
| 3372 | +} |
| 3373 | +size_t sr__module_install_resp__get_packed_size |
| 3374 | + (const Sr__ModuleInstallResp *message) |
| 3375 | +{ |
| 3376 | + assert(message->base.descriptor == &sr__module_install_resp__descriptor); |
| 3377 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3378 | +} |
| 3379 | +size_t sr__module_install_resp__pack |
| 3380 | + (const Sr__ModuleInstallResp *message, |
| 3381 | + uint8_t *out) |
| 3382 | +{ |
| 3383 | + assert(message->base.descriptor == &sr__module_install_resp__descriptor); |
| 3384 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3385 | +} |
| 3386 | +size_t sr__module_install_resp__pack_to_buffer |
| 3387 | + (const Sr__ModuleInstallResp *message, |
| 3388 | + ProtobufCBuffer *buffer) |
| 3389 | +{ |
| 3390 | + assert(message->base.descriptor == &sr__module_install_resp__descriptor); |
| 3391 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3392 | +} |
| 3393 | +Sr__ModuleInstallResp * |
| 3394 | + sr__module_install_resp__unpack |
| 3395 | + (ProtobufCAllocator *allocator, |
| 3396 | + size_t len, |
| 3397 | + const uint8_t *data) |
| 3398 | +{ |
| 3399 | + return (Sr__ModuleInstallResp *) |
| 3400 | + protobuf_c_message_unpack (&sr__module_install_resp__descriptor, |
| 3401 | + allocator, len, data); |
| 3402 | +} |
| 3403 | +void sr__module_install_resp__free_unpacked |
| 3404 | + (Sr__ModuleInstallResp *message, |
| 3405 | + ProtobufCAllocator *allocator) |
| 3406 | +{ |
| 3407 | + assert(message->base.descriptor == &sr__module_install_resp__descriptor); |
| 3408 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3409 | +} |
| 3410 | +void sr__feature_enable_req__init |
| 3411 | + (Sr__FeatureEnableReq *message) |
| 3412 | +{ |
| 3413 | + static Sr__FeatureEnableReq init_value = SR__FEATURE_ENABLE_REQ__INIT; |
| 3414 | + *message = init_value; |
| 3415 | +} |
| 3416 | +size_t sr__feature_enable_req__get_packed_size |
| 3417 | + (const Sr__FeatureEnableReq *message) |
| 3418 | +{ |
| 3419 | + assert(message->base.descriptor == &sr__feature_enable_req__descriptor); |
| 3420 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3421 | +} |
| 3422 | +size_t sr__feature_enable_req__pack |
| 3423 | + (const Sr__FeatureEnableReq *message, |
| 3424 | + uint8_t *out) |
| 3425 | +{ |
| 3426 | + assert(message->base.descriptor == &sr__feature_enable_req__descriptor); |
| 3427 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3428 | +} |
| 3429 | +size_t sr__feature_enable_req__pack_to_buffer |
| 3430 | + (const Sr__FeatureEnableReq *message, |
| 3431 | + ProtobufCBuffer *buffer) |
| 3432 | +{ |
| 3433 | + assert(message->base.descriptor == &sr__feature_enable_req__descriptor); |
| 3434 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3435 | +} |
| 3436 | +Sr__FeatureEnableReq * |
| 3437 | + sr__feature_enable_req__unpack |
| 3438 | + (ProtobufCAllocator *allocator, |
| 3439 | + size_t len, |
| 3440 | + const uint8_t *data) |
| 3441 | +{ |
| 3442 | + return (Sr__FeatureEnableReq *) |
| 3443 | + protobuf_c_message_unpack (&sr__feature_enable_req__descriptor, |
| 3444 | + allocator, len, data); |
| 3445 | +} |
| 3446 | +void sr__feature_enable_req__free_unpacked |
| 3447 | + (Sr__FeatureEnableReq *message, |
| 3448 | + ProtobufCAllocator *allocator) |
| 3449 | +{ |
| 3450 | + assert(message->base.descriptor == &sr__feature_enable_req__descriptor); |
| 3451 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3452 | +} |
| 3453 | +void sr__feature_enable_resp__init |
| 3454 | + (Sr__FeatureEnableResp *message) |
| 3455 | +{ |
| 3456 | + static Sr__FeatureEnableResp init_value = SR__FEATURE_ENABLE_RESP__INIT; |
| 3457 | + *message = init_value; |
| 3458 | +} |
| 3459 | +size_t sr__feature_enable_resp__get_packed_size |
| 3460 | + (const Sr__FeatureEnableResp *message) |
| 3461 | +{ |
| 3462 | + assert(message->base.descriptor == &sr__feature_enable_resp__descriptor); |
| 3463 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3464 | +} |
| 3465 | +size_t sr__feature_enable_resp__pack |
| 3466 | + (const Sr__FeatureEnableResp *message, |
| 3467 | + uint8_t *out) |
| 3468 | +{ |
| 3469 | + assert(message->base.descriptor == &sr__feature_enable_resp__descriptor); |
| 3470 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3471 | +} |
| 3472 | +size_t sr__feature_enable_resp__pack_to_buffer |
| 3473 | + (const Sr__FeatureEnableResp *message, |
| 3474 | + ProtobufCBuffer *buffer) |
| 3475 | +{ |
| 3476 | + assert(message->base.descriptor == &sr__feature_enable_resp__descriptor); |
| 3477 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3478 | +} |
| 3479 | +Sr__FeatureEnableResp * |
| 3480 | + sr__feature_enable_resp__unpack |
| 3481 | + (ProtobufCAllocator *allocator, |
| 3482 | + size_t len, |
| 3483 | + const uint8_t *data) |
| 3484 | +{ |
| 3485 | + return (Sr__FeatureEnableResp *) |
| 3486 | + protobuf_c_message_unpack (&sr__feature_enable_resp__descriptor, |
| 3487 | + allocator, len, data); |
| 3488 | +} |
| 3489 | +void sr__feature_enable_resp__free_unpacked |
| 3490 | + (Sr__FeatureEnableResp *message, |
| 3491 | + ProtobufCAllocator *allocator) |
| 3492 | +{ |
| 3493 | + assert(message->base.descriptor == &sr__feature_enable_resp__descriptor); |
| 3494 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3495 | +} |
| 3496 | +void sr__unsubscribe_destination_req__init |
| 3497 | + (Sr__UnsubscribeDestinationReq *message) |
| 3498 | +{ |
| 3499 | + static Sr__UnsubscribeDestinationReq init_value = SR__UNSUBSCRIBE_DESTINATION_REQ__INIT; |
| 3500 | + *message = init_value; |
| 3501 | +} |
| 3502 | +size_t sr__unsubscribe_destination_req__get_packed_size |
| 3503 | + (const Sr__UnsubscribeDestinationReq *message) |
| 3504 | +{ |
| 3505 | + assert(message->base.descriptor == &sr__unsubscribe_destination_req__descriptor); |
| 3506 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3507 | +} |
| 3508 | +size_t sr__unsubscribe_destination_req__pack |
| 3509 | + (const Sr__UnsubscribeDestinationReq *message, |
| 3510 | + uint8_t *out) |
| 3511 | +{ |
| 3512 | + assert(message->base.descriptor == &sr__unsubscribe_destination_req__descriptor); |
| 3513 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3514 | +} |
| 3515 | +size_t sr__unsubscribe_destination_req__pack_to_buffer |
| 3516 | + (const Sr__UnsubscribeDestinationReq *message, |
| 3517 | + ProtobufCBuffer *buffer) |
| 3518 | +{ |
| 3519 | + assert(message->base.descriptor == &sr__unsubscribe_destination_req__descriptor); |
| 3520 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3521 | +} |
| 3522 | +Sr__UnsubscribeDestinationReq * |
| 3523 | + sr__unsubscribe_destination_req__unpack |
| 3524 | + (ProtobufCAllocator *allocator, |
| 3525 | + size_t len, |
| 3526 | + const uint8_t *data) |
| 3527 | +{ |
| 3528 | + return (Sr__UnsubscribeDestinationReq *) |
| 3529 | + protobuf_c_message_unpack (&sr__unsubscribe_destination_req__descriptor, |
| 3530 | + allocator, len, data); |
| 3531 | +} |
| 3532 | +void sr__unsubscribe_destination_req__free_unpacked |
| 3533 | + (Sr__UnsubscribeDestinationReq *message, |
| 3534 | + ProtobufCAllocator *allocator) |
| 3535 | +{ |
| 3536 | + assert(message->base.descriptor == &sr__unsubscribe_destination_req__descriptor); |
| 3537 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3538 | +} |
| 3539 | +void sr__commit_timeout_req__init |
| 3540 | + (Sr__CommitTimeoutReq *message) |
| 3541 | +{ |
| 3542 | + static Sr__CommitTimeoutReq init_value = SR__COMMIT_TIMEOUT_REQ__INIT; |
| 3543 | + *message = init_value; |
| 3544 | +} |
| 3545 | +size_t sr__commit_timeout_req__get_packed_size |
| 3546 | + (const Sr__CommitTimeoutReq *message) |
| 3547 | +{ |
| 3548 | + assert(message->base.descriptor == &sr__commit_timeout_req__descriptor); |
| 3549 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3550 | +} |
| 3551 | +size_t sr__commit_timeout_req__pack |
| 3552 | + (const Sr__CommitTimeoutReq *message, |
| 3553 | + uint8_t *out) |
| 3554 | +{ |
| 3555 | + assert(message->base.descriptor == &sr__commit_timeout_req__descriptor); |
| 3556 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3557 | +} |
| 3558 | +size_t sr__commit_timeout_req__pack_to_buffer |
| 3559 | + (const Sr__CommitTimeoutReq *message, |
| 3560 | + ProtobufCBuffer *buffer) |
| 3561 | +{ |
| 3562 | + assert(message->base.descriptor == &sr__commit_timeout_req__descriptor); |
| 3563 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3564 | +} |
| 3565 | +Sr__CommitTimeoutReq * |
| 3566 | + sr__commit_timeout_req__unpack |
| 3567 | + (ProtobufCAllocator *allocator, |
| 3568 | + size_t len, |
| 3569 | + const uint8_t *data) |
| 3570 | +{ |
| 3571 | + return (Sr__CommitTimeoutReq *) |
| 3572 | + protobuf_c_message_unpack (&sr__commit_timeout_req__descriptor, |
| 3573 | + allocator, len, data); |
| 3574 | +} |
| 3575 | +void sr__commit_timeout_req__free_unpacked |
| 3576 | + (Sr__CommitTimeoutReq *message, |
| 3577 | + ProtobufCAllocator *allocator) |
| 3578 | +{ |
| 3579 | + assert(message->base.descriptor == &sr__commit_timeout_req__descriptor); |
| 3580 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3581 | +} |
| 3582 | +void sr__oper_data_timeout_req__init |
| 3583 | + (Sr__OperDataTimeoutReq *message) |
| 3584 | +{ |
| 3585 | + static Sr__OperDataTimeoutReq init_value = SR__OPER_DATA_TIMEOUT_REQ__INIT; |
| 3586 | + *message = init_value; |
| 3587 | +} |
| 3588 | +size_t sr__oper_data_timeout_req__get_packed_size |
| 3589 | + (const Sr__OperDataTimeoutReq *message) |
| 3590 | +{ |
| 3591 | + assert(message->base.descriptor == &sr__oper_data_timeout_req__descriptor); |
| 3592 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3593 | +} |
| 3594 | +size_t sr__oper_data_timeout_req__pack |
| 3595 | + (const Sr__OperDataTimeoutReq *message, |
| 3596 | + uint8_t *out) |
| 3597 | +{ |
| 3598 | + assert(message->base.descriptor == &sr__oper_data_timeout_req__descriptor); |
| 3599 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3600 | +} |
| 3601 | +size_t sr__oper_data_timeout_req__pack_to_buffer |
| 3602 | + (const Sr__OperDataTimeoutReq *message, |
| 3603 | + ProtobufCBuffer *buffer) |
| 3604 | +{ |
| 3605 | + assert(message->base.descriptor == &sr__oper_data_timeout_req__descriptor); |
| 3606 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3607 | +} |
| 3608 | +Sr__OperDataTimeoutReq * |
| 3609 | + sr__oper_data_timeout_req__unpack |
| 3610 | + (ProtobufCAllocator *allocator, |
| 3611 | + size_t len, |
| 3612 | + const uint8_t *data) |
| 3613 | +{ |
| 3614 | + return (Sr__OperDataTimeoutReq *) |
| 3615 | + protobuf_c_message_unpack (&sr__oper_data_timeout_req__descriptor, |
| 3616 | + allocator, len, data); |
| 3617 | +} |
| 3618 | +void sr__oper_data_timeout_req__free_unpacked |
| 3619 | + (Sr__OperDataTimeoutReq *message, |
| 3620 | + ProtobufCAllocator *allocator) |
| 3621 | +{ |
| 3622 | + assert(message->base.descriptor == &sr__oper_data_timeout_req__descriptor); |
| 3623 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3624 | +} |
| 3625 | +void sr__internal_state_data_req__init |
| 3626 | + (Sr__InternalStateDataReq *message) |
| 3627 | +{ |
| 3628 | + static Sr__InternalStateDataReq init_value = SR__INTERNAL_STATE_DATA_REQ__INIT; |
| 3629 | + *message = init_value; |
| 3630 | +} |
| 3631 | +size_t sr__internal_state_data_req__get_packed_size |
| 3632 | + (const Sr__InternalStateDataReq *message) |
| 3633 | +{ |
| 3634 | + assert(message->base.descriptor == &sr__internal_state_data_req__descriptor); |
| 3635 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3636 | +} |
| 3637 | +size_t sr__internal_state_data_req__pack |
| 3638 | + (const Sr__InternalStateDataReq *message, |
| 3639 | + uint8_t *out) |
| 3640 | +{ |
| 3641 | + assert(message->base.descriptor == &sr__internal_state_data_req__descriptor); |
| 3642 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3643 | +} |
| 3644 | +size_t sr__internal_state_data_req__pack_to_buffer |
| 3645 | + (const Sr__InternalStateDataReq *message, |
| 3646 | + ProtobufCBuffer *buffer) |
| 3647 | +{ |
| 3648 | + assert(message->base.descriptor == &sr__internal_state_data_req__descriptor); |
| 3649 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3650 | +} |
| 3651 | +Sr__InternalStateDataReq * |
| 3652 | + sr__internal_state_data_req__unpack |
| 3653 | + (ProtobufCAllocator *allocator, |
| 3654 | + size_t len, |
| 3655 | + const uint8_t *data) |
| 3656 | +{ |
| 3657 | + return (Sr__InternalStateDataReq *) |
| 3658 | + protobuf_c_message_unpack (&sr__internal_state_data_req__descriptor, |
| 3659 | + allocator, len, data); |
| 3660 | +} |
| 3661 | +void sr__internal_state_data_req__free_unpacked |
| 3662 | + (Sr__InternalStateDataReq *message, |
| 3663 | + ProtobufCAllocator *allocator) |
| 3664 | +{ |
| 3665 | + assert(message->base.descriptor == &sr__internal_state_data_req__descriptor); |
| 3666 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3667 | +} |
| 3668 | +void sr__notif_store_cleanup_req__init |
| 3669 | + (Sr__NotifStoreCleanupReq *message) |
| 3670 | +{ |
| 3671 | + static Sr__NotifStoreCleanupReq init_value = SR__NOTIF_STORE_CLEANUP_REQ__INIT; |
| 3672 | + *message = init_value; |
| 3673 | +} |
| 3674 | +size_t sr__notif_store_cleanup_req__get_packed_size |
| 3675 | + (const Sr__NotifStoreCleanupReq *message) |
| 3676 | +{ |
| 3677 | + assert(message->base.descriptor == &sr__notif_store_cleanup_req__descriptor); |
| 3678 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3679 | +} |
| 3680 | +size_t sr__notif_store_cleanup_req__pack |
| 3681 | + (const Sr__NotifStoreCleanupReq *message, |
| 3682 | + uint8_t *out) |
| 3683 | +{ |
| 3684 | + assert(message->base.descriptor == &sr__notif_store_cleanup_req__descriptor); |
| 3685 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3686 | +} |
| 3687 | +size_t sr__notif_store_cleanup_req__pack_to_buffer |
| 3688 | + (const Sr__NotifStoreCleanupReq *message, |
| 3689 | + ProtobufCBuffer *buffer) |
| 3690 | +{ |
| 3691 | + assert(message->base.descriptor == &sr__notif_store_cleanup_req__descriptor); |
| 3692 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3693 | +} |
| 3694 | +Sr__NotifStoreCleanupReq * |
| 3695 | + sr__notif_store_cleanup_req__unpack |
| 3696 | + (ProtobufCAllocator *allocator, |
| 3697 | + size_t len, |
| 3698 | + const uint8_t *data) |
| 3699 | +{ |
| 3700 | + return (Sr__NotifStoreCleanupReq *) |
| 3701 | + protobuf_c_message_unpack (&sr__notif_store_cleanup_req__descriptor, |
| 3702 | + allocator, len, data); |
| 3703 | +} |
| 3704 | +void sr__notif_store_cleanup_req__free_unpacked |
| 3705 | + (Sr__NotifStoreCleanupReq *message, |
| 3706 | + ProtobufCAllocator *allocator) |
| 3707 | +{ |
| 3708 | + assert(message->base.descriptor == &sr__notif_store_cleanup_req__descriptor); |
| 3709 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3710 | +} |
| 3711 | +void sr__delayed_msg_req__init |
| 3712 | + (Sr__DelayedMsgReq *message) |
| 3713 | +{ |
| 3714 | + static Sr__DelayedMsgReq init_value = SR__DELAYED_MSG_REQ__INIT; |
| 3715 | + *message = init_value; |
| 3716 | +} |
| 3717 | +size_t sr__delayed_msg_req__get_packed_size |
| 3718 | + (const Sr__DelayedMsgReq *message) |
| 3719 | +{ |
| 3720 | + assert(message->base.descriptor == &sr__delayed_msg_req__descriptor); |
| 3721 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3722 | +} |
| 3723 | +size_t sr__delayed_msg_req__pack |
| 3724 | + (const Sr__DelayedMsgReq *message, |
| 3725 | + uint8_t *out) |
| 3726 | +{ |
| 3727 | + assert(message->base.descriptor == &sr__delayed_msg_req__descriptor); |
| 3728 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3729 | +} |
| 3730 | +size_t sr__delayed_msg_req__pack_to_buffer |
| 3731 | + (const Sr__DelayedMsgReq *message, |
| 3732 | + ProtobufCBuffer *buffer) |
| 3733 | +{ |
| 3734 | + assert(message->base.descriptor == &sr__delayed_msg_req__descriptor); |
| 3735 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3736 | +} |
| 3737 | +Sr__DelayedMsgReq * |
| 3738 | + sr__delayed_msg_req__unpack |
| 3739 | + (ProtobufCAllocator *allocator, |
| 3740 | + size_t len, |
| 3741 | + const uint8_t *data) |
| 3742 | +{ |
| 3743 | + return (Sr__DelayedMsgReq *) |
| 3744 | + protobuf_c_message_unpack (&sr__delayed_msg_req__descriptor, |
| 3745 | + allocator, len, data); |
| 3746 | +} |
| 3747 | +void sr__delayed_msg_req__free_unpacked |
| 3748 | + (Sr__DelayedMsgReq *message, |
| 3749 | + ProtobufCAllocator *allocator) |
| 3750 | +{ |
| 3751 | + assert(message->base.descriptor == &sr__delayed_msg_req__descriptor); |
| 3752 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3753 | +} |
| 3754 | +void sr__nacm_reload_req__init |
| 3755 | + (Sr__NacmReloadReq *message) |
| 3756 | +{ |
| 3757 | + static Sr__NacmReloadReq init_value = SR__NACM_RELOAD_REQ__INIT; |
| 3758 | + *message = init_value; |
| 3759 | +} |
| 3760 | +size_t sr__nacm_reload_req__get_packed_size |
| 3761 | + (const Sr__NacmReloadReq *message) |
| 3762 | +{ |
| 3763 | + assert(message->base.descriptor == &sr__nacm_reload_req__descriptor); |
| 3764 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3765 | +} |
| 3766 | +size_t sr__nacm_reload_req__pack |
| 3767 | + (const Sr__NacmReloadReq *message, |
| 3768 | + uint8_t *out) |
| 3769 | +{ |
| 3770 | + assert(message->base.descriptor == &sr__nacm_reload_req__descriptor); |
| 3771 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3772 | +} |
| 3773 | +size_t sr__nacm_reload_req__pack_to_buffer |
| 3774 | + (const Sr__NacmReloadReq *message, |
| 3775 | + ProtobufCBuffer *buffer) |
| 3776 | +{ |
| 3777 | + assert(message->base.descriptor == &sr__nacm_reload_req__descriptor); |
| 3778 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3779 | +} |
| 3780 | +Sr__NacmReloadReq * |
| 3781 | + sr__nacm_reload_req__unpack |
| 3782 | + (ProtobufCAllocator *allocator, |
| 3783 | + size_t len, |
| 3784 | + const uint8_t *data) |
| 3785 | +{ |
| 3786 | + return (Sr__NacmReloadReq *) |
| 3787 | + protobuf_c_message_unpack (&sr__nacm_reload_req__descriptor, |
| 3788 | + allocator, len, data); |
| 3789 | +} |
| 3790 | +void sr__nacm_reload_req__free_unpacked |
| 3791 | + (Sr__NacmReloadReq *message, |
| 3792 | + ProtobufCAllocator *allocator) |
| 3793 | +{ |
| 3794 | + assert(message->base.descriptor == &sr__nacm_reload_req__descriptor); |
| 3795 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3796 | +} |
| 3797 | +void sr__request__init |
| 3798 | + (Sr__Request *message) |
| 3799 | +{ |
| 3800 | + static Sr__Request init_value = SR__REQUEST__INIT; |
| 3801 | + *message = init_value; |
| 3802 | +} |
| 3803 | +size_t sr__request__get_packed_size |
| 3804 | + (const Sr__Request *message) |
| 3805 | +{ |
| 3806 | + assert(message->base.descriptor == &sr__request__descriptor); |
| 3807 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3808 | +} |
| 3809 | +size_t sr__request__pack |
| 3810 | + (const Sr__Request *message, |
| 3811 | + uint8_t *out) |
| 3812 | +{ |
| 3813 | + assert(message->base.descriptor == &sr__request__descriptor); |
| 3814 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3815 | +} |
| 3816 | +size_t sr__request__pack_to_buffer |
| 3817 | + (const Sr__Request *message, |
| 3818 | + ProtobufCBuffer *buffer) |
| 3819 | +{ |
| 3820 | + assert(message->base.descriptor == &sr__request__descriptor); |
| 3821 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3822 | +} |
| 3823 | +Sr__Request * |
| 3824 | + sr__request__unpack |
| 3825 | + (ProtobufCAllocator *allocator, |
| 3826 | + size_t len, |
| 3827 | + const uint8_t *data) |
| 3828 | +{ |
| 3829 | + return (Sr__Request *) |
| 3830 | + protobuf_c_message_unpack (&sr__request__descriptor, |
| 3831 | + allocator, len, data); |
| 3832 | +} |
| 3833 | +void sr__request__free_unpacked |
| 3834 | + (Sr__Request *message, |
| 3835 | + ProtobufCAllocator *allocator) |
| 3836 | +{ |
| 3837 | + assert(message->base.descriptor == &sr__request__descriptor); |
| 3838 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3839 | +} |
| 3840 | +void sr__response__init |
| 3841 | + (Sr__Response *message) |
| 3842 | +{ |
| 3843 | + static Sr__Response init_value = SR__RESPONSE__INIT; |
| 3844 | + *message = init_value; |
| 3845 | +} |
| 3846 | +size_t sr__response__get_packed_size |
| 3847 | + (const Sr__Response *message) |
| 3848 | +{ |
| 3849 | + assert(message->base.descriptor == &sr__response__descriptor); |
| 3850 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3851 | +} |
| 3852 | +size_t sr__response__pack |
| 3853 | + (const Sr__Response *message, |
| 3854 | + uint8_t *out) |
| 3855 | +{ |
| 3856 | + assert(message->base.descriptor == &sr__response__descriptor); |
| 3857 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3858 | +} |
| 3859 | +size_t sr__response__pack_to_buffer |
| 3860 | + (const Sr__Response *message, |
| 3861 | + ProtobufCBuffer *buffer) |
| 3862 | +{ |
| 3863 | + assert(message->base.descriptor == &sr__response__descriptor); |
| 3864 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3865 | +} |
| 3866 | +Sr__Response * |
| 3867 | + sr__response__unpack |
| 3868 | + (ProtobufCAllocator *allocator, |
| 3869 | + size_t len, |
| 3870 | + const uint8_t *data) |
| 3871 | +{ |
| 3872 | + return (Sr__Response *) |
| 3873 | + protobuf_c_message_unpack (&sr__response__descriptor, |
| 3874 | + allocator, len, data); |
| 3875 | +} |
| 3876 | +void sr__response__free_unpacked |
| 3877 | + (Sr__Response *message, |
| 3878 | + ProtobufCAllocator *allocator) |
| 3879 | +{ |
| 3880 | + assert(message->base.descriptor == &sr__response__descriptor); |
| 3881 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3882 | +} |
| 3883 | +void sr__notification__init |
| 3884 | + (Sr__Notification *message) |
| 3885 | +{ |
| 3886 | + static Sr__Notification init_value = SR__NOTIFICATION__INIT; |
| 3887 | + *message = init_value; |
| 3888 | +} |
| 3889 | +size_t sr__notification__get_packed_size |
| 3890 | + (const Sr__Notification *message) |
| 3891 | +{ |
| 3892 | + assert(message->base.descriptor == &sr__notification__descriptor); |
| 3893 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3894 | +} |
| 3895 | +size_t sr__notification__pack |
| 3896 | + (const Sr__Notification *message, |
| 3897 | + uint8_t *out) |
| 3898 | +{ |
| 3899 | + assert(message->base.descriptor == &sr__notification__descriptor); |
| 3900 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3901 | +} |
| 3902 | +size_t sr__notification__pack_to_buffer |
| 3903 | + (const Sr__Notification *message, |
| 3904 | + ProtobufCBuffer *buffer) |
| 3905 | +{ |
| 3906 | + assert(message->base.descriptor == &sr__notification__descriptor); |
| 3907 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3908 | +} |
| 3909 | +Sr__Notification * |
| 3910 | + sr__notification__unpack |
| 3911 | + (ProtobufCAllocator *allocator, |
| 3912 | + size_t len, |
| 3913 | + const uint8_t *data) |
| 3914 | +{ |
| 3915 | + return (Sr__Notification *) |
| 3916 | + protobuf_c_message_unpack (&sr__notification__descriptor, |
| 3917 | + allocator, len, data); |
| 3918 | +} |
| 3919 | +void sr__notification__free_unpacked |
| 3920 | + (Sr__Notification *message, |
| 3921 | + ProtobufCAllocator *allocator) |
| 3922 | +{ |
| 3923 | + assert(message->base.descriptor == &sr__notification__descriptor); |
| 3924 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3925 | +} |
| 3926 | +void sr__notification_ack__init |
| 3927 | + (Sr__NotificationAck *message) |
| 3928 | +{ |
| 3929 | + static Sr__NotificationAck init_value = SR__NOTIFICATION_ACK__INIT; |
| 3930 | + *message = init_value; |
| 3931 | +} |
| 3932 | +size_t sr__notification_ack__get_packed_size |
| 3933 | + (const Sr__NotificationAck *message) |
| 3934 | +{ |
| 3935 | + assert(message->base.descriptor == &sr__notification_ack__descriptor); |
| 3936 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3937 | +} |
| 3938 | +size_t sr__notification_ack__pack |
| 3939 | + (const Sr__NotificationAck *message, |
| 3940 | + uint8_t *out) |
| 3941 | +{ |
| 3942 | + assert(message->base.descriptor == &sr__notification_ack__descriptor); |
| 3943 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3944 | +} |
| 3945 | +size_t sr__notification_ack__pack_to_buffer |
| 3946 | + (const Sr__NotificationAck *message, |
| 3947 | + ProtobufCBuffer *buffer) |
| 3948 | +{ |
| 3949 | + assert(message->base.descriptor == &sr__notification_ack__descriptor); |
| 3950 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3951 | +} |
| 3952 | +Sr__NotificationAck * |
| 3953 | + sr__notification_ack__unpack |
| 3954 | + (ProtobufCAllocator *allocator, |
| 3955 | + size_t len, |
| 3956 | + const uint8_t *data) |
| 3957 | +{ |
| 3958 | + return (Sr__NotificationAck *) |
| 3959 | + protobuf_c_message_unpack (&sr__notification_ack__descriptor, |
| 3960 | + allocator, len, data); |
| 3961 | +} |
| 3962 | +void sr__notification_ack__free_unpacked |
| 3963 | + (Sr__NotificationAck *message, |
| 3964 | + ProtobufCAllocator *allocator) |
| 3965 | +{ |
| 3966 | + assert(message->base.descriptor == &sr__notification_ack__descriptor); |
| 3967 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 3968 | +} |
| 3969 | +void sr__internal_request__init |
| 3970 | + (Sr__InternalRequest *message) |
| 3971 | +{ |
| 3972 | + static Sr__InternalRequest init_value = SR__INTERNAL_REQUEST__INIT; |
| 3973 | + *message = init_value; |
| 3974 | +} |
| 3975 | +size_t sr__internal_request__get_packed_size |
| 3976 | + (const Sr__InternalRequest *message) |
| 3977 | +{ |
| 3978 | + assert(message->base.descriptor == &sr__internal_request__descriptor); |
| 3979 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 3980 | +} |
| 3981 | +size_t sr__internal_request__pack |
| 3982 | + (const Sr__InternalRequest *message, |
| 3983 | + uint8_t *out) |
| 3984 | +{ |
| 3985 | + assert(message->base.descriptor == &sr__internal_request__descriptor); |
| 3986 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 3987 | +} |
| 3988 | +size_t sr__internal_request__pack_to_buffer |
| 3989 | + (const Sr__InternalRequest *message, |
| 3990 | + ProtobufCBuffer *buffer) |
| 3991 | +{ |
| 3992 | + assert(message->base.descriptor == &sr__internal_request__descriptor); |
| 3993 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 3994 | +} |
| 3995 | +Sr__InternalRequest * |
| 3996 | + sr__internal_request__unpack |
| 3997 | + (ProtobufCAllocator *allocator, |
| 3998 | + size_t len, |
| 3999 | + const uint8_t *data) |
| 4000 | +{ |
| 4001 | + return (Sr__InternalRequest *) |
| 4002 | + protobuf_c_message_unpack (&sr__internal_request__descriptor, |
| 4003 | + allocator, len, data); |
| 4004 | +} |
| 4005 | +void sr__internal_request__free_unpacked |
| 4006 | + (Sr__InternalRequest *message, |
| 4007 | + ProtobufCAllocator *allocator) |
| 4008 | +{ |
| 4009 | + assert(message->base.descriptor == &sr__internal_request__descriptor); |
| 4010 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 4011 | +} |
| 4012 | +void sr__msg__init |
| 4013 | + (Sr__Msg *message) |
| 4014 | +{ |
| 4015 | + static Sr__Msg init_value = SR__MSG__INIT; |
| 4016 | + *message = init_value; |
| 4017 | +} |
| 4018 | +size_t sr__msg__get_packed_size |
| 4019 | + (const Sr__Msg *message) |
| 4020 | +{ |
| 4021 | + assert(message->base.descriptor == &sr__msg__descriptor); |
| 4022 | + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
| 4023 | +} |
| 4024 | +size_t sr__msg__pack |
| 4025 | + (const Sr__Msg *message, |
| 4026 | + uint8_t *out) |
| 4027 | +{ |
| 4028 | + assert(message->base.descriptor == &sr__msg__descriptor); |
| 4029 | + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
| 4030 | +} |
| 4031 | +size_t sr__msg__pack_to_buffer |
| 4032 | + (const Sr__Msg *message, |
| 4033 | + ProtobufCBuffer *buffer) |
| 4034 | +{ |
| 4035 | + assert(message->base.descriptor == &sr__msg__descriptor); |
| 4036 | + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
| 4037 | +} |
| 4038 | +Sr__Msg * |
| 4039 | + sr__msg__unpack |
| 4040 | + (ProtobufCAllocator *allocator, |
| 4041 | + size_t len, |
| 4042 | + const uint8_t *data) |
| 4043 | +{ |
| 4044 | + return (Sr__Msg *) |
| 4045 | + protobuf_c_message_unpack (&sr__msg__descriptor, |
| 4046 | + allocator, len, data); |
| 4047 | +} |
| 4048 | +void sr__msg__free_unpacked |
| 4049 | + (Sr__Msg *message, |
| 4050 | + ProtobufCAllocator *allocator) |
| 4051 | +{ |
| 4052 | + assert(message->base.descriptor == &sr__msg__descriptor); |
| 4053 | + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
| 4054 | +} |
| 4055 | +static const ProtobufCEnumValue sr__value__types__enum_values_by_number[22] = |
| 4056 | +{ |
| 4057 | + { "LIST", "SR__VALUE__TYPES__LIST", 1 }, |
| 4058 | + { "CONTAINER", "SR__VALUE__TYPES__CONTAINER", 2 }, |
| 4059 | + { "CONTAINER_PRESENCE", "SR__VALUE__TYPES__CONTAINER_PRESENCE", 3 }, |
| 4060 | + { "LEAF_EMPTY", "SR__VALUE__TYPES__LEAF_EMPTY", 4 }, |
| 4061 | + { "BINARY", "SR__VALUE__TYPES__BINARY", 10 }, |
| 4062 | + { "BITS", "SR__VALUE__TYPES__BITS", 11 }, |
| 4063 | + { "BOOL", "SR__VALUE__TYPES__BOOL", 12 }, |
| 4064 | + { "DECIMAL64", "SR__VALUE__TYPES__DECIMAL64", 13 }, |
| 4065 | + { "ENUM", "SR__VALUE__TYPES__ENUM", 14 }, |
| 4066 | + { "IDENTITYREF", "SR__VALUE__TYPES__IDENTITYREF", 15 }, |
| 4067 | + { "INSTANCEID", "SR__VALUE__TYPES__INSTANCEID", 16 }, |
| 4068 | + { "INT8", "SR__VALUE__TYPES__INT8", 17 }, |
| 4069 | + { "INT16", "SR__VALUE__TYPES__INT16", 18 }, |
| 4070 | + { "INT32", "SR__VALUE__TYPES__INT32", 19 }, |
| 4071 | + { "INT64", "SR__VALUE__TYPES__INT64", 20 }, |
| 4072 | + { "STRING", "SR__VALUE__TYPES__STRING", 21 }, |
| 4073 | + { "UINT8", "SR__VALUE__TYPES__UINT8", 22 }, |
| 4074 | + { "UINT16", "SR__VALUE__TYPES__UINT16", 23 }, |
| 4075 | + { "UINT32", "SR__VALUE__TYPES__UINT32", 24 }, |
| 4076 | + { "UINT64", "SR__VALUE__TYPES__UINT64", 25 }, |
| 4077 | + { "ANYXML", "SR__VALUE__TYPES__ANYXML", 26 }, |
| 4078 | + { "ANYDATA", "SR__VALUE__TYPES__ANYDATA", 27 }, |
| 4079 | +}; |
| 4080 | +static const ProtobufCIntRange sr__value__types__value_ranges[] = { |
| 4081 | +{1, 0},{10, 4},{0, 22} |
| 4082 | +}; |
| 4083 | +static const ProtobufCEnumValueIndex sr__value__types__enum_values_by_name[22] = |
| 4084 | +{ |
| 4085 | + { "ANYDATA", 21 }, |
| 4086 | + { "ANYXML", 20 }, |
| 4087 | + { "BINARY", 4 }, |
| 4088 | + { "BITS", 5 }, |
| 4089 | + { "BOOL", 6 }, |
| 4090 | + { "CONTAINER", 1 }, |
| 4091 | + { "CONTAINER_PRESENCE", 2 }, |
| 4092 | + { "DECIMAL64", 7 }, |
| 4093 | + { "ENUM", 8 }, |
| 4094 | + { "IDENTITYREF", 9 }, |
| 4095 | + { "INSTANCEID", 10 }, |
| 4096 | + { "INT16", 12 }, |
| 4097 | + { "INT32", 13 }, |
| 4098 | + { "INT64", 14 }, |
| 4099 | + { "INT8", 11 }, |
| 4100 | + { "LEAF_EMPTY", 3 }, |
| 4101 | + { "LIST", 0 }, |
| 4102 | + { "STRING", 15 }, |
| 4103 | + { "UINT16", 17 }, |
| 4104 | + { "UINT32", 18 }, |
| 4105 | + { "UINT64", 19 }, |
| 4106 | + { "UINT8", 16 }, |
| 4107 | +}; |
| 4108 | +const ProtobufCEnumDescriptor sr__value__types__descriptor = |
| 4109 | +{ |
| 4110 | + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, |
| 4111 | + "sr.Value.Types", |
| 4112 | + "Types", |
| 4113 | + "Sr__Value__Types", |
| 4114 | + "sr", |
| 4115 | + 22, |
| 4116 | + sr__value__types__enum_values_by_number, |
| 4117 | + 22, |
| 4118 | + sr__value__types__enum_values_by_name, |
| 4119 | + 2, |
| 4120 | + sr__value__types__value_ranges, |
| 4121 | + NULL,NULL,NULL,NULL /* reserved[1234] */ |
| 4122 | +}; |
| 4123 | +static const ProtobufCFieldDescriptor sr__value__field_descriptors[21] = |
| 4124 | +{ |
| 4125 | + { |
| 4126 | + "xpath", |
| 4127 | + 1, |
| 4128 | + PROTOBUF_C_LABEL_REQUIRED, |
| 4129 | + PROTOBUF_C_TYPE_STRING, |
| 4130 | + 0, /* quantifier_offset */ |
| 4131 | + offsetof(Sr__Value, xpath), |
| 4132 | + NULL, |
| 4133 | + NULL, |
| 4134 | + 0, /* flags */ |
| 4135 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4136 | + }, |
| 4137 | + { |
| 4138 | + "type", |
| 4139 | + 2, |
| 4140 | + PROTOBUF_C_LABEL_REQUIRED, |
| 4141 | + PROTOBUF_C_TYPE_ENUM, |
| 4142 | + 0, /* quantifier_offset */ |
| 4143 | + offsetof(Sr__Value, type), |
| 4144 | + &sr__value__types__descriptor, |
| 4145 | + NULL, |
| 4146 | + 0, /* flags */ |
| 4147 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4148 | + }, |
| 4149 | + { |
| 4150 | + "dflt", |
| 4151 | + 3, |
| 4152 | + PROTOBUF_C_LABEL_REQUIRED, |
| 4153 | + PROTOBUF_C_TYPE_BOOL, |
| 4154 | + 0, /* quantifier_offset */ |
| 4155 | + offsetof(Sr__Value, dflt), |
| 4156 | + NULL, |
| 4157 | + NULL, |
| 4158 | + 0, /* flags */ |
| 4159 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4160 | + }, |
| 4161 | + { |
| 4162 | + "binary_val", |
| 4163 | + 10, |
| 4164 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4165 | + PROTOBUF_C_TYPE_STRING, |
| 4166 | + 0, /* quantifier_offset */ |
| 4167 | + offsetof(Sr__Value, binary_val), |
| 4168 | + NULL, |
| 4169 | + NULL, |
| 4170 | + 0, /* flags */ |
| 4171 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4172 | + }, |
| 4173 | + { |
| 4174 | + "bits_val", |
| 4175 | + 11, |
| 4176 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4177 | + PROTOBUF_C_TYPE_STRING, |
| 4178 | + 0, /* quantifier_offset */ |
| 4179 | + offsetof(Sr__Value, bits_val), |
| 4180 | + NULL, |
| 4181 | + NULL, |
| 4182 | + 0, /* flags */ |
| 4183 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4184 | + }, |
| 4185 | + { |
| 4186 | + "bool_val", |
| 4187 | + 12, |
| 4188 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4189 | + PROTOBUF_C_TYPE_BOOL, |
| 4190 | + offsetof(Sr__Value, has_bool_val), |
| 4191 | + offsetof(Sr__Value, bool_val), |
| 4192 | + NULL, |
| 4193 | + NULL, |
| 4194 | + 0, /* flags */ |
| 4195 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4196 | + }, |
| 4197 | + { |
| 4198 | + "decimal64_val", |
| 4199 | + 13, |
| 4200 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4201 | + PROTOBUF_C_TYPE_DOUBLE, |
| 4202 | + offsetof(Sr__Value, has_decimal64_val), |
| 4203 | + offsetof(Sr__Value, decimal64_val), |
| 4204 | + NULL, |
| 4205 | + NULL, |
| 4206 | + 0, /* flags */ |
| 4207 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4208 | + }, |
| 4209 | + { |
| 4210 | + "enum_val", |
| 4211 | + 14, |
| 4212 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4213 | + PROTOBUF_C_TYPE_STRING, |
| 4214 | + 0, /* quantifier_offset */ |
| 4215 | + offsetof(Sr__Value, enum_val), |
| 4216 | + NULL, |
| 4217 | + NULL, |
| 4218 | + 0, /* flags */ |
| 4219 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4220 | + }, |
| 4221 | + { |
| 4222 | + "identityref_val", |
| 4223 | + 15, |
| 4224 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4225 | + PROTOBUF_C_TYPE_STRING, |
| 4226 | + 0, /* quantifier_offset */ |
| 4227 | + offsetof(Sr__Value, identityref_val), |
| 4228 | + NULL, |
| 4229 | + NULL, |
| 4230 | + 0, /* flags */ |
| 4231 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4232 | + }, |
| 4233 | + { |
| 4234 | + "instanceid_val", |
| 4235 | + 16, |
| 4236 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4237 | + PROTOBUF_C_TYPE_STRING, |
| 4238 | + 0, /* quantifier_offset */ |
| 4239 | + offsetof(Sr__Value, instanceid_val), |
| 4240 | + NULL, |
| 4241 | + NULL, |
| 4242 | + 0, /* flags */ |
| 4243 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4244 | + }, |
| 4245 | + { |
| 4246 | + "int8_val", |
| 4247 | + 17, |
| 4248 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4249 | + PROTOBUF_C_TYPE_INT32, |
| 4250 | + offsetof(Sr__Value, has_int8_val), |
| 4251 | + offsetof(Sr__Value, int8_val), |
| 4252 | + NULL, |
| 4253 | + NULL, |
| 4254 | + 0, /* flags */ |
| 4255 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4256 | + }, |
| 4257 | + { |
| 4258 | + "int16_val", |
| 4259 | + 18, |
| 4260 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4261 | + PROTOBUF_C_TYPE_INT32, |
| 4262 | + offsetof(Sr__Value, has_int16_val), |
| 4263 | + offsetof(Sr__Value, int16_val), |
| 4264 | + NULL, |
| 4265 | + NULL, |
| 4266 | + 0, /* flags */ |
| 4267 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4268 | + }, |
| 4269 | + { |
| 4270 | + "int32_val", |
| 4271 | + 19, |
| 4272 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4273 | + PROTOBUF_C_TYPE_INT32, |
| 4274 | + offsetof(Sr__Value, has_int32_val), |
| 4275 | + offsetof(Sr__Value, int32_val), |
| 4276 | + NULL, |
| 4277 | + NULL, |
| 4278 | + 0, /* flags */ |
| 4279 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4280 | + }, |
| 4281 | + { |
| 4282 | + "int64_val", |
| 4283 | + 20, |
| 4284 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4285 | + PROTOBUF_C_TYPE_INT64, |
| 4286 | + offsetof(Sr__Value, has_int64_val), |
| 4287 | + offsetof(Sr__Value, int64_val), |
| 4288 | + NULL, |
| 4289 | + NULL, |
| 4290 | + 0, /* flags */ |
| 4291 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4292 | + }, |
| 4293 | + { |
| 4294 | + "string_val", |
| 4295 | + 21, |
| 4296 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4297 | + PROTOBUF_C_TYPE_STRING, |
| 4298 | + 0, /* quantifier_offset */ |
| 4299 | + offsetof(Sr__Value, string_val), |
| 4300 | + NULL, |
| 4301 | + NULL, |
| 4302 | + 0, /* flags */ |
| 4303 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4304 | + }, |
| 4305 | + { |
| 4306 | + "uint8_val", |
| 4307 | + 22, |
| 4308 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4309 | + PROTOBUF_C_TYPE_UINT32, |
| 4310 | + offsetof(Sr__Value, has_uint8_val), |
| 4311 | + offsetof(Sr__Value, uint8_val), |
| 4312 | + NULL, |
| 4313 | + NULL, |
| 4314 | + 0, /* flags */ |
| 4315 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4316 | + }, |
| 4317 | + { |
| 4318 | + "uint16_val", |
| 4319 | + 23, |
| 4320 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4321 | + PROTOBUF_C_TYPE_UINT32, |
| 4322 | + offsetof(Sr__Value, has_uint16_val), |
| 4323 | + offsetof(Sr__Value, uint16_val), |
| 4324 | + NULL, |
| 4325 | + NULL, |
| 4326 | + 0, /* flags */ |
| 4327 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4328 | + }, |
| 4329 | + { |
| 4330 | + "uint32_val", |
| 4331 | + 24, |
| 4332 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4333 | + PROTOBUF_C_TYPE_UINT32, |
| 4334 | + offsetof(Sr__Value, has_uint32_val), |
| 4335 | + offsetof(Sr__Value, uint32_val), |
| 4336 | + NULL, |
| 4337 | + NULL, |
| 4338 | + 0, /* flags */ |
| 4339 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4340 | + }, |
| 4341 | + { |
| 4342 | + "uint64_val", |
| 4343 | + 25, |
| 4344 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4345 | + PROTOBUF_C_TYPE_UINT64, |
| 4346 | + offsetof(Sr__Value, has_uint64_val), |
| 4347 | + offsetof(Sr__Value, uint64_val), |
| 4348 | + NULL, |
| 4349 | + NULL, |
| 4350 | + 0, /* flags */ |
| 4351 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4352 | + }, |
| 4353 | + { |
| 4354 | + "anyxml_val", |
| 4355 | + 26, |
| 4356 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4357 | + PROTOBUF_C_TYPE_STRING, |
| 4358 | + 0, /* quantifier_offset */ |
| 4359 | + offsetof(Sr__Value, anyxml_val), |
| 4360 | + NULL, |
| 4361 | + NULL, |
| 4362 | + 0, /* flags */ |
| 4363 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4364 | + }, |
| 4365 | + { |
| 4366 | + "anydata_val", |
| 4367 | + 27, |
| 4368 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4369 | + PROTOBUF_C_TYPE_STRING, |
| 4370 | + 0, /* quantifier_offset */ |
| 4371 | + offsetof(Sr__Value, anydata_val), |
| 4372 | + NULL, |
| 4373 | + NULL, |
| 4374 | + 0, /* flags */ |
| 4375 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4376 | + }, |
| 4377 | +}; |
| 4378 | +static const unsigned sr__value__field_indices_by_name[] = { |
| 4379 | + 20, /* field[20] = anydata_val */ |
| 4380 | + 19, /* field[19] = anyxml_val */ |
| 4381 | + 3, /* field[3] = binary_val */ |
| 4382 | + 4, /* field[4] = bits_val */ |
| 4383 | + 5, /* field[5] = bool_val */ |
| 4384 | + 6, /* field[6] = decimal64_val */ |
| 4385 | + 2, /* field[2] = dflt */ |
| 4386 | + 7, /* field[7] = enum_val */ |
| 4387 | + 8, /* field[8] = identityref_val */ |
| 4388 | + 9, /* field[9] = instanceid_val */ |
| 4389 | + 11, /* field[11] = int16_val */ |
| 4390 | + 12, /* field[12] = int32_val */ |
| 4391 | + 13, /* field[13] = int64_val */ |
| 4392 | + 10, /* field[10] = int8_val */ |
| 4393 | + 14, /* field[14] = string_val */ |
| 4394 | + 1, /* field[1] = type */ |
| 4395 | + 16, /* field[16] = uint16_val */ |
| 4396 | + 17, /* field[17] = uint32_val */ |
| 4397 | + 18, /* field[18] = uint64_val */ |
| 4398 | + 15, /* field[15] = uint8_val */ |
| 4399 | + 0, /* field[0] = xpath */ |
| 4400 | +}; |
| 4401 | +static const ProtobufCIntRange sr__value__number_ranges[2 + 1] = |
| 4402 | +{ |
| 4403 | + { 1, 0 }, |
| 4404 | + { 10, 3 }, |
| 4405 | + { 0, 21 } |
| 4406 | +}; |
| 4407 | +const ProtobufCMessageDescriptor sr__value__descriptor = |
| 4408 | +{ |
| 4409 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 4410 | + "sr.Value", |
| 4411 | + "Value", |
| 4412 | + "Sr__Value", |
| 4413 | + "sr", |
| 4414 | + sizeof(Sr__Value), |
| 4415 | + 21, |
| 4416 | + sr__value__field_descriptors, |
| 4417 | + sr__value__field_indices_by_name, |
| 4418 | + 2, sr__value__number_ranges, |
| 4419 | + (ProtobufCMessageInit) sr__value__init, |
| 4420 | + NULL,NULL,NULL /* reserved[123] */ |
| 4421 | +}; |
| 4422 | +static const ProtobufCFieldDescriptor sr__node__field_descriptors[3] = |
| 4423 | +{ |
| 4424 | + { |
| 4425 | + "value", |
| 4426 | + 1, |
| 4427 | + PROTOBUF_C_LABEL_REQUIRED, |
| 4428 | + PROTOBUF_C_TYPE_MESSAGE, |
| 4429 | + 0, /* quantifier_offset */ |
| 4430 | + offsetof(Sr__Node, value), |
| 4431 | + &sr__value__descriptor, |
| 4432 | + NULL, |
| 4433 | + 0, /* flags */ |
| 4434 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4435 | + }, |
| 4436 | + { |
| 4437 | + "module_name", |
| 4438 | + 2, |
| 4439 | + PROTOBUF_C_LABEL_REQUIRED, |
| 4440 | + PROTOBUF_C_TYPE_STRING, |
| 4441 | + 0, /* quantifier_offset */ |
| 4442 | + offsetof(Sr__Node, module_name), |
| 4443 | + NULL, |
| 4444 | + NULL, |
| 4445 | + 0, /* flags */ |
| 4446 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4447 | + }, |
| 4448 | + { |
| 4449 | + "children", |
| 4450 | + 3, |
| 4451 | + PROTOBUF_C_LABEL_REPEATED, |
| 4452 | + PROTOBUF_C_TYPE_MESSAGE, |
| 4453 | + offsetof(Sr__Node, n_children), |
| 4454 | + offsetof(Sr__Node, children), |
| 4455 | + &sr__node__descriptor, |
| 4456 | + NULL, |
| 4457 | + 0, /* flags */ |
| 4458 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4459 | + }, |
| 4460 | +}; |
| 4461 | +static const unsigned sr__node__field_indices_by_name[] = { |
| 4462 | + 2, /* field[2] = children */ |
| 4463 | + 1, /* field[1] = module_name */ |
| 4464 | + 0, /* field[0] = value */ |
| 4465 | +}; |
| 4466 | +static const ProtobufCIntRange sr__node__number_ranges[1 + 1] = |
| 4467 | +{ |
| 4468 | + { 1, 0 }, |
| 4469 | + { 0, 3 } |
| 4470 | +}; |
| 4471 | +const ProtobufCMessageDescriptor sr__node__descriptor = |
| 4472 | +{ |
| 4473 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 4474 | + "sr.Node", |
| 4475 | + "Node", |
| 4476 | + "Sr__Node", |
| 4477 | + "sr", |
| 4478 | + sizeof(Sr__Node), |
| 4479 | + 3, |
| 4480 | + sr__node__field_descriptors, |
| 4481 | + sr__node__field_indices_by_name, |
| 4482 | + 1, sr__node__number_ranges, |
| 4483 | + (ProtobufCMessageInit) sr__node__init, |
| 4484 | + NULL,NULL,NULL /* reserved[123] */ |
| 4485 | +}; |
| 4486 | +static const ProtobufCFieldDescriptor sr__error__field_descriptors[2] = |
| 4487 | +{ |
| 4488 | + { |
| 4489 | + "message", |
| 4490 | + 1, |
| 4491 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4492 | + PROTOBUF_C_TYPE_STRING, |
| 4493 | + 0, /* quantifier_offset */ |
| 4494 | + offsetof(Sr__Error, message), |
| 4495 | + NULL, |
| 4496 | + NULL, |
| 4497 | + 0, /* flags */ |
| 4498 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4499 | + }, |
| 4500 | + { |
| 4501 | + "xpath", |
| 4502 | + 2, |
| 4503 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4504 | + PROTOBUF_C_TYPE_STRING, |
| 4505 | + 0, /* quantifier_offset */ |
| 4506 | + offsetof(Sr__Error, xpath), |
| 4507 | + NULL, |
| 4508 | + NULL, |
| 4509 | + 0, /* flags */ |
| 4510 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4511 | + }, |
| 4512 | +}; |
| 4513 | +static const unsigned sr__error__field_indices_by_name[] = { |
| 4514 | + 0, /* field[0] = message */ |
| 4515 | + 1, /* field[1] = xpath */ |
| 4516 | +}; |
| 4517 | +static const ProtobufCIntRange sr__error__number_ranges[1 + 1] = |
| 4518 | +{ |
| 4519 | + { 1, 0 }, |
| 4520 | + { 0, 2 } |
| 4521 | +}; |
| 4522 | +const ProtobufCMessageDescriptor sr__error__descriptor = |
| 4523 | +{ |
| 4524 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 4525 | + "sr.Error", |
| 4526 | + "Error", |
| 4527 | + "Sr__Error", |
| 4528 | + "sr", |
| 4529 | + sizeof(Sr__Error), |
| 4530 | + 2, |
| 4531 | + sr__error__field_descriptors, |
| 4532 | + sr__error__field_indices_by_name, |
| 4533 | + 1, sr__error__number_ranges, |
| 4534 | + (ProtobufCMessageInit) sr__error__init, |
| 4535 | + NULL,NULL,NULL /* reserved[123] */ |
| 4536 | +}; |
| 4537 | +static const ProtobufCFieldDescriptor sr__session_start_req__field_descriptors[4] = |
| 4538 | +{ |
| 4539 | + { |
| 4540 | + "datastore", |
| 4541 | + 1, |
| 4542 | + PROTOBUF_C_LABEL_REQUIRED, |
| 4543 | + PROTOBUF_C_TYPE_ENUM, |
| 4544 | + 0, /* quantifier_offset */ |
| 4545 | + offsetof(Sr__SessionStartReq, datastore), |
| 4546 | + &sr__data_store__descriptor, |
| 4547 | + NULL, |
| 4548 | + 0, /* flags */ |
| 4549 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4550 | + }, |
| 4551 | + { |
| 4552 | + "user_name", |
| 4553 | + 2, |
| 4554 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4555 | + PROTOBUF_C_TYPE_STRING, |
| 4556 | + 0, /* quantifier_offset */ |
| 4557 | + offsetof(Sr__SessionStartReq, user_name), |
| 4558 | + NULL, |
| 4559 | + NULL, |
| 4560 | + 0, /* flags */ |
| 4561 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4562 | + }, |
| 4563 | + { |
| 4564 | + "options", |
| 4565 | + 3, |
| 4566 | + PROTOBUF_C_LABEL_REQUIRED, |
| 4567 | + PROTOBUF_C_TYPE_UINT32, |
| 4568 | + 0, /* quantifier_offset */ |
| 4569 | + offsetof(Sr__SessionStartReq, options), |
| 4570 | + NULL, |
| 4571 | + NULL, |
| 4572 | + 0, /* flags */ |
| 4573 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4574 | + }, |
| 4575 | + { |
| 4576 | + "commit_id", |
| 4577 | + 4, |
| 4578 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4579 | + PROTOBUF_C_TYPE_UINT32, |
| 4580 | + offsetof(Sr__SessionStartReq, has_commit_id), |
| 4581 | + offsetof(Sr__SessionStartReq, commit_id), |
| 4582 | + NULL, |
| 4583 | + NULL, |
| 4584 | + 0, /* flags */ |
| 4585 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4586 | + }, |
| 4587 | +}; |
| 4588 | +static const unsigned sr__session_start_req__field_indices_by_name[] = { |
| 4589 | + 3, /* field[3] = commit_id */ |
| 4590 | + 0, /* field[0] = datastore */ |
| 4591 | + 2, /* field[2] = options */ |
| 4592 | + 1, /* field[1] = user_name */ |
| 4593 | +}; |
| 4594 | +static const ProtobufCIntRange sr__session_start_req__number_ranges[1 + 1] = |
| 4595 | +{ |
| 4596 | + { 1, 0 }, |
| 4597 | + { 0, 4 } |
| 4598 | +}; |
| 4599 | +const ProtobufCMessageDescriptor sr__session_start_req__descriptor = |
| 4600 | +{ |
| 4601 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 4602 | + "sr.SessionStartReq", |
| 4603 | + "SessionStartReq", |
| 4604 | + "Sr__SessionStartReq", |
| 4605 | + "sr", |
| 4606 | + sizeof(Sr__SessionStartReq), |
| 4607 | + 4, |
| 4608 | + sr__session_start_req__field_descriptors, |
| 4609 | + sr__session_start_req__field_indices_by_name, |
| 4610 | + 1, sr__session_start_req__number_ranges, |
| 4611 | + (ProtobufCMessageInit) sr__session_start_req__init, |
| 4612 | + NULL,NULL,NULL /* reserved[123] */ |
| 4613 | +}; |
| 4614 | +static const ProtobufCFieldDescriptor sr__session_start_resp__field_descriptors[1] = |
| 4615 | +{ |
| 4616 | + { |
| 4617 | + "session_id", |
| 4618 | + 1, |
| 4619 | + PROTOBUF_C_LABEL_REQUIRED, |
| 4620 | + PROTOBUF_C_TYPE_UINT32, |
| 4621 | + 0, /* quantifier_offset */ |
| 4622 | + offsetof(Sr__SessionStartResp, session_id), |
| 4623 | + NULL, |
| 4624 | + NULL, |
| 4625 | + 0, /* flags */ |
| 4626 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4627 | + }, |
| 4628 | +}; |
| 4629 | +static const unsigned sr__session_start_resp__field_indices_by_name[] = { |
| 4630 | + 0, /* field[0] = session_id */ |
| 4631 | +}; |
| 4632 | +static const ProtobufCIntRange sr__session_start_resp__number_ranges[1 + 1] = |
| 4633 | +{ |
| 4634 | + { 1, 0 }, |
| 4635 | + { 0, 1 } |
| 4636 | +}; |
| 4637 | +const ProtobufCMessageDescriptor sr__session_start_resp__descriptor = |
| 4638 | +{ |
| 4639 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 4640 | + "sr.SessionStartResp", |
| 4641 | + "SessionStartResp", |
| 4642 | + "Sr__SessionStartResp", |
| 4643 | + "sr", |
| 4644 | + sizeof(Sr__SessionStartResp), |
| 4645 | + 1, |
| 4646 | + sr__session_start_resp__field_descriptors, |
| 4647 | + sr__session_start_resp__field_indices_by_name, |
| 4648 | + 1, sr__session_start_resp__number_ranges, |
| 4649 | + (ProtobufCMessageInit) sr__session_start_resp__init, |
| 4650 | + NULL,NULL,NULL /* reserved[123] */ |
| 4651 | +}; |
| 4652 | +static const ProtobufCFieldDescriptor sr__session_stop_req__field_descriptors[1] = |
| 4653 | +{ |
| 4654 | + { |
| 4655 | + "session_id", |
| 4656 | + 1, |
| 4657 | + PROTOBUF_C_LABEL_REQUIRED, |
| 4658 | + PROTOBUF_C_TYPE_UINT32, |
| 4659 | + 0, /* quantifier_offset */ |
| 4660 | + offsetof(Sr__SessionStopReq, session_id), |
| 4661 | + NULL, |
| 4662 | + NULL, |
| 4663 | + 0, /* flags */ |
| 4664 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4665 | + }, |
| 4666 | +}; |
| 4667 | +static const unsigned sr__session_stop_req__field_indices_by_name[] = { |
| 4668 | + 0, /* field[0] = session_id */ |
| 4669 | +}; |
| 4670 | +static const ProtobufCIntRange sr__session_stop_req__number_ranges[1 + 1] = |
| 4671 | +{ |
| 4672 | + { 1, 0 }, |
| 4673 | + { 0, 1 } |
| 4674 | +}; |
| 4675 | +const ProtobufCMessageDescriptor sr__session_stop_req__descriptor = |
| 4676 | +{ |
| 4677 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 4678 | + "sr.SessionStopReq", |
| 4679 | + "SessionStopReq", |
| 4680 | + "Sr__SessionStopReq", |
| 4681 | + "sr", |
| 4682 | + sizeof(Sr__SessionStopReq), |
| 4683 | + 1, |
| 4684 | + sr__session_stop_req__field_descriptors, |
| 4685 | + sr__session_stop_req__field_indices_by_name, |
| 4686 | + 1, sr__session_stop_req__number_ranges, |
| 4687 | + (ProtobufCMessageInit) sr__session_stop_req__init, |
| 4688 | + NULL,NULL,NULL /* reserved[123] */ |
| 4689 | +}; |
| 4690 | +static const ProtobufCFieldDescriptor sr__session_stop_resp__field_descriptors[1] = |
| 4691 | +{ |
| 4692 | + { |
| 4693 | + "session_id", |
| 4694 | + 1, |
| 4695 | + PROTOBUF_C_LABEL_REQUIRED, |
| 4696 | + PROTOBUF_C_TYPE_UINT32, |
| 4697 | + 0, /* quantifier_offset */ |
| 4698 | + offsetof(Sr__SessionStopResp, session_id), |
| 4699 | + NULL, |
| 4700 | + NULL, |
| 4701 | + 0, /* flags */ |
| 4702 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4703 | + }, |
| 4704 | +}; |
| 4705 | +static const unsigned sr__session_stop_resp__field_indices_by_name[] = { |
| 4706 | + 0, /* field[0] = session_id */ |
| 4707 | +}; |
| 4708 | +static const ProtobufCIntRange sr__session_stop_resp__number_ranges[1 + 1] = |
| 4709 | +{ |
| 4710 | + { 1, 0 }, |
| 4711 | + { 0, 1 } |
| 4712 | +}; |
| 4713 | +const ProtobufCMessageDescriptor sr__session_stop_resp__descriptor = |
| 4714 | +{ |
| 4715 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 4716 | + "sr.SessionStopResp", |
| 4717 | + "SessionStopResp", |
| 4718 | + "Sr__SessionStopResp", |
| 4719 | + "sr", |
| 4720 | + sizeof(Sr__SessionStopResp), |
| 4721 | + 1, |
| 4722 | + sr__session_stop_resp__field_descriptors, |
| 4723 | + sr__session_stop_resp__field_indices_by_name, |
| 4724 | + 1, sr__session_stop_resp__number_ranges, |
| 4725 | + (ProtobufCMessageInit) sr__session_stop_resp__init, |
| 4726 | + NULL,NULL,NULL /* reserved[123] */ |
| 4727 | +}; |
| 4728 | +#define sr__session_refresh_req__field_descriptors NULL |
| 4729 | +#define sr__session_refresh_req__field_indices_by_name NULL |
| 4730 | +#define sr__session_refresh_req__number_ranges NULL |
| 4731 | +const ProtobufCMessageDescriptor sr__session_refresh_req__descriptor = |
| 4732 | +{ |
| 4733 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 4734 | + "sr.SessionRefreshReq", |
| 4735 | + "SessionRefreshReq", |
| 4736 | + "Sr__SessionRefreshReq", |
| 4737 | + "sr", |
| 4738 | + sizeof(Sr__SessionRefreshReq), |
| 4739 | + 0, |
| 4740 | + sr__session_refresh_req__field_descriptors, |
| 4741 | + sr__session_refresh_req__field_indices_by_name, |
| 4742 | + 0, sr__session_refresh_req__number_ranges, |
| 4743 | + (ProtobufCMessageInit) sr__session_refresh_req__init, |
| 4744 | + NULL,NULL,NULL /* reserved[123] */ |
| 4745 | +}; |
| 4746 | +static const ProtobufCFieldDescriptor sr__session_refresh_resp__field_descriptors[1] = |
| 4747 | +{ |
| 4748 | + { |
| 4749 | + "errors", |
| 4750 | + 1, |
| 4751 | + PROTOBUF_C_LABEL_REPEATED, |
| 4752 | + PROTOBUF_C_TYPE_MESSAGE, |
| 4753 | + offsetof(Sr__SessionRefreshResp, n_errors), |
| 4754 | + offsetof(Sr__SessionRefreshResp, errors), |
| 4755 | + &sr__error__descriptor, |
| 4756 | + NULL, |
| 4757 | + 0, /* flags */ |
| 4758 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4759 | + }, |
| 4760 | +}; |
| 4761 | +static const unsigned sr__session_refresh_resp__field_indices_by_name[] = { |
| 4762 | + 0, /* field[0] = errors */ |
| 4763 | +}; |
| 4764 | +static const ProtobufCIntRange sr__session_refresh_resp__number_ranges[1 + 1] = |
| 4765 | +{ |
| 4766 | + { 1, 0 }, |
| 4767 | + { 0, 1 } |
| 4768 | +}; |
| 4769 | +const ProtobufCMessageDescriptor sr__session_refresh_resp__descriptor = |
| 4770 | +{ |
| 4771 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 4772 | + "sr.SessionRefreshResp", |
| 4773 | + "SessionRefreshResp", |
| 4774 | + "Sr__SessionRefreshResp", |
| 4775 | + "sr", |
| 4776 | + sizeof(Sr__SessionRefreshResp), |
| 4777 | + 1, |
| 4778 | + sr__session_refresh_resp__field_descriptors, |
| 4779 | + sr__session_refresh_resp__field_indices_by_name, |
| 4780 | + 1, sr__session_refresh_resp__number_ranges, |
| 4781 | + (ProtobufCMessageInit) sr__session_refresh_resp__init, |
| 4782 | + NULL,NULL,NULL /* reserved[123] */ |
| 4783 | +}; |
| 4784 | +#define sr__session_check_req__field_descriptors NULL |
| 4785 | +#define sr__session_check_req__field_indices_by_name NULL |
| 4786 | +#define sr__session_check_req__number_ranges NULL |
| 4787 | +const ProtobufCMessageDescriptor sr__session_check_req__descriptor = |
| 4788 | +{ |
| 4789 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 4790 | + "sr.SessionCheckReq", |
| 4791 | + "SessionCheckReq", |
| 4792 | + "Sr__SessionCheckReq", |
| 4793 | + "sr", |
| 4794 | + sizeof(Sr__SessionCheckReq), |
| 4795 | + 0, |
| 4796 | + sr__session_check_req__field_descriptors, |
| 4797 | + sr__session_check_req__field_indices_by_name, |
| 4798 | + 0, sr__session_check_req__number_ranges, |
| 4799 | + (ProtobufCMessageInit) sr__session_check_req__init, |
| 4800 | + NULL,NULL,NULL /* reserved[123] */ |
| 4801 | +}; |
| 4802 | +static const ProtobufCFieldDescriptor sr__session_check_resp__field_descriptors[1] = |
| 4803 | +{ |
| 4804 | + { |
| 4805 | + "errors", |
| 4806 | + 1, |
| 4807 | + PROTOBUF_C_LABEL_REPEATED, |
| 4808 | + PROTOBUF_C_TYPE_MESSAGE, |
| 4809 | + offsetof(Sr__SessionCheckResp, n_errors), |
| 4810 | + offsetof(Sr__SessionCheckResp, errors), |
| 4811 | + &sr__error__descriptor, |
| 4812 | + NULL, |
| 4813 | + 0, /* flags */ |
| 4814 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4815 | + }, |
| 4816 | +}; |
| 4817 | +static const unsigned sr__session_check_resp__field_indices_by_name[] = { |
| 4818 | + 0, /* field[0] = errors */ |
| 4819 | +}; |
| 4820 | +static const ProtobufCIntRange sr__session_check_resp__number_ranges[1 + 1] = |
| 4821 | +{ |
| 4822 | + { 1, 0 }, |
| 4823 | + { 0, 1 } |
| 4824 | +}; |
| 4825 | +const ProtobufCMessageDescriptor sr__session_check_resp__descriptor = |
| 4826 | +{ |
| 4827 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 4828 | + "sr.SessionCheckResp", |
| 4829 | + "SessionCheckResp", |
| 4830 | + "Sr__SessionCheckResp", |
| 4831 | + "sr", |
| 4832 | + sizeof(Sr__SessionCheckResp), |
| 4833 | + 1, |
| 4834 | + sr__session_check_resp__field_descriptors, |
| 4835 | + sr__session_check_resp__field_indices_by_name, |
| 4836 | + 1, sr__session_check_resp__number_ranges, |
| 4837 | + (ProtobufCMessageInit) sr__session_check_resp__init, |
| 4838 | + NULL,NULL,NULL /* reserved[123] */ |
| 4839 | +}; |
| 4840 | +static const ProtobufCFieldDescriptor sr__session_switch_ds_req__field_descriptors[1] = |
| 4841 | +{ |
| 4842 | + { |
| 4843 | + "datastore", |
| 4844 | + 1, |
| 4845 | + PROTOBUF_C_LABEL_REQUIRED, |
| 4846 | + PROTOBUF_C_TYPE_ENUM, |
| 4847 | + 0, /* quantifier_offset */ |
| 4848 | + offsetof(Sr__SessionSwitchDsReq, datastore), |
| 4849 | + &sr__data_store__descriptor, |
| 4850 | + NULL, |
| 4851 | + 0, /* flags */ |
| 4852 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4853 | + }, |
| 4854 | +}; |
| 4855 | +static const unsigned sr__session_switch_ds_req__field_indices_by_name[] = { |
| 4856 | + 0, /* field[0] = datastore */ |
| 4857 | +}; |
| 4858 | +static const ProtobufCIntRange sr__session_switch_ds_req__number_ranges[1 + 1] = |
| 4859 | +{ |
| 4860 | + { 1, 0 }, |
| 4861 | + { 0, 1 } |
| 4862 | +}; |
| 4863 | +const ProtobufCMessageDescriptor sr__session_switch_ds_req__descriptor = |
| 4864 | +{ |
| 4865 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 4866 | + "sr.SessionSwitchDsReq", |
| 4867 | + "SessionSwitchDsReq", |
| 4868 | + "Sr__SessionSwitchDsReq", |
| 4869 | + "sr", |
| 4870 | + sizeof(Sr__SessionSwitchDsReq), |
| 4871 | + 1, |
| 4872 | + sr__session_switch_ds_req__field_descriptors, |
| 4873 | + sr__session_switch_ds_req__field_indices_by_name, |
| 4874 | + 1, sr__session_switch_ds_req__number_ranges, |
| 4875 | + (ProtobufCMessageInit) sr__session_switch_ds_req__init, |
| 4876 | + NULL,NULL,NULL /* reserved[123] */ |
| 4877 | +}; |
| 4878 | +#define sr__session_switch_ds_resp__field_descriptors NULL |
| 4879 | +#define sr__session_switch_ds_resp__field_indices_by_name NULL |
| 4880 | +#define sr__session_switch_ds_resp__number_ranges NULL |
| 4881 | +const ProtobufCMessageDescriptor sr__session_switch_ds_resp__descriptor = |
| 4882 | +{ |
| 4883 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 4884 | + "sr.SessionSwitchDsResp", |
| 4885 | + "SessionSwitchDsResp", |
| 4886 | + "Sr__SessionSwitchDsResp", |
| 4887 | + "sr", |
| 4888 | + sizeof(Sr__SessionSwitchDsResp), |
| 4889 | + 0, |
| 4890 | + sr__session_switch_ds_resp__field_descriptors, |
| 4891 | + sr__session_switch_ds_resp__field_indices_by_name, |
| 4892 | + 0, sr__session_switch_ds_resp__number_ranges, |
| 4893 | + (ProtobufCMessageInit) sr__session_switch_ds_resp__init, |
| 4894 | + NULL,NULL,NULL /* reserved[123] */ |
| 4895 | +}; |
| 4896 | +static const ProtobufCFieldDescriptor sr__session_set_opts_req__field_descriptors[1] = |
| 4897 | +{ |
| 4898 | + { |
| 4899 | + "options", |
| 4900 | + 1, |
| 4901 | + PROTOBUF_C_LABEL_REQUIRED, |
| 4902 | + PROTOBUF_C_TYPE_UINT32, |
| 4903 | + 0, /* quantifier_offset */ |
| 4904 | + offsetof(Sr__SessionSetOptsReq, options), |
| 4905 | + NULL, |
| 4906 | + NULL, |
| 4907 | + 0, /* flags */ |
| 4908 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4909 | + }, |
| 4910 | +}; |
| 4911 | +static const unsigned sr__session_set_opts_req__field_indices_by_name[] = { |
| 4912 | + 0, /* field[0] = options */ |
| 4913 | +}; |
| 4914 | +static const ProtobufCIntRange sr__session_set_opts_req__number_ranges[1 + 1] = |
| 4915 | +{ |
| 4916 | + { 1, 0 }, |
| 4917 | + { 0, 1 } |
| 4918 | +}; |
| 4919 | +const ProtobufCMessageDescriptor sr__session_set_opts_req__descriptor = |
| 4920 | +{ |
| 4921 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 4922 | + "sr.SessionSetOptsReq", |
| 4923 | + "SessionSetOptsReq", |
| 4924 | + "Sr__SessionSetOptsReq", |
| 4925 | + "sr", |
| 4926 | + sizeof(Sr__SessionSetOptsReq), |
| 4927 | + 1, |
| 4928 | + sr__session_set_opts_req__field_descriptors, |
| 4929 | + sr__session_set_opts_req__field_indices_by_name, |
| 4930 | + 1, sr__session_set_opts_req__number_ranges, |
| 4931 | + (ProtobufCMessageInit) sr__session_set_opts_req__init, |
| 4932 | + NULL,NULL,NULL /* reserved[123] */ |
| 4933 | +}; |
| 4934 | +#define sr__session_set_opts_resp__field_descriptors NULL |
| 4935 | +#define sr__session_set_opts_resp__field_indices_by_name NULL |
| 4936 | +#define sr__session_set_opts_resp__number_ranges NULL |
| 4937 | +const ProtobufCMessageDescriptor sr__session_set_opts_resp__descriptor = |
| 4938 | +{ |
| 4939 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 4940 | + "sr.SessionSetOptsResp", |
| 4941 | + "SessionSetOptsResp", |
| 4942 | + "Sr__SessionSetOptsResp", |
| 4943 | + "sr", |
| 4944 | + sizeof(Sr__SessionSetOptsResp), |
| 4945 | + 0, |
| 4946 | + sr__session_set_opts_resp__field_descriptors, |
| 4947 | + sr__session_set_opts_resp__field_indices_by_name, |
| 4948 | + 0, sr__session_set_opts_resp__number_ranges, |
| 4949 | + (ProtobufCMessageInit) sr__session_set_opts_resp__init, |
| 4950 | + NULL,NULL,NULL /* reserved[123] */ |
| 4951 | +}; |
| 4952 | +static const ProtobufCFieldDescriptor sr__version_verify_req__field_descriptors[1] = |
| 4953 | +{ |
| 4954 | + { |
| 4955 | + "soname", |
| 4956 | + 1, |
| 4957 | + PROTOBUF_C_LABEL_REQUIRED, |
| 4958 | + PROTOBUF_C_TYPE_STRING, |
| 4959 | + 0, /* quantifier_offset */ |
| 4960 | + offsetof(Sr__VersionVerifyReq, soname), |
| 4961 | + NULL, |
| 4962 | + NULL, |
| 4963 | + 0, /* flags */ |
| 4964 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 4965 | + }, |
| 4966 | +}; |
| 4967 | +static const unsigned sr__version_verify_req__field_indices_by_name[] = { |
| 4968 | + 0, /* field[0] = soname */ |
| 4969 | +}; |
| 4970 | +static const ProtobufCIntRange sr__version_verify_req__number_ranges[1 + 1] = |
| 4971 | +{ |
| 4972 | + { 1, 0 }, |
| 4973 | + { 0, 1 } |
| 4974 | +}; |
| 4975 | +const ProtobufCMessageDescriptor sr__version_verify_req__descriptor = |
| 4976 | +{ |
| 4977 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 4978 | + "sr.VersionVerifyReq", |
| 4979 | + "VersionVerifyReq", |
| 4980 | + "Sr__VersionVerifyReq", |
| 4981 | + "sr", |
| 4982 | + sizeof(Sr__VersionVerifyReq), |
| 4983 | + 1, |
| 4984 | + sr__version_verify_req__field_descriptors, |
| 4985 | + sr__version_verify_req__field_indices_by_name, |
| 4986 | + 1, sr__version_verify_req__number_ranges, |
| 4987 | + (ProtobufCMessageInit) sr__version_verify_req__init, |
| 4988 | + NULL,NULL,NULL /* reserved[123] */ |
| 4989 | +}; |
| 4990 | +static const ProtobufCFieldDescriptor sr__version_verify_resp__field_descriptors[1] = |
| 4991 | +{ |
| 4992 | + { |
| 4993 | + "soname", |
| 4994 | + 1, |
| 4995 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 4996 | + PROTOBUF_C_TYPE_STRING, |
| 4997 | + 0, /* quantifier_offset */ |
| 4998 | + offsetof(Sr__VersionVerifyResp, soname), |
| 4999 | + NULL, |
| 5000 | + NULL, |
| 5001 | + 0, /* flags */ |
| 5002 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5003 | + }, |
| 5004 | +}; |
| 5005 | +static const unsigned sr__version_verify_resp__field_indices_by_name[] = { |
| 5006 | + 0, /* field[0] = soname */ |
| 5007 | +}; |
| 5008 | +static const ProtobufCIntRange sr__version_verify_resp__number_ranges[1 + 1] = |
| 5009 | +{ |
| 5010 | + { 1, 0 }, |
| 5011 | + { 0, 1 } |
| 5012 | +}; |
| 5013 | +const ProtobufCMessageDescriptor sr__version_verify_resp__descriptor = |
| 5014 | +{ |
| 5015 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5016 | + "sr.VersionVerifyResp", |
| 5017 | + "VersionVerifyResp", |
| 5018 | + "Sr__VersionVerifyResp", |
| 5019 | + "sr", |
| 5020 | + sizeof(Sr__VersionVerifyResp), |
| 5021 | + 1, |
| 5022 | + sr__version_verify_resp__field_descriptors, |
| 5023 | + sr__version_verify_resp__field_indices_by_name, |
| 5024 | + 1, sr__version_verify_resp__number_ranges, |
| 5025 | + (ProtobufCMessageInit) sr__version_verify_resp__init, |
| 5026 | + NULL,NULL,NULL /* reserved[123] */ |
| 5027 | +}; |
| 5028 | +static const ProtobufCFieldDescriptor sr__schema_revision__field_descriptors[3] = |
| 5029 | +{ |
| 5030 | + { |
| 5031 | + "revision", |
| 5032 | + 1, |
| 5033 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 5034 | + PROTOBUF_C_TYPE_STRING, |
| 5035 | + 0, /* quantifier_offset */ |
| 5036 | + offsetof(Sr__SchemaRevision, revision), |
| 5037 | + NULL, |
| 5038 | + NULL, |
| 5039 | + 0, /* flags */ |
| 5040 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5041 | + }, |
| 5042 | + { |
| 5043 | + "file_path_yang", |
| 5044 | + 2, |
| 5045 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 5046 | + PROTOBUF_C_TYPE_STRING, |
| 5047 | + 0, /* quantifier_offset */ |
| 5048 | + offsetof(Sr__SchemaRevision, file_path_yang), |
| 5049 | + NULL, |
| 5050 | + NULL, |
| 5051 | + 0, /* flags */ |
| 5052 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5053 | + }, |
| 5054 | + { |
| 5055 | + "file_path_yin", |
| 5056 | + 3, |
| 5057 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 5058 | + PROTOBUF_C_TYPE_STRING, |
| 5059 | + 0, /* quantifier_offset */ |
| 5060 | + offsetof(Sr__SchemaRevision, file_path_yin), |
| 5061 | + NULL, |
| 5062 | + NULL, |
| 5063 | + 0, /* flags */ |
| 5064 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5065 | + }, |
| 5066 | +}; |
| 5067 | +static const unsigned sr__schema_revision__field_indices_by_name[] = { |
| 5068 | + 1, /* field[1] = file_path_yang */ |
| 5069 | + 2, /* field[2] = file_path_yin */ |
| 5070 | + 0, /* field[0] = revision */ |
| 5071 | +}; |
| 5072 | +static const ProtobufCIntRange sr__schema_revision__number_ranges[1 + 1] = |
| 5073 | +{ |
| 5074 | + { 1, 0 }, |
| 5075 | + { 0, 3 } |
| 5076 | +}; |
| 5077 | +const ProtobufCMessageDescriptor sr__schema_revision__descriptor = |
| 5078 | +{ |
| 5079 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5080 | + "sr.SchemaRevision", |
| 5081 | + "SchemaRevision", |
| 5082 | + "Sr__SchemaRevision", |
| 5083 | + "sr", |
| 5084 | + sizeof(Sr__SchemaRevision), |
| 5085 | + 3, |
| 5086 | + sr__schema_revision__field_descriptors, |
| 5087 | + sr__schema_revision__field_indices_by_name, |
| 5088 | + 1, sr__schema_revision__number_ranges, |
| 5089 | + (ProtobufCMessageInit) sr__schema_revision__init, |
| 5090 | + NULL,NULL,NULL /* reserved[123] */ |
| 5091 | +}; |
| 5092 | +static const ProtobufCFieldDescriptor sr__schema_submodule__field_descriptors[2] = |
| 5093 | +{ |
| 5094 | + { |
| 5095 | + "submodule_name", |
| 5096 | + 1, |
| 5097 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5098 | + PROTOBUF_C_TYPE_STRING, |
| 5099 | + 0, /* quantifier_offset */ |
| 5100 | + offsetof(Sr__SchemaSubmodule, submodule_name), |
| 5101 | + NULL, |
| 5102 | + NULL, |
| 5103 | + 0, /* flags */ |
| 5104 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5105 | + }, |
| 5106 | + { |
| 5107 | + "revision", |
| 5108 | + 2, |
| 5109 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5110 | + PROTOBUF_C_TYPE_MESSAGE, |
| 5111 | + 0, /* quantifier_offset */ |
| 5112 | + offsetof(Sr__SchemaSubmodule, revision), |
| 5113 | + &sr__schema_revision__descriptor, |
| 5114 | + NULL, |
| 5115 | + 0, /* flags */ |
| 5116 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5117 | + }, |
| 5118 | +}; |
| 5119 | +static const unsigned sr__schema_submodule__field_indices_by_name[] = { |
| 5120 | + 1, /* field[1] = revision */ |
| 5121 | + 0, /* field[0] = submodule_name */ |
| 5122 | +}; |
| 5123 | +static const ProtobufCIntRange sr__schema_submodule__number_ranges[1 + 1] = |
| 5124 | +{ |
| 5125 | + { 1, 0 }, |
| 5126 | + { 0, 2 } |
| 5127 | +}; |
| 5128 | +const ProtobufCMessageDescriptor sr__schema_submodule__descriptor = |
| 5129 | +{ |
| 5130 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5131 | + "sr.SchemaSubmodule", |
| 5132 | + "SchemaSubmodule", |
| 5133 | + "Sr__SchemaSubmodule", |
| 5134 | + "sr", |
| 5135 | + sizeof(Sr__SchemaSubmodule), |
| 5136 | + 2, |
| 5137 | + sr__schema_submodule__field_descriptors, |
| 5138 | + sr__schema_submodule__field_indices_by_name, |
| 5139 | + 1, sr__schema_submodule__number_ranges, |
| 5140 | + (ProtobufCMessageInit) sr__schema_submodule__init, |
| 5141 | + NULL,NULL,NULL /* reserved[123] */ |
| 5142 | +}; |
| 5143 | +static const ProtobufCFieldDescriptor sr__schema__field_descriptors[8] = |
| 5144 | +{ |
| 5145 | + { |
| 5146 | + "module_name", |
| 5147 | + 1, |
| 5148 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5149 | + PROTOBUF_C_TYPE_STRING, |
| 5150 | + 0, /* quantifier_offset */ |
| 5151 | + offsetof(Sr__Schema, module_name), |
| 5152 | + NULL, |
| 5153 | + NULL, |
| 5154 | + 0, /* flags */ |
| 5155 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5156 | + }, |
| 5157 | + { |
| 5158 | + "ns", |
| 5159 | + 2, |
| 5160 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5161 | + PROTOBUF_C_TYPE_STRING, |
| 5162 | + 0, /* quantifier_offset */ |
| 5163 | + offsetof(Sr__Schema, ns), |
| 5164 | + NULL, |
| 5165 | + NULL, |
| 5166 | + 0, /* flags */ |
| 5167 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5168 | + }, |
| 5169 | + { |
| 5170 | + "prefix", |
| 5171 | + 3, |
| 5172 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5173 | + PROTOBUF_C_TYPE_STRING, |
| 5174 | + 0, /* quantifier_offset */ |
| 5175 | + offsetof(Sr__Schema, prefix), |
| 5176 | + NULL, |
| 5177 | + NULL, |
| 5178 | + 0, /* flags */ |
| 5179 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5180 | + }, |
| 5181 | + { |
| 5182 | + "installed", |
| 5183 | + 4, |
| 5184 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5185 | + PROTOBUF_C_TYPE_BOOL, |
| 5186 | + 0, /* quantifier_offset */ |
| 5187 | + offsetof(Sr__Schema, installed), |
| 5188 | + NULL, |
| 5189 | + NULL, |
| 5190 | + 0, /* flags */ |
| 5191 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5192 | + }, |
| 5193 | + { |
| 5194 | + "implemented", |
| 5195 | + 5, |
| 5196 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5197 | + PROTOBUF_C_TYPE_BOOL, |
| 5198 | + 0, /* quantifier_offset */ |
| 5199 | + offsetof(Sr__Schema, implemented), |
| 5200 | + NULL, |
| 5201 | + NULL, |
| 5202 | + 0, /* flags */ |
| 5203 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5204 | + }, |
| 5205 | + { |
| 5206 | + "revision", |
| 5207 | + 6, |
| 5208 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5209 | + PROTOBUF_C_TYPE_MESSAGE, |
| 5210 | + 0, /* quantifier_offset */ |
| 5211 | + offsetof(Sr__Schema, revision), |
| 5212 | + &sr__schema_revision__descriptor, |
| 5213 | + NULL, |
| 5214 | + 0, /* flags */ |
| 5215 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5216 | + }, |
| 5217 | + { |
| 5218 | + "submodules", |
| 5219 | + 7, |
| 5220 | + PROTOBUF_C_LABEL_REPEATED, |
| 5221 | + PROTOBUF_C_TYPE_MESSAGE, |
| 5222 | + offsetof(Sr__Schema, n_submodules), |
| 5223 | + offsetof(Sr__Schema, submodules), |
| 5224 | + &sr__schema_submodule__descriptor, |
| 5225 | + NULL, |
| 5226 | + 0, /* flags */ |
| 5227 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5228 | + }, |
| 5229 | + { |
| 5230 | + "enabled_features", |
| 5231 | + 8, |
| 5232 | + PROTOBUF_C_LABEL_REPEATED, |
| 5233 | + PROTOBUF_C_TYPE_STRING, |
| 5234 | + offsetof(Sr__Schema, n_enabled_features), |
| 5235 | + offsetof(Sr__Schema, enabled_features), |
| 5236 | + NULL, |
| 5237 | + NULL, |
| 5238 | + 0, /* flags */ |
| 5239 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5240 | + }, |
| 5241 | +}; |
| 5242 | +static const unsigned sr__schema__field_indices_by_name[] = { |
| 5243 | + 7, /* field[7] = enabled_features */ |
| 5244 | + 4, /* field[4] = implemented */ |
| 5245 | + 3, /* field[3] = installed */ |
| 5246 | + 0, /* field[0] = module_name */ |
| 5247 | + 1, /* field[1] = ns */ |
| 5248 | + 2, /* field[2] = prefix */ |
| 5249 | + 5, /* field[5] = revision */ |
| 5250 | + 6, /* field[6] = submodules */ |
| 5251 | +}; |
| 5252 | +static const ProtobufCIntRange sr__schema__number_ranges[1 + 1] = |
| 5253 | +{ |
| 5254 | + { 1, 0 }, |
| 5255 | + { 0, 8 } |
| 5256 | +}; |
| 5257 | +const ProtobufCMessageDescriptor sr__schema__descriptor = |
| 5258 | +{ |
| 5259 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5260 | + "sr.Schema", |
| 5261 | + "Schema", |
| 5262 | + "Sr__Schema", |
| 5263 | + "sr", |
| 5264 | + sizeof(Sr__Schema), |
| 5265 | + 8, |
| 5266 | + sr__schema__field_descriptors, |
| 5267 | + sr__schema__field_indices_by_name, |
| 5268 | + 1, sr__schema__number_ranges, |
| 5269 | + (ProtobufCMessageInit) sr__schema__init, |
| 5270 | + NULL,NULL,NULL /* reserved[123] */ |
| 5271 | +}; |
| 5272 | +#define sr__list_schemas_req__field_descriptors NULL |
| 5273 | +#define sr__list_schemas_req__field_indices_by_name NULL |
| 5274 | +#define sr__list_schemas_req__number_ranges NULL |
| 5275 | +const ProtobufCMessageDescriptor sr__list_schemas_req__descriptor = |
| 5276 | +{ |
| 5277 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5278 | + "sr.ListSchemasReq", |
| 5279 | + "ListSchemasReq", |
| 5280 | + "Sr__ListSchemasReq", |
| 5281 | + "sr", |
| 5282 | + sizeof(Sr__ListSchemasReq), |
| 5283 | + 0, |
| 5284 | + sr__list_schemas_req__field_descriptors, |
| 5285 | + sr__list_schemas_req__field_indices_by_name, |
| 5286 | + 0, sr__list_schemas_req__number_ranges, |
| 5287 | + (ProtobufCMessageInit) sr__list_schemas_req__init, |
| 5288 | + NULL,NULL,NULL /* reserved[123] */ |
| 5289 | +}; |
| 5290 | +static const ProtobufCFieldDescriptor sr__list_schemas_resp__field_descriptors[1] = |
| 5291 | +{ |
| 5292 | + { |
| 5293 | + "schemas", |
| 5294 | + 1, |
| 5295 | + PROTOBUF_C_LABEL_REPEATED, |
| 5296 | + PROTOBUF_C_TYPE_MESSAGE, |
| 5297 | + offsetof(Sr__ListSchemasResp, n_schemas), |
| 5298 | + offsetof(Sr__ListSchemasResp, schemas), |
| 5299 | + &sr__schema__descriptor, |
| 5300 | + NULL, |
| 5301 | + 0, /* flags */ |
| 5302 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5303 | + }, |
| 5304 | +}; |
| 5305 | +static const unsigned sr__list_schemas_resp__field_indices_by_name[] = { |
| 5306 | + 0, /* field[0] = schemas */ |
| 5307 | +}; |
| 5308 | +static const ProtobufCIntRange sr__list_schemas_resp__number_ranges[1 + 1] = |
| 5309 | +{ |
| 5310 | + { 1, 0 }, |
| 5311 | + { 0, 1 } |
| 5312 | +}; |
| 5313 | +const ProtobufCMessageDescriptor sr__list_schemas_resp__descriptor = |
| 5314 | +{ |
| 5315 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5316 | + "sr.ListSchemasResp", |
| 5317 | + "ListSchemasResp", |
| 5318 | + "Sr__ListSchemasResp", |
| 5319 | + "sr", |
| 5320 | + sizeof(Sr__ListSchemasResp), |
| 5321 | + 1, |
| 5322 | + sr__list_schemas_resp__field_descriptors, |
| 5323 | + sr__list_schemas_resp__field_indices_by_name, |
| 5324 | + 1, sr__list_schemas_resp__number_ranges, |
| 5325 | + (ProtobufCMessageInit) sr__list_schemas_resp__init, |
| 5326 | + NULL,NULL,NULL /* reserved[123] */ |
| 5327 | +}; |
| 5328 | +static const ProtobufCFieldDescriptor sr__get_schema_req__field_descriptors[5] = |
| 5329 | +{ |
| 5330 | + { |
| 5331 | + "module_name", |
| 5332 | + 1, |
| 5333 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 5334 | + PROTOBUF_C_TYPE_STRING, |
| 5335 | + 0, /* quantifier_offset */ |
| 5336 | + offsetof(Sr__GetSchemaReq, module_name), |
| 5337 | + NULL, |
| 5338 | + NULL, |
| 5339 | + 0, /* flags */ |
| 5340 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5341 | + }, |
| 5342 | + { |
| 5343 | + "revision", |
| 5344 | + 2, |
| 5345 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 5346 | + PROTOBUF_C_TYPE_STRING, |
| 5347 | + 0, /* quantifier_offset */ |
| 5348 | + offsetof(Sr__GetSchemaReq, revision), |
| 5349 | + NULL, |
| 5350 | + NULL, |
| 5351 | + 0, /* flags */ |
| 5352 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5353 | + }, |
| 5354 | + { |
| 5355 | + "submodule_name", |
| 5356 | + 3, |
| 5357 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 5358 | + PROTOBUF_C_TYPE_STRING, |
| 5359 | + 0, /* quantifier_offset */ |
| 5360 | + offsetof(Sr__GetSchemaReq, submodule_name), |
| 5361 | + NULL, |
| 5362 | + NULL, |
| 5363 | + 0, /* flags */ |
| 5364 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5365 | + }, |
| 5366 | + { |
| 5367 | + "submodule_revision", |
| 5368 | + 4, |
| 5369 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 5370 | + PROTOBUF_C_TYPE_STRING, |
| 5371 | + 0, /* quantifier_offset */ |
| 5372 | + offsetof(Sr__GetSchemaReq, submodule_revision), |
| 5373 | + NULL, |
| 5374 | + NULL, |
| 5375 | + 0, /* flags */ |
| 5376 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5377 | + }, |
| 5378 | + { |
| 5379 | + "yang_format", |
| 5380 | + 5, |
| 5381 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5382 | + PROTOBUF_C_TYPE_BOOL, |
| 5383 | + 0, /* quantifier_offset */ |
| 5384 | + offsetof(Sr__GetSchemaReq, yang_format), |
| 5385 | + NULL, |
| 5386 | + NULL, |
| 5387 | + 0, /* flags */ |
| 5388 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5389 | + }, |
| 5390 | +}; |
| 5391 | +static const unsigned sr__get_schema_req__field_indices_by_name[] = { |
| 5392 | + 0, /* field[0] = module_name */ |
| 5393 | + 1, /* field[1] = revision */ |
| 5394 | + 2, /* field[2] = submodule_name */ |
| 5395 | + 3, /* field[3] = submodule_revision */ |
| 5396 | + 4, /* field[4] = yang_format */ |
| 5397 | +}; |
| 5398 | +static const ProtobufCIntRange sr__get_schema_req__number_ranges[1 + 1] = |
| 5399 | +{ |
| 5400 | + { 1, 0 }, |
| 5401 | + { 0, 5 } |
| 5402 | +}; |
| 5403 | +const ProtobufCMessageDescriptor sr__get_schema_req__descriptor = |
| 5404 | +{ |
| 5405 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5406 | + "sr.GetSchemaReq", |
| 5407 | + "GetSchemaReq", |
| 5408 | + "Sr__GetSchemaReq", |
| 5409 | + "sr", |
| 5410 | + sizeof(Sr__GetSchemaReq), |
| 5411 | + 5, |
| 5412 | + sr__get_schema_req__field_descriptors, |
| 5413 | + sr__get_schema_req__field_indices_by_name, |
| 5414 | + 1, sr__get_schema_req__number_ranges, |
| 5415 | + (ProtobufCMessageInit) sr__get_schema_req__init, |
| 5416 | + NULL,NULL,NULL /* reserved[123] */ |
| 5417 | +}; |
| 5418 | +static const ProtobufCFieldDescriptor sr__get_schema_resp__field_descriptors[1] = |
| 5419 | +{ |
| 5420 | + { |
| 5421 | + "schema_content", |
| 5422 | + 1, |
| 5423 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5424 | + PROTOBUF_C_TYPE_STRING, |
| 5425 | + 0, /* quantifier_offset */ |
| 5426 | + offsetof(Sr__GetSchemaResp, schema_content), |
| 5427 | + NULL, |
| 5428 | + NULL, |
| 5429 | + 0, /* flags */ |
| 5430 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5431 | + }, |
| 5432 | +}; |
| 5433 | +static const unsigned sr__get_schema_resp__field_indices_by_name[] = { |
| 5434 | + 0, /* field[0] = schema_content */ |
| 5435 | +}; |
| 5436 | +static const ProtobufCIntRange sr__get_schema_resp__number_ranges[1 + 1] = |
| 5437 | +{ |
| 5438 | + { 1, 0 }, |
| 5439 | + { 0, 1 } |
| 5440 | +}; |
| 5441 | +const ProtobufCMessageDescriptor sr__get_schema_resp__descriptor = |
| 5442 | +{ |
| 5443 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5444 | + "sr.GetSchemaResp", |
| 5445 | + "GetSchemaResp", |
| 5446 | + "Sr__GetSchemaResp", |
| 5447 | + "sr", |
| 5448 | + sizeof(Sr__GetSchemaResp), |
| 5449 | + 1, |
| 5450 | + sr__get_schema_resp__field_descriptors, |
| 5451 | + sr__get_schema_resp__field_indices_by_name, |
| 5452 | + 1, sr__get_schema_resp__number_ranges, |
| 5453 | + (ProtobufCMessageInit) sr__get_schema_resp__init, |
| 5454 | + NULL,NULL,NULL /* reserved[123] */ |
| 5455 | +}; |
| 5456 | +static const ProtobufCFieldDescriptor sr__get_item_req__field_descriptors[1] = |
| 5457 | +{ |
| 5458 | + { |
| 5459 | + "xpath", |
| 5460 | + 1, |
| 5461 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5462 | + PROTOBUF_C_TYPE_STRING, |
| 5463 | + 0, /* quantifier_offset */ |
| 5464 | + offsetof(Sr__GetItemReq, xpath), |
| 5465 | + NULL, |
| 5466 | + NULL, |
| 5467 | + 0, /* flags */ |
| 5468 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5469 | + }, |
| 5470 | +}; |
| 5471 | +static const unsigned sr__get_item_req__field_indices_by_name[] = { |
| 5472 | + 0, /* field[0] = xpath */ |
| 5473 | +}; |
| 5474 | +static const ProtobufCIntRange sr__get_item_req__number_ranges[1 + 1] = |
| 5475 | +{ |
| 5476 | + { 1, 0 }, |
| 5477 | + { 0, 1 } |
| 5478 | +}; |
| 5479 | +const ProtobufCMessageDescriptor sr__get_item_req__descriptor = |
| 5480 | +{ |
| 5481 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5482 | + "sr.GetItemReq", |
| 5483 | + "GetItemReq", |
| 5484 | + "Sr__GetItemReq", |
| 5485 | + "sr", |
| 5486 | + sizeof(Sr__GetItemReq), |
| 5487 | + 1, |
| 5488 | + sr__get_item_req__field_descriptors, |
| 5489 | + sr__get_item_req__field_indices_by_name, |
| 5490 | + 1, sr__get_item_req__number_ranges, |
| 5491 | + (ProtobufCMessageInit) sr__get_item_req__init, |
| 5492 | + NULL,NULL,NULL /* reserved[123] */ |
| 5493 | +}; |
| 5494 | +static const ProtobufCFieldDescriptor sr__get_item_resp__field_descriptors[1] = |
| 5495 | +{ |
| 5496 | + { |
| 5497 | + "value", |
| 5498 | + 1, |
| 5499 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 5500 | + PROTOBUF_C_TYPE_MESSAGE, |
| 5501 | + 0, /* quantifier_offset */ |
| 5502 | + offsetof(Sr__GetItemResp, value), |
| 5503 | + &sr__value__descriptor, |
| 5504 | + NULL, |
| 5505 | + 0, /* flags */ |
| 5506 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5507 | + }, |
| 5508 | +}; |
| 5509 | +static const unsigned sr__get_item_resp__field_indices_by_name[] = { |
| 5510 | + 0, /* field[0] = value */ |
| 5511 | +}; |
| 5512 | +static const ProtobufCIntRange sr__get_item_resp__number_ranges[1 + 1] = |
| 5513 | +{ |
| 5514 | + { 1, 0 }, |
| 5515 | + { 0, 1 } |
| 5516 | +}; |
| 5517 | +const ProtobufCMessageDescriptor sr__get_item_resp__descriptor = |
| 5518 | +{ |
| 5519 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5520 | + "sr.GetItemResp", |
| 5521 | + "GetItemResp", |
| 5522 | + "Sr__GetItemResp", |
| 5523 | + "sr", |
| 5524 | + sizeof(Sr__GetItemResp), |
| 5525 | + 1, |
| 5526 | + sr__get_item_resp__field_descriptors, |
| 5527 | + sr__get_item_resp__field_indices_by_name, |
| 5528 | + 1, sr__get_item_resp__number_ranges, |
| 5529 | + (ProtobufCMessageInit) sr__get_item_resp__init, |
| 5530 | + NULL,NULL,NULL /* reserved[123] */ |
| 5531 | +}; |
| 5532 | +static const ProtobufCFieldDescriptor sr__get_items_req__field_descriptors[3] = |
| 5533 | +{ |
| 5534 | + { |
| 5535 | + "xpath", |
| 5536 | + 1, |
| 5537 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5538 | + PROTOBUF_C_TYPE_STRING, |
| 5539 | + 0, /* quantifier_offset */ |
| 5540 | + offsetof(Sr__GetItemsReq, xpath), |
| 5541 | + NULL, |
| 5542 | + NULL, |
| 5543 | + 0, /* flags */ |
| 5544 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5545 | + }, |
| 5546 | + { |
| 5547 | + "limit", |
| 5548 | + 2, |
| 5549 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 5550 | + PROTOBUF_C_TYPE_UINT32, |
| 5551 | + offsetof(Sr__GetItemsReq, has_limit), |
| 5552 | + offsetof(Sr__GetItemsReq, limit), |
| 5553 | + NULL, |
| 5554 | + NULL, |
| 5555 | + 0, /* flags */ |
| 5556 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5557 | + }, |
| 5558 | + { |
| 5559 | + "offset", |
| 5560 | + 3, |
| 5561 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 5562 | + PROTOBUF_C_TYPE_UINT32, |
| 5563 | + offsetof(Sr__GetItemsReq, has_offset), |
| 5564 | + offsetof(Sr__GetItemsReq, offset), |
| 5565 | + NULL, |
| 5566 | + NULL, |
| 5567 | + 0, /* flags */ |
| 5568 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5569 | + }, |
| 5570 | +}; |
| 5571 | +static const unsigned sr__get_items_req__field_indices_by_name[] = { |
| 5572 | + 1, /* field[1] = limit */ |
| 5573 | + 2, /* field[2] = offset */ |
| 5574 | + 0, /* field[0] = xpath */ |
| 5575 | +}; |
| 5576 | +static const ProtobufCIntRange sr__get_items_req__number_ranges[1 + 1] = |
| 5577 | +{ |
| 5578 | + { 1, 0 }, |
| 5579 | + { 0, 3 } |
| 5580 | +}; |
| 5581 | +const ProtobufCMessageDescriptor sr__get_items_req__descriptor = |
| 5582 | +{ |
| 5583 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5584 | + "sr.GetItemsReq", |
| 5585 | + "GetItemsReq", |
| 5586 | + "Sr__GetItemsReq", |
| 5587 | + "sr", |
| 5588 | + sizeof(Sr__GetItemsReq), |
| 5589 | + 3, |
| 5590 | + sr__get_items_req__field_descriptors, |
| 5591 | + sr__get_items_req__field_indices_by_name, |
| 5592 | + 1, sr__get_items_req__number_ranges, |
| 5593 | + (ProtobufCMessageInit) sr__get_items_req__init, |
| 5594 | + NULL,NULL,NULL /* reserved[123] */ |
| 5595 | +}; |
| 5596 | +static const ProtobufCFieldDescriptor sr__get_items_resp__field_descriptors[1] = |
| 5597 | +{ |
| 5598 | + { |
| 5599 | + "values", |
| 5600 | + 1, |
| 5601 | + PROTOBUF_C_LABEL_REPEATED, |
| 5602 | + PROTOBUF_C_TYPE_MESSAGE, |
| 5603 | + offsetof(Sr__GetItemsResp, n_values), |
| 5604 | + offsetof(Sr__GetItemsResp, values), |
| 5605 | + &sr__value__descriptor, |
| 5606 | + NULL, |
| 5607 | + 0, /* flags */ |
| 5608 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5609 | + }, |
| 5610 | +}; |
| 5611 | +static const unsigned sr__get_items_resp__field_indices_by_name[] = { |
| 5612 | + 0, /* field[0] = values */ |
| 5613 | +}; |
| 5614 | +static const ProtobufCIntRange sr__get_items_resp__number_ranges[1 + 1] = |
| 5615 | +{ |
| 5616 | + { 1, 0 }, |
| 5617 | + { 0, 1 } |
| 5618 | +}; |
| 5619 | +const ProtobufCMessageDescriptor sr__get_items_resp__descriptor = |
| 5620 | +{ |
| 5621 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5622 | + "sr.GetItemsResp", |
| 5623 | + "GetItemsResp", |
| 5624 | + "Sr__GetItemsResp", |
| 5625 | + "sr", |
| 5626 | + sizeof(Sr__GetItemsResp), |
| 5627 | + 1, |
| 5628 | + sr__get_items_resp__field_descriptors, |
| 5629 | + sr__get_items_resp__field_indices_by_name, |
| 5630 | + 1, sr__get_items_resp__number_ranges, |
| 5631 | + (ProtobufCMessageInit) sr__get_items_resp__init, |
| 5632 | + NULL,NULL,NULL /* reserved[123] */ |
| 5633 | +}; |
| 5634 | +static const ProtobufCFieldDescriptor sr__get_subtree_req__field_descriptors[1] = |
| 5635 | +{ |
| 5636 | + { |
| 5637 | + "xpath", |
| 5638 | + 1, |
| 5639 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5640 | + PROTOBUF_C_TYPE_STRING, |
| 5641 | + 0, /* quantifier_offset */ |
| 5642 | + offsetof(Sr__GetSubtreeReq, xpath), |
| 5643 | + NULL, |
| 5644 | + NULL, |
| 5645 | + 0, /* flags */ |
| 5646 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5647 | + }, |
| 5648 | +}; |
| 5649 | +static const unsigned sr__get_subtree_req__field_indices_by_name[] = { |
| 5650 | + 0, /* field[0] = xpath */ |
| 5651 | +}; |
| 5652 | +static const ProtobufCIntRange sr__get_subtree_req__number_ranges[1 + 1] = |
| 5653 | +{ |
| 5654 | + { 1, 0 }, |
| 5655 | + { 0, 1 } |
| 5656 | +}; |
| 5657 | +const ProtobufCMessageDescriptor sr__get_subtree_req__descriptor = |
| 5658 | +{ |
| 5659 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5660 | + "sr.GetSubtreeReq", |
| 5661 | + "GetSubtreeReq", |
| 5662 | + "Sr__GetSubtreeReq", |
| 5663 | + "sr", |
| 5664 | + sizeof(Sr__GetSubtreeReq), |
| 5665 | + 1, |
| 5666 | + sr__get_subtree_req__field_descriptors, |
| 5667 | + sr__get_subtree_req__field_indices_by_name, |
| 5668 | + 1, sr__get_subtree_req__number_ranges, |
| 5669 | + (ProtobufCMessageInit) sr__get_subtree_req__init, |
| 5670 | + NULL,NULL,NULL /* reserved[123] */ |
| 5671 | +}; |
| 5672 | +static const ProtobufCFieldDescriptor sr__get_subtree_resp__field_descriptors[1] = |
| 5673 | +{ |
| 5674 | + { |
| 5675 | + "tree", |
| 5676 | + 1, |
| 5677 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 5678 | + PROTOBUF_C_TYPE_MESSAGE, |
| 5679 | + 0, /* quantifier_offset */ |
| 5680 | + offsetof(Sr__GetSubtreeResp, tree), |
| 5681 | + &sr__node__descriptor, |
| 5682 | + NULL, |
| 5683 | + 0, /* flags */ |
| 5684 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5685 | + }, |
| 5686 | +}; |
| 5687 | +static const unsigned sr__get_subtree_resp__field_indices_by_name[] = { |
| 5688 | + 0, /* field[0] = tree */ |
| 5689 | +}; |
| 5690 | +static const ProtobufCIntRange sr__get_subtree_resp__number_ranges[1 + 1] = |
| 5691 | +{ |
| 5692 | + { 1, 0 }, |
| 5693 | + { 0, 1 } |
| 5694 | +}; |
| 5695 | +const ProtobufCMessageDescriptor sr__get_subtree_resp__descriptor = |
| 5696 | +{ |
| 5697 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5698 | + "sr.GetSubtreeResp", |
| 5699 | + "GetSubtreeResp", |
| 5700 | + "Sr__GetSubtreeResp", |
| 5701 | + "sr", |
| 5702 | + sizeof(Sr__GetSubtreeResp), |
| 5703 | + 1, |
| 5704 | + sr__get_subtree_resp__field_descriptors, |
| 5705 | + sr__get_subtree_resp__field_indices_by_name, |
| 5706 | + 1, sr__get_subtree_resp__number_ranges, |
| 5707 | + (ProtobufCMessageInit) sr__get_subtree_resp__init, |
| 5708 | + NULL,NULL,NULL /* reserved[123] */ |
| 5709 | +}; |
| 5710 | +static const ProtobufCFieldDescriptor sr__get_subtrees_req__field_descriptors[1] = |
| 5711 | +{ |
| 5712 | + { |
| 5713 | + "xpath", |
| 5714 | + 1, |
| 5715 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5716 | + PROTOBUF_C_TYPE_STRING, |
| 5717 | + 0, /* quantifier_offset */ |
| 5718 | + offsetof(Sr__GetSubtreesReq, xpath), |
| 5719 | + NULL, |
| 5720 | + NULL, |
| 5721 | + 0, /* flags */ |
| 5722 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5723 | + }, |
| 5724 | +}; |
| 5725 | +static const unsigned sr__get_subtrees_req__field_indices_by_name[] = { |
| 5726 | + 0, /* field[0] = xpath */ |
| 5727 | +}; |
| 5728 | +static const ProtobufCIntRange sr__get_subtrees_req__number_ranges[1 + 1] = |
| 5729 | +{ |
| 5730 | + { 1, 0 }, |
| 5731 | + { 0, 1 } |
| 5732 | +}; |
| 5733 | +const ProtobufCMessageDescriptor sr__get_subtrees_req__descriptor = |
| 5734 | +{ |
| 5735 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5736 | + "sr.GetSubtreesReq", |
| 5737 | + "GetSubtreesReq", |
| 5738 | + "Sr__GetSubtreesReq", |
| 5739 | + "sr", |
| 5740 | + sizeof(Sr__GetSubtreesReq), |
| 5741 | + 1, |
| 5742 | + sr__get_subtrees_req__field_descriptors, |
| 5743 | + sr__get_subtrees_req__field_indices_by_name, |
| 5744 | + 1, sr__get_subtrees_req__number_ranges, |
| 5745 | + (ProtobufCMessageInit) sr__get_subtrees_req__init, |
| 5746 | + NULL,NULL,NULL /* reserved[123] */ |
| 5747 | +}; |
| 5748 | +static const ProtobufCFieldDescriptor sr__get_subtrees_resp__field_descriptors[1] = |
| 5749 | +{ |
| 5750 | + { |
| 5751 | + "trees", |
| 5752 | + 1, |
| 5753 | + PROTOBUF_C_LABEL_REPEATED, |
| 5754 | + PROTOBUF_C_TYPE_MESSAGE, |
| 5755 | + offsetof(Sr__GetSubtreesResp, n_trees), |
| 5756 | + offsetof(Sr__GetSubtreesResp, trees), |
| 5757 | + &sr__node__descriptor, |
| 5758 | + NULL, |
| 5759 | + 0, /* flags */ |
| 5760 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5761 | + }, |
| 5762 | +}; |
| 5763 | +static const unsigned sr__get_subtrees_resp__field_indices_by_name[] = { |
| 5764 | + 0, /* field[0] = trees */ |
| 5765 | +}; |
| 5766 | +static const ProtobufCIntRange sr__get_subtrees_resp__number_ranges[1 + 1] = |
| 5767 | +{ |
| 5768 | + { 1, 0 }, |
| 5769 | + { 0, 1 } |
| 5770 | +}; |
| 5771 | +const ProtobufCMessageDescriptor sr__get_subtrees_resp__descriptor = |
| 5772 | +{ |
| 5773 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5774 | + "sr.GetSubtreesResp", |
| 5775 | + "GetSubtreesResp", |
| 5776 | + "Sr__GetSubtreesResp", |
| 5777 | + "sr", |
| 5778 | + sizeof(Sr__GetSubtreesResp), |
| 5779 | + 1, |
| 5780 | + sr__get_subtrees_resp__field_descriptors, |
| 5781 | + sr__get_subtrees_resp__field_indices_by_name, |
| 5782 | + 1, sr__get_subtrees_resp__number_ranges, |
| 5783 | + (ProtobufCMessageInit) sr__get_subtrees_resp__init, |
| 5784 | + NULL,NULL,NULL /* reserved[123] */ |
| 5785 | +}; |
| 5786 | +static const ProtobufCFieldDescriptor sr__get_subtree_chunk_req__field_descriptors[6] = |
| 5787 | +{ |
| 5788 | + { |
| 5789 | + "xpath", |
| 5790 | + 1, |
| 5791 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5792 | + PROTOBUF_C_TYPE_STRING, |
| 5793 | + 0, /* quantifier_offset */ |
| 5794 | + offsetof(Sr__GetSubtreeChunkReq, xpath), |
| 5795 | + NULL, |
| 5796 | + NULL, |
| 5797 | + 0, /* flags */ |
| 5798 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5799 | + }, |
| 5800 | + { |
| 5801 | + "single", |
| 5802 | + 2, |
| 5803 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5804 | + PROTOBUF_C_TYPE_BOOL, |
| 5805 | + 0, /* quantifier_offset */ |
| 5806 | + offsetof(Sr__GetSubtreeChunkReq, single), |
| 5807 | + NULL, |
| 5808 | + NULL, |
| 5809 | + 0, /* flags */ |
| 5810 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5811 | + }, |
| 5812 | + { |
| 5813 | + "slice_offset", |
| 5814 | + 3, |
| 5815 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5816 | + PROTOBUF_C_TYPE_UINT32, |
| 5817 | + 0, /* quantifier_offset */ |
| 5818 | + offsetof(Sr__GetSubtreeChunkReq, slice_offset), |
| 5819 | + NULL, |
| 5820 | + NULL, |
| 5821 | + 0, /* flags */ |
| 5822 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5823 | + }, |
| 5824 | + { |
| 5825 | + "slice_width", |
| 5826 | + 4, |
| 5827 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5828 | + PROTOBUF_C_TYPE_UINT32, |
| 5829 | + 0, /* quantifier_offset */ |
| 5830 | + offsetof(Sr__GetSubtreeChunkReq, slice_width), |
| 5831 | + NULL, |
| 5832 | + NULL, |
| 5833 | + 0, /* flags */ |
| 5834 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5835 | + }, |
| 5836 | + { |
| 5837 | + "child_limit", |
| 5838 | + 5, |
| 5839 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5840 | + PROTOBUF_C_TYPE_UINT32, |
| 5841 | + 0, /* quantifier_offset */ |
| 5842 | + offsetof(Sr__GetSubtreeChunkReq, child_limit), |
| 5843 | + NULL, |
| 5844 | + NULL, |
| 5845 | + 0, /* flags */ |
| 5846 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5847 | + }, |
| 5848 | + { |
| 5849 | + "depth_limit", |
| 5850 | + 6, |
| 5851 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5852 | + PROTOBUF_C_TYPE_UINT32, |
| 5853 | + 0, /* quantifier_offset */ |
| 5854 | + offsetof(Sr__GetSubtreeChunkReq, depth_limit), |
| 5855 | + NULL, |
| 5856 | + NULL, |
| 5857 | + 0, /* flags */ |
| 5858 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5859 | + }, |
| 5860 | +}; |
| 5861 | +static const unsigned sr__get_subtree_chunk_req__field_indices_by_name[] = { |
| 5862 | + 4, /* field[4] = child_limit */ |
| 5863 | + 5, /* field[5] = depth_limit */ |
| 5864 | + 1, /* field[1] = single */ |
| 5865 | + 2, /* field[2] = slice_offset */ |
| 5866 | + 3, /* field[3] = slice_width */ |
| 5867 | + 0, /* field[0] = xpath */ |
| 5868 | +}; |
| 5869 | +static const ProtobufCIntRange sr__get_subtree_chunk_req__number_ranges[1 + 1] = |
| 5870 | +{ |
| 5871 | + { 1, 0 }, |
| 5872 | + { 0, 6 } |
| 5873 | +}; |
| 5874 | +const ProtobufCMessageDescriptor sr__get_subtree_chunk_req__descriptor = |
| 5875 | +{ |
| 5876 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5877 | + "sr.GetSubtreeChunkReq", |
| 5878 | + "GetSubtreeChunkReq", |
| 5879 | + "Sr__GetSubtreeChunkReq", |
| 5880 | + "sr", |
| 5881 | + sizeof(Sr__GetSubtreeChunkReq), |
| 5882 | + 6, |
| 5883 | + sr__get_subtree_chunk_req__field_descriptors, |
| 5884 | + sr__get_subtree_chunk_req__field_indices_by_name, |
| 5885 | + 1, sr__get_subtree_chunk_req__number_ranges, |
| 5886 | + (ProtobufCMessageInit) sr__get_subtree_chunk_req__init, |
| 5887 | + NULL,NULL,NULL /* reserved[123] */ |
| 5888 | +}; |
| 5889 | +static const ProtobufCFieldDescriptor sr__get_subtree_chunk_resp__field_descriptors[2] = |
| 5890 | +{ |
| 5891 | + { |
| 5892 | + "xpath", |
| 5893 | + 1, |
| 5894 | + PROTOBUF_C_LABEL_REPEATED, |
| 5895 | + PROTOBUF_C_TYPE_STRING, |
| 5896 | + offsetof(Sr__GetSubtreeChunkResp, n_xpath), |
| 5897 | + offsetof(Sr__GetSubtreeChunkResp, xpath), |
| 5898 | + NULL, |
| 5899 | + NULL, |
| 5900 | + 0, /* flags */ |
| 5901 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5902 | + }, |
| 5903 | + { |
| 5904 | + "chunk", |
| 5905 | + 2, |
| 5906 | + PROTOBUF_C_LABEL_REPEATED, |
| 5907 | + PROTOBUF_C_TYPE_MESSAGE, |
| 5908 | + offsetof(Sr__GetSubtreeChunkResp, n_chunk), |
| 5909 | + offsetof(Sr__GetSubtreeChunkResp, chunk), |
| 5910 | + &sr__node__descriptor, |
| 5911 | + NULL, |
| 5912 | + 0, /* flags */ |
| 5913 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5914 | + }, |
| 5915 | +}; |
| 5916 | +static const unsigned sr__get_subtree_chunk_resp__field_indices_by_name[] = { |
| 5917 | + 1, /* field[1] = chunk */ |
| 5918 | + 0, /* field[0] = xpath */ |
| 5919 | +}; |
| 5920 | +static const ProtobufCIntRange sr__get_subtree_chunk_resp__number_ranges[1 + 1] = |
| 5921 | +{ |
| 5922 | + { 1, 0 }, |
| 5923 | + { 0, 2 } |
| 5924 | +}; |
| 5925 | +const ProtobufCMessageDescriptor sr__get_subtree_chunk_resp__descriptor = |
| 5926 | +{ |
| 5927 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5928 | + "sr.GetSubtreeChunkResp", |
| 5929 | + "GetSubtreeChunkResp", |
| 5930 | + "Sr__GetSubtreeChunkResp", |
| 5931 | + "sr", |
| 5932 | + sizeof(Sr__GetSubtreeChunkResp), |
| 5933 | + 2, |
| 5934 | + sr__get_subtree_chunk_resp__field_descriptors, |
| 5935 | + sr__get_subtree_chunk_resp__field_indices_by_name, |
| 5936 | + 1, sr__get_subtree_chunk_resp__number_ranges, |
| 5937 | + (ProtobufCMessageInit) sr__get_subtree_chunk_resp__init, |
| 5938 | + NULL,NULL,NULL /* reserved[123] */ |
| 5939 | +}; |
| 5940 | +static const ProtobufCFieldDescriptor sr__set_item_req__field_descriptors[3] = |
| 5941 | +{ |
| 5942 | + { |
| 5943 | + "xpath", |
| 5944 | + 1, |
| 5945 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5946 | + PROTOBUF_C_TYPE_STRING, |
| 5947 | + 0, /* quantifier_offset */ |
| 5948 | + offsetof(Sr__SetItemReq, xpath), |
| 5949 | + NULL, |
| 5950 | + NULL, |
| 5951 | + 0, /* flags */ |
| 5952 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5953 | + }, |
| 5954 | + { |
| 5955 | + "value", |
| 5956 | + 2, |
| 5957 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 5958 | + PROTOBUF_C_TYPE_MESSAGE, |
| 5959 | + 0, /* quantifier_offset */ |
| 5960 | + offsetof(Sr__SetItemReq, value), |
| 5961 | + &sr__value__descriptor, |
| 5962 | + NULL, |
| 5963 | + 0, /* flags */ |
| 5964 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5965 | + }, |
| 5966 | + { |
| 5967 | + "options", |
| 5968 | + 3, |
| 5969 | + PROTOBUF_C_LABEL_REQUIRED, |
| 5970 | + PROTOBUF_C_TYPE_UINT32, |
| 5971 | + 0, /* quantifier_offset */ |
| 5972 | + offsetof(Sr__SetItemReq, options), |
| 5973 | + NULL, |
| 5974 | + NULL, |
| 5975 | + 0, /* flags */ |
| 5976 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 5977 | + }, |
| 5978 | +}; |
| 5979 | +static const unsigned sr__set_item_req__field_indices_by_name[] = { |
| 5980 | + 2, /* field[2] = options */ |
| 5981 | + 1, /* field[1] = value */ |
| 5982 | + 0, /* field[0] = xpath */ |
| 5983 | +}; |
| 5984 | +static const ProtobufCIntRange sr__set_item_req__number_ranges[1 + 1] = |
| 5985 | +{ |
| 5986 | + { 1, 0 }, |
| 5987 | + { 0, 3 } |
| 5988 | +}; |
| 5989 | +const ProtobufCMessageDescriptor sr__set_item_req__descriptor = |
| 5990 | +{ |
| 5991 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 5992 | + "sr.SetItemReq", |
| 5993 | + "SetItemReq", |
| 5994 | + "Sr__SetItemReq", |
| 5995 | + "sr", |
| 5996 | + sizeof(Sr__SetItemReq), |
| 5997 | + 3, |
| 5998 | + sr__set_item_req__field_descriptors, |
| 5999 | + sr__set_item_req__field_indices_by_name, |
| 6000 | + 1, sr__set_item_req__number_ranges, |
| 6001 | + (ProtobufCMessageInit) sr__set_item_req__init, |
| 6002 | + NULL,NULL,NULL /* reserved[123] */ |
| 6003 | +}; |
| 6004 | +#define sr__set_item_resp__field_descriptors NULL |
| 6005 | +#define sr__set_item_resp__field_indices_by_name NULL |
| 6006 | +#define sr__set_item_resp__number_ranges NULL |
| 6007 | +const ProtobufCMessageDescriptor sr__set_item_resp__descriptor = |
| 6008 | +{ |
| 6009 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6010 | + "sr.SetItemResp", |
| 6011 | + "SetItemResp", |
| 6012 | + "Sr__SetItemResp", |
| 6013 | + "sr", |
| 6014 | + sizeof(Sr__SetItemResp), |
| 6015 | + 0, |
| 6016 | + sr__set_item_resp__field_descriptors, |
| 6017 | + sr__set_item_resp__field_indices_by_name, |
| 6018 | + 0, sr__set_item_resp__number_ranges, |
| 6019 | + (ProtobufCMessageInit) sr__set_item_resp__init, |
| 6020 | + NULL,NULL,NULL /* reserved[123] */ |
| 6021 | +}; |
| 6022 | +static const ProtobufCFieldDescriptor sr__set_item_str_req__field_descriptors[3] = |
| 6023 | +{ |
| 6024 | + { |
| 6025 | + "xpath", |
| 6026 | + 1, |
| 6027 | + PROTOBUF_C_LABEL_REQUIRED, |
| 6028 | + PROTOBUF_C_TYPE_STRING, |
| 6029 | + 0, /* quantifier_offset */ |
| 6030 | + offsetof(Sr__SetItemStrReq, xpath), |
| 6031 | + NULL, |
| 6032 | + NULL, |
| 6033 | + 0, /* flags */ |
| 6034 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6035 | + }, |
| 6036 | + { |
| 6037 | + "value", |
| 6038 | + 2, |
| 6039 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 6040 | + PROTOBUF_C_TYPE_STRING, |
| 6041 | + 0, /* quantifier_offset */ |
| 6042 | + offsetof(Sr__SetItemStrReq, value), |
| 6043 | + NULL, |
| 6044 | + NULL, |
| 6045 | + 0, /* flags */ |
| 6046 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6047 | + }, |
| 6048 | + { |
| 6049 | + "options", |
| 6050 | + 3, |
| 6051 | + PROTOBUF_C_LABEL_REQUIRED, |
| 6052 | + PROTOBUF_C_TYPE_UINT32, |
| 6053 | + 0, /* quantifier_offset */ |
| 6054 | + offsetof(Sr__SetItemStrReq, options), |
| 6055 | + NULL, |
| 6056 | + NULL, |
| 6057 | + 0, /* flags */ |
| 6058 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6059 | + }, |
| 6060 | +}; |
| 6061 | +static const unsigned sr__set_item_str_req__field_indices_by_name[] = { |
| 6062 | + 2, /* field[2] = options */ |
| 6063 | + 1, /* field[1] = value */ |
| 6064 | + 0, /* field[0] = xpath */ |
| 6065 | +}; |
| 6066 | +static const ProtobufCIntRange sr__set_item_str_req__number_ranges[1 + 1] = |
| 6067 | +{ |
| 6068 | + { 1, 0 }, |
| 6069 | + { 0, 3 } |
| 6070 | +}; |
| 6071 | +const ProtobufCMessageDescriptor sr__set_item_str_req__descriptor = |
| 6072 | +{ |
| 6073 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6074 | + "sr.SetItemStrReq", |
| 6075 | + "SetItemStrReq", |
| 6076 | + "Sr__SetItemStrReq", |
| 6077 | + "sr", |
| 6078 | + sizeof(Sr__SetItemStrReq), |
| 6079 | + 3, |
| 6080 | + sr__set_item_str_req__field_descriptors, |
| 6081 | + sr__set_item_str_req__field_indices_by_name, |
| 6082 | + 1, sr__set_item_str_req__number_ranges, |
| 6083 | + (ProtobufCMessageInit) sr__set_item_str_req__init, |
| 6084 | + NULL,NULL,NULL /* reserved[123] */ |
| 6085 | +}; |
| 6086 | +#define sr__set_item_str_resp__field_descriptors NULL |
| 6087 | +#define sr__set_item_str_resp__field_indices_by_name NULL |
| 6088 | +#define sr__set_item_str_resp__number_ranges NULL |
| 6089 | +const ProtobufCMessageDescriptor sr__set_item_str_resp__descriptor = |
| 6090 | +{ |
| 6091 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6092 | + "sr.SetItemStrResp", |
| 6093 | + "SetItemStrResp", |
| 6094 | + "Sr__SetItemStrResp", |
| 6095 | + "sr", |
| 6096 | + sizeof(Sr__SetItemStrResp), |
| 6097 | + 0, |
| 6098 | + sr__set_item_str_resp__field_descriptors, |
| 6099 | + sr__set_item_str_resp__field_indices_by_name, |
| 6100 | + 0, sr__set_item_str_resp__number_ranges, |
| 6101 | + (ProtobufCMessageInit) sr__set_item_str_resp__init, |
| 6102 | + NULL,NULL,NULL /* reserved[123] */ |
| 6103 | +}; |
| 6104 | +static const ProtobufCFieldDescriptor sr__delete_item_req__field_descriptors[2] = |
| 6105 | +{ |
| 6106 | + { |
| 6107 | + "xpath", |
| 6108 | + 1, |
| 6109 | + PROTOBUF_C_LABEL_REQUIRED, |
| 6110 | + PROTOBUF_C_TYPE_STRING, |
| 6111 | + 0, /* quantifier_offset */ |
| 6112 | + offsetof(Sr__DeleteItemReq, xpath), |
| 6113 | + NULL, |
| 6114 | + NULL, |
| 6115 | + 0, /* flags */ |
| 6116 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6117 | + }, |
| 6118 | + { |
| 6119 | + "options", |
| 6120 | + 3, |
| 6121 | + PROTOBUF_C_LABEL_REQUIRED, |
| 6122 | + PROTOBUF_C_TYPE_UINT32, |
| 6123 | + 0, /* quantifier_offset */ |
| 6124 | + offsetof(Sr__DeleteItemReq, options), |
| 6125 | + NULL, |
| 6126 | + NULL, |
| 6127 | + 0, /* flags */ |
| 6128 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6129 | + }, |
| 6130 | +}; |
| 6131 | +static const unsigned sr__delete_item_req__field_indices_by_name[] = { |
| 6132 | + 1, /* field[1] = options */ |
| 6133 | + 0, /* field[0] = xpath */ |
| 6134 | +}; |
| 6135 | +static const ProtobufCIntRange sr__delete_item_req__number_ranges[2 + 1] = |
| 6136 | +{ |
| 6137 | + { 1, 0 }, |
| 6138 | + { 3, 1 }, |
| 6139 | + { 0, 2 } |
| 6140 | +}; |
| 6141 | +const ProtobufCMessageDescriptor sr__delete_item_req__descriptor = |
| 6142 | +{ |
| 6143 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6144 | + "sr.DeleteItemReq", |
| 6145 | + "DeleteItemReq", |
| 6146 | + "Sr__DeleteItemReq", |
| 6147 | + "sr", |
| 6148 | + sizeof(Sr__DeleteItemReq), |
| 6149 | + 2, |
| 6150 | + sr__delete_item_req__field_descriptors, |
| 6151 | + sr__delete_item_req__field_indices_by_name, |
| 6152 | + 2, sr__delete_item_req__number_ranges, |
| 6153 | + (ProtobufCMessageInit) sr__delete_item_req__init, |
| 6154 | + NULL,NULL,NULL /* reserved[123] */ |
| 6155 | +}; |
| 6156 | +#define sr__delete_item_resp__field_descriptors NULL |
| 6157 | +#define sr__delete_item_resp__field_indices_by_name NULL |
| 6158 | +#define sr__delete_item_resp__number_ranges NULL |
| 6159 | +const ProtobufCMessageDescriptor sr__delete_item_resp__descriptor = |
| 6160 | +{ |
| 6161 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6162 | + "sr.DeleteItemResp", |
| 6163 | + "DeleteItemResp", |
| 6164 | + "Sr__DeleteItemResp", |
| 6165 | + "sr", |
| 6166 | + sizeof(Sr__DeleteItemResp), |
| 6167 | + 0, |
| 6168 | + sr__delete_item_resp__field_descriptors, |
| 6169 | + sr__delete_item_resp__field_indices_by_name, |
| 6170 | + 0, sr__delete_item_resp__number_ranges, |
| 6171 | + (ProtobufCMessageInit) sr__delete_item_resp__init, |
| 6172 | + NULL,NULL,NULL /* reserved[123] */ |
| 6173 | +}; |
| 6174 | +static const ProtobufCEnumValue sr__move_item_req__move_position__enum_values_by_number[4] = |
| 6175 | +{ |
| 6176 | + { "BEFORE", "SR__MOVE_ITEM_REQ__MOVE_POSITION__BEFORE", 1 }, |
| 6177 | + { "AFTER", "SR__MOVE_ITEM_REQ__MOVE_POSITION__AFTER", 2 }, |
| 6178 | + { "FIRST", "SR__MOVE_ITEM_REQ__MOVE_POSITION__FIRST", 3 }, |
| 6179 | + { "LAST", "SR__MOVE_ITEM_REQ__MOVE_POSITION__LAST", 4 }, |
| 6180 | +}; |
| 6181 | +static const ProtobufCIntRange sr__move_item_req__move_position__value_ranges[] = { |
| 6182 | +{1, 0},{0, 4} |
| 6183 | +}; |
| 6184 | +static const ProtobufCEnumValueIndex sr__move_item_req__move_position__enum_values_by_name[4] = |
| 6185 | +{ |
| 6186 | + { "AFTER", 1 }, |
| 6187 | + { "BEFORE", 0 }, |
| 6188 | + { "FIRST", 2 }, |
| 6189 | + { "LAST", 3 }, |
| 6190 | +}; |
| 6191 | +const ProtobufCEnumDescriptor sr__move_item_req__move_position__descriptor = |
| 6192 | +{ |
| 6193 | + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, |
| 6194 | + "sr.MoveItemReq.MovePosition", |
| 6195 | + "MovePosition", |
| 6196 | + "Sr__MoveItemReq__MovePosition", |
| 6197 | + "sr", |
| 6198 | + 4, |
| 6199 | + sr__move_item_req__move_position__enum_values_by_number, |
| 6200 | + 4, |
| 6201 | + sr__move_item_req__move_position__enum_values_by_name, |
| 6202 | + 1, |
| 6203 | + sr__move_item_req__move_position__value_ranges, |
| 6204 | + NULL,NULL,NULL,NULL /* reserved[1234] */ |
| 6205 | +}; |
| 6206 | +static const ProtobufCFieldDescriptor sr__move_item_req__field_descriptors[3] = |
| 6207 | +{ |
| 6208 | + { |
| 6209 | + "xpath", |
| 6210 | + 1, |
| 6211 | + PROTOBUF_C_LABEL_REQUIRED, |
| 6212 | + PROTOBUF_C_TYPE_STRING, |
| 6213 | + 0, /* quantifier_offset */ |
| 6214 | + offsetof(Sr__MoveItemReq, xpath), |
| 6215 | + NULL, |
| 6216 | + NULL, |
| 6217 | + 0, /* flags */ |
| 6218 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6219 | + }, |
| 6220 | + { |
| 6221 | + "position", |
| 6222 | + 2, |
| 6223 | + PROTOBUF_C_LABEL_REQUIRED, |
| 6224 | + PROTOBUF_C_TYPE_ENUM, |
| 6225 | + 0, /* quantifier_offset */ |
| 6226 | + offsetof(Sr__MoveItemReq, position), |
| 6227 | + &sr__move_item_req__move_position__descriptor, |
| 6228 | + NULL, |
| 6229 | + 0, /* flags */ |
| 6230 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6231 | + }, |
| 6232 | + { |
| 6233 | + "relative_item", |
| 6234 | + 3, |
| 6235 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 6236 | + PROTOBUF_C_TYPE_STRING, |
| 6237 | + 0, /* quantifier_offset */ |
| 6238 | + offsetof(Sr__MoveItemReq, relative_item), |
| 6239 | + NULL, |
| 6240 | + NULL, |
| 6241 | + 0, /* flags */ |
| 6242 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6243 | + }, |
| 6244 | +}; |
| 6245 | +static const unsigned sr__move_item_req__field_indices_by_name[] = { |
| 6246 | + 1, /* field[1] = position */ |
| 6247 | + 2, /* field[2] = relative_item */ |
| 6248 | + 0, /* field[0] = xpath */ |
| 6249 | +}; |
| 6250 | +static const ProtobufCIntRange sr__move_item_req__number_ranges[1 + 1] = |
| 6251 | +{ |
| 6252 | + { 1, 0 }, |
| 6253 | + { 0, 3 } |
| 6254 | +}; |
| 6255 | +const ProtobufCMessageDescriptor sr__move_item_req__descriptor = |
| 6256 | +{ |
| 6257 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6258 | + "sr.MoveItemReq", |
| 6259 | + "MoveItemReq", |
| 6260 | + "Sr__MoveItemReq", |
| 6261 | + "sr", |
| 6262 | + sizeof(Sr__MoveItemReq), |
| 6263 | + 3, |
| 6264 | + sr__move_item_req__field_descriptors, |
| 6265 | + sr__move_item_req__field_indices_by_name, |
| 6266 | + 1, sr__move_item_req__number_ranges, |
| 6267 | + (ProtobufCMessageInit) sr__move_item_req__init, |
| 6268 | + NULL,NULL,NULL /* reserved[123] */ |
| 6269 | +}; |
| 6270 | +#define sr__move_item_resp__field_descriptors NULL |
| 6271 | +#define sr__move_item_resp__field_indices_by_name NULL |
| 6272 | +#define sr__move_item_resp__number_ranges NULL |
| 6273 | +const ProtobufCMessageDescriptor sr__move_item_resp__descriptor = |
| 6274 | +{ |
| 6275 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6276 | + "sr.MoveItemResp", |
| 6277 | + "MoveItemResp", |
| 6278 | + "Sr__MoveItemResp", |
| 6279 | + "sr", |
| 6280 | + sizeof(Sr__MoveItemResp), |
| 6281 | + 0, |
| 6282 | + sr__move_item_resp__field_descriptors, |
| 6283 | + sr__move_item_resp__field_indices_by_name, |
| 6284 | + 0, sr__move_item_resp__number_ranges, |
| 6285 | + (ProtobufCMessageInit) sr__move_item_resp__init, |
| 6286 | + NULL,NULL,NULL /* reserved[123] */ |
| 6287 | +}; |
| 6288 | +#define sr__validate_req__field_descriptors NULL |
| 6289 | +#define sr__validate_req__field_indices_by_name NULL |
| 6290 | +#define sr__validate_req__number_ranges NULL |
| 6291 | +const ProtobufCMessageDescriptor sr__validate_req__descriptor = |
| 6292 | +{ |
| 6293 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6294 | + "sr.ValidateReq", |
| 6295 | + "ValidateReq", |
| 6296 | + "Sr__ValidateReq", |
| 6297 | + "sr", |
| 6298 | + sizeof(Sr__ValidateReq), |
| 6299 | + 0, |
| 6300 | + sr__validate_req__field_descriptors, |
| 6301 | + sr__validate_req__field_indices_by_name, |
| 6302 | + 0, sr__validate_req__number_ranges, |
| 6303 | + (ProtobufCMessageInit) sr__validate_req__init, |
| 6304 | + NULL,NULL,NULL /* reserved[123] */ |
| 6305 | +}; |
| 6306 | +static const ProtobufCFieldDescriptor sr__validate_resp__field_descriptors[1] = |
| 6307 | +{ |
| 6308 | + { |
| 6309 | + "errors", |
| 6310 | + 1, |
| 6311 | + PROTOBUF_C_LABEL_REPEATED, |
| 6312 | + PROTOBUF_C_TYPE_MESSAGE, |
| 6313 | + offsetof(Sr__ValidateResp, n_errors), |
| 6314 | + offsetof(Sr__ValidateResp, errors), |
| 6315 | + &sr__error__descriptor, |
| 6316 | + NULL, |
| 6317 | + 0, /* flags */ |
| 6318 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6319 | + }, |
| 6320 | +}; |
| 6321 | +static const unsigned sr__validate_resp__field_indices_by_name[] = { |
| 6322 | + 0, /* field[0] = errors */ |
| 6323 | +}; |
| 6324 | +static const ProtobufCIntRange sr__validate_resp__number_ranges[1 + 1] = |
| 6325 | +{ |
| 6326 | + { 1, 0 }, |
| 6327 | + { 0, 1 } |
| 6328 | +}; |
| 6329 | +const ProtobufCMessageDescriptor sr__validate_resp__descriptor = |
| 6330 | +{ |
| 6331 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6332 | + "sr.ValidateResp", |
| 6333 | + "ValidateResp", |
| 6334 | + "Sr__ValidateResp", |
| 6335 | + "sr", |
| 6336 | + sizeof(Sr__ValidateResp), |
| 6337 | + 1, |
| 6338 | + sr__validate_resp__field_descriptors, |
| 6339 | + sr__validate_resp__field_indices_by_name, |
| 6340 | + 1, sr__validate_resp__number_ranges, |
| 6341 | + (ProtobufCMessageInit) sr__validate_resp__init, |
| 6342 | + NULL,NULL,NULL /* reserved[123] */ |
| 6343 | +}; |
| 6344 | +#define sr__commit_req__field_descriptors NULL |
| 6345 | +#define sr__commit_req__field_indices_by_name NULL |
| 6346 | +#define sr__commit_req__number_ranges NULL |
| 6347 | +const ProtobufCMessageDescriptor sr__commit_req__descriptor = |
| 6348 | +{ |
| 6349 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6350 | + "sr.CommitReq", |
| 6351 | + "CommitReq", |
| 6352 | + "Sr__CommitReq", |
| 6353 | + "sr", |
| 6354 | + sizeof(Sr__CommitReq), |
| 6355 | + 0, |
| 6356 | + sr__commit_req__field_descriptors, |
| 6357 | + sr__commit_req__field_indices_by_name, |
| 6358 | + 0, sr__commit_req__number_ranges, |
| 6359 | + (ProtobufCMessageInit) sr__commit_req__init, |
| 6360 | + NULL,NULL,NULL /* reserved[123] */ |
| 6361 | +}; |
| 6362 | +static const ProtobufCFieldDescriptor sr__commit_resp__field_descriptors[1] = |
| 6363 | +{ |
| 6364 | + { |
| 6365 | + "errors", |
| 6366 | + 1, |
| 6367 | + PROTOBUF_C_LABEL_REPEATED, |
| 6368 | + PROTOBUF_C_TYPE_MESSAGE, |
| 6369 | + offsetof(Sr__CommitResp, n_errors), |
| 6370 | + offsetof(Sr__CommitResp, errors), |
| 6371 | + &sr__error__descriptor, |
| 6372 | + NULL, |
| 6373 | + 0, /* flags */ |
| 6374 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6375 | + }, |
| 6376 | +}; |
| 6377 | +static const unsigned sr__commit_resp__field_indices_by_name[] = { |
| 6378 | + 0, /* field[0] = errors */ |
| 6379 | +}; |
| 6380 | +static const ProtobufCIntRange sr__commit_resp__number_ranges[1 + 1] = |
| 6381 | +{ |
| 6382 | + { 1, 0 }, |
| 6383 | + { 0, 1 } |
| 6384 | +}; |
| 6385 | +const ProtobufCMessageDescriptor sr__commit_resp__descriptor = |
| 6386 | +{ |
| 6387 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6388 | + "sr.CommitResp", |
| 6389 | + "CommitResp", |
| 6390 | + "Sr__CommitResp", |
| 6391 | + "sr", |
| 6392 | + sizeof(Sr__CommitResp), |
| 6393 | + 1, |
| 6394 | + sr__commit_resp__field_descriptors, |
| 6395 | + sr__commit_resp__field_indices_by_name, |
| 6396 | + 1, sr__commit_resp__number_ranges, |
| 6397 | + (ProtobufCMessageInit) sr__commit_resp__init, |
| 6398 | + NULL,NULL,NULL /* reserved[123] */ |
| 6399 | +}; |
| 6400 | +#define sr__discard_changes_req__field_descriptors NULL |
| 6401 | +#define sr__discard_changes_req__field_indices_by_name NULL |
| 6402 | +#define sr__discard_changes_req__number_ranges NULL |
| 6403 | +const ProtobufCMessageDescriptor sr__discard_changes_req__descriptor = |
| 6404 | +{ |
| 6405 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6406 | + "sr.DiscardChangesReq", |
| 6407 | + "DiscardChangesReq", |
| 6408 | + "Sr__DiscardChangesReq", |
| 6409 | + "sr", |
| 6410 | + sizeof(Sr__DiscardChangesReq), |
| 6411 | + 0, |
| 6412 | + sr__discard_changes_req__field_descriptors, |
| 6413 | + sr__discard_changes_req__field_indices_by_name, |
| 6414 | + 0, sr__discard_changes_req__number_ranges, |
| 6415 | + (ProtobufCMessageInit) sr__discard_changes_req__init, |
| 6416 | + NULL,NULL,NULL /* reserved[123] */ |
| 6417 | +}; |
| 6418 | +#define sr__discard_changes_resp__field_descriptors NULL |
| 6419 | +#define sr__discard_changes_resp__field_indices_by_name NULL |
| 6420 | +#define sr__discard_changes_resp__number_ranges NULL |
| 6421 | +const ProtobufCMessageDescriptor sr__discard_changes_resp__descriptor = |
| 6422 | +{ |
| 6423 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6424 | + "sr.DiscardChangesResp", |
| 6425 | + "DiscardChangesResp", |
| 6426 | + "Sr__DiscardChangesResp", |
| 6427 | + "sr", |
| 6428 | + sizeof(Sr__DiscardChangesResp), |
| 6429 | + 0, |
| 6430 | + sr__discard_changes_resp__field_descriptors, |
| 6431 | + sr__discard_changes_resp__field_indices_by_name, |
| 6432 | + 0, sr__discard_changes_resp__number_ranges, |
| 6433 | + (ProtobufCMessageInit) sr__discard_changes_resp__init, |
| 6434 | + NULL,NULL,NULL /* reserved[123] */ |
| 6435 | +}; |
| 6436 | +static const ProtobufCFieldDescriptor sr__copy_config_req__field_descriptors[3] = |
| 6437 | +{ |
| 6438 | + { |
| 6439 | + "src_datastore", |
| 6440 | + 1, |
| 6441 | + PROTOBUF_C_LABEL_REQUIRED, |
| 6442 | + PROTOBUF_C_TYPE_ENUM, |
| 6443 | + 0, /* quantifier_offset */ |
| 6444 | + offsetof(Sr__CopyConfigReq, src_datastore), |
| 6445 | + &sr__data_store__descriptor, |
| 6446 | + NULL, |
| 6447 | + 0, /* flags */ |
| 6448 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6449 | + }, |
| 6450 | + { |
| 6451 | + "dst_datastore", |
| 6452 | + 2, |
| 6453 | + PROTOBUF_C_LABEL_REQUIRED, |
| 6454 | + PROTOBUF_C_TYPE_ENUM, |
| 6455 | + 0, /* quantifier_offset */ |
| 6456 | + offsetof(Sr__CopyConfigReq, dst_datastore), |
| 6457 | + &sr__data_store__descriptor, |
| 6458 | + NULL, |
| 6459 | + 0, /* flags */ |
| 6460 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6461 | + }, |
| 6462 | + { |
| 6463 | + "module_name", |
| 6464 | + 3, |
| 6465 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 6466 | + PROTOBUF_C_TYPE_STRING, |
| 6467 | + 0, /* quantifier_offset */ |
| 6468 | + offsetof(Sr__CopyConfigReq, module_name), |
| 6469 | + NULL, |
| 6470 | + NULL, |
| 6471 | + 0, /* flags */ |
| 6472 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6473 | + }, |
| 6474 | +}; |
| 6475 | +static const unsigned sr__copy_config_req__field_indices_by_name[] = { |
| 6476 | + 1, /* field[1] = dst_datastore */ |
| 6477 | + 2, /* field[2] = module_name */ |
| 6478 | + 0, /* field[0] = src_datastore */ |
| 6479 | +}; |
| 6480 | +static const ProtobufCIntRange sr__copy_config_req__number_ranges[1 + 1] = |
| 6481 | +{ |
| 6482 | + { 1, 0 }, |
| 6483 | + { 0, 3 } |
| 6484 | +}; |
| 6485 | +const ProtobufCMessageDescriptor sr__copy_config_req__descriptor = |
| 6486 | +{ |
| 6487 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6488 | + "sr.CopyConfigReq", |
| 6489 | + "CopyConfigReq", |
| 6490 | + "Sr__CopyConfigReq", |
| 6491 | + "sr", |
| 6492 | + sizeof(Sr__CopyConfigReq), |
| 6493 | + 3, |
| 6494 | + sr__copy_config_req__field_descriptors, |
| 6495 | + sr__copy_config_req__field_indices_by_name, |
| 6496 | + 1, sr__copy_config_req__number_ranges, |
| 6497 | + (ProtobufCMessageInit) sr__copy_config_req__init, |
| 6498 | + NULL,NULL,NULL /* reserved[123] */ |
| 6499 | +}; |
| 6500 | +static const ProtobufCFieldDescriptor sr__copy_config_resp__field_descriptors[1] = |
| 6501 | +{ |
| 6502 | + { |
| 6503 | + "errors", |
| 6504 | + 1, |
| 6505 | + PROTOBUF_C_LABEL_REPEATED, |
| 6506 | + PROTOBUF_C_TYPE_MESSAGE, |
| 6507 | + offsetof(Sr__CopyConfigResp, n_errors), |
| 6508 | + offsetof(Sr__CopyConfigResp, errors), |
| 6509 | + &sr__error__descriptor, |
| 6510 | + NULL, |
| 6511 | + 0, /* flags */ |
| 6512 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6513 | + }, |
| 6514 | +}; |
| 6515 | +static const unsigned sr__copy_config_resp__field_indices_by_name[] = { |
| 6516 | + 0, /* field[0] = errors */ |
| 6517 | +}; |
| 6518 | +static const ProtobufCIntRange sr__copy_config_resp__number_ranges[1 + 1] = |
| 6519 | +{ |
| 6520 | + { 1, 0 }, |
| 6521 | + { 0, 1 } |
| 6522 | +}; |
| 6523 | +const ProtobufCMessageDescriptor sr__copy_config_resp__descriptor = |
| 6524 | +{ |
| 6525 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6526 | + "sr.CopyConfigResp", |
| 6527 | + "CopyConfigResp", |
| 6528 | + "Sr__CopyConfigResp", |
| 6529 | + "sr", |
| 6530 | + sizeof(Sr__CopyConfigResp), |
| 6531 | + 1, |
| 6532 | + sr__copy_config_resp__field_descriptors, |
| 6533 | + sr__copy_config_resp__field_indices_by_name, |
| 6534 | + 1, sr__copy_config_resp__number_ranges, |
| 6535 | + (ProtobufCMessageInit) sr__copy_config_resp__init, |
| 6536 | + NULL,NULL,NULL /* reserved[123] */ |
| 6537 | +}; |
| 6538 | +static const ProtobufCFieldDescriptor sr__lock_req__field_descriptors[1] = |
| 6539 | +{ |
| 6540 | + { |
| 6541 | + "module_name", |
| 6542 | + 1, |
| 6543 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 6544 | + PROTOBUF_C_TYPE_STRING, |
| 6545 | + 0, /* quantifier_offset */ |
| 6546 | + offsetof(Sr__LockReq, module_name), |
| 6547 | + NULL, |
| 6548 | + NULL, |
| 6549 | + 0, /* flags */ |
| 6550 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6551 | + }, |
| 6552 | +}; |
| 6553 | +static const unsigned sr__lock_req__field_indices_by_name[] = { |
| 6554 | + 0, /* field[0] = module_name */ |
| 6555 | +}; |
| 6556 | +static const ProtobufCIntRange sr__lock_req__number_ranges[1 + 1] = |
| 6557 | +{ |
| 6558 | + { 1, 0 }, |
| 6559 | + { 0, 1 } |
| 6560 | +}; |
| 6561 | +const ProtobufCMessageDescriptor sr__lock_req__descriptor = |
| 6562 | +{ |
| 6563 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6564 | + "sr.LockReq", |
| 6565 | + "LockReq", |
| 6566 | + "Sr__LockReq", |
| 6567 | + "sr", |
| 6568 | + sizeof(Sr__LockReq), |
| 6569 | + 1, |
| 6570 | + sr__lock_req__field_descriptors, |
| 6571 | + sr__lock_req__field_indices_by_name, |
| 6572 | + 1, sr__lock_req__number_ranges, |
| 6573 | + (ProtobufCMessageInit) sr__lock_req__init, |
| 6574 | + NULL,NULL,NULL /* reserved[123] */ |
| 6575 | +}; |
| 6576 | +#define sr__lock_resp__field_descriptors NULL |
| 6577 | +#define sr__lock_resp__field_indices_by_name NULL |
| 6578 | +#define sr__lock_resp__number_ranges NULL |
| 6579 | +const ProtobufCMessageDescriptor sr__lock_resp__descriptor = |
| 6580 | +{ |
| 6581 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6582 | + "sr.LockResp", |
| 6583 | + "LockResp", |
| 6584 | + "Sr__LockResp", |
| 6585 | + "sr", |
| 6586 | + sizeof(Sr__LockResp), |
| 6587 | + 0, |
| 6588 | + sr__lock_resp__field_descriptors, |
| 6589 | + sr__lock_resp__field_indices_by_name, |
| 6590 | + 0, sr__lock_resp__number_ranges, |
| 6591 | + (ProtobufCMessageInit) sr__lock_resp__init, |
| 6592 | + NULL,NULL,NULL /* reserved[123] */ |
| 6593 | +}; |
| 6594 | +static const ProtobufCFieldDescriptor sr__unlock_req__field_descriptors[1] = |
| 6595 | +{ |
| 6596 | + { |
| 6597 | + "module_name", |
| 6598 | + 1, |
| 6599 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 6600 | + PROTOBUF_C_TYPE_STRING, |
| 6601 | + 0, /* quantifier_offset */ |
| 6602 | + offsetof(Sr__UnlockReq, module_name), |
| 6603 | + NULL, |
| 6604 | + NULL, |
| 6605 | + 0, /* flags */ |
| 6606 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6607 | + }, |
| 6608 | +}; |
| 6609 | +static const unsigned sr__unlock_req__field_indices_by_name[] = { |
| 6610 | + 0, /* field[0] = module_name */ |
| 6611 | +}; |
| 6612 | +static const ProtobufCIntRange sr__unlock_req__number_ranges[1 + 1] = |
| 6613 | +{ |
| 6614 | + { 1, 0 }, |
| 6615 | + { 0, 1 } |
| 6616 | +}; |
| 6617 | +const ProtobufCMessageDescriptor sr__unlock_req__descriptor = |
| 6618 | +{ |
| 6619 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6620 | + "sr.UnlockReq", |
| 6621 | + "UnlockReq", |
| 6622 | + "Sr__UnlockReq", |
| 6623 | + "sr", |
| 6624 | + sizeof(Sr__UnlockReq), |
| 6625 | + 1, |
| 6626 | + sr__unlock_req__field_descriptors, |
| 6627 | + sr__unlock_req__field_indices_by_name, |
| 6628 | + 1, sr__unlock_req__number_ranges, |
| 6629 | + (ProtobufCMessageInit) sr__unlock_req__init, |
| 6630 | + NULL,NULL,NULL /* reserved[123] */ |
| 6631 | +}; |
| 6632 | +#define sr__unlock_resp__field_descriptors NULL |
| 6633 | +#define sr__unlock_resp__field_indices_by_name NULL |
| 6634 | +#define sr__unlock_resp__number_ranges NULL |
| 6635 | +const ProtobufCMessageDescriptor sr__unlock_resp__descriptor = |
| 6636 | +{ |
| 6637 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6638 | + "sr.UnlockResp", |
| 6639 | + "UnlockResp", |
| 6640 | + "Sr__UnlockResp", |
| 6641 | + "sr", |
| 6642 | + sizeof(Sr__UnlockResp), |
| 6643 | + 0, |
| 6644 | + sr__unlock_resp__field_descriptors, |
| 6645 | + sr__unlock_resp__field_indices_by_name, |
| 6646 | + 0, sr__unlock_resp__number_ranges, |
| 6647 | + (ProtobufCMessageInit) sr__unlock_resp__init, |
| 6648 | + NULL,NULL,NULL /* reserved[123] */ |
| 6649 | +}; |
| 6650 | +static const ProtobufCFieldDescriptor sr__subscribe_req__field_descriptors[10] = |
| 6651 | +{ |
| 6652 | + { |
| 6653 | + "type", |
| 6654 | + 1, |
| 6655 | + PROTOBUF_C_LABEL_REQUIRED, |
| 6656 | + PROTOBUF_C_TYPE_ENUM, |
| 6657 | + 0, /* quantifier_offset */ |
| 6658 | + offsetof(Sr__SubscribeReq, type), |
| 6659 | + &sr__subscription_type__descriptor, |
| 6660 | + NULL, |
| 6661 | + 0, /* flags */ |
| 6662 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6663 | + }, |
| 6664 | + { |
| 6665 | + "destination", |
| 6666 | + 2, |
| 6667 | + PROTOBUF_C_LABEL_REQUIRED, |
| 6668 | + PROTOBUF_C_TYPE_STRING, |
| 6669 | + 0, /* quantifier_offset */ |
| 6670 | + offsetof(Sr__SubscribeReq, destination), |
| 6671 | + NULL, |
| 6672 | + NULL, |
| 6673 | + 0, /* flags */ |
| 6674 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6675 | + }, |
| 6676 | + { |
| 6677 | + "subscription_id", |
| 6678 | + 3, |
| 6679 | + PROTOBUF_C_LABEL_REQUIRED, |
| 6680 | + PROTOBUF_C_TYPE_UINT32, |
| 6681 | + 0, /* quantifier_offset */ |
| 6682 | + offsetof(Sr__SubscribeReq, subscription_id), |
| 6683 | + NULL, |
| 6684 | + NULL, |
| 6685 | + 0, /* flags */ |
| 6686 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6687 | + }, |
| 6688 | + { |
| 6689 | + "module_name", |
| 6690 | + 4, |
| 6691 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 6692 | + PROTOBUF_C_TYPE_STRING, |
| 6693 | + 0, /* quantifier_offset */ |
| 6694 | + offsetof(Sr__SubscribeReq, module_name), |
| 6695 | + NULL, |
| 6696 | + NULL, |
| 6697 | + 0, /* flags */ |
| 6698 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6699 | + }, |
| 6700 | + { |
| 6701 | + "xpath", |
| 6702 | + 5, |
| 6703 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 6704 | + PROTOBUF_C_TYPE_STRING, |
| 6705 | + 0, /* quantifier_offset */ |
| 6706 | + offsetof(Sr__SubscribeReq, xpath), |
| 6707 | + NULL, |
| 6708 | + NULL, |
| 6709 | + 0, /* flags */ |
| 6710 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6711 | + }, |
| 6712 | + { |
| 6713 | + "notif_event", |
| 6714 | + 10, |
| 6715 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 6716 | + PROTOBUF_C_TYPE_ENUM, |
| 6717 | + offsetof(Sr__SubscribeReq, has_notif_event), |
| 6718 | + offsetof(Sr__SubscribeReq, notif_event), |
| 6719 | + &sr__notification_event__descriptor, |
| 6720 | + NULL, |
| 6721 | + 0, /* flags */ |
| 6722 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6723 | + }, |
| 6724 | + { |
| 6725 | + "priority", |
| 6726 | + 11, |
| 6727 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 6728 | + PROTOBUF_C_TYPE_UINT32, |
| 6729 | + offsetof(Sr__SubscribeReq, has_priority), |
| 6730 | + offsetof(Sr__SubscribeReq, priority), |
| 6731 | + NULL, |
| 6732 | + NULL, |
| 6733 | + 0, /* flags */ |
| 6734 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6735 | + }, |
| 6736 | + { |
| 6737 | + "enable_running", |
| 6738 | + 12, |
| 6739 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 6740 | + PROTOBUF_C_TYPE_BOOL, |
| 6741 | + offsetof(Sr__SubscribeReq, has_enable_running), |
| 6742 | + offsetof(Sr__SubscribeReq, enable_running), |
| 6743 | + NULL, |
| 6744 | + NULL, |
| 6745 | + 0, /* flags */ |
| 6746 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6747 | + }, |
| 6748 | + { |
| 6749 | + "enable_event", |
| 6750 | + 13, |
| 6751 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 6752 | + PROTOBUF_C_TYPE_BOOL, |
| 6753 | + offsetof(Sr__SubscribeReq, has_enable_event), |
| 6754 | + offsetof(Sr__SubscribeReq, enable_event), |
| 6755 | + NULL, |
| 6756 | + NULL, |
| 6757 | + 0, /* flags */ |
| 6758 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6759 | + }, |
| 6760 | + { |
| 6761 | + "api_variant", |
| 6762 | + 20, |
| 6763 | + PROTOBUF_C_LABEL_REQUIRED, |
| 6764 | + PROTOBUF_C_TYPE_ENUM, |
| 6765 | + 0, /* quantifier_offset */ |
| 6766 | + offsetof(Sr__SubscribeReq, api_variant), |
| 6767 | + &sr__api_variant__descriptor, |
| 6768 | + NULL, |
| 6769 | + 0, /* flags */ |
| 6770 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6771 | + }, |
| 6772 | +}; |
| 6773 | +static const unsigned sr__subscribe_req__field_indices_by_name[] = { |
| 6774 | + 9, /* field[9] = api_variant */ |
| 6775 | + 1, /* field[1] = destination */ |
| 6776 | + 8, /* field[8] = enable_event */ |
| 6777 | + 7, /* field[7] = enable_running */ |
| 6778 | + 3, /* field[3] = module_name */ |
| 6779 | + 5, /* field[5] = notif_event */ |
| 6780 | + 6, /* field[6] = priority */ |
| 6781 | + 2, /* field[2] = subscription_id */ |
| 6782 | + 0, /* field[0] = type */ |
| 6783 | + 4, /* field[4] = xpath */ |
| 6784 | +}; |
| 6785 | +static const ProtobufCIntRange sr__subscribe_req__number_ranges[3 + 1] = |
| 6786 | +{ |
| 6787 | + { 1, 0 }, |
| 6788 | + { 10, 5 }, |
| 6789 | + { 20, 9 }, |
| 6790 | + { 0, 10 } |
| 6791 | +}; |
| 6792 | +const ProtobufCMessageDescriptor sr__subscribe_req__descriptor = |
| 6793 | +{ |
| 6794 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6795 | + "sr.SubscribeReq", |
| 6796 | + "SubscribeReq", |
| 6797 | + "Sr__SubscribeReq", |
| 6798 | + "sr", |
| 6799 | + sizeof(Sr__SubscribeReq), |
| 6800 | + 10, |
| 6801 | + sr__subscribe_req__field_descriptors, |
| 6802 | + sr__subscribe_req__field_indices_by_name, |
| 6803 | + 3, sr__subscribe_req__number_ranges, |
| 6804 | + (ProtobufCMessageInit) sr__subscribe_req__init, |
| 6805 | + NULL,NULL,NULL /* reserved[123] */ |
| 6806 | +}; |
| 6807 | +#define sr__subscribe_resp__field_descriptors NULL |
| 6808 | +#define sr__subscribe_resp__field_indices_by_name NULL |
| 6809 | +#define sr__subscribe_resp__number_ranges NULL |
| 6810 | +const ProtobufCMessageDescriptor sr__subscribe_resp__descriptor = |
| 6811 | +{ |
| 6812 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6813 | + "sr.SubscribeResp", |
| 6814 | + "SubscribeResp", |
| 6815 | + "Sr__SubscribeResp", |
| 6816 | + "sr", |
| 6817 | + sizeof(Sr__SubscribeResp), |
| 6818 | + 0, |
| 6819 | + sr__subscribe_resp__field_descriptors, |
| 6820 | + sr__subscribe_resp__field_indices_by_name, |
| 6821 | + 0, sr__subscribe_resp__number_ranges, |
| 6822 | + (ProtobufCMessageInit) sr__subscribe_resp__init, |
| 6823 | + NULL,NULL,NULL /* reserved[123] */ |
| 6824 | +}; |
| 6825 | +static const ProtobufCFieldDescriptor sr__unsubscribe_req__field_descriptors[4] = |
| 6826 | +{ |
| 6827 | + { |
| 6828 | + "type", |
| 6829 | + 1, |
| 6830 | + PROTOBUF_C_LABEL_REQUIRED, |
| 6831 | + PROTOBUF_C_TYPE_ENUM, |
| 6832 | + 0, /* quantifier_offset */ |
| 6833 | + offsetof(Sr__UnsubscribeReq, type), |
| 6834 | + &sr__subscription_type__descriptor, |
| 6835 | + NULL, |
| 6836 | + 0, /* flags */ |
| 6837 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6838 | + }, |
| 6839 | + { |
| 6840 | + "destination", |
| 6841 | + 2, |
| 6842 | + PROTOBUF_C_LABEL_REQUIRED, |
| 6843 | + PROTOBUF_C_TYPE_STRING, |
| 6844 | + 0, /* quantifier_offset */ |
| 6845 | + offsetof(Sr__UnsubscribeReq, destination), |
| 6846 | + NULL, |
| 6847 | + NULL, |
| 6848 | + 0, /* flags */ |
| 6849 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6850 | + }, |
| 6851 | + { |
| 6852 | + "subscription_id", |
| 6853 | + 3, |
| 6854 | + PROTOBUF_C_LABEL_REQUIRED, |
| 6855 | + PROTOBUF_C_TYPE_UINT32, |
| 6856 | + 0, /* quantifier_offset */ |
| 6857 | + offsetof(Sr__UnsubscribeReq, subscription_id), |
| 6858 | + NULL, |
| 6859 | + NULL, |
| 6860 | + 0, /* flags */ |
| 6861 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6862 | + }, |
| 6863 | + { |
| 6864 | + "module_name", |
| 6865 | + 4, |
| 6866 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 6867 | + PROTOBUF_C_TYPE_STRING, |
| 6868 | + 0, /* quantifier_offset */ |
| 6869 | + offsetof(Sr__UnsubscribeReq, module_name), |
| 6870 | + NULL, |
| 6871 | + NULL, |
| 6872 | + 0, /* flags */ |
| 6873 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6874 | + }, |
| 6875 | +}; |
| 6876 | +static const unsigned sr__unsubscribe_req__field_indices_by_name[] = { |
| 6877 | + 1, /* field[1] = destination */ |
| 6878 | + 3, /* field[3] = module_name */ |
| 6879 | + 2, /* field[2] = subscription_id */ |
| 6880 | + 0, /* field[0] = type */ |
| 6881 | +}; |
| 6882 | +static const ProtobufCIntRange sr__unsubscribe_req__number_ranges[1 + 1] = |
| 6883 | +{ |
| 6884 | + { 1, 0 }, |
| 6885 | + { 0, 4 } |
| 6886 | +}; |
| 6887 | +const ProtobufCMessageDescriptor sr__unsubscribe_req__descriptor = |
| 6888 | +{ |
| 6889 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6890 | + "sr.UnsubscribeReq", |
| 6891 | + "UnsubscribeReq", |
| 6892 | + "Sr__UnsubscribeReq", |
| 6893 | + "sr", |
| 6894 | + sizeof(Sr__UnsubscribeReq), |
| 6895 | + 4, |
| 6896 | + sr__unsubscribe_req__field_descriptors, |
| 6897 | + sr__unsubscribe_req__field_indices_by_name, |
| 6898 | + 1, sr__unsubscribe_req__number_ranges, |
| 6899 | + (ProtobufCMessageInit) sr__unsubscribe_req__init, |
| 6900 | + NULL,NULL,NULL /* reserved[123] */ |
| 6901 | +}; |
| 6902 | +#define sr__unsubscribe_resp__field_descriptors NULL |
| 6903 | +#define sr__unsubscribe_resp__field_indices_by_name NULL |
| 6904 | +#define sr__unsubscribe_resp__number_ranges NULL |
| 6905 | +const ProtobufCMessageDescriptor sr__unsubscribe_resp__descriptor = |
| 6906 | +{ |
| 6907 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6908 | + "sr.UnsubscribeResp", |
| 6909 | + "UnsubscribeResp", |
| 6910 | + "Sr__UnsubscribeResp", |
| 6911 | + "sr", |
| 6912 | + sizeof(Sr__UnsubscribeResp), |
| 6913 | + 0, |
| 6914 | + sr__unsubscribe_resp__field_descriptors, |
| 6915 | + sr__unsubscribe_resp__field_indices_by_name, |
| 6916 | + 0, sr__unsubscribe_resp__number_ranges, |
| 6917 | + (ProtobufCMessageInit) sr__unsubscribe_resp__init, |
| 6918 | + NULL,NULL,NULL /* reserved[123] */ |
| 6919 | +}; |
| 6920 | +static const ProtobufCFieldDescriptor sr__check_enabled_running_req__field_descriptors[1] = |
| 6921 | +{ |
| 6922 | + { |
| 6923 | + "module_name", |
| 6924 | + 1, |
| 6925 | + PROTOBUF_C_LABEL_REQUIRED, |
| 6926 | + PROTOBUF_C_TYPE_STRING, |
| 6927 | + 0, /* quantifier_offset */ |
| 6928 | + offsetof(Sr__CheckEnabledRunningReq, module_name), |
| 6929 | + NULL, |
| 6930 | + NULL, |
| 6931 | + 0, /* flags */ |
| 6932 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6933 | + }, |
| 6934 | +}; |
| 6935 | +static const unsigned sr__check_enabled_running_req__field_indices_by_name[] = { |
| 6936 | + 0, /* field[0] = module_name */ |
| 6937 | +}; |
| 6938 | +static const ProtobufCIntRange sr__check_enabled_running_req__number_ranges[1 + 1] = |
| 6939 | +{ |
| 6940 | + { 1, 0 }, |
| 6941 | + { 0, 1 } |
| 6942 | +}; |
| 6943 | +const ProtobufCMessageDescriptor sr__check_enabled_running_req__descriptor = |
| 6944 | +{ |
| 6945 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6946 | + "sr.CheckEnabledRunningReq", |
| 6947 | + "CheckEnabledRunningReq", |
| 6948 | + "Sr__CheckEnabledRunningReq", |
| 6949 | + "sr", |
| 6950 | + sizeof(Sr__CheckEnabledRunningReq), |
| 6951 | + 1, |
| 6952 | + sr__check_enabled_running_req__field_descriptors, |
| 6953 | + sr__check_enabled_running_req__field_indices_by_name, |
| 6954 | + 1, sr__check_enabled_running_req__number_ranges, |
| 6955 | + (ProtobufCMessageInit) sr__check_enabled_running_req__init, |
| 6956 | + NULL,NULL,NULL /* reserved[123] */ |
| 6957 | +}; |
| 6958 | +static const ProtobufCFieldDescriptor sr__check_enabled_running_resp__field_descriptors[1] = |
| 6959 | +{ |
| 6960 | + { |
| 6961 | + "enabled", |
| 6962 | + 1, |
| 6963 | + PROTOBUF_C_LABEL_REQUIRED, |
| 6964 | + PROTOBUF_C_TYPE_BOOL, |
| 6965 | + 0, /* quantifier_offset */ |
| 6966 | + offsetof(Sr__CheckEnabledRunningResp, enabled), |
| 6967 | + NULL, |
| 6968 | + NULL, |
| 6969 | + 0, /* flags */ |
| 6970 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 6971 | + }, |
| 6972 | +}; |
| 6973 | +static const unsigned sr__check_enabled_running_resp__field_indices_by_name[] = { |
| 6974 | + 0, /* field[0] = enabled */ |
| 6975 | +}; |
| 6976 | +static const ProtobufCIntRange sr__check_enabled_running_resp__number_ranges[1 + 1] = |
| 6977 | +{ |
| 6978 | + { 1, 0 }, |
| 6979 | + { 0, 1 } |
| 6980 | +}; |
| 6981 | +const ProtobufCMessageDescriptor sr__check_enabled_running_resp__descriptor = |
| 6982 | +{ |
| 6983 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 6984 | + "sr.CheckEnabledRunningResp", |
| 6985 | + "CheckEnabledRunningResp", |
| 6986 | + "Sr__CheckEnabledRunningResp", |
| 6987 | + "sr", |
| 6988 | + sizeof(Sr__CheckEnabledRunningResp), |
| 6989 | + 1, |
| 6990 | + sr__check_enabled_running_resp__field_descriptors, |
| 6991 | + sr__check_enabled_running_resp__field_indices_by_name, |
| 6992 | + 1, sr__check_enabled_running_resp__number_ranges, |
| 6993 | + (ProtobufCMessageInit) sr__check_enabled_running_resp__init, |
| 6994 | + NULL,NULL,NULL /* reserved[123] */ |
| 6995 | +}; |
| 6996 | +static const ProtobufCFieldDescriptor sr__module_install_notification__field_descriptors[3] = |
| 6997 | +{ |
| 6998 | + { |
| 6999 | + "module_name", |
| 7000 | + 1, |
| 7001 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 7002 | + PROTOBUF_C_TYPE_STRING, |
| 7003 | + 0, /* quantifier_offset */ |
| 7004 | + offsetof(Sr__ModuleInstallNotification, module_name), |
| 7005 | + NULL, |
| 7006 | + NULL, |
| 7007 | + 0, /* flags */ |
| 7008 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7009 | + }, |
| 7010 | + { |
| 7011 | + "revision", |
| 7012 | + 2, |
| 7013 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 7014 | + PROTOBUF_C_TYPE_STRING, |
| 7015 | + 0, /* quantifier_offset */ |
| 7016 | + offsetof(Sr__ModuleInstallNotification, revision), |
| 7017 | + NULL, |
| 7018 | + NULL, |
| 7019 | + 0, /* flags */ |
| 7020 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7021 | + }, |
| 7022 | + { |
| 7023 | + "state", |
| 7024 | + 3, |
| 7025 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7026 | + PROTOBUF_C_TYPE_ENUM, |
| 7027 | + 0, /* quantifier_offset */ |
| 7028 | + offsetof(Sr__ModuleInstallNotification, state), |
| 7029 | + &sr__module_state__descriptor, |
| 7030 | + NULL, |
| 7031 | + 0, /* flags */ |
| 7032 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7033 | + }, |
| 7034 | +}; |
| 7035 | +static const unsigned sr__module_install_notification__field_indices_by_name[] = { |
| 7036 | + 0, /* field[0] = module_name */ |
| 7037 | + 1, /* field[1] = revision */ |
| 7038 | + 2, /* field[2] = state */ |
| 7039 | +}; |
| 7040 | +static const ProtobufCIntRange sr__module_install_notification__number_ranges[1 + 1] = |
| 7041 | +{ |
| 7042 | + { 1, 0 }, |
| 7043 | + { 0, 3 } |
| 7044 | +}; |
| 7045 | +const ProtobufCMessageDescriptor sr__module_install_notification__descriptor = |
| 7046 | +{ |
| 7047 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 7048 | + "sr.ModuleInstallNotification", |
| 7049 | + "ModuleInstallNotification", |
| 7050 | + "Sr__ModuleInstallNotification", |
| 7051 | + "sr", |
| 7052 | + sizeof(Sr__ModuleInstallNotification), |
| 7053 | + 3, |
| 7054 | + sr__module_install_notification__field_descriptors, |
| 7055 | + sr__module_install_notification__field_indices_by_name, |
| 7056 | + 1, sr__module_install_notification__number_ranges, |
| 7057 | + (ProtobufCMessageInit) sr__module_install_notification__init, |
| 7058 | + NULL,NULL,NULL /* reserved[123] */ |
| 7059 | +}; |
| 7060 | +static const ProtobufCFieldDescriptor sr__feature_enable_notification__field_descriptors[3] = |
| 7061 | +{ |
| 7062 | + { |
| 7063 | + "module_name", |
| 7064 | + 1, |
| 7065 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7066 | + PROTOBUF_C_TYPE_STRING, |
| 7067 | + 0, /* quantifier_offset */ |
| 7068 | + offsetof(Sr__FeatureEnableNotification, module_name), |
| 7069 | + NULL, |
| 7070 | + NULL, |
| 7071 | + 0, /* flags */ |
| 7072 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7073 | + }, |
| 7074 | + { |
| 7075 | + "feature_name", |
| 7076 | + 2, |
| 7077 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7078 | + PROTOBUF_C_TYPE_STRING, |
| 7079 | + 0, /* quantifier_offset */ |
| 7080 | + offsetof(Sr__FeatureEnableNotification, feature_name), |
| 7081 | + NULL, |
| 7082 | + NULL, |
| 7083 | + 0, /* flags */ |
| 7084 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7085 | + }, |
| 7086 | + { |
| 7087 | + "enabled", |
| 7088 | + 3, |
| 7089 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7090 | + PROTOBUF_C_TYPE_BOOL, |
| 7091 | + 0, /* quantifier_offset */ |
| 7092 | + offsetof(Sr__FeatureEnableNotification, enabled), |
| 7093 | + NULL, |
| 7094 | + NULL, |
| 7095 | + 0, /* flags */ |
| 7096 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7097 | + }, |
| 7098 | +}; |
| 7099 | +static const unsigned sr__feature_enable_notification__field_indices_by_name[] = { |
| 7100 | + 2, /* field[2] = enabled */ |
| 7101 | + 1, /* field[1] = feature_name */ |
| 7102 | + 0, /* field[0] = module_name */ |
| 7103 | +}; |
| 7104 | +static const ProtobufCIntRange sr__feature_enable_notification__number_ranges[1 + 1] = |
| 7105 | +{ |
| 7106 | + { 1, 0 }, |
| 7107 | + { 0, 3 } |
| 7108 | +}; |
| 7109 | +const ProtobufCMessageDescriptor sr__feature_enable_notification__descriptor = |
| 7110 | +{ |
| 7111 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 7112 | + "sr.FeatureEnableNotification", |
| 7113 | + "FeatureEnableNotification", |
| 7114 | + "Sr__FeatureEnableNotification", |
| 7115 | + "sr", |
| 7116 | + sizeof(Sr__FeatureEnableNotification), |
| 7117 | + 3, |
| 7118 | + sr__feature_enable_notification__field_descriptors, |
| 7119 | + sr__feature_enable_notification__field_indices_by_name, |
| 7120 | + 1, sr__feature_enable_notification__number_ranges, |
| 7121 | + (ProtobufCMessageInit) sr__feature_enable_notification__init, |
| 7122 | + NULL,NULL,NULL /* reserved[123] */ |
| 7123 | +}; |
| 7124 | +static const ProtobufCFieldDescriptor sr__module_change_notification__field_descriptors[2] = |
| 7125 | +{ |
| 7126 | + { |
| 7127 | + "event", |
| 7128 | + 1, |
| 7129 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7130 | + PROTOBUF_C_TYPE_ENUM, |
| 7131 | + 0, /* quantifier_offset */ |
| 7132 | + offsetof(Sr__ModuleChangeNotification, event), |
| 7133 | + &sr__notification_event__descriptor, |
| 7134 | + NULL, |
| 7135 | + 0, /* flags */ |
| 7136 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7137 | + }, |
| 7138 | + { |
| 7139 | + "module_name", |
| 7140 | + 2, |
| 7141 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7142 | + PROTOBUF_C_TYPE_STRING, |
| 7143 | + 0, /* quantifier_offset */ |
| 7144 | + offsetof(Sr__ModuleChangeNotification, module_name), |
| 7145 | + NULL, |
| 7146 | + NULL, |
| 7147 | + 0, /* flags */ |
| 7148 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7149 | + }, |
| 7150 | +}; |
| 7151 | +static const unsigned sr__module_change_notification__field_indices_by_name[] = { |
| 7152 | + 0, /* field[0] = event */ |
| 7153 | + 1, /* field[1] = module_name */ |
| 7154 | +}; |
| 7155 | +static const ProtobufCIntRange sr__module_change_notification__number_ranges[1 + 1] = |
| 7156 | +{ |
| 7157 | + { 1, 0 }, |
| 7158 | + { 0, 2 } |
| 7159 | +}; |
| 7160 | +const ProtobufCMessageDescriptor sr__module_change_notification__descriptor = |
| 7161 | +{ |
| 7162 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 7163 | + "sr.ModuleChangeNotification", |
| 7164 | + "ModuleChangeNotification", |
| 7165 | + "Sr__ModuleChangeNotification", |
| 7166 | + "sr", |
| 7167 | + sizeof(Sr__ModuleChangeNotification), |
| 7168 | + 2, |
| 7169 | + sr__module_change_notification__field_descriptors, |
| 7170 | + sr__module_change_notification__field_indices_by_name, |
| 7171 | + 1, sr__module_change_notification__number_ranges, |
| 7172 | + (ProtobufCMessageInit) sr__module_change_notification__init, |
| 7173 | + NULL,NULL,NULL /* reserved[123] */ |
| 7174 | +}; |
| 7175 | +static const ProtobufCFieldDescriptor sr__subtree_change_notification__field_descriptors[2] = |
| 7176 | +{ |
| 7177 | + { |
| 7178 | + "event", |
| 7179 | + 1, |
| 7180 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7181 | + PROTOBUF_C_TYPE_ENUM, |
| 7182 | + 0, /* quantifier_offset */ |
| 7183 | + offsetof(Sr__SubtreeChangeNotification, event), |
| 7184 | + &sr__notification_event__descriptor, |
| 7185 | + NULL, |
| 7186 | + 0, /* flags */ |
| 7187 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7188 | + }, |
| 7189 | + { |
| 7190 | + "xpath", |
| 7191 | + 2, |
| 7192 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7193 | + PROTOBUF_C_TYPE_STRING, |
| 7194 | + 0, /* quantifier_offset */ |
| 7195 | + offsetof(Sr__SubtreeChangeNotification, xpath), |
| 7196 | + NULL, |
| 7197 | + NULL, |
| 7198 | + 0, /* flags */ |
| 7199 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7200 | + }, |
| 7201 | +}; |
| 7202 | +static const unsigned sr__subtree_change_notification__field_indices_by_name[] = { |
| 7203 | + 0, /* field[0] = event */ |
| 7204 | + 1, /* field[1] = xpath */ |
| 7205 | +}; |
| 7206 | +static const ProtobufCIntRange sr__subtree_change_notification__number_ranges[1 + 1] = |
| 7207 | +{ |
| 7208 | + { 1, 0 }, |
| 7209 | + { 0, 2 } |
| 7210 | +}; |
| 7211 | +const ProtobufCMessageDescriptor sr__subtree_change_notification__descriptor = |
| 7212 | +{ |
| 7213 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 7214 | + "sr.SubtreeChangeNotification", |
| 7215 | + "SubtreeChangeNotification", |
| 7216 | + "Sr__SubtreeChangeNotification", |
| 7217 | + "sr", |
| 7218 | + sizeof(Sr__SubtreeChangeNotification), |
| 7219 | + 2, |
| 7220 | + sr__subtree_change_notification__field_descriptors, |
| 7221 | + sr__subtree_change_notification__field_indices_by_name, |
| 7222 | + 1, sr__subtree_change_notification__number_ranges, |
| 7223 | + (ProtobufCMessageInit) sr__subtree_change_notification__init, |
| 7224 | + NULL,NULL,NULL /* reserved[123] */ |
| 7225 | +}; |
| 7226 | +static const ProtobufCFieldDescriptor sr__change__field_descriptors[3] = |
| 7227 | +{ |
| 7228 | + { |
| 7229 | + "changeOperation", |
| 7230 | + 1, |
| 7231 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7232 | + PROTOBUF_C_TYPE_ENUM, |
| 7233 | + 0, /* quantifier_offset */ |
| 7234 | + offsetof(Sr__Change, changeoperation), |
| 7235 | + &sr__change_operation__descriptor, |
| 7236 | + NULL, |
| 7237 | + 0, /* flags */ |
| 7238 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7239 | + }, |
| 7240 | + { |
| 7241 | + "new_value", |
| 7242 | + 2, |
| 7243 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 7244 | + PROTOBUF_C_TYPE_MESSAGE, |
| 7245 | + 0, /* quantifier_offset */ |
| 7246 | + offsetof(Sr__Change, new_value), |
| 7247 | + &sr__value__descriptor, |
| 7248 | + NULL, |
| 7249 | + 0, /* flags */ |
| 7250 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7251 | + }, |
| 7252 | + { |
| 7253 | + "old_value", |
| 7254 | + 3, |
| 7255 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 7256 | + PROTOBUF_C_TYPE_MESSAGE, |
| 7257 | + 0, /* quantifier_offset */ |
| 7258 | + offsetof(Sr__Change, old_value), |
| 7259 | + &sr__value__descriptor, |
| 7260 | + NULL, |
| 7261 | + 0, /* flags */ |
| 7262 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7263 | + }, |
| 7264 | +}; |
| 7265 | +static const unsigned sr__change__field_indices_by_name[] = { |
| 7266 | + 0, /* field[0] = changeOperation */ |
| 7267 | + 1, /* field[1] = new_value */ |
| 7268 | + 2, /* field[2] = old_value */ |
| 7269 | +}; |
| 7270 | +static const ProtobufCIntRange sr__change__number_ranges[1 + 1] = |
| 7271 | +{ |
| 7272 | + { 1, 0 }, |
| 7273 | + { 0, 3 } |
| 7274 | +}; |
| 7275 | +const ProtobufCMessageDescriptor sr__change__descriptor = |
| 7276 | +{ |
| 7277 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 7278 | + "sr.Change", |
| 7279 | + "Change", |
| 7280 | + "Sr__Change", |
| 7281 | + "sr", |
| 7282 | + sizeof(Sr__Change), |
| 7283 | + 3, |
| 7284 | + sr__change__field_descriptors, |
| 7285 | + sr__change__field_indices_by_name, |
| 7286 | + 1, sr__change__number_ranges, |
| 7287 | + (ProtobufCMessageInit) sr__change__init, |
| 7288 | + NULL,NULL,NULL /* reserved[123] */ |
| 7289 | +}; |
| 7290 | +static const ProtobufCFieldDescriptor sr__get_changes_req__field_descriptors[3] = |
| 7291 | +{ |
| 7292 | + { |
| 7293 | + "xpath", |
| 7294 | + 1, |
| 7295 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7296 | + PROTOBUF_C_TYPE_STRING, |
| 7297 | + 0, /* quantifier_offset */ |
| 7298 | + offsetof(Sr__GetChangesReq, xpath), |
| 7299 | + NULL, |
| 7300 | + NULL, |
| 7301 | + 0, /* flags */ |
| 7302 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7303 | + }, |
| 7304 | + { |
| 7305 | + "limit", |
| 7306 | + 2, |
| 7307 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7308 | + PROTOBUF_C_TYPE_UINT32, |
| 7309 | + 0, /* quantifier_offset */ |
| 7310 | + offsetof(Sr__GetChangesReq, limit), |
| 7311 | + NULL, |
| 7312 | + NULL, |
| 7313 | + 0, /* flags */ |
| 7314 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7315 | + }, |
| 7316 | + { |
| 7317 | + "offset", |
| 7318 | + 3, |
| 7319 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7320 | + PROTOBUF_C_TYPE_UINT32, |
| 7321 | + 0, /* quantifier_offset */ |
| 7322 | + offsetof(Sr__GetChangesReq, offset), |
| 7323 | + NULL, |
| 7324 | + NULL, |
| 7325 | + 0, /* flags */ |
| 7326 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7327 | + }, |
| 7328 | +}; |
| 7329 | +static const unsigned sr__get_changes_req__field_indices_by_name[] = { |
| 7330 | + 1, /* field[1] = limit */ |
| 7331 | + 2, /* field[2] = offset */ |
| 7332 | + 0, /* field[0] = xpath */ |
| 7333 | +}; |
| 7334 | +static const ProtobufCIntRange sr__get_changes_req__number_ranges[1 + 1] = |
| 7335 | +{ |
| 7336 | + { 1, 0 }, |
| 7337 | + { 0, 3 } |
| 7338 | +}; |
| 7339 | +const ProtobufCMessageDescriptor sr__get_changes_req__descriptor = |
| 7340 | +{ |
| 7341 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 7342 | + "sr.GetChangesReq", |
| 7343 | + "GetChangesReq", |
| 7344 | + "Sr__GetChangesReq", |
| 7345 | + "sr", |
| 7346 | + sizeof(Sr__GetChangesReq), |
| 7347 | + 3, |
| 7348 | + sr__get_changes_req__field_descriptors, |
| 7349 | + sr__get_changes_req__field_indices_by_name, |
| 7350 | + 1, sr__get_changes_req__number_ranges, |
| 7351 | + (ProtobufCMessageInit) sr__get_changes_req__init, |
| 7352 | + NULL,NULL,NULL /* reserved[123] */ |
| 7353 | +}; |
| 7354 | +static const ProtobufCFieldDescriptor sr__get_changes_resp__field_descriptors[1] = |
| 7355 | +{ |
| 7356 | + { |
| 7357 | + "changes", |
| 7358 | + 1, |
| 7359 | + PROTOBUF_C_LABEL_REPEATED, |
| 7360 | + PROTOBUF_C_TYPE_MESSAGE, |
| 7361 | + offsetof(Sr__GetChangesResp, n_changes), |
| 7362 | + offsetof(Sr__GetChangesResp, changes), |
| 7363 | + &sr__change__descriptor, |
| 7364 | + NULL, |
| 7365 | + 0, /* flags */ |
| 7366 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7367 | + }, |
| 7368 | +}; |
| 7369 | +static const unsigned sr__get_changes_resp__field_indices_by_name[] = { |
| 7370 | + 0, /* field[0] = changes */ |
| 7371 | +}; |
| 7372 | +static const ProtobufCIntRange sr__get_changes_resp__number_ranges[1 + 1] = |
| 7373 | +{ |
| 7374 | + { 1, 0 }, |
| 7375 | + { 0, 1 } |
| 7376 | +}; |
| 7377 | +const ProtobufCMessageDescriptor sr__get_changes_resp__descriptor = |
| 7378 | +{ |
| 7379 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 7380 | + "sr.GetChangesResp", |
| 7381 | + "GetChangesResp", |
| 7382 | + "Sr__GetChangesResp", |
| 7383 | + "sr", |
| 7384 | + sizeof(Sr__GetChangesResp), |
| 7385 | + 1, |
| 7386 | + sr__get_changes_resp__field_descriptors, |
| 7387 | + sr__get_changes_resp__field_indices_by_name, |
| 7388 | + 1, sr__get_changes_resp__number_ranges, |
| 7389 | + (ProtobufCMessageInit) sr__get_changes_resp__init, |
| 7390 | + NULL,NULL,NULL /* reserved[123] */ |
| 7391 | +}; |
| 7392 | +static const ProtobufCFieldDescriptor sr__check_exec_perm_req__field_descriptors[1] = |
| 7393 | +{ |
| 7394 | + { |
| 7395 | + "xpath", |
| 7396 | + 1, |
| 7397 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7398 | + PROTOBUF_C_TYPE_STRING, |
| 7399 | + 0, /* quantifier_offset */ |
| 7400 | + offsetof(Sr__CheckExecPermReq, xpath), |
| 7401 | + NULL, |
| 7402 | + NULL, |
| 7403 | + 0, /* flags */ |
| 7404 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7405 | + }, |
| 7406 | +}; |
| 7407 | +static const unsigned sr__check_exec_perm_req__field_indices_by_name[] = { |
| 7408 | + 0, /* field[0] = xpath */ |
| 7409 | +}; |
| 7410 | +static const ProtobufCIntRange sr__check_exec_perm_req__number_ranges[1 + 1] = |
| 7411 | +{ |
| 7412 | + { 1, 0 }, |
| 7413 | + { 0, 1 } |
| 7414 | +}; |
| 7415 | +const ProtobufCMessageDescriptor sr__check_exec_perm_req__descriptor = |
| 7416 | +{ |
| 7417 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 7418 | + "sr.CheckExecPermReq", |
| 7419 | + "CheckExecPermReq", |
| 7420 | + "Sr__CheckExecPermReq", |
| 7421 | + "sr", |
| 7422 | + sizeof(Sr__CheckExecPermReq), |
| 7423 | + 1, |
| 7424 | + sr__check_exec_perm_req__field_descriptors, |
| 7425 | + sr__check_exec_perm_req__field_indices_by_name, |
| 7426 | + 1, sr__check_exec_perm_req__number_ranges, |
| 7427 | + (ProtobufCMessageInit) sr__check_exec_perm_req__init, |
| 7428 | + NULL,NULL,NULL /* reserved[123] */ |
| 7429 | +}; |
| 7430 | +static const ProtobufCFieldDescriptor sr__check_exec_perm_resp__field_descriptors[1] = |
| 7431 | +{ |
| 7432 | + { |
| 7433 | + "permitted", |
| 7434 | + 1, |
| 7435 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7436 | + PROTOBUF_C_TYPE_BOOL, |
| 7437 | + 0, /* quantifier_offset */ |
| 7438 | + offsetof(Sr__CheckExecPermResp, permitted), |
| 7439 | + NULL, |
| 7440 | + NULL, |
| 7441 | + 0, /* flags */ |
| 7442 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7443 | + }, |
| 7444 | +}; |
| 7445 | +static const unsigned sr__check_exec_perm_resp__field_indices_by_name[] = { |
| 7446 | + 0, /* field[0] = permitted */ |
| 7447 | +}; |
| 7448 | +static const ProtobufCIntRange sr__check_exec_perm_resp__number_ranges[1 + 1] = |
| 7449 | +{ |
| 7450 | + { 1, 0 }, |
| 7451 | + { 0, 1 } |
| 7452 | +}; |
| 7453 | +const ProtobufCMessageDescriptor sr__check_exec_perm_resp__descriptor = |
| 7454 | +{ |
| 7455 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 7456 | + "sr.CheckExecPermResp", |
| 7457 | + "CheckExecPermResp", |
| 7458 | + "Sr__CheckExecPermResp", |
| 7459 | + "sr", |
| 7460 | + sizeof(Sr__CheckExecPermResp), |
| 7461 | + 1, |
| 7462 | + sr__check_exec_perm_resp__field_descriptors, |
| 7463 | + sr__check_exec_perm_resp__field_indices_by_name, |
| 7464 | + 1, sr__check_exec_perm_resp__number_ranges, |
| 7465 | + (ProtobufCMessageInit) sr__check_exec_perm_resp__init, |
| 7466 | + NULL,NULL,NULL /* reserved[123] */ |
| 7467 | +}; |
| 7468 | +static const ProtobufCFieldDescriptor sr__rpcreq__field_descriptors[7] = |
| 7469 | +{ |
| 7470 | + { |
| 7471 | + "action", |
| 7472 | + 1, |
| 7473 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7474 | + PROTOBUF_C_TYPE_BOOL, |
| 7475 | + 0, /* quantifier_offset */ |
| 7476 | + offsetof(Sr__RPCReq, action), |
| 7477 | + NULL, |
| 7478 | + NULL, |
| 7479 | + 0, /* flags */ |
| 7480 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7481 | + }, |
| 7482 | + { |
| 7483 | + "xpath", |
| 7484 | + 2, |
| 7485 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7486 | + PROTOBUF_C_TYPE_STRING, |
| 7487 | + 0, /* quantifier_offset */ |
| 7488 | + offsetof(Sr__RPCReq, xpath), |
| 7489 | + NULL, |
| 7490 | + NULL, |
| 7491 | + 0, /* flags */ |
| 7492 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7493 | + }, |
| 7494 | + { |
| 7495 | + "orig_api_variant", |
| 7496 | + 3, |
| 7497 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7498 | + PROTOBUF_C_TYPE_ENUM, |
| 7499 | + 0, /* quantifier_offset */ |
| 7500 | + offsetof(Sr__RPCReq, orig_api_variant), |
| 7501 | + &sr__api_variant__descriptor, |
| 7502 | + NULL, |
| 7503 | + 0, /* flags */ |
| 7504 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7505 | + }, |
| 7506 | + { |
| 7507 | + "input", |
| 7508 | + 4, |
| 7509 | + PROTOBUF_C_LABEL_REPEATED, |
| 7510 | + PROTOBUF_C_TYPE_MESSAGE, |
| 7511 | + offsetof(Sr__RPCReq, n_input), |
| 7512 | + offsetof(Sr__RPCReq, input), |
| 7513 | + &sr__value__descriptor, |
| 7514 | + NULL, |
| 7515 | + 0, /* flags */ |
| 7516 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7517 | + }, |
| 7518 | + { |
| 7519 | + "input_tree", |
| 7520 | + 5, |
| 7521 | + PROTOBUF_C_LABEL_REPEATED, |
| 7522 | + PROTOBUF_C_TYPE_MESSAGE, |
| 7523 | + offsetof(Sr__RPCReq, n_input_tree), |
| 7524 | + offsetof(Sr__RPCReq, input_tree), |
| 7525 | + &sr__node__descriptor, |
| 7526 | + NULL, |
| 7527 | + 0, /* flags */ |
| 7528 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7529 | + }, |
| 7530 | + { |
| 7531 | + "subscriber_address", |
| 7532 | + 10, |
| 7533 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 7534 | + PROTOBUF_C_TYPE_STRING, |
| 7535 | + 0, /* quantifier_offset */ |
| 7536 | + offsetof(Sr__RPCReq, subscriber_address), |
| 7537 | + NULL, |
| 7538 | + NULL, |
| 7539 | + 0, /* flags */ |
| 7540 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7541 | + }, |
| 7542 | + { |
| 7543 | + "subscription_id", |
| 7544 | + 11, |
| 7545 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 7546 | + PROTOBUF_C_TYPE_UINT32, |
| 7547 | + offsetof(Sr__RPCReq, has_subscription_id), |
| 7548 | + offsetof(Sr__RPCReq, subscription_id), |
| 7549 | + NULL, |
| 7550 | + NULL, |
| 7551 | + 0, /* flags */ |
| 7552 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7553 | + }, |
| 7554 | +}; |
| 7555 | +static const unsigned sr__rpcreq__field_indices_by_name[] = { |
| 7556 | + 0, /* field[0] = action */ |
| 7557 | + 3, /* field[3] = input */ |
| 7558 | + 4, /* field[4] = input_tree */ |
| 7559 | + 2, /* field[2] = orig_api_variant */ |
| 7560 | + 5, /* field[5] = subscriber_address */ |
| 7561 | + 6, /* field[6] = subscription_id */ |
| 7562 | + 1, /* field[1] = xpath */ |
| 7563 | +}; |
| 7564 | +static const ProtobufCIntRange sr__rpcreq__number_ranges[2 + 1] = |
| 7565 | +{ |
| 7566 | + { 1, 0 }, |
| 7567 | + { 10, 5 }, |
| 7568 | + { 0, 7 } |
| 7569 | +}; |
| 7570 | +const ProtobufCMessageDescriptor sr__rpcreq__descriptor = |
| 7571 | +{ |
| 7572 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 7573 | + "sr.RPCReq", |
| 7574 | + "RPCReq", |
| 7575 | + "Sr__RPCReq", |
| 7576 | + "sr", |
| 7577 | + sizeof(Sr__RPCReq), |
| 7578 | + 7, |
| 7579 | + sr__rpcreq__field_descriptors, |
| 7580 | + sr__rpcreq__field_indices_by_name, |
| 7581 | + 2, sr__rpcreq__number_ranges, |
| 7582 | + (ProtobufCMessageInit) sr__rpcreq__init, |
| 7583 | + NULL,NULL,NULL /* reserved[123] */ |
| 7584 | +}; |
| 7585 | +static const ProtobufCFieldDescriptor sr__rpcresp__field_descriptors[5] = |
| 7586 | +{ |
| 7587 | + { |
| 7588 | + "action", |
| 7589 | + 1, |
| 7590 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7591 | + PROTOBUF_C_TYPE_BOOL, |
| 7592 | + 0, /* quantifier_offset */ |
| 7593 | + offsetof(Sr__RPCResp, action), |
| 7594 | + NULL, |
| 7595 | + NULL, |
| 7596 | + 0, /* flags */ |
| 7597 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7598 | + }, |
| 7599 | + { |
| 7600 | + "xpath", |
| 7601 | + 2, |
| 7602 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7603 | + PROTOBUF_C_TYPE_STRING, |
| 7604 | + 0, /* quantifier_offset */ |
| 7605 | + offsetof(Sr__RPCResp, xpath), |
| 7606 | + NULL, |
| 7607 | + NULL, |
| 7608 | + 0, /* flags */ |
| 7609 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7610 | + }, |
| 7611 | + { |
| 7612 | + "orig_api_variant", |
| 7613 | + 3, |
| 7614 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7615 | + PROTOBUF_C_TYPE_ENUM, |
| 7616 | + 0, /* quantifier_offset */ |
| 7617 | + offsetof(Sr__RPCResp, orig_api_variant), |
| 7618 | + &sr__api_variant__descriptor, |
| 7619 | + NULL, |
| 7620 | + 0, /* flags */ |
| 7621 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7622 | + }, |
| 7623 | + { |
| 7624 | + "output", |
| 7625 | + 4, |
| 7626 | + PROTOBUF_C_LABEL_REPEATED, |
| 7627 | + PROTOBUF_C_TYPE_MESSAGE, |
| 7628 | + offsetof(Sr__RPCResp, n_output), |
| 7629 | + offsetof(Sr__RPCResp, output), |
| 7630 | + &sr__value__descriptor, |
| 7631 | + NULL, |
| 7632 | + 0, /* flags */ |
| 7633 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7634 | + }, |
| 7635 | + { |
| 7636 | + "output_tree", |
| 7637 | + 5, |
| 7638 | + PROTOBUF_C_LABEL_REPEATED, |
| 7639 | + PROTOBUF_C_TYPE_MESSAGE, |
| 7640 | + offsetof(Sr__RPCResp, n_output_tree), |
| 7641 | + offsetof(Sr__RPCResp, output_tree), |
| 7642 | + &sr__node__descriptor, |
| 7643 | + NULL, |
| 7644 | + 0, /* flags */ |
| 7645 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7646 | + }, |
| 7647 | +}; |
| 7648 | +static const unsigned sr__rpcresp__field_indices_by_name[] = { |
| 7649 | + 0, /* field[0] = action */ |
| 7650 | + 2, /* field[2] = orig_api_variant */ |
| 7651 | + 3, /* field[3] = output */ |
| 7652 | + 4, /* field[4] = output_tree */ |
| 7653 | + 1, /* field[1] = xpath */ |
| 7654 | +}; |
| 7655 | +static const ProtobufCIntRange sr__rpcresp__number_ranges[1 + 1] = |
| 7656 | +{ |
| 7657 | + { 1, 0 }, |
| 7658 | + { 0, 5 } |
| 7659 | +}; |
| 7660 | +const ProtobufCMessageDescriptor sr__rpcresp__descriptor = |
| 7661 | +{ |
| 7662 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 7663 | + "sr.RPCResp", |
| 7664 | + "RPCResp", |
| 7665 | + "Sr__RPCResp", |
| 7666 | + "sr", |
| 7667 | + sizeof(Sr__RPCResp), |
| 7668 | + 5, |
| 7669 | + sr__rpcresp__field_descriptors, |
| 7670 | + sr__rpcresp__field_indices_by_name, |
| 7671 | + 1, sr__rpcresp__number_ranges, |
| 7672 | + (ProtobufCMessageInit) sr__rpcresp__init, |
| 7673 | + NULL,NULL,NULL /* reserved[123] */ |
| 7674 | +}; |
| 7675 | +static const ProtobufCEnumValue sr__event_notif_req__notif_type__enum_values_by_number[4] = |
| 7676 | +{ |
| 7677 | + { "REALTIME", "SR__EVENT_NOTIF_REQ__NOTIF_TYPE__REALTIME", 1 }, |
| 7678 | + { "REPLAY", "SR__EVENT_NOTIF_REQ__NOTIF_TYPE__REPLAY", 2 }, |
| 7679 | + { "REPLAY_COMPLETE", "SR__EVENT_NOTIF_REQ__NOTIF_TYPE__REPLAY_COMPLETE", 3 }, |
| 7680 | + { "REPLAY_STOP", "SR__EVENT_NOTIF_REQ__NOTIF_TYPE__REPLAY_STOP", 4 }, |
| 7681 | +}; |
| 7682 | +static const ProtobufCIntRange sr__event_notif_req__notif_type__value_ranges[] = { |
| 7683 | +{1, 0},{0, 4} |
| 7684 | +}; |
| 7685 | +static const ProtobufCEnumValueIndex sr__event_notif_req__notif_type__enum_values_by_name[4] = |
| 7686 | +{ |
| 7687 | + { "REALTIME", 0 }, |
| 7688 | + { "REPLAY", 1 }, |
| 7689 | + { "REPLAY_COMPLETE", 2 }, |
| 7690 | + { "REPLAY_STOP", 3 }, |
| 7691 | +}; |
| 7692 | +const ProtobufCEnumDescriptor sr__event_notif_req__notif_type__descriptor = |
| 7693 | +{ |
| 7694 | + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, |
| 7695 | + "sr.EventNotifReq.NotifType", |
| 7696 | + "NotifType", |
| 7697 | + "Sr__EventNotifReq__NotifType", |
| 7698 | + "sr", |
| 7699 | + 4, |
| 7700 | + sr__event_notif_req__notif_type__enum_values_by_number, |
| 7701 | + 4, |
| 7702 | + sr__event_notif_req__notif_type__enum_values_by_name, |
| 7703 | + 1, |
| 7704 | + sr__event_notif_req__notif_type__value_ranges, |
| 7705 | + NULL,NULL,NULL,NULL /* reserved[1234] */ |
| 7706 | +}; |
| 7707 | +static const ProtobufCEnumValue sr__event_notif_req__notif_flags__enum_values_by_number[2] = |
| 7708 | +{ |
| 7709 | + { "DEFAULT", "SR__EVENT_NOTIF_REQ__NOTIF_FLAGS__DEFAULT", 0 }, |
| 7710 | + { "EPHEMERAL", "SR__EVENT_NOTIF_REQ__NOTIF_FLAGS__EPHEMERAL", 1 }, |
| 7711 | +}; |
| 7712 | +static const ProtobufCIntRange sr__event_notif_req__notif_flags__value_ranges[] = { |
| 7713 | +{0, 0},{0, 2} |
| 7714 | +}; |
| 7715 | +static const ProtobufCEnumValueIndex sr__event_notif_req__notif_flags__enum_values_by_name[2] = |
| 7716 | +{ |
| 7717 | + { "DEFAULT", 0 }, |
| 7718 | + { "EPHEMERAL", 1 }, |
| 7719 | +}; |
| 7720 | +const ProtobufCEnumDescriptor sr__event_notif_req__notif_flags__descriptor = |
| 7721 | +{ |
| 7722 | + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, |
| 7723 | + "sr.EventNotifReq.NotifFlags", |
| 7724 | + "NotifFlags", |
| 7725 | + "Sr__EventNotifReq__NotifFlags", |
| 7726 | + "sr", |
| 7727 | + 2, |
| 7728 | + sr__event_notif_req__notif_flags__enum_values_by_number, |
| 7729 | + 2, |
| 7730 | + sr__event_notif_req__notif_flags__enum_values_by_name, |
| 7731 | + 1, |
| 7732 | + sr__event_notif_req__notif_flags__value_ranges, |
| 7733 | + NULL,NULL,NULL,NULL /* reserved[1234] */ |
| 7734 | +}; |
| 7735 | +static const ProtobufCFieldDescriptor sr__event_notif_req__field_descriptors[9] = |
| 7736 | +{ |
| 7737 | + { |
| 7738 | + "type", |
| 7739 | + 1, |
| 7740 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7741 | + PROTOBUF_C_TYPE_ENUM, |
| 7742 | + 0, /* quantifier_offset */ |
| 7743 | + offsetof(Sr__EventNotifReq, type), |
| 7744 | + &sr__event_notif_req__notif_type__descriptor, |
| 7745 | + NULL, |
| 7746 | + 0, /* flags */ |
| 7747 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7748 | + }, |
| 7749 | + { |
| 7750 | + "options", |
| 7751 | + 2, |
| 7752 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7753 | + PROTOBUF_C_TYPE_UINT32, |
| 7754 | + 0, /* quantifier_offset */ |
| 7755 | + offsetof(Sr__EventNotifReq, options), |
| 7756 | + NULL, |
| 7757 | + NULL, |
| 7758 | + 0, /* flags */ |
| 7759 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7760 | + }, |
| 7761 | + { |
| 7762 | + "xpath", |
| 7763 | + 3, |
| 7764 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7765 | + PROTOBUF_C_TYPE_STRING, |
| 7766 | + 0, /* quantifier_offset */ |
| 7767 | + offsetof(Sr__EventNotifReq, xpath), |
| 7768 | + NULL, |
| 7769 | + NULL, |
| 7770 | + 0, /* flags */ |
| 7771 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7772 | + }, |
| 7773 | + { |
| 7774 | + "values", |
| 7775 | + 4, |
| 7776 | + PROTOBUF_C_LABEL_REPEATED, |
| 7777 | + PROTOBUF_C_TYPE_MESSAGE, |
| 7778 | + offsetof(Sr__EventNotifReq, n_values), |
| 7779 | + offsetof(Sr__EventNotifReq, values), |
| 7780 | + &sr__value__descriptor, |
| 7781 | + NULL, |
| 7782 | + 0, /* flags */ |
| 7783 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7784 | + }, |
| 7785 | + { |
| 7786 | + "trees", |
| 7787 | + 5, |
| 7788 | + PROTOBUF_C_LABEL_REPEATED, |
| 7789 | + PROTOBUF_C_TYPE_MESSAGE, |
| 7790 | + offsetof(Sr__EventNotifReq, n_trees), |
| 7791 | + offsetof(Sr__EventNotifReq, trees), |
| 7792 | + &sr__node__descriptor, |
| 7793 | + NULL, |
| 7794 | + 0, /* flags */ |
| 7795 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7796 | + }, |
| 7797 | + { |
| 7798 | + "timestamp", |
| 7799 | + 6, |
| 7800 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7801 | + PROTOBUF_C_TYPE_UINT64, |
| 7802 | + 0, /* quantifier_offset */ |
| 7803 | + offsetof(Sr__EventNotifReq, timestamp), |
| 7804 | + NULL, |
| 7805 | + NULL, |
| 7806 | + 0, /* flags */ |
| 7807 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7808 | + }, |
| 7809 | + { |
| 7810 | + "subscriber_address", |
| 7811 | + 10, |
| 7812 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 7813 | + PROTOBUF_C_TYPE_STRING, |
| 7814 | + 0, /* quantifier_offset */ |
| 7815 | + offsetof(Sr__EventNotifReq, subscriber_address), |
| 7816 | + NULL, |
| 7817 | + NULL, |
| 7818 | + 0, /* flags */ |
| 7819 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7820 | + }, |
| 7821 | + { |
| 7822 | + "subscription_id", |
| 7823 | + 11, |
| 7824 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 7825 | + PROTOBUF_C_TYPE_UINT32, |
| 7826 | + offsetof(Sr__EventNotifReq, has_subscription_id), |
| 7827 | + offsetof(Sr__EventNotifReq, subscription_id), |
| 7828 | + NULL, |
| 7829 | + NULL, |
| 7830 | + 0, /* flags */ |
| 7831 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7832 | + }, |
| 7833 | + { |
| 7834 | + "do_not_send_reply", |
| 7835 | + 20, |
| 7836 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7837 | + PROTOBUF_C_TYPE_BOOL, |
| 7838 | + 0, /* quantifier_offset */ |
| 7839 | + offsetof(Sr__EventNotifReq, do_not_send_reply), |
| 7840 | + NULL, |
| 7841 | + NULL, |
| 7842 | + 0, /* flags */ |
| 7843 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7844 | + }, |
| 7845 | +}; |
| 7846 | +static const unsigned sr__event_notif_req__field_indices_by_name[] = { |
| 7847 | + 8, /* field[8] = do_not_send_reply */ |
| 7848 | + 1, /* field[1] = options */ |
| 7849 | + 6, /* field[6] = subscriber_address */ |
| 7850 | + 7, /* field[7] = subscription_id */ |
| 7851 | + 5, /* field[5] = timestamp */ |
| 7852 | + 4, /* field[4] = trees */ |
| 7853 | + 0, /* field[0] = type */ |
| 7854 | + 3, /* field[3] = values */ |
| 7855 | + 2, /* field[2] = xpath */ |
| 7856 | +}; |
| 7857 | +static const ProtobufCIntRange sr__event_notif_req__number_ranges[3 + 1] = |
| 7858 | +{ |
| 7859 | + { 1, 0 }, |
| 7860 | + { 10, 6 }, |
| 7861 | + { 20, 8 }, |
| 7862 | + { 0, 9 } |
| 7863 | +}; |
| 7864 | +const ProtobufCMessageDescriptor sr__event_notif_req__descriptor = |
| 7865 | +{ |
| 7866 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 7867 | + "sr.EventNotifReq", |
| 7868 | + "EventNotifReq", |
| 7869 | + "Sr__EventNotifReq", |
| 7870 | + "sr", |
| 7871 | + sizeof(Sr__EventNotifReq), |
| 7872 | + 9, |
| 7873 | + sr__event_notif_req__field_descriptors, |
| 7874 | + sr__event_notif_req__field_indices_by_name, |
| 7875 | + 3, sr__event_notif_req__number_ranges, |
| 7876 | + (ProtobufCMessageInit) sr__event_notif_req__init, |
| 7877 | + NULL,NULL,NULL /* reserved[123] */ |
| 7878 | +}; |
| 7879 | +#define sr__event_notif_resp__field_descriptors NULL |
| 7880 | +#define sr__event_notif_resp__field_indices_by_name NULL |
| 7881 | +#define sr__event_notif_resp__number_ranges NULL |
| 7882 | +const ProtobufCMessageDescriptor sr__event_notif_resp__descriptor = |
| 7883 | +{ |
| 7884 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 7885 | + "sr.EventNotifResp", |
| 7886 | + "EventNotifResp", |
| 7887 | + "Sr__EventNotifResp", |
| 7888 | + "sr", |
| 7889 | + sizeof(Sr__EventNotifResp), |
| 7890 | + 0, |
| 7891 | + sr__event_notif_resp__field_descriptors, |
| 7892 | + sr__event_notif_resp__field_indices_by_name, |
| 7893 | + 0, sr__event_notif_resp__number_ranges, |
| 7894 | + (ProtobufCMessageInit) sr__event_notif_resp__init, |
| 7895 | + NULL,NULL,NULL /* reserved[123] */ |
| 7896 | +}; |
| 7897 | +static const ProtobufCFieldDescriptor sr__event_notif_replay_req__field_descriptors[6] = |
| 7898 | +{ |
| 7899 | + { |
| 7900 | + "xpath", |
| 7901 | + 1, |
| 7902 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7903 | + PROTOBUF_C_TYPE_STRING, |
| 7904 | + 0, /* quantifier_offset */ |
| 7905 | + offsetof(Sr__EventNotifReplayReq, xpath), |
| 7906 | + NULL, |
| 7907 | + NULL, |
| 7908 | + 0, /* flags */ |
| 7909 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7910 | + }, |
| 7911 | + { |
| 7912 | + "start_time", |
| 7913 | + 2, |
| 7914 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7915 | + PROTOBUF_C_TYPE_UINT64, |
| 7916 | + 0, /* quantifier_offset */ |
| 7917 | + offsetof(Sr__EventNotifReplayReq, start_time), |
| 7918 | + NULL, |
| 7919 | + NULL, |
| 7920 | + 0, /* flags */ |
| 7921 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7922 | + }, |
| 7923 | + { |
| 7924 | + "stop_time", |
| 7925 | + 3, |
| 7926 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7927 | + PROTOBUF_C_TYPE_UINT64, |
| 7928 | + 0, /* quantifier_offset */ |
| 7929 | + offsetof(Sr__EventNotifReplayReq, stop_time), |
| 7930 | + NULL, |
| 7931 | + NULL, |
| 7932 | + 0, /* flags */ |
| 7933 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7934 | + }, |
| 7935 | + { |
| 7936 | + "subscriber_address", |
| 7937 | + 10, |
| 7938 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7939 | + PROTOBUF_C_TYPE_STRING, |
| 7940 | + 0, /* quantifier_offset */ |
| 7941 | + offsetof(Sr__EventNotifReplayReq, subscriber_address), |
| 7942 | + NULL, |
| 7943 | + NULL, |
| 7944 | + 0, /* flags */ |
| 7945 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7946 | + }, |
| 7947 | + { |
| 7948 | + "subscription_id", |
| 7949 | + 11, |
| 7950 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7951 | + PROTOBUF_C_TYPE_UINT32, |
| 7952 | + 0, /* quantifier_offset */ |
| 7953 | + offsetof(Sr__EventNotifReplayReq, subscription_id), |
| 7954 | + NULL, |
| 7955 | + NULL, |
| 7956 | + 0, /* flags */ |
| 7957 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7958 | + }, |
| 7959 | + { |
| 7960 | + "api_variant", |
| 7961 | + 12, |
| 7962 | + PROTOBUF_C_LABEL_REQUIRED, |
| 7963 | + PROTOBUF_C_TYPE_ENUM, |
| 7964 | + 0, /* quantifier_offset */ |
| 7965 | + offsetof(Sr__EventNotifReplayReq, api_variant), |
| 7966 | + &sr__api_variant__descriptor, |
| 7967 | + NULL, |
| 7968 | + 0, /* flags */ |
| 7969 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 7970 | + }, |
| 7971 | +}; |
| 7972 | +static const unsigned sr__event_notif_replay_req__field_indices_by_name[] = { |
| 7973 | + 5, /* field[5] = api_variant */ |
| 7974 | + 1, /* field[1] = start_time */ |
| 7975 | + 2, /* field[2] = stop_time */ |
| 7976 | + 3, /* field[3] = subscriber_address */ |
| 7977 | + 4, /* field[4] = subscription_id */ |
| 7978 | + 0, /* field[0] = xpath */ |
| 7979 | +}; |
| 7980 | +static const ProtobufCIntRange sr__event_notif_replay_req__number_ranges[2 + 1] = |
| 7981 | +{ |
| 7982 | + { 1, 0 }, |
| 7983 | + { 10, 3 }, |
| 7984 | + { 0, 6 } |
| 7985 | +}; |
| 7986 | +const ProtobufCMessageDescriptor sr__event_notif_replay_req__descriptor = |
| 7987 | +{ |
| 7988 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 7989 | + "sr.EventNotifReplayReq", |
| 7990 | + "EventNotifReplayReq", |
| 7991 | + "Sr__EventNotifReplayReq", |
| 7992 | + "sr", |
| 7993 | + sizeof(Sr__EventNotifReplayReq), |
| 7994 | + 6, |
| 7995 | + sr__event_notif_replay_req__field_descriptors, |
| 7996 | + sr__event_notif_replay_req__field_indices_by_name, |
| 7997 | + 2, sr__event_notif_replay_req__number_ranges, |
| 7998 | + (ProtobufCMessageInit) sr__event_notif_replay_req__init, |
| 7999 | + NULL,NULL,NULL /* reserved[123] */ |
| 8000 | +}; |
| 8001 | +#define sr__event_notif_replay_resp__field_descriptors NULL |
| 8002 | +#define sr__event_notif_replay_resp__field_indices_by_name NULL |
| 8003 | +#define sr__event_notif_replay_resp__number_ranges NULL |
| 8004 | +const ProtobufCMessageDescriptor sr__event_notif_replay_resp__descriptor = |
| 8005 | +{ |
| 8006 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 8007 | + "sr.EventNotifReplayResp", |
| 8008 | + "EventNotifReplayResp", |
| 8009 | + "Sr__EventNotifReplayResp", |
| 8010 | + "sr", |
| 8011 | + sizeof(Sr__EventNotifReplayResp), |
| 8012 | + 0, |
| 8013 | + sr__event_notif_replay_resp__field_descriptors, |
| 8014 | + sr__event_notif_replay_resp__field_indices_by_name, |
| 8015 | + 0, sr__event_notif_replay_resp__number_ranges, |
| 8016 | + (ProtobufCMessageInit) sr__event_notif_replay_resp__init, |
| 8017 | + NULL,NULL,NULL /* reserved[123] */ |
| 8018 | +}; |
| 8019 | +static const ProtobufCFieldDescriptor sr__data_provide_req__field_descriptors[4] = |
| 8020 | +{ |
| 8021 | + { |
| 8022 | + "xpath", |
| 8023 | + 1, |
| 8024 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8025 | + PROTOBUF_C_TYPE_STRING, |
| 8026 | + 0, /* quantifier_offset */ |
| 8027 | + offsetof(Sr__DataProvideReq, xpath), |
| 8028 | + NULL, |
| 8029 | + NULL, |
| 8030 | + 0, /* flags */ |
| 8031 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8032 | + }, |
| 8033 | + { |
| 8034 | + "subscriber_address", |
| 8035 | + 10, |
| 8036 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8037 | + PROTOBUF_C_TYPE_STRING, |
| 8038 | + 0, /* quantifier_offset */ |
| 8039 | + offsetof(Sr__DataProvideReq, subscriber_address), |
| 8040 | + NULL, |
| 8041 | + NULL, |
| 8042 | + 0, /* flags */ |
| 8043 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8044 | + }, |
| 8045 | + { |
| 8046 | + "subscription_id", |
| 8047 | + 11, |
| 8048 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8049 | + PROTOBUF_C_TYPE_UINT32, |
| 8050 | + 0, /* quantifier_offset */ |
| 8051 | + offsetof(Sr__DataProvideReq, subscription_id), |
| 8052 | + NULL, |
| 8053 | + NULL, |
| 8054 | + 0, /* flags */ |
| 8055 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8056 | + }, |
| 8057 | + { |
| 8058 | + "request_id", |
| 8059 | + 20, |
| 8060 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8061 | + PROTOBUF_C_TYPE_UINT64, |
| 8062 | + 0, /* quantifier_offset */ |
| 8063 | + offsetof(Sr__DataProvideReq, request_id), |
| 8064 | + NULL, |
| 8065 | + NULL, |
| 8066 | + 0, /* flags */ |
| 8067 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8068 | + }, |
| 8069 | +}; |
| 8070 | +static const unsigned sr__data_provide_req__field_indices_by_name[] = { |
| 8071 | + 3, /* field[3] = request_id */ |
| 8072 | + 1, /* field[1] = subscriber_address */ |
| 8073 | + 2, /* field[2] = subscription_id */ |
| 8074 | + 0, /* field[0] = xpath */ |
| 8075 | +}; |
| 8076 | +static const ProtobufCIntRange sr__data_provide_req__number_ranges[3 + 1] = |
| 8077 | +{ |
| 8078 | + { 1, 0 }, |
| 8079 | + { 10, 1 }, |
| 8080 | + { 20, 3 }, |
| 8081 | + { 0, 4 } |
| 8082 | +}; |
| 8083 | +const ProtobufCMessageDescriptor sr__data_provide_req__descriptor = |
| 8084 | +{ |
| 8085 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 8086 | + "sr.DataProvideReq", |
| 8087 | + "DataProvideReq", |
| 8088 | + "Sr__DataProvideReq", |
| 8089 | + "sr", |
| 8090 | + sizeof(Sr__DataProvideReq), |
| 8091 | + 4, |
| 8092 | + sr__data_provide_req__field_descriptors, |
| 8093 | + sr__data_provide_req__field_indices_by_name, |
| 8094 | + 3, sr__data_provide_req__number_ranges, |
| 8095 | + (ProtobufCMessageInit) sr__data_provide_req__init, |
| 8096 | + NULL,NULL,NULL /* reserved[123] */ |
| 8097 | +}; |
| 8098 | +static const ProtobufCFieldDescriptor sr__data_provide_resp__field_descriptors[3] = |
| 8099 | +{ |
| 8100 | + { |
| 8101 | + "xpath", |
| 8102 | + 1, |
| 8103 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8104 | + PROTOBUF_C_TYPE_STRING, |
| 8105 | + 0, /* quantifier_offset */ |
| 8106 | + offsetof(Sr__DataProvideResp, xpath), |
| 8107 | + NULL, |
| 8108 | + NULL, |
| 8109 | + 0, /* flags */ |
| 8110 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8111 | + }, |
| 8112 | + { |
| 8113 | + "values", |
| 8114 | + 2, |
| 8115 | + PROTOBUF_C_LABEL_REPEATED, |
| 8116 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8117 | + offsetof(Sr__DataProvideResp, n_values), |
| 8118 | + offsetof(Sr__DataProvideResp, values), |
| 8119 | + &sr__value__descriptor, |
| 8120 | + NULL, |
| 8121 | + 0, /* flags */ |
| 8122 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8123 | + }, |
| 8124 | + { |
| 8125 | + "request_id", |
| 8126 | + 10, |
| 8127 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8128 | + PROTOBUF_C_TYPE_UINT64, |
| 8129 | + 0, /* quantifier_offset */ |
| 8130 | + offsetof(Sr__DataProvideResp, request_id), |
| 8131 | + NULL, |
| 8132 | + NULL, |
| 8133 | + 0, /* flags */ |
| 8134 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8135 | + }, |
| 8136 | +}; |
| 8137 | +static const unsigned sr__data_provide_resp__field_indices_by_name[] = { |
| 8138 | + 2, /* field[2] = request_id */ |
| 8139 | + 1, /* field[1] = values */ |
| 8140 | + 0, /* field[0] = xpath */ |
| 8141 | +}; |
| 8142 | +static const ProtobufCIntRange sr__data_provide_resp__number_ranges[2 + 1] = |
| 8143 | +{ |
| 8144 | + { 1, 0 }, |
| 8145 | + { 10, 2 }, |
| 8146 | + { 0, 3 } |
| 8147 | +}; |
| 8148 | +const ProtobufCMessageDescriptor sr__data_provide_resp__descriptor = |
| 8149 | +{ |
| 8150 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 8151 | + "sr.DataProvideResp", |
| 8152 | + "DataProvideResp", |
| 8153 | + "Sr__DataProvideResp", |
| 8154 | + "sr", |
| 8155 | + sizeof(Sr__DataProvideResp), |
| 8156 | + 3, |
| 8157 | + sr__data_provide_resp__field_descriptors, |
| 8158 | + sr__data_provide_resp__field_indices_by_name, |
| 8159 | + 2, sr__data_provide_resp__number_ranges, |
| 8160 | + (ProtobufCMessageInit) sr__data_provide_resp__init, |
| 8161 | + NULL,NULL,NULL /* reserved[123] */ |
| 8162 | +}; |
| 8163 | +static const ProtobufCFieldDescriptor sr__module_install_req__field_descriptors[4] = |
| 8164 | +{ |
| 8165 | + { |
| 8166 | + "module_name", |
| 8167 | + 1, |
| 8168 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8169 | + PROTOBUF_C_TYPE_STRING, |
| 8170 | + 0, /* quantifier_offset */ |
| 8171 | + offsetof(Sr__ModuleInstallReq, module_name), |
| 8172 | + NULL, |
| 8173 | + NULL, |
| 8174 | + 0, /* flags */ |
| 8175 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8176 | + }, |
| 8177 | + { |
| 8178 | + "revision", |
| 8179 | + 2, |
| 8180 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8181 | + PROTOBUF_C_TYPE_STRING, |
| 8182 | + 0, /* quantifier_offset */ |
| 8183 | + offsetof(Sr__ModuleInstallReq, revision), |
| 8184 | + NULL, |
| 8185 | + NULL, |
| 8186 | + 0, /* flags */ |
| 8187 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8188 | + }, |
| 8189 | + { |
| 8190 | + "file_name", |
| 8191 | + 3, |
| 8192 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8193 | + PROTOBUF_C_TYPE_STRING, |
| 8194 | + 0, /* quantifier_offset */ |
| 8195 | + offsetof(Sr__ModuleInstallReq, file_name), |
| 8196 | + NULL, |
| 8197 | + NULL, |
| 8198 | + 0, /* flags */ |
| 8199 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8200 | + }, |
| 8201 | + { |
| 8202 | + "installed", |
| 8203 | + 4, |
| 8204 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8205 | + PROTOBUF_C_TYPE_BOOL, |
| 8206 | + 0, /* quantifier_offset */ |
| 8207 | + offsetof(Sr__ModuleInstallReq, installed), |
| 8208 | + NULL, |
| 8209 | + NULL, |
| 8210 | + 0, /* flags */ |
| 8211 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8212 | + }, |
| 8213 | +}; |
| 8214 | +static const unsigned sr__module_install_req__field_indices_by_name[] = { |
| 8215 | + 2, /* field[2] = file_name */ |
| 8216 | + 3, /* field[3] = installed */ |
| 8217 | + 0, /* field[0] = module_name */ |
| 8218 | + 1, /* field[1] = revision */ |
| 8219 | +}; |
| 8220 | +static const ProtobufCIntRange sr__module_install_req__number_ranges[1 + 1] = |
| 8221 | +{ |
| 8222 | + { 1, 0 }, |
| 8223 | + { 0, 4 } |
| 8224 | +}; |
| 8225 | +const ProtobufCMessageDescriptor sr__module_install_req__descriptor = |
| 8226 | +{ |
| 8227 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 8228 | + "sr.ModuleInstallReq", |
| 8229 | + "ModuleInstallReq", |
| 8230 | + "Sr__ModuleInstallReq", |
| 8231 | + "sr", |
| 8232 | + sizeof(Sr__ModuleInstallReq), |
| 8233 | + 4, |
| 8234 | + sr__module_install_req__field_descriptors, |
| 8235 | + sr__module_install_req__field_indices_by_name, |
| 8236 | + 1, sr__module_install_req__number_ranges, |
| 8237 | + (ProtobufCMessageInit) sr__module_install_req__init, |
| 8238 | + NULL,NULL,NULL /* reserved[123] */ |
| 8239 | +}; |
| 8240 | +#define sr__module_install_resp__field_descriptors NULL |
| 8241 | +#define sr__module_install_resp__field_indices_by_name NULL |
| 8242 | +#define sr__module_install_resp__number_ranges NULL |
| 8243 | +const ProtobufCMessageDescriptor sr__module_install_resp__descriptor = |
| 8244 | +{ |
| 8245 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 8246 | + "sr.ModuleInstallResp", |
| 8247 | + "ModuleInstallResp", |
| 8248 | + "Sr__ModuleInstallResp", |
| 8249 | + "sr", |
| 8250 | + sizeof(Sr__ModuleInstallResp), |
| 8251 | + 0, |
| 8252 | + sr__module_install_resp__field_descriptors, |
| 8253 | + sr__module_install_resp__field_indices_by_name, |
| 8254 | + 0, sr__module_install_resp__number_ranges, |
| 8255 | + (ProtobufCMessageInit) sr__module_install_resp__init, |
| 8256 | + NULL,NULL,NULL /* reserved[123] */ |
| 8257 | +}; |
| 8258 | +static const ProtobufCFieldDescriptor sr__feature_enable_req__field_descriptors[3] = |
| 8259 | +{ |
| 8260 | + { |
| 8261 | + "module_name", |
| 8262 | + 1, |
| 8263 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8264 | + PROTOBUF_C_TYPE_STRING, |
| 8265 | + 0, /* quantifier_offset */ |
| 8266 | + offsetof(Sr__FeatureEnableReq, module_name), |
| 8267 | + NULL, |
| 8268 | + NULL, |
| 8269 | + 0, /* flags */ |
| 8270 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8271 | + }, |
| 8272 | + { |
| 8273 | + "feature_name", |
| 8274 | + 2, |
| 8275 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8276 | + PROTOBUF_C_TYPE_STRING, |
| 8277 | + 0, /* quantifier_offset */ |
| 8278 | + offsetof(Sr__FeatureEnableReq, feature_name), |
| 8279 | + NULL, |
| 8280 | + NULL, |
| 8281 | + 0, /* flags */ |
| 8282 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8283 | + }, |
| 8284 | + { |
| 8285 | + "enabled", |
| 8286 | + 3, |
| 8287 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8288 | + PROTOBUF_C_TYPE_BOOL, |
| 8289 | + 0, /* quantifier_offset */ |
| 8290 | + offsetof(Sr__FeatureEnableReq, enabled), |
| 8291 | + NULL, |
| 8292 | + NULL, |
| 8293 | + 0, /* flags */ |
| 8294 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8295 | + }, |
| 8296 | +}; |
| 8297 | +static const unsigned sr__feature_enable_req__field_indices_by_name[] = { |
| 8298 | + 2, /* field[2] = enabled */ |
| 8299 | + 1, /* field[1] = feature_name */ |
| 8300 | + 0, /* field[0] = module_name */ |
| 8301 | +}; |
| 8302 | +static const ProtobufCIntRange sr__feature_enable_req__number_ranges[1 + 1] = |
| 8303 | +{ |
| 8304 | + { 1, 0 }, |
| 8305 | + { 0, 3 } |
| 8306 | +}; |
| 8307 | +const ProtobufCMessageDescriptor sr__feature_enable_req__descriptor = |
| 8308 | +{ |
| 8309 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 8310 | + "sr.FeatureEnableReq", |
| 8311 | + "FeatureEnableReq", |
| 8312 | + "Sr__FeatureEnableReq", |
| 8313 | + "sr", |
| 8314 | + sizeof(Sr__FeatureEnableReq), |
| 8315 | + 3, |
| 8316 | + sr__feature_enable_req__field_descriptors, |
| 8317 | + sr__feature_enable_req__field_indices_by_name, |
| 8318 | + 1, sr__feature_enable_req__number_ranges, |
| 8319 | + (ProtobufCMessageInit) sr__feature_enable_req__init, |
| 8320 | + NULL,NULL,NULL /* reserved[123] */ |
| 8321 | +}; |
| 8322 | +#define sr__feature_enable_resp__field_descriptors NULL |
| 8323 | +#define sr__feature_enable_resp__field_indices_by_name NULL |
| 8324 | +#define sr__feature_enable_resp__number_ranges NULL |
| 8325 | +const ProtobufCMessageDescriptor sr__feature_enable_resp__descriptor = |
| 8326 | +{ |
| 8327 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 8328 | + "sr.FeatureEnableResp", |
| 8329 | + "FeatureEnableResp", |
| 8330 | + "Sr__FeatureEnableResp", |
| 8331 | + "sr", |
| 8332 | + sizeof(Sr__FeatureEnableResp), |
| 8333 | + 0, |
| 8334 | + sr__feature_enable_resp__field_descriptors, |
| 8335 | + sr__feature_enable_resp__field_indices_by_name, |
| 8336 | + 0, sr__feature_enable_resp__number_ranges, |
| 8337 | + (ProtobufCMessageInit) sr__feature_enable_resp__init, |
| 8338 | + NULL,NULL,NULL /* reserved[123] */ |
| 8339 | +}; |
| 8340 | +static const ProtobufCFieldDescriptor sr__unsubscribe_destination_req__field_descriptors[1] = |
| 8341 | +{ |
| 8342 | + { |
| 8343 | + "destination", |
| 8344 | + 1, |
| 8345 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8346 | + PROTOBUF_C_TYPE_STRING, |
| 8347 | + 0, /* quantifier_offset */ |
| 8348 | + offsetof(Sr__UnsubscribeDestinationReq, destination), |
| 8349 | + NULL, |
| 8350 | + NULL, |
| 8351 | + 0, /* flags */ |
| 8352 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8353 | + }, |
| 8354 | +}; |
| 8355 | +static const unsigned sr__unsubscribe_destination_req__field_indices_by_name[] = { |
| 8356 | + 0, /* field[0] = destination */ |
| 8357 | +}; |
| 8358 | +static const ProtobufCIntRange sr__unsubscribe_destination_req__number_ranges[1 + 1] = |
| 8359 | +{ |
| 8360 | + { 1, 0 }, |
| 8361 | + { 0, 1 } |
| 8362 | +}; |
| 8363 | +const ProtobufCMessageDescriptor sr__unsubscribe_destination_req__descriptor = |
| 8364 | +{ |
| 8365 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 8366 | + "sr.UnsubscribeDestinationReq", |
| 8367 | + "UnsubscribeDestinationReq", |
| 8368 | + "Sr__UnsubscribeDestinationReq", |
| 8369 | + "sr", |
| 8370 | + sizeof(Sr__UnsubscribeDestinationReq), |
| 8371 | + 1, |
| 8372 | + sr__unsubscribe_destination_req__field_descriptors, |
| 8373 | + sr__unsubscribe_destination_req__field_indices_by_name, |
| 8374 | + 1, sr__unsubscribe_destination_req__number_ranges, |
| 8375 | + (ProtobufCMessageInit) sr__unsubscribe_destination_req__init, |
| 8376 | + NULL,NULL,NULL /* reserved[123] */ |
| 8377 | +}; |
| 8378 | +static const ProtobufCFieldDescriptor sr__commit_timeout_req__field_descriptors[2] = |
| 8379 | +{ |
| 8380 | + { |
| 8381 | + "commit_id", |
| 8382 | + 1, |
| 8383 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8384 | + PROTOBUF_C_TYPE_UINT32, |
| 8385 | + 0, /* quantifier_offset */ |
| 8386 | + offsetof(Sr__CommitTimeoutReq, commit_id), |
| 8387 | + NULL, |
| 8388 | + NULL, |
| 8389 | + 0, /* flags */ |
| 8390 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8391 | + }, |
| 8392 | + { |
| 8393 | + "expired", |
| 8394 | + 2, |
| 8395 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8396 | + PROTOBUF_C_TYPE_BOOL, |
| 8397 | + 0, /* quantifier_offset */ |
| 8398 | + offsetof(Sr__CommitTimeoutReq, expired), |
| 8399 | + NULL, |
| 8400 | + NULL, |
| 8401 | + 0, /* flags */ |
| 8402 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8403 | + }, |
| 8404 | +}; |
| 8405 | +static const unsigned sr__commit_timeout_req__field_indices_by_name[] = { |
| 8406 | + 0, /* field[0] = commit_id */ |
| 8407 | + 1, /* field[1] = expired */ |
| 8408 | +}; |
| 8409 | +static const ProtobufCIntRange sr__commit_timeout_req__number_ranges[1 + 1] = |
| 8410 | +{ |
| 8411 | + { 1, 0 }, |
| 8412 | + { 0, 2 } |
| 8413 | +}; |
| 8414 | +const ProtobufCMessageDescriptor sr__commit_timeout_req__descriptor = |
| 8415 | +{ |
| 8416 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 8417 | + "sr.CommitTimeoutReq", |
| 8418 | + "CommitTimeoutReq", |
| 8419 | + "Sr__CommitTimeoutReq", |
| 8420 | + "sr", |
| 8421 | + sizeof(Sr__CommitTimeoutReq), |
| 8422 | + 2, |
| 8423 | + sr__commit_timeout_req__field_descriptors, |
| 8424 | + sr__commit_timeout_req__field_indices_by_name, |
| 8425 | + 1, sr__commit_timeout_req__number_ranges, |
| 8426 | + (ProtobufCMessageInit) sr__commit_timeout_req__init, |
| 8427 | + NULL,NULL,NULL /* reserved[123] */ |
| 8428 | +}; |
| 8429 | +static const ProtobufCFieldDescriptor sr__oper_data_timeout_req__field_descriptors[1] = |
| 8430 | +{ |
| 8431 | + { |
| 8432 | + "request_id", |
| 8433 | + 1, |
| 8434 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8435 | + PROTOBUF_C_TYPE_UINT64, |
| 8436 | + 0, /* quantifier_offset */ |
| 8437 | + offsetof(Sr__OperDataTimeoutReq, request_id), |
| 8438 | + NULL, |
| 8439 | + NULL, |
| 8440 | + 0, /* flags */ |
| 8441 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8442 | + }, |
| 8443 | +}; |
| 8444 | +static const unsigned sr__oper_data_timeout_req__field_indices_by_name[] = { |
| 8445 | + 0, /* field[0] = request_id */ |
| 8446 | +}; |
| 8447 | +static const ProtobufCIntRange sr__oper_data_timeout_req__number_ranges[1 + 1] = |
| 8448 | +{ |
| 8449 | + { 1, 0 }, |
| 8450 | + { 0, 1 } |
| 8451 | +}; |
| 8452 | +const ProtobufCMessageDescriptor sr__oper_data_timeout_req__descriptor = |
| 8453 | +{ |
| 8454 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 8455 | + "sr.OperDataTimeoutReq", |
| 8456 | + "OperDataTimeoutReq", |
| 8457 | + "Sr__OperDataTimeoutReq", |
| 8458 | + "sr", |
| 8459 | + sizeof(Sr__OperDataTimeoutReq), |
| 8460 | + 1, |
| 8461 | + sr__oper_data_timeout_req__field_descriptors, |
| 8462 | + sr__oper_data_timeout_req__field_indices_by_name, |
| 8463 | + 1, sr__oper_data_timeout_req__number_ranges, |
| 8464 | + (ProtobufCMessageInit) sr__oper_data_timeout_req__init, |
| 8465 | + NULL,NULL,NULL /* reserved[123] */ |
| 8466 | +}; |
| 8467 | +static const ProtobufCFieldDescriptor sr__internal_state_data_req__field_descriptors[2] = |
| 8468 | +{ |
| 8469 | + { |
| 8470 | + "request_id", |
| 8471 | + 1, |
| 8472 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8473 | + PROTOBUF_C_TYPE_UINT64, |
| 8474 | + 0, /* quantifier_offset */ |
| 8475 | + offsetof(Sr__InternalStateDataReq, request_id), |
| 8476 | + NULL, |
| 8477 | + NULL, |
| 8478 | + 0, /* flags */ |
| 8479 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8480 | + }, |
| 8481 | + { |
| 8482 | + "xpath", |
| 8483 | + 2, |
| 8484 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8485 | + PROTOBUF_C_TYPE_STRING, |
| 8486 | + 0, /* quantifier_offset */ |
| 8487 | + offsetof(Sr__InternalStateDataReq, xpath), |
| 8488 | + NULL, |
| 8489 | + NULL, |
| 8490 | + 0, /* flags */ |
| 8491 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8492 | + }, |
| 8493 | +}; |
| 8494 | +static const unsigned sr__internal_state_data_req__field_indices_by_name[] = { |
| 8495 | + 0, /* field[0] = request_id */ |
| 8496 | + 1, /* field[1] = xpath */ |
| 8497 | +}; |
| 8498 | +static const ProtobufCIntRange sr__internal_state_data_req__number_ranges[1 + 1] = |
| 8499 | +{ |
| 8500 | + { 1, 0 }, |
| 8501 | + { 0, 2 } |
| 8502 | +}; |
| 8503 | +const ProtobufCMessageDescriptor sr__internal_state_data_req__descriptor = |
| 8504 | +{ |
| 8505 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 8506 | + "sr.InternalStateDataReq", |
| 8507 | + "InternalStateDataReq", |
| 8508 | + "Sr__InternalStateDataReq", |
| 8509 | + "sr", |
| 8510 | + sizeof(Sr__InternalStateDataReq), |
| 8511 | + 2, |
| 8512 | + sr__internal_state_data_req__field_descriptors, |
| 8513 | + sr__internal_state_data_req__field_indices_by_name, |
| 8514 | + 1, sr__internal_state_data_req__number_ranges, |
| 8515 | + (ProtobufCMessageInit) sr__internal_state_data_req__init, |
| 8516 | + NULL,NULL,NULL /* reserved[123] */ |
| 8517 | +}; |
| 8518 | +#define sr__notif_store_cleanup_req__field_descriptors NULL |
| 8519 | +#define sr__notif_store_cleanup_req__field_indices_by_name NULL |
| 8520 | +#define sr__notif_store_cleanup_req__number_ranges NULL |
| 8521 | +const ProtobufCMessageDescriptor sr__notif_store_cleanup_req__descriptor = |
| 8522 | +{ |
| 8523 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 8524 | + "sr.NotifStoreCleanupReq", |
| 8525 | + "NotifStoreCleanupReq", |
| 8526 | + "Sr__NotifStoreCleanupReq", |
| 8527 | + "sr", |
| 8528 | + sizeof(Sr__NotifStoreCleanupReq), |
| 8529 | + 0, |
| 8530 | + sr__notif_store_cleanup_req__field_descriptors, |
| 8531 | + sr__notif_store_cleanup_req__field_indices_by_name, |
| 8532 | + 0, sr__notif_store_cleanup_req__number_ranges, |
| 8533 | + (ProtobufCMessageInit) sr__notif_store_cleanup_req__init, |
| 8534 | + NULL,NULL,NULL /* reserved[123] */ |
| 8535 | +}; |
| 8536 | +static const ProtobufCFieldDescriptor sr__delayed_msg_req__field_descriptors[1] = |
| 8537 | +{ |
| 8538 | + { |
| 8539 | + "message", |
| 8540 | + 1, |
| 8541 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8542 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8543 | + 0, /* quantifier_offset */ |
| 8544 | + offsetof(Sr__DelayedMsgReq, message), |
| 8545 | + &sr__msg__descriptor, |
| 8546 | + NULL, |
| 8547 | + 0, /* flags */ |
| 8548 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8549 | + }, |
| 8550 | +}; |
| 8551 | +static const unsigned sr__delayed_msg_req__field_indices_by_name[] = { |
| 8552 | + 0, /* field[0] = message */ |
| 8553 | +}; |
| 8554 | +static const ProtobufCIntRange sr__delayed_msg_req__number_ranges[1 + 1] = |
| 8555 | +{ |
| 8556 | + { 1, 0 }, |
| 8557 | + { 0, 1 } |
| 8558 | +}; |
| 8559 | +const ProtobufCMessageDescriptor sr__delayed_msg_req__descriptor = |
| 8560 | +{ |
| 8561 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 8562 | + "sr.DelayedMsgReq", |
| 8563 | + "DelayedMsgReq", |
| 8564 | + "Sr__DelayedMsgReq", |
| 8565 | + "sr", |
| 8566 | + sizeof(Sr__DelayedMsgReq), |
| 8567 | + 1, |
| 8568 | + sr__delayed_msg_req__field_descriptors, |
| 8569 | + sr__delayed_msg_req__field_indices_by_name, |
| 8570 | + 1, sr__delayed_msg_req__number_ranges, |
| 8571 | + (ProtobufCMessageInit) sr__delayed_msg_req__init, |
| 8572 | + NULL,NULL,NULL /* reserved[123] */ |
| 8573 | +}; |
| 8574 | +#define sr__nacm_reload_req__field_descriptors NULL |
| 8575 | +#define sr__nacm_reload_req__field_indices_by_name NULL |
| 8576 | +#define sr__nacm_reload_req__number_ranges NULL |
| 8577 | +const ProtobufCMessageDescriptor sr__nacm_reload_req__descriptor = |
| 8578 | +{ |
| 8579 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 8580 | + "sr.NacmReloadReq", |
| 8581 | + "NacmReloadReq", |
| 8582 | + "Sr__NacmReloadReq", |
| 8583 | + "sr", |
| 8584 | + sizeof(Sr__NacmReloadReq), |
| 8585 | + 0, |
| 8586 | + sr__nacm_reload_req__field_descriptors, |
| 8587 | + sr__nacm_reload_req__field_indices_by_name, |
| 8588 | + 0, sr__nacm_reload_req__number_ranges, |
| 8589 | + (ProtobufCMessageInit) sr__nacm_reload_req__init, |
| 8590 | + NULL,NULL,NULL /* reserved[123] */ |
| 8591 | +}; |
| 8592 | +static const ProtobufCFieldDescriptor sr__request__field_descriptors[37] = |
| 8593 | +{ |
| 8594 | + { |
| 8595 | + "_id", |
| 8596 | + 1, |
| 8597 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8598 | + PROTOBUF_C_TYPE_UINT64, |
| 8599 | + 0, /* quantifier_offset */ |
| 8600 | + offsetof(Sr__Request, _id), |
| 8601 | + NULL, |
| 8602 | + NULL, |
| 8603 | + 0, /* flags */ |
| 8604 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8605 | + }, |
| 8606 | + { |
| 8607 | + "operation", |
| 8608 | + 2, |
| 8609 | + PROTOBUF_C_LABEL_REQUIRED, |
| 8610 | + PROTOBUF_C_TYPE_ENUM, |
| 8611 | + 0, /* quantifier_offset */ |
| 8612 | + offsetof(Sr__Request, operation), |
| 8613 | + &sr__operation__descriptor, |
| 8614 | + NULL, |
| 8615 | + 0, /* flags */ |
| 8616 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8617 | + }, |
| 8618 | + { |
| 8619 | + "session_start_req", |
| 8620 | + 10, |
| 8621 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8622 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8623 | + 0, /* quantifier_offset */ |
| 8624 | + offsetof(Sr__Request, session_start_req), |
| 8625 | + &sr__session_start_req__descriptor, |
| 8626 | + NULL, |
| 8627 | + 0, /* flags */ |
| 8628 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8629 | + }, |
| 8630 | + { |
| 8631 | + "session_stop_req", |
| 8632 | + 11, |
| 8633 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8634 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8635 | + 0, /* quantifier_offset */ |
| 8636 | + offsetof(Sr__Request, session_stop_req), |
| 8637 | + &sr__session_stop_req__descriptor, |
| 8638 | + NULL, |
| 8639 | + 0, /* flags */ |
| 8640 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8641 | + }, |
| 8642 | + { |
| 8643 | + "session_refresh_req", |
| 8644 | + 12, |
| 8645 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8646 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8647 | + 0, /* quantifier_offset */ |
| 8648 | + offsetof(Sr__Request, session_refresh_req), |
| 8649 | + &sr__session_refresh_req__descriptor, |
| 8650 | + NULL, |
| 8651 | + 0, /* flags */ |
| 8652 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8653 | + }, |
| 8654 | + { |
| 8655 | + "session_check_req", |
| 8656 | + 13, |
| 8657 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8658 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8659 | + 0, /* quantifier_offset */ |
| 8660 | + offsetof(Sr__Request, session_check_req), |
| 8661 | + &sr__session_check_req__descriptor, |
| 8662 | + NULL, |
| 8663 | + 0, /* flags */ |
| 8664 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8665 | + }, |
| 8666 | + { |
| 8667 | + "session_switch_ds_req", |
| 8668 | + 14, |
| 8669 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8670 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8671 | + 0, /* quantifier_offset */ |
| 8672 | + offsetof(Sr__Request, session_switch_ds_req), |
| 8673 | + &sr__session_switch_ds_req__descriptor, |
| 8674 | + NULL, |
| 8675 | + 0, /* flags */ |
| 8676 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8677 | + }, |
| 8678 | + { |
| 8679 | + "session_set_opts_req", |
| 8680 | + 15, |
| 8681 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8682 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8683 | + 0, /* quantifier_offset */ |
| 8684 | + offsetof(Sr__Request, session_set_opts_req), |
| 8685 | + &sr__session_set_opts_req__descriptor, |
| 8686 | + NULL, |
| 8687 | + 0, /* flags */ |
| 8688 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8689 | + }, |
| 8690 | + { |
| 8691 | + "version_verify_req", |
| 8692 | + 16, |
| 8693 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8694 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8695 | + 0, /* quantifier_offset */ |
| 8696 | + offsetof(Sr__Request, version_verify_req), |
| 8697 | + &sr__version_verify_req__descriptor, |
| 8698 | + NULL, |
| 8699 | + 0, /* flags */ |
| 8700 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8701 | + }, |
| 8702 | + { |
| 8703 | + "list_schemas_req", |
| 8704 | + 20, |
| 8705 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8706 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8707 | + 0, /* quantifier_offset */ |
| 8708 | + offsetof(Sr__Request, list_schemas_req), |
| 8709 | + &sr__list_schemas_req__descriptor, |
| 8710 | + NULL, |
| 8711 | + 0, /* flags */ |
| 8712 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8713 | + }, |
| 8714 | + { |
| 8715 | + "get_schema_req", |
| 8716 | + 21, |
| 8717 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8718 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8719 | + 0, /* quantifier_offset */ |
| 8720 | + offsetof(Sr__Request, get_schema_req), |
| 8721 | + &sr__get_schema_req__descriptor, |
| 8722 | + NULL, |
| 8723 | + 0, /* flags */ |
| 8724 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8725 | + }, |
| 8726 | + { |
| 8727 | + "module_install_req", |
| 8728 | + 22, |
| 8729 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8730 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8731 | + 0, /* quantifier_offset */ |
| 8732 | + offsetof(Sr__Request, module_install_req), |
| 8733 | + &sr__module_install_req__descriptor, |
| 8734 | + NULL, |
| 8735 | + 0, /* flags */ |
| 8736 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8737 | + }, |
| 8738 | + { |
| 8739 | + "feature_enable_req", |
| 8740 | + 23, |
| 8741 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8742 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8743 | + 0, /* quantifier_offset */ |
| 8744 | + offsetof(Sr__Request, feature_enable_req), |
| 8745 | + &sr__feature_enable_req__descriptor, |
| 8746 | + NULL, |
| 8747 | + 0, /* flags */ |
| 8748 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8749 | + }, |
| 8750 | + { |
| 8751 | + "get_item_req", |
| 8752 | + 30, |
| 8753 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8754 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8755 | + 0, /* quantifier_offset */ |
| 8756 | + offsetof(Sr__Request, get_item_req), |
| 8757 | + &sr__get_item_req__descriptor, |
| 8758 | + NULL, |
| 8759 | + 0, /* flags */ |
| 8760 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8761 | + }, |
| 8762 | + { |
| 8763 | + "get_items_req", |
| 8764 | + 31, |
| 8765 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8766 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8767 | + 0, /* quantifier_offset */ |
| 8768 | + offsetof(Sr__Request, get_items_req), |
| 8769 | + &sr__get_items_req__descriptor, |
| 8770 | + NULL, |
| 8771 | + 0, /* flags */ |
| 8772 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8773 | + }, |
| 8774 | + { |
| 8775 | + "get_subtree_req", |
| 8776 | + 32, |
| 8777 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8778 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8779 | + 0, /* quantifier_offset */ |
| 8780 | + offsetof(Sr__Request, get_subtree_req), |
| 8781 | + &sr__get_subtree_req__descriptor, |
| 8782 | + NULL, |
| 8783 | + 0, /* flags */ |
| 8784 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8785 | + }, |
| 8786 | + { |
| 8787 | + "get_subtrees_req", |
| 8788 | + 33, |
| 8789 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8790 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8791 | + 0, /* quantifier_offset */ |
| 8792 | + offsetof(Sr__Request, get_subtrees_req), |
| 8793 | + &sr__get_subtrees_req__descriptor, |
| 8794 | + NULL, |
| 8795 | + 0, /* flags */ |
| 8796 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8797 | + }, |
| 8798 | + { |
| 8799 | + "get_subtree_chunk_req", |
| 8800 | + 34, |
| 8801 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8802 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8803 | + 0, /* quantifier_offset */ |
| 8804 | + offsetof(Sr__Request, get_subtree_chunk_req), |
| 8805 | + &sr__get_subtree_chunk_req__descriptor, |
| 8806 | + NULL, |
| 8807 | + 0, /* flags */ |
| 8808 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8809 | + }, |
| 8810 | + { |
| 8811 | + "set_item_req", |
| 8812 | + 40, |
| 8813 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8814 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8815 | + 0, /* quantifier_offset */ |
| 8816 | + offsetof(Sr__Request, set_item_req), |
| 8817 | + &sr__set_item_req__descriptor, |
| 8818 | + NULL, |
| 8819 | + 0, /* flags */ |
| 8820 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8821 | + }, |
| 8822 | + { |
| 8823 | + "delete_item_req", |
| 8824 | + 41, |
| 8825 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8826 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8827 | + 0, /* quantifier_offset */ |
| 8828 | + offsetof(Sr__Request, delete_item_req), |
| 8829 | + &sr__delete_item_req__descriptor, |
| 8830 | + NULL, |
| 8831 | + 0, /* flags */ |
| 8832 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8833 | + }, |
| 8834 | + { |
| 8835 | + "move_item_req", |
| 8836 | + 42, |
| 8837 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8838 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8839 | + 0, /* quantifier_offset */ |
| 8840 | + offsetof(Sr__Request, move_item_req), |
| 8841 | + &sr__move_item_req__descriptor, |
| 8842 | + NULL, |
| 8843 | + 0, /* flags */ |
| 8844 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8845 | + }, |
| 8846 | + { |
| 8847 | + "set_item_str_req", |
| 8848 | + 43, |
| 8849 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8850 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8851 | + 0, /* quantifier_offset */ |
| 8852 | + offsetof(Sr__Request, set_item_str_req), |
| 8853 | + &sr__set_item_str_req__descriptor, |
| 8854 | + NULL, |
| 8855 | + 0, /* flags */ |
| 8856 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8857 | + }, |
| 8858 | + { |
| 8859 | + "validate_req", |
| 8860 | + 50, |
| 8861 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8862 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8863 | + 0, /* quantifier_offset */ |
| 8864 | + offsetof(Sr__Request, validate_req), |
| 8865 | + &sr__validate_req__descriptor, |
| 8866 | + NULL, |
| 8867 | + 0, /* flags */ |
| 8868 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8869 | + }, |
| 8870 | + { |
| 8871 | + "commit_req", |
| 8872 | + 51, |
| 8873 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8874 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8875 | + 0, /* quantifier_offset */ |
| 8876 | + offsetof(Sr__Request, commit_req), |
| 8877 | + &sr__commit_req__descriptor, |
| 8878 | + NULL, |
| 8879 | + 0, /* flags */ |
| 8880 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8881 | + }, |
| 8882 | + { |
| 8883 | + "discard_changes_req", |
| 8884 | + 52, |
| 8885 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8886 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8887 | + 0, /* quantifier_offset */ |
| 8888 | + offsetof(Sr__Request, discard_changes_req), |
| 8889 | + &sr__discard_changes_req__descriptor, |
| 8890 | + NULL, |
| 8891 | + 0, /* flags */ |
| 8892 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8893 | + }, |
| 8894 | + { |
| 8895 | + "copy_config_req", |
| 8896 | + 53, |
| 8897 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8898 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8899 | + 0, /* quantifier_offset */ |
| 8900 | + offsetof(Sr__Request, copy_config_req), |
| 8901 | + &sr__copy_config_req__descriptor, |
| 8902 | + NULL, |
| 8903 | + 0, /* flags */ |
| 8904 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8905 | + }, |
| 8906 | + { |
| 8907 | + "lock_req", |
| 8908 | + 60, |
| 8909 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8910 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8911 | + 0, /* quantifier_offset */ |
| 8912 | + offsetof(Sr__Request, lock_req), |
| 8913 | + &sr__lock_req__descriptor, |
| 8914 | + NULL, |
| 8915 | + 0, /* flags */ |
| 8916 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8917 | + }, |
| 8918 | + { |
| 8919 | + "unlock_req", |
| 8920 | + 61, |
| 8921 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8922 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8923 | + 0, /* quantifier_offset */ |
| 8924 | + offsetof(Sr__Request, unlock_req), |
| 8925 | + &sr__unlock_req__descriptor, |
| 8926 | + NULL, |
| 8927 | + 0, /* flags */ |
| 8928 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8929 | + }, |
| 8930 | + { |
| 8931 | + "subscribe_req", |
| 8932 | + 70, |
| 8933 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8934 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8935 | + 0, /* quantifier_offset */ |
| 8936 | + offsetof(Sr__Request, subscribe_req), |
| 8937 | + &sr__subscribe_req__descriptor, |
| 8938 | + NULL, |
| 8939 | + 0, /* flags */ |
| 8940 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8941 | + }, |
| 8942 | + { |
| 8943 | + "unsubscribe_req", |
| 8944 | + 71, |
| 8945 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8946 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8947 | + 0, /* quantifier_offset */ |
| 8948 | + offsetof(Sr__Request, unsubscribe_req), |
| 8949 | + &sr__unsubscribe_req__descriptor, |
| 8950 | + NULL, |
| 8951 | + 0, /* flags */ |
| 8952 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8953 | + }, |
| 8954 | + { |
| 8955 | + "check_enabled_running_req", |
| 8956 | + 72, |
| 8957 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8958 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8959 | + 0, /* quantifier_offset */ |
| 8960 | + offsetof(Sr__Request, check_enabled_running_req), |
| 8961 | + &sr__check_enabled_running_req__descriptor, |
| 8962 | + NULL, |
| 8963 | + 0, /* flags */ |
| 8964 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8965 | + }, |
| 8966 | + { |
| 8967 | + "get_changes_req", |
| 8968 | + 73, |
| 8969 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8970 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8971 | + 0, /* quantifier_offset */ |
| 8972 | + offsetof(Sr__Request, get_changes_req), |
| 8973 | + &sr__get_changes_req__descriptor, |
| 8974 | + NULL, |
| 8975 | + 0, /* flags */ |
| 8976 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8977 | + }, |
| 8978 | + { |
| 8979 | + "data_provide_req", |
| 8980 | + 80, |
| 8981 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8982 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8983 | + 0, /* quantifier_offset */ |
| 8984 | + offsetof(Sr__Request, data_provide_req), |
| 8985 | + &sr__data_provide_req__descriptor, |
| 8986 | + NULL, |
| 8987 | + 0, /* flags */ |
| 8988 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 8989 | + }, |
| 8990 | + { |
| 8991 | + "check_exec_perm_req", |
| 8992 | + 81, |
| 8993 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 8994 | + PROTOBUF_C_TYPE_MESSAGE, |
| 8995 | + 0, /* quantifier_offset */ |
| 8996 | + offsetof(Sr__Request, check_exec_perm_req), |
| 8997 | + &sr__check_exec_perm_req__descriptor, |
| 8998 | + NULL, |
| 8999 | + 0, /* flags */ |
| 9000 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9001 | + }, |
| 9002 | + { |
| 9003 | + "rpc_req", |
| 9004 | + 82, |
| 9005 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9006 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9007 | + 0, /* quantifier_offset */ |
| 9008 | + offsetof(Sr__Request, rpc_req), |
| 9009 | + &sr__rpcreq__descriptor, |
| 9010 | + NULL, |
| 9011 | + 0, /* flags */ |
| 9012 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9013 | + }, |
| 9014 | + { |
| 9015 | + "event_notif_req", |
| 9016 | + 83, |
| 9017 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9018 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9019 | + 0, /* quantifier_offset */ |
| 9020 | + offsetof(Sr__Request, event_notif_req), |
| 9021 | + &sr__event_notif_req__descriptor, |
| 9022 | + NULL, |
| 9023 | + 0, /* flags */ |
| 9024 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9025 | + }, |
| 9026 | + { |
| 9027 | + "event_notif_replay_req", |
| 9028 | + 84, |
| 9029 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9030 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9031 | + 0, /* quantifier_offset */ |
| 9032 | + offsetof(Sr__Request, event_notif_replay_req), |
| 9033 | + &sr__event_notif_replay_req__descriptor, |
| 9034 | + NULL, |
| 9035 | + 0, /* flags */ |
| 9036 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9037 | + }, |
| 9038 | +}; |
| 9039 | +static const unsigned sr__request__field_indices_by_name[] = { |
| 9040 | + 0, /* field[0] = _id */ |
| 9041 | + 30, /* field[30] = check_enabled_running_req */ |
| 9042 | + 33, /* field[33] = check_exec_perm_req */ |
| 9043 | + 23, /* field[23] = commit_req */ |
| 9044 | + 25, /* field[25] = copy_config_req */ |
| 9045 | + 32, /* field[32] = data_provide_req */ |
| 9046 | + 19, /* field[19] = delete_item_req */ |
| 9047 | + 24, /* field[24] = discard_changes_req */ |
| 9048 | + 36, /* field[36] = event_notif_replay_req */ |
| 9049 | + 35, /* field[35] = event_notif_req */ |
| 9050 | + 12, /* field[12] = feature_enable_req */ |
| 9051 | + 31, /* field[31] = get_changes_req */ |
| 9052 | + 13, /* field[13] = get_item_req */ |
| 9053 | + 14, /* field[14] = get_items_req */ |
| 9054 | + 10, /* field[10] = get_schema_req */ |
| 9055 | + 17, /* field[17] = get_subtree_chunk_req */ |
| 9056 | + 15, /* field[15] = get_subtree_req */ |
| 9057 | + 16, /* field[16] = get_subtrees_req */ |
| 9058 | + 9, /* field[9] = list_schemas_req */ |
| 9059 | + 26, /* field[26] = lock_req */ |
| 9060 | + 11, /* field[11] = module_install_req */ |
| 9061 | + 20, /* field[20] = move_item_req */ |
| 9062 | + 1, /* field[1] = operation */ |
| 9063 | + 34, /* field[34] = rpc_req */ |
| 9064 | + 5, /* field[5] = session_check_req */ |
| 9065 | + 4, /* field[4] = session_refresh_req */ |
| 9066 | + 7, /* field[7] = session_set_opts_req */ |
| 9067 | + 2, /* field[2] = session_start_req */ |
| 9068 | + 3, /* field[3] = session_stop_req */ |
| 9069 | + 6, /* field[6] = session_switch_ds_req */ |
| 9070 | + 18, /* field[18] = set_item_req */ |
| 9071 | + 21, /* field[21] = set_item_str_req */ |
| 9072 | + 28, /* field[28] = subscribe_req */ |
| 9073 | + 27, /* field[27] = unlock_req */ |
| 9074 | + 29, /* field[29] = unsubscribe_req */ |
| 9075 | + 22, /* field[22] = validate_req */ |
| 9076 | + 8, /* field[8] = version_verify_req */ |
| 9077 | +}; |
| 9078 | +static const ProtobufCIntRange sr__request__number_ranges[9 + 1] = |
| 9079 | +{ |
| 9080 | + { 1, 0 }, |
| 9081 | + { 10, 2 }, |
| 9082 | + { 20, 9 }, |
| 9083 | + { 30, 13 }, |
| 9084 | + { 40, 18 }, |
| 9085 | + { 50, 22 }, |
| 9086 | + { 60, 26 }, |
| 9087 | + { 70, 28 }, |
| 9088 | + { 80, 32 }, |
| 9089 | + { 0, 37 } |
| 9090 | +}; |
| 9091 | +const ProtobufCMessageDescriptor sr__request__descriptor = |
| 9092 | +{ |
| 9093 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 9094 | + "sr.Request", |
| 9095 | + "Request", |
| 9096 | + "Sr__Request", |
| 9097 | + "sr", |
| 9098 | + sizeof(Sr__Request), |
| 9099 | + 37, |
| 9100 | + sr__request__field_descriptors, |
| 9101 | + sr__request__field_indices_by_name, |
| 9102 | + 9, sr__request__number_ranges, |
| 9103 | + (ProtobufCMessageInit) sr__request__init, |
| 9104 | + NULL,NULL,NULL /* reserved[123] */ |
| 9105 | +}; |
| 9106 | +static const ProtobufCFieldDescriptor sr__response__field_descriptors[38] = |
| 9107 | +{ |
| 9108 | + { |
| 9109 | + "operation", |
| 9110 | + 1, |
| 9111 | + PROTOBUF_C_LABEL_REQUIRED, |
| 9112 | + PROTOBUF_C_TYPE_ENUM, |
| 9113 | + 0, /* quantifier_offset */ |
| 9114 | + offsetof(Sr__Response, operation), |
| 9115 | + &sr__operation__descriptor, |
| 9116 | + NULL, |
| 9117 | + 0, /* flags */ |
| 9118 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9119 | + }, |
| 9120 | + { |
| 9121 | + "result", |
| 9122 | + 2, |
| 9123 | + PROTOBUF_C_LABEL_REQUIRED, |
| 9124 | + PROTOBUF_C_TYPE_UINT32, |
| 9125 | + 0, /* quantifier_offset */ |
| 9126 | + offsetof(Sr__Response, result), |
| 9127 | + NULL, |
| 9128 | + NULL, |
| 9129 | + 0, /* flags */ |
| 9130 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9131 | + }, |
| 9132 | + { |
| 9133 | + "error", |
| 9134 | + 3, |
| 9135 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9136 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9137 | + 0, /* quantifier_offset */ |
| 9138 | + offsetof(Sr__Response, error), |
| 9139 | + &sr__error__descriptor, |
| 9140 | + NULL, |
| 9141 | + 0, /* flags */ |
| 9142 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9143 | + }, |
| 9144 | + { |
| 9145 | + "session_start_resp", |
| 9146 | + 10, |
| 9147 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9148 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9149 | + 0, /* quantifier_offset */ |
| 9150 | + offsetof(Sr__Response, session_start_resp), |
| 9151 | + &sr__session_start_resp__descriptor, |
| 9152 | + NULL, |
| 9153 | + 0, /* flags */ |
| 9154 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9155 | + }, |
| 9156 | + { |
| 9157 | + "session_stop_resp", |
| 9158 | + 11, |
| 9159 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9160 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9161 | + 0, /* quantifier_offset */ |
| 9162 | + offsetof(Sr__Response, session_stop_resp), |
| 9163 | + &sr__session_stop_resp__descriptor, |
| 9164 | + NULL, |
| 9165 | + 0, /* flags */ |
| 9166 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9167 | + }, |
| 9168 | + { |
| 9169 | + "session_refresh_resp", |
| 9170 | + 12, |
| 9171 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9172 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9173 | + 0, /* quantifier_offset */ |
| 9174 | + offsetof(Sr__Response, session_refresh_resp), |
| 9175 | + &sr__session_refresh_resp__descriptor, |
| 9176 | + NULL, |
| 9177 | + 0, /* flags */ |
| 9178 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9179 | + }, |
| 9180 | + { |
| 9181 | + "session_check_resp", |
| 9182 | + 13, |
| 9183 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9184 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9185 | + 0, /* quantifier_offset */ |
| 9186 | + offsetof(Sr__Response, session_check_resp), |
| 9187 | + &sr__session_check_resp__descriptor, |
| 9188 | + NULL, |
| 9189 | + 0, /* flags */ |
| 9190 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9191 | + }, |
| 9192 | + { |
| 9193 | + "session_switch_ds_resp", |
| 9194 | + 14, |
| 9195 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9196 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9197 | + 0, /* quantifier_offset */ |
| 9198 | + offsetof(Sr__Response, session_switch_ds_resp), |
| 9199 | + &sr__session_switch_ds_resp__descriptor, |
| 9200 | + NULL, |
| 9201 | + 0, /* flags */ |
| 9202 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9203 | + }, |
| 9204 | + { |
| 9205 | + "session_set_opts_resp", |
| 9206 | + 15, |
| 9207 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9208 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9209 | + 0, /* quantifier_offset */ |
| 9210 | + offsetof(Sr__Response, session_set_opts_resp), |
| 9211 | + &sr__session_set_opts_resp__descriptor, |
| 9212 | + NULL, |
| 9213 | + 0, /* flags */ |
| 9214 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9215 | + }, |
| 9216 | + { |
| 9217 | + "version_verify_resp", |
| 9218 | + 16, |
| 9219 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9220 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9221 | + 0, /* quantifier_offset */ |
| 9222 | + offsetof(Sr__Response, version_verify_resp), |
| 9223 | + &sr__version_verify_resp__descriptor, |
| 9224 | + NULL, |
| 9225 | + 0, /* flags */ |
| 9226 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9227 | + }, |
| 9228 | + { |
| 9229 | + "list_schemas_resp", |
| 9230 | + 20, |
| 9231 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9232 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9233 | + 0, /* quantifier_offset */ |
| 9234 | + offsetof(Sr__Response, list_schemas_resp), |
| 9235 | + &sr__list_schemas_resp__descriptor, |
| 9236 | + NULL, |
| 9237 | + 0, /* flags */ |
| 9238 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9239 | + }, |
| 9240 | + { |
| 9241 | + "get_schema_resp", |
| 9242 | + 21, |
| 9243 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9244 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9245 | + 0, /* quantifier_offset */ |
| 9246 | + offsetof(Sr__Response, get_schema_resp), |
| 9247 | + &sr__get_schema_resp__descriptor, |
| 9248 | + NULL, |
| 9249 | + 0, /* flags */ |
| 9250 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9251 | + }, |
| 9252 | + { |
| 9253 | + "module_install_resp", |
| 9254 | + 22, |
| 9255 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9256 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9257 | + 0, /* quantifier_offset */ |
| 9258 | + offsetof(Sr__Response, module_install_resp), |
| 9259 | + &sr__module_install_resp__descriptor, |
| 9260 | + NULL, |
| 9261 | + 0, /* flags */ |
| 9262 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9263 | + }, |
| 9264 | + { |
| 9265 | + "feature_enable_resp", |
| 9266 | + 23, |
| 9267 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9268 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9269 | + 0, /* quantifier_offset */ |
| 9270 | + offsetof(Sr__Response, feature_enable_resp), |
| 9271 | + &sr__feature_enable_resp__descriptor, |
| 9272 | + NULL, |
| 9273 | + 0, /* flags */ |
| 9274 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9275 | + }, |
| 9276 | + { |
| 9277 | + "get_item_resp", |
| 9278 | + 30, |
| 9279 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9280 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9281 | + 0, /* quantifier_offset */ |
| 9282 | + offsetof(Sr__Response, get_item_resp), |
| 9283 | + &sr__get_item_resp__descriptor, |
| 9284 | + NULL, |
| 9285 | + 0, /* flags */ |
| 9286 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9287 | + }, |
| 9288 | + { |
| 9289 | + "get_items_resp", |
| 9290 | + 31, |
| 9291 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9292 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9293 | + 0, /* quantifier_offset */ |
| 9294 | + offsetof(Sr__Response, get_items_resp), |
| 9295 | + &sr__get_items_resp__descriptor, |
| 9296 | + NULL, |
| 9297 | + 0, /* flags */ |
| 9298 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9299 | + }, |
| 9300 | + { |
| 9301 | + "get_subtree_resp", |
| 9302 | + 32, |
| 9303 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9304 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9305 | + 0, /* quantifier_offset */ |
| 9306 | + offsetof(Sr__Response, get_subtree_resp), |
| 9307 | + &sr__get_subtree_resp__descriptor, |
| 9308 | + NULL, |
| 9309 | + 0, /* flags */ |
| 9310 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9311 | + }, |
| 9312 | + { |
| 9313 | + "get_subtrees_resp", |
| 9314 | + 33, |
| 9315 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9316 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9317 | + 0, /* quantifier_offset */ |
| 9318 | + offsetof(Sr__Response, get_subtrees_resp), |
| 9319 | + &sr__get_subtrees_resp__descriptor, |
| 9320 | + NULL, |
| 9321 | + 0, /* flags */ |
| 9322 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9323 | + }, |
| 9324 | + { |
| 9325 | + "get_subtree_chunk_resp", |
| 9326 | + 34, |
| 9327 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9328 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9329 | + 0, /* quantifier_offset */ |
| 9330 | + offsetof(Sr__Response, get_subtree_chunk_resp), |
| 9331 | + &sr__get_subtree_chunk_resp__descriptor, |
| 9332 | + NULL, |
| 9333 | + 0, /* flags */ |
| 9334 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9335 | + }, |
| 9336 | + { |
| 9337 | + "set_item_resp", |
| 9338 | + 40, |
| 9339 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9340 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9341 | + 0, /* quantifier_offset */ |
| 9342 | + offsetof(Sr__Response, set_item_resp), |
| 9343 | + &sr__set_item_resp__descriptor, |
| 9344 | + NULL, |
| 9345 | + 0, /* flags */ |
| 9346 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9347 | + }, |
| 9348 | + { |
| 9349 | + "delete_item_resp", |
| 9350 | + 41, |
| 9351 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9352 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9353 | + 0, /* quantifier_offset */ |
| 9354 | + offsetof(Sr__Response, delete_item_resp), |
| 9355 | + &sr__delete_item_resp__descriptor, |
| 9356 | + NULL, |
| 9357 | + 0, /* flags */ |
| 9358 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9359 | + }, |
| 9360 | + { |
| 9361 | + "move_item_resp", |
| 9362 | + 42, |
| 9363 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9364 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9365 | + 0, /* quantifier_offset */ |
| 9366 | + offsetof(Sr__Response, move_item_resp), |
| 9367 | + &sr__move_item_resp__descriptor, |
| 9368 | + NULL, |
| 9369 | + 0, /* flags */ |
| 9370 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9371 | + }, |
| 9372 | + { |
| 9373 | + "set_item_str_resp", |
| 9374 | + 43, |
| 9375 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9376 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9377 | + 0, /* quantifier_offset */ |
| 9378 | + offsetof(Sr__Response, set_item_str_resp), |
| 9379 | + &sr__set_item_str_resp__descriptor, |
| 9380 | + NULL, |
| 9381 | + 0, /* flags */ |
| 9382 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9383 | + }, |
| 9384 | + { |
| 9385 | + "validate_resp", |
| 9386 | + 50, |
| 9387 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9388 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9389 | + 0, /* quantifier_offset */ |
| 9390 | + offsetof(Sr__Response, validate_resp), |
| 9391 | + &sr__validate_resp__descriptor, |
| 9392 | + NULL, |
| 9393 | + 0, /* flags */ |
| 9394 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9395 | + }, |
| 9396 | + { |
| 9397 | + "commit_resp", |
| 9398 | + 51, |
| 9399 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9400 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9401 | + 0, /* quantifier_offset */ |
| 9402 | + offsetof(Sr__Response, commit_resp), |
| 9403 | + &sr__commit_resp__descriptor, |
| 9404 | + NULL, |
| 9405 | + 0, /* flags */ |
| 9406 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9407 | + }, |
| 9408 | + { |
| 9409 | + "discard_changes_resp", |
| 9410 | + 52, |
| 9411 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9412 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9413 | + 0, /* quantifier_offset */ |
| 9414 | + offsetof(Sr__Response, discard_changes_resp), |
| 9415 | + &sr__discard_changes_resp__descriptor, |
| 9416 | + NULL, |
| 9417 | + 0, /* flags */ |
| 9418 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9419 | + }, |
| 9420 | + { |
| 9421 | + "copy_config_resp", |
| 9422 | + 53, |
| 9423 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9424 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9425 | + 0, /* quantifier_offset */ |
| 9426 | + offsetof(Sr__Response, copy_config_resp), |
| 9427 | + &sr__copy_config_resp__descriptor, |
| 9428 | + NULL, |
| 9429 | + 0, /* flags */ |
| 9430 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9431 | + }, |
| 9432 | + { |
| 9433 | + "lock_resp", |
| 9434 | + 60, |
| 9435 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9436 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9437 | + 0, /* quantifier_offset */ |
| 9438 | + offsetof(Sr__Response, lock_resp), |
| 9439 | + &sr__lock_resp__descriptor, |
| 9440 | + NULL, |
| 9441 | + 0, /* flags */ |
| 9442 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9443 | + }, |
| 9444 | + { |
| 9445 | + "unlock_resp", |
| 9446 | + 61, |
| 9447 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9448 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9449 | + 0, /* quantifier_offset */ |
| 9450 | + offsetof(Sr__Response, unlock_resp), |
| 9451 | + &sr__unlock_resp__descriptor, |
| 9452 | + NULL, |
| 9453 | + 0, /* flags */ |
| 9454 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9455 | + }, |
| 9456 | + { |
| 9457 | + "subscribe_resp", |
| 9458 | + 70, |
| 9459 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9460 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9461 | + 0, /* quantifier_offset */ |
| 9462 | + offsetof(Sr__Response, subscribe_resp), |
| 9463 | + &sr__subscribe_resp__descriptor, |
| 9464 | + NULL, |
| 9465 | + 0, /* flags */ |
| 9466 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9467 | + }, |
| 9468 | + { |
| 9469 | + "unsubscribe_resp", |
| 9470 | + 71, |
| 9471 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9472 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9473 | + 0, /* quantifier_offset */ |
| 9474 | + offsetof(Sr__Response, unsubscribe_resp), |
| 9475 | + &sr__unsubscribe_resp__descriptor, |
| 9476 | + NULL, |
| 9477 | + 0, /* flags */ |
| 9478 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9479 | + }, |
| 9480 | + { |
| 9481 | + "check_enabled_running_resp", |
| 9482 | + 72, |
| 9483 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9484 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9485 | + 0, /* quantifier_offset */ |
| 9486 | + offsetof(Sr__Response, check_enabled_running_resp), |
| 9487 | + &sr__check_enabled_running_resp__descriptor, |
| 9488 | + NULL, |
| 9489 | + 0, /* flags */ |
| 9490 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9491 | + }, |
| 9492 | + { |
| 9493 | + "get_changes_resp", |
| 9494 | + 73, |
| 9495 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9496 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9497 | + 0, /* quantifier_offset */ |
| 9498 | + offsetof(Sr__Response, get_changes_resp), |
| 9499 | + &sr__get_changes_resp__descriptor, |
| 9500 | + NULL, |
| 9501 | + 0, /* flags */ |
| 9502 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9503 | + }, |
| 9504 | + { |
| 9505 | + "data_provide_resp", |
| 9506 | + 80, |
| 9507 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9508 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9509 | + 0, /* quantifier_offset */ |
| 9510 | + offsetof(Sr__Response, data_provide_resp), |
| 9511 | + &sr__data_provide_resp__descriptor, |
| 9512 | + NULL, |
| 9513 | + 0, /* flags */ |
| 9514 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9515 | + }, |
| 9516 | + { |
| 9517 | + "check_exec_perm_resp", |
| 9518 | + 81, |
| 9519 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9520 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9521 | + 0, /* quantifier_offset */ |
| 9522 | + offsetof(Sr__Response, check_exec_perm_resp), |
| 9523 | + &sr__check_exec_perm_resp__descriptor, |
| 9524 | + NULL, |
| 9525 | + 0, /* flags */ |
| 9526 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9527 | + }, |
| 9528 | + { |
| 9529 | + "rpc_resp", |
| 9530 | + 82, |
| 9531 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9532 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9533 | + 0, /* quantifier_offset */ |
| 9534 | + offsetof(Sr__Response, rpc_resp), |
| 9535 | + &sr__rpcresp__descriptor, |
| 9536 | + NULL, |
| 9537 | + 0, /* flags */ |
| 9538 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9539 | + }, |
| 9540 | + { |
| 9541 | + "event_notif_resp", |
| 9542 | + 83, |
| 9543 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9544 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9545 | + 0, /* quantifier_offset */ |
| 9546 | + offsetof(Sr__Response, event_notif_resp), |
| 9547 | + &sr__event_notif_resp__descriptor, |
| 9548 | + NULL, |
| 9549 | + 0, /* flags */ |
| 9550 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9551 | + }, |
| 9552 | + { |
| 9553 | + "event_notif_replay_resp", |
| 9554 | + 84, |
| 9555 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9556 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9557 | + 0, /* quantifier_offset */ |
| 9558 | + offsetof(Sr__Response, event_notif_replay_resp), |
| 9559 | + &sr__event_notif_replay_resp__descriptor, |
| 9560 | + NULL, |
| 9561 | + 0, /* flags */ |
| 9562 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9563 | + }, |
| 9564 | +}; |
| 9565 | +static const unsigned sr__response__field_indices_by_name[] = { |
| 9566 | + 31, /* field[31] = check_enabled_running_resp */ |
| 9567 | + 34, /* field[34] = check_exec_perm_resp */ |
| 9568 | + 24, /* field[24] = commit_resp */ |
| 9569 | + 26, /* field[26] = copy_config_resp */ |
| 9570 | + 33, /* field[33] = data_provide_resp */ |
| 9571 | + 20, /* field[20] = delete_item_resp */ |
| 9572 | + 25, /* field[25] = discard_changes_resp */ |
| 9573 | + 2, /* field[2] = error */ |
| 9574 | + 37, /* field[37] = event_notif_replay_resp */ |
| 9575 | + 36, /* field[36] = event_notif_resp */ |
| 9576 | + 13, /* field[13] = feature_enable_resp */ |
| 9577 | + 32, /* field[32] = get_changes_resp */ |
| 9578 | + 14, /* field[14] = get_item_resp */ |
| 9579 | + 15, /* field[15] = get_items_resp */ |
| 9580 | + 11, /* field[11] = get_schema_resp */ |
| 9581 | + 18, /* field[18] = get_subtree_chunk_resp */ |
| 9582 | + 16, /* field[16] = get_subtree_resp */ |
| 9583 | + 17, /* field[17] = get_subtrees_resp */ |
| 9584 | + 10, /* field[10] = list_schemas_resp */ |
| 9585 | + 27, /* field[27] = lock_resp */ |
| 9586 | + 12, /* field[12] = module_install_resp */ |
| 9587 | + 21, /* field[21] = move_item_resp */ |
| 9588 | + 0, /* field[0] = operation */ |
| 9589 | + 1, /* field[1] = result */ |
| 9590 | + 35, /* field[35] = rpc_resp */ |
| 9591 | + 6, /* field[6] = session_check_resp */ |
| 9592 | + 5, /* field[5] = session_refresh_resp */ |
| 9593 | + 8, /* field[8] = session_set_opts_resp */ |
| 9594 | + 3, /* field[3] = session_start_resp */ |
| 9595 | + 4, /* field[4] = session_stop_resp */ |
| 9596 | + 7, /* field[7] = session_switch_ds_resp */ |
| 9597 | + 19, /* field[19] = set_item_resp */ |
| 9598 | + 22, /* field[22] = set_item_str_resp */ |
| 9599 | + 29, /* field[29] = subscribe_resp */ |
| 9600 | + 28, /* field[28] = unlock_resp */ |
| 9601 | + 30, /* field[30] = unsubscribe_resp */ |
| 9602 | + 23, /* field[23] = validate_resp */ |
| 9603 | + 9, /* field[9] = version_verify_resp */ |
| 9604 | +}; |
| 9605 | +static const ProtobufCIntRange sr__response__number_ranges[9 + 1] = |
| 9606 | +{ |
| 9607 | + { 1, 0 }, |
| 9608 | + { 10, 3 }, |
| 9609 | + { 20, 10 }, |
| 9610 | + { 30, 14 }, |
| 9611 | + { 40, 19 }, |
| 9612 | + { 50, 23 }, |
| 9613 | + { 60, 27 }, |
| 9614 | + { 70, 29 }, |
| 9615 | + { 80, 33 }, |
| 9616 | + { 0, 38 } |
| 9617 | +}; |
| 9618 | +const ProtobufCMessageDescriptor sr__response__descriptor = |
| 9619 | +{ |
| 9620 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 9621 | + "sr.Response", |
| 9622 | + "Response", |
| 9623 | + "Sr__Response", |
| 9624 | + "sr", |
| 9625 | + sizeof(Sr__Response), |
| 9626 | + 38, |
| 9627 | + sr__response__field_descriptors, |
| 9628 | + sr__response__field_indices_by_name, |
| 9629 | + 9, sr__response__number_ranges, |
| 9630 | + (ProtobufCMessageInit) sr__response__init, |
| 9631 | + NULL,NULL,NULL /* reserved[123] */ |
| 9632 | +}; |
| 9633 | +static const ProtobufCFieldDescriptor sr__notification__field_descriptors[10] = |
| 9634 | +{ |
| 9635 | + { |
| 9636 | + "type", |
| 9637 | + 1, |
| 9638 | + PROTOBUF_C_LABEL_REQUIRED, |
| 9639 | + PROTOBUF_C_TYPE_ENUM, |
| 9640 | + 0, /* quantifier_offset */ |
| 9641 | + offsetof(Sr__Notification, type), |
| 9642 | + &sr__subscription_type__descriptor, |
| 9643 | + NULL, |
| 9644 | + 0, /* flags */ |
| 9645 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9646 | + }, |
| 9647 | + { |
| 9648 | + "destination_address", |
| 9649 | + 2, |
| 9650 | + PROTOBUF_C_LABEL_REQUIRED, |
| 9651 | + PROTOBUF_C_TYPE_STRING, |
| 9652 | + 0, /* quantifier_offset */ |
| 9653 | + offsetof(Sr__Notification, destination_address), |
| 9654 | + NULL, |
| 9655 | + NULL, |
| 9656 | + 0, /* flags */ |
| 9657 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9658 | + }, |
| 9659 | + { |
| 9660 | + "source_address", |
| 9661 | + 3, |
| 9662 | + PROTOBUF_C_LABEL_REQUIRED, |
| 9663 | + PROTOBUF_C_TYPE_STRING, |
| 9664 | + 0, /* quantifier_offset */ |
| 9665 | + offsetof(Sr__Notification, source_address), |
| 9666 | + NULL, |
| 9667 | + NULL, |
| 9668 | + 0, /* flags */ |
| 9669 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9670 | + }, |
| 9671 | + { |
| 9672 | + "source_pid", |
| 9673 | + 4, |
| 9674 | + PROTOBUF_C_LABEL_REQUIRED, |
| 9675 | + PROTOBUF_C_TYPE_UINT32, |
| 9676 | + 0, /* quantifier_offset */ |
| 9677 | + offsetof(Sr__Notification, source_pid), |
| 9678 | + NULL, |
| 9679 | + NULL, |
| 9680 | + 0, /* flags */ |
| 9681 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9682 | + }, |
| 9683 | + { |
| 9684 | + "subscription_id", |
| 9685 | + 5, |
| 9686 | + PROTOBUF_C_LABEL_REQUIRED, |
| 9687 | + PROTOBUF_C_TYPE_UINT32, |
| 9688 | + 0, /* quantifier_offset */ |
| 9689 | + offsetof(Sr__Notification, subscription_id), |
| 9690 | + NULL, |
| 9691 | + NULL, |
| 9692 | + 0, /* flags */ |
| 9693 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9694 | + }, |
| 9695 | + { |
| 9696 | + "commit_id", |
| 9697 | + 6, |
| 9698 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9699 | + PROTOBUF_C_TYPE_UINT32, |
| 9700 | + offsetof(Sr__Notification, has_commit_id), |
| 9701 | + offsetof(Sr__Notification, commit_id), |
| 9702 | + NULL, |
| 9703 | + NULL, |
| 9704 | + 0, /* flags */ |
| 9705 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9706 | + }, |
| 9707 | + { |
| 9708 | + "module_install_notif", |
| 9709 | + 10, |
| 9710 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9711 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9712 | + 0, /* quantifier_offset */ |
| 9713 | + offsetof(Sr__Notification, module_install_notif), |
| 9714 | + &sr__module_install_notification__descriptor, |
| 9715 | + NULL, |
| 9716 | + 0, /* flags */ |
| 9717 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9718 | + }, |
| 9719 | + { |
| 9720 | + "feature_enable_notif", |
| 9721 | + 11, |
| 9722 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9723 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9724 | + 0, /* quantifier_offset */ |
| 9725 | + offsetof(Sr__Notification, feature_enable_notif), |
| 9726 | + &sr__feature_enable_notification__descriptor, |
| 9727 | + NULL, |
| 9728 | + 0, /* flags */ |
| 9729 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9730 | + }, |
| 9731 | + { |
| 9732 | + "module_change_notif", |
| 9733 | + 12, |
| 9734 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9735 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9736 | + 0, /* quantifier_offset */ |
| 9737 | + offsetof(Sr__Notification, module_change_notif), |
| 9738 | + &sr__module_change_notification__descriptor, |
| 9739 | + NULL, |
| 9740 | + 0, /* flags */ |
| 9741 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9742 | + }, |
| 9743 | + { |
| 9744 | + "subtree_change_notif", |
| 9745 | + 13, |
| 9746 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9747 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9748 | + 0, /* quantifier_offset */ |
| 9749 | + offsetof(Sr__Notification, subtree_change_notif), |
| 9750 | + &sr__subtree_change_notification__descriptor, |
| 9751 | + NULL, |
| 9752 | + 0, /* flags */ |
| 9753 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9754 | + }, |
| 9755 | +}; |
| 9756 | +static const unsigned sr__notification__field_indices_by_name[] = { |
| 9757 | + 5, /* field[5] = commit_id */ |
| 9758 | + 1, /* field[1] = destination_address */ |
| 9759 | + 7, /* field[7] = feature_enable_notif */ |
| 9760 | + 8, /* field[8] = module_change_notif */ |
| 9761 | + 6, /* field[6] = module_install_notif */ |
| 9762 | + 2, /* field[2] = source_address */ |
| 9763 | + 3, /* field[3] = source_pid */ |
| 9764 | + 4, /* field[4] = subscription_id */ |
| 9765 | + 9, /* field[9] = subtree_change_notif */ |
| 9766 | + 0, /* field[0] = type */ |
| 9767 | +}; |
| 9768 | +static const ProtobufCIntRange sr__notification__number_ranges[2 + 1] = |
| 9769 | +{ |
| 9770 | + { 1, 0 }, |
| 9771 | + { 10, 6 }, |
| 9772 | + { 0, 10 } |
| 9773 | +}; |
| 9774 | +const ProtobufCMessageDescriptor sr__notification__descriptor = |
| 9775 | +{ |
| 9776 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 9777 | + "sr.Notification", |
| 9778 | + "Notification", |
| 9779 | + "Sr__Notification", |
| 9780 | + "sr", |
| 9781 | + sizeof(Sr__Notification), |
| 9782 | + 10, |
| 9783 | + sr__notification__field_descriptors, |
| 9784 | + sr__notification__field_indices_by_name, |
| 9785 | + 2, sr__notification__number_ranges, |
| 9786 | + (ProtobufCMessageInit) sr__notification__init, |
| 9787 | + NULL,NULL,NULL /* reserved[123] */ |
| 9788 | +}; |
| 9789 | +static const ProtobufCFieldDescriptor sr__notification_ack__field_descriptors[4] = |
| 9790 | +{ |
| 9791 | + { |
| 9792 | + "notif", |
| 9793 | + 1, |
| 9794 | + PROTOBUF_C_LABEL_REQUIRED, |
| 9795 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9796 | + 0, /* quantifier_offset */ |
| 9797 | + offsetof(Sr__NotificationAck, notif), |
| 9798 | + &sr__notification__descriptor, |
| 9799 | + NULL, |
| 9800 | + 0, /* flags */ |
| 9801 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9802 | + }, |
| 9803 | + { |
| 9804 | + "result", |
| 9805 | + 2, |
| 9806 | + PROTOBUF_C_LABEL_REQUIRED, |
| 9807 | + PROTOBUF_C_TYPE_UINT32, |
| 9808 | + 0, /* quantifier_offset */ |
| 9809 | + offsetof(Sr__NotificationAck, result), |
| 9810 | + NULL, |
| 9811 | + NULL, |
| 9812 | + 0, /* flags */ |
| 9813 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9814 | + }, |
| 9815 | + { |
| 9816 | + "error", |
| 9817 | + 3, |
| 9818 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9819 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9820 | + 0, /* quantifier_offset */ |
| 9821 | + offsetof(Sr__NotificationAck, error), |
| 9822 | + &sr__error__descriptor, |
| 9823 | + NULL, |
| 9824 | + 0, /* flags */ |
| 9825 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9826 | + }, |
| 9827 | + { |
| 9828 | + "do_not_send_abort", |
| 9829 | + 4, |
| 9830 | + PROTOBUF_C_LABEL_REQUIRED, |
| 9831 | + PROTOBUF_C_TYPE_BOOL, |
| 9832 | + 0, /* quantifier_offset */ |
| 9833 | + offsetof(Sr__NotificationAck, do_not_send_abort), |
| 9834 | + NULL, |
| 9835 | + NULL, |
| 9836 | + 0, /* flags */ |
| 9837 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9838 | + }, |
| 9839 | +}; |
| 9840 | +static const unsigned sr__notification_ack__field_indices_by_name[] = { |
| 9841 | + 3, /* field[3] = do_not_send_abort */ |
| 9842 | + 2, /* field[2] = error */ |
| 9843 | + 0, /* field[0] = notif */ |
| 9844 | + 1, /* field[1] = result */ |
| 9845 | +}; |
| 9846 | +static const ProtobufCIntRange sr__notification_ack__number_ranges[1 + 1] = |
| 9847 | +{ |
| 9848 | + { 1, 0 }, |
| 9849 | + { 0, 4 } |
| 9850 | +}; |
| 9851 | +const ProtobufCMessageDescriptor sr__notification_ack__descriptor = |
| 9852 | +{ |
| 9853 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 9854 | + "sr.NotificationAck", |
| 9855 | + "NotificationAck", |
| 9856 | + "Sr__NotificationAck", |
| 9857 | + "sr", |
| 9858 | + sizeof(Sr__NotificationAck), |
| 9859 | + 4, |
| 9860 | + sr__notification_ack__field_descriptors, |
| 9861 | + sr__notification_ack__field_indices_by_name, |
| 9862 | + 1, sr__notification_ack__number_ranges, |
| 9863 | + (ProtobufCMessageInit) sr__notification_ack__init, |
| 9864 | + NULL,NULL,NULL /* reserved[123] */ |
| 9865 | +}; |
| 9866 | +static const ProtobufCFieldDescriptor sr__internal_request__field_descriptors[9] = |
| 9867 | +{ |
| 9868 | + { |
| 9869 | + "operation", |
| 9870 | + 1, |
| 9871 | + PROTOBUF_C_LABEL_REQUIRED, |
| 9872 | + PROTOBUF_C_TYPE_ENUM, |
| 9873 | + 0, /* quantifier_offset */ |
| 9874 | + offsetof(Sr__InternalRequest, operation), |
| 9875 | + &sr__operation__descriptor, |
| 9876 | + NULL, |
| 9877 | + 0, /* flags */ |
| 9878 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9879 | + }, |
| 9880 | + { |
| 9881 | + "postpone_timeout", |
| 9882 | + 2, |
| 9883 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9884 | + PROTOBUF_C_TYPE_UINT32, |
| 9885 | + offsetof(Sr__InternalRequest, has_postpone_timeout), |
| 9886 | + offsetof(Sr__InternalRequest, postpone_timeout), |
| 9887 | + NULL, |
| 9888 | + NULL, |
| 9889 | + 0, /* flags */ |
| 9890 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9891 | + }, |
| 9892 | + { |
| 9893 | + "unsubscribe_dst_req", |
| 9894 | + 10, |
| 9895 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9896 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9897 | + 0, /* quantifier_offset */ |
| 9898 | + offsetof(Sr__InternalRequest, unsubscribe_dst_req), |
| 9899 | + &sr__unsubscribe_destination_req__descriptor, |
| 9900 | + NULL, |
| 9901 | + 0, /* flags */ |
| 9902 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9903 | + }, |
| 9904 | + { |
| 9905 | + "commit_timeout_req", |
| 9906 | + 11, |
| 9907 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9908 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9909 | + 0, /* quantifier_offset */ |
| 9910 | + offsetof(Sr__InternalRequest, commit_timeout_req), |
| 9911 | + &sr__commit_timeout_req__descriptor, |
| 9912 | + NULL, |
| 9913 | + 0, /* flags */ |
| 9914 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9915 | + }, |
| 9916 | + { |
| 9917 | + "oper_data_timeout_req", |
| 9918 | + 12, |
| 9919 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9920 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9921 | + 0, /* quantifier_offset */ |
| 9922 | + offsetof(Sr__InternalRequest, oper_data_timeout_req), |
| 9923 | + &sr__oper_data_timeout_req__descriptor, |
| 9924 | + NULL, |
| 9925 | + 0, /* flags */ |
| 9926 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9927 | + }, |
| 9928 | + { |
| 9929 | + "internal_state_data_req", |
| 9930 | + 13, |
| 9931 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9932 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9933 | + 0, /* quantifier_offset */ |
| 9934 | + offsetof(Sr__InternalRequest, internal_state_data_req), |
| 9935 | + &sr__internal_state_data_req__descriptor, |
| 9936 | + NULL, |
| 9937 | + 0, /* flags */ |
| 9938 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9939 | + }, |
| 9940 | + { |
| 9941 | + "notif_store_cleanup_req", |
| 9942 | + 14, |
| 9943 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9944 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9945 | + 0, /* quantifier_offset */ |
| 9946 | + offsetof(Sr__InternalRequest, notif_store_cleanup_req), |
| 9947 | + &sr__notif_store_cleanup_req__descriptor, |
| 9948 | + NULL, |
| 9949 | + 0, /* flags */ |
| 9950 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9951 | + }, |
| 9952 | + { |
| 9953 | + "delayed_msg_req", |
| 9954 | + 15, |
| 9955 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9956 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9957 | + 0, /* quantifier_offset */ |
| 9958 | + offsetof(Sr__InternalRequest, delayed_msg_req), |
| 9959 | + &sr__delayed_msg_req__descriptor, |
| 9960 | + NULL, |
| 9961 | + 0, /* flags */ |
| 9962 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9963 | + }, |
| 9964 | + { |
| 9965 | + "nacm_reload_req", |
| 9966 | + 16, |
| 9967 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 9968 | + PROTOBUF_C_TYPE_MESSAGE, |
| 9969 | + 0, /* quantifier_offset */ |
| 9970 | + offsetof(Sr__InternalRequest, nacm_reload_req), |
| 9971 | + &sr__nacm_reload_req__descriptor, |
| 9972 | + NULL, |
| 9973 | + 0, /* flags */ |
| 9974 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 9975 | + }, |
| 9976 | +}; |
| 9977 | +static const unsigned sr__internal_request__field_indices_by_name[] = { |
| 9978 | + 3, /* field[3] = commit_timeout_req */ |
| 9979 | + 7, /* field[7] = delayed_msg_req */ |
| 9980 | + 5, /* field[5] = internal_state_data_req */ |
| 9981 | + 8, /* field[8] = nacm_reload_req */ |
| 9982 | + 6, /* field[6] = notif_store_cleanup_req */ |
| 9983 | + 4, /* field[4] = oper_data_timeout_req */ |
| 9984 | + 0, /* field[0] = operation */ |
| 9985 | + 1, /* field[1] = postpone_timeout */ |
| 9986 | + 2, /* field[2] = unsubscribe_dst_req */ |
| 9987 | +}; |
| 9988 | +static const ProtobufCIntRange sr__internal_request__number_ranges[2 + 1] = |
| 9989 | +{ |
| 9990 | + { 1, 0 }, |
| 9991 | + { 10, 2 }, |
| 9992 | + { 0, 9 } |
| 9993 | +}; |
| 9994 | +const ProtobufCMessageDescriptor sr__internal_request__descriptor = |
| 9995 | +{ |
| 9996 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 9997 | + "sr.InternalRequest", |
| 9998 | + "InternalRequest", |
| 9999 | + "Sr__InternalRequest", |
| 10000 | + "sr", |
| 10001 | + sizeof(Sr__InternalRequest), |
| 10002 | + 9, |
| 10003 | + sr__internal_request__field_descriptors, |
| 10004 | + sr__internal_request__field_indices_by_name, |
| 10005 | + 2, sr__internal_request__number_ranges, |
| 10006 | + (ProtobufCMessageInit) sr__internal_request__init, |
| 10007 | + NULL,NULL,NULL /* reserved[123] */ |
| 10008 | +}; |
| 10009 | +static const ProtobufCEnumValue sr__msg__msg_type__enum_values_by_number[5] = |
| 10010 | +{ |
| 10011 | + { "REQUEST", "SR__MSG__MSG_TYPE__REQUEST", 1 }, |
| 10012 | + { "RESPONSE", "SR__MSG__MSG_TYPE__RESPONSE", 2 }, |
| 10013 | + { "NOTIFICATION", "SR__MSG__MSG_TYPE__NOTIFICATION", 3 }, |
| 10014 | + { "NOTIFICATION_ACK", "SR__MSG__MSG_TYPE__NOTIFICATION_ACK", 4 }, |
| 10015 | + { "INTERNAL_REQUEST", "SR__MSG__MSG_TYPE__INTERNAL_REQUEST", 5 }, |
| 10016 | +}; |
| 10017 | +static const ProtobufCIntRange sr__msg__msg_type__value_ranges[] = { |
| 10018 | +{1, 0},{0, 5} |
| 10019 | +}; |
| 10020 | +static const ProtobufCEnumValueIndex sr__msg__msg_type__enum_values_by_name[5] = |
| 10021 | +{ |
| 10022 | + { "INTERNAL_REQUEST", 4 }, |
| 10023 | + { "NOTIFICATION", 2 }, |
| 10024 | + { "NOTIFICATION_ACK", 3 }, |
| 10025 | + { "REQUEST", 0 }, |
| 10026 | + { "RESPONSE", 1 }, |
| 10027 | +}; |
| 10028 | +const ProtobufCEnumDescriptor sr__msg__msg_type__descriptor = |
| 10029 | +{ |
| 10030 | + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, |
| 10031 | + "sr.Msg.MsgType", |
| 10032 | + "MsgType", |
| 10033 | + "Sr__Msg__MsgType", |
| 10034 | + "sr", |
| 10035 | + 5, |
| 10036 | + sr__msg__msg_type__enum_values_by_number, |
| 10037 | + 5, |
| 10038 | + sr__msg__msg_type__enum_values_by_name, |
| 10039 | + 1, |
| 10040 | + sr__msg__msg_type__value_ranges, |
| 10041 | + NULL,NULL,NULL,NULL /* reserved[1234] */ |
| 10042 | +}; |
| 10043 | +static const ProtobufCFieldDescriptor sr__msg__field_descriptors[8] = |
| 10044 | +{ |
| 10045 | + { |
| 10046 | + "type", |
| 10047 | + 1, |
| 10048 | + PROTOBUF_C_LABEL_REQUIRED, |
| 10049 | + PROTOBUF_C_TYPE_ENUM, |
| 10050 | + 0, /* quantifier_offset */ |
| 10051 | + offsetof(Sr__Msg, type), |
| 10052 | + &sr__msg__msg_type__descriptor, |
| 10053 | + NULL, |
| 10054 | + 0, /* flags */ |
| 10055 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 10056 | + }, |
| 10057 | + { |
| 10058 | + "session_id", |
| 10059 | + 2, |
| 10060 | + PROTOBUF_C_LABEL_REQUIRED, |
| 10061 | + PROTOBUF_C_TYPE_UINT32, |
| 10062 | + 0, /* quantifier_offset */ |
| 10063 | + offsetof(Sr__Msg, session_id), |
| 10064 | + NULL, |
| 10065 | + NULL, |
| 10066 | + 0, /* flags */ |
| 10067 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 10068 | + }, |
| 10069 | + { |
| 10070 | + "request", |
| 10071 | + 3, |
| 10072 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 10073 | + PROTOBUF_C_TYPE_MESSAGE, |
| 10074 | + 0, /* quantifier_offset */ |
| 10075 | + offsetof(Sr__Msg, request), |
| 10076 | + &sr__request__descriptor, |
| 10077 | + NULL, |
| 10078 | + 0, /* flags */ |
| 10079 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 10080 | + }, |
| 10081 | + { |
| 10082 | + "response", |
| 10083 | + 4, |
| 10084 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 10085 | + PROTOBUF_C_TYPE_MESSAGE, |
| 10086 | + 0, /* quantifier_offset */ |
| 10087 | + offsetof(Sr__Msg, response), |
| 10088 | + &sr__response__descriptor, |
| 10089 | + NULL, |
| 10090 | + 0, /* flags */ |
| 10091 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 10092 | + }, |
| 10093 | + { |
| 10094 | + "notification", |
| 10095 | + 5, |
| 10096 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 10097 | + PROTOBUF_C_TYPE_MESSAGE, |
| 10098 | + 0, /* quantifier_offset */ |
| 10099 | + offsetof(Sr__Msg, notification), |
| 10100 | + &sr__notification__descriptor, |
| 10101 | + NULL, |
| 10102 | + 0, /* flags */ |
| 10103 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 10104 | + }, |
| 10105 | + { |
| 10106 | + "notification_ack", |
| 10107 | + 6, |
| 10108 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 10109 | + PROTOBUF_C_TYPE_MESSAGE, |
| 10110 | + 0, /* quantifier_offset */ |
| 10111 | + offsetof(Sr__Msg, notification_ack), |
| 10112 | + &sr__notification_ack__descriptor, |
| 10113 | + NULL, |
| 10114 | + 0, /* flags */ |
| 10115 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 10116 | + }, |
| 10117 | + { |
| 10118 | + "internal_request", |
| 10119 | + 7, |
| 10120 | + PROTOBUF_C_LABEL_OPTIONAL, |
| 10121 | + PROTOBUF_C_TYPE_MESSAGE, |
| 10122 | + 0, /* quantifier_offset */ |
| 10123 | + offsetof(Sr__Msg, internal_request), |
| 10124 | + &sr__internal_request__descriptor, |
| 10125 | + NULL, |
| 10126 | + 0, /* flags */ |
| 10127 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 10128 | + }, |
| 10129 | + { |
| 10130 | + "_sysrepo_mem_ctx", |
| 10131 | + 20, |
| 10132 | + PROTOBUF_C_LABEL_REQUIRED, |
| 10133 | + PROTOBUF_C_TYPE_UINT64, |
| 10134 | + 0, /* quantifier_offset */ |
| 10135 | + offsetof(Sr__Msg, _sysrepo_mem_ctx), |
| 10136 | + NULL, |
| 10137 | + NULL, |
| 10138 | + 0, /* flags */ |
| 10139 | + 0,NULL,NULL /* reserved1,reserved2, etc */ |
| 10140 | + }, |
| 10141 | +}; |
| 10142 | +static const unsigned sr__msg__field_indices_by_name[] = { |
| 10143 | + 7, /* field[7] = _sysrepo_mem_ctx */ |
| 10144 | + 6, /* field[6] = internal_request */ |
| 10145 | + 4, /* field[4] = notification */ |
| 10146 | + 5, /* field[5] = notification_ack */ |
| 10147 | + 2, /* field[2] = request */ |
| 10148 | + 3, /* field[3] = response */ |
| 10149 | + 1, /* field[1] = session_id */ |
| 10150 | + 0, /* field[0] = type */ |
| 10151 | +}; |
| 10152 | +static const ProtobufCIntRange sr__msg__number_ranges[2 + 1] = |
| 10153 | +{ |
| 10154 | + { 1, 0 }, |
| 10155 | + { 20, 7 }, |
| 10156 | + { 0, 8 } |
| 10157 | +}; |
| 10158 | +const ProtobufCMessageDescriptor sr__msg__descriptor = |
| 10159 | +{ |
| 10160 | + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
| 10161 | + "sr.Msg", |
| 10162 | + "Msg", |
| 10163 | + "Sr__Msg", |
| 10164 | + "sr", |
| 10165 | + sizeof(Sr__Msg), |
| 10166 | + 8, |
| 10167 | + sr__msg__field_descriptors, |
| 10168 | + sr__msg__field_indices_by_name, |
| 10169 | + 2, sr__msg__number_ranges, |
| 10170 | + (ProtobufCMessageInit) sr__msg__init, |
| 10171 | + NULL,NULL,NULL /* reserved[123] */ |
| 10172 | +}; |
| 10173 | +static const ProtobufCEnumValue sr__api_variant__enum_values_by_number[2] = |
| 10174 | +{ |
| 10175 | + { "VALUES", "SR__API_VARIANT__VALUES", 1 }, |
| 10176 | + { "TREES", "SR__API_VARIANT__TREES", 2 }, |
| 10177 | +}; |
| 10178 | +static const ProtobufCIntRange sr__api_variant__value_ranges[] = { |
| 10179 | +{1, 0},{0, 2} |
| 10180 | +}; |
| 10181 | +static const ProtobufCEnumValueIndex sr__api_variant__enum_values_by_name[2] = |
| 10182 | +{ |
| 10183 | + { "TREES", 1 }, |
| 10184 | + { "VALUES", 0 }, |
| 10185 | +}; |
| 10186 | +const ProtobufCEnumDescriptor sr__api_variant__descriptor = |
| 10187 | +{ |
| 10188 | + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, |
| 10189 | + "sr.ApiVariant", |
| 10190 | + "ApiVariant", |
| 10191 | + "Sr__ApiVariant", |
| 10192 | + "sr", |
| 10193 | + 2, |
| 10194 | + sr__api_variant__enum_values_by_number, |
| 10195 | + 2, |
| 10196 | + sr__api_variant__enum_values_by_name, |
| 10197 | + 1, |
| 10198 | + sr__api_variant__value_ranges, |
| 10199 | + NULL,NULL,NULL,NULL /* reserved[1234] */ |
| 10200 | +}; |
| 10201 | +static const ProtobufCEnumValue sr__data_store__enum_values_by_number[3] = |
| 10202 | +{ |
| 10203 | + { "STARTUP", "SR__DATA_STORE__STARTUP", 1 }, |
| 10204 | + { "RUNNING", "SR__DATA_STORE__RUNNING", 2 }, |
| 10205 | + { "CANDIDATE", "SR__DATA_STORE__CANDIDATE", 3 }, |
| 10206 | +}; |
| 10207 | +static const ProtobufCIntRange sr__data_store__value_ranges[] = { |
| 10208 | +{1, 0},{0, 3} |
| 10209 | +}; |
| 10210 | +static const ProtobufCEnumValueIndex sr__data_store__enum_values_by_name[3] = |
| 10211 | +{ |
| 10212 | + { "CANDIDATE", 2 }, |
| 10213 | + { "RUNNING", 1 }, |
| 10214 | + { "STARTUP", 0 }, |
| 10215 | +}; |
| 10216 | +const ProtobufCEnumDescriptor sr__data_store__descriptor = |
| 10217 | +{ |
| 10218 | + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, |
| 10219 | + "sr.DataStore", |
| 10220 | + "DataStore", |
| 10221 | + "Sr__DataStore", |
| 10222 | + "sr", |
| 10223 | + 3, |
| 10224 | + sr__data_store__enum_values_by_number, |
| 10225 | + 3, |
| 10226 | + sr__data_store__enum_values_by_name, |
| 10227 | + 1, |
| 10228 | + sr__data_store__value_ranges, |
| 10229 | + NULL,NULL,NULL,NULL /* reserved[1234] */ |
| 10230 | +}; |
| 10231 | +static const ProtobufCEnumValue sr__session_flags__enum_values_by_number[4] = |
| 10232 | +{ |
| 10233 | + { "SESS_DEFAULT", "SR__SESSION_FLAGS__SESS_DEFAULT", 0 }, |
| 10234 | + { "SESS_CONFIG_ONLY", "SR__SESSION_FLAGS__SESS_CONFIG_ONLY", 1 }, |
| 10235 | + { "SESS_ENABLE_NACM", "SR__SESSION_FLAGS__SESS_ENABLE_NACM", 2 }, |
| 10236 | + { "SESS_NOTIFICATION", "SR__SESSION_FLAGS__SESS_NOTIFICATION", 1024 }, |
| 10237 | +}; |
| 10238 | +static const ProtobufCIntRange sr__session_flags__value_ranges[] = { |
| 10239 | +{0, 0},{1024, 3},{0, 4} |
| 10240 | +}; |
| 10241 | +static const ProtobufCEnumValueIndex sr__session_flags__enum_values_by_name[4] = |
| 10242 | +{ |
| 10243 | + { "SESS_CONFIG_ONLY", 1 }, |
| 10244 | + { "SESS_DEFAULT", 0 }, |
| 10245 | + { "SESS_ENABLE_NACM", 2 }, |
| 10246 | + { "SESS_NOTIFICATION", 3 }, |
| 10247 | +}; |
| 10248 | +const ProtobufCEnumDescriptor sr__session_flags__descriptor = |
| 10249 | +{ |
| 10250 | + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, |
| 10251 | + "sr.SessionFlags", |
| 10252 | + "SessionFlags", |
| 10253 | + "Sr__SessionFlags", |
| 10254 | + "sr", |
| 10255 | + 4, |
| 10256 | + sr__session_flags__enum_values_by_number, |
| 10257 | + 4, |
| 10258 | + sr__session_flags__enum_values_by_name, |
| 10259 | + 2, |
| 10260 | + sr__session_flags__value_ranges, |
| 10261 | + NULL,NULL,NULL,NULL /* reserved[1234] */ |
| 10262 | +}; |
| 10263 | +static const ProtobufCEnumValue sr__edit_flags__enum_values_by_number[3] = |
| 10264 | +{ |
| 10265 | + { "EDIT_DEFAULT", "SR__EDIT_FLAGS__EDIT_DEFAULT", 0 }, |
| 10266 | + { "EDIT_NON_RECURSIVE", "SR__EDIT_FLAGS__EDIT_NON_RECURSIVE", 1 }, |
| 10267 | + { "EDIT_STRICT", "SR__EDIT_FLAGS__EDIT_STRICT", 2 }, |
| 10268 | +}; |
| 10269 | +static const ProtobufCIntRange sr__edit_flags__value_ranges[] = { |
| 10270 | +{0, 0},{0, 3} |
| 10271 | +}; |
| 10272 | +static const ProtobufCEnumValueIndex sr__edit_flags__enum_values_by_name[3] = |
| 10273 | +{ |
| 10274 | + { "EDIT_DEFAULT", 0 }, |
| 10275 | + { "EDIT_NON_RECURSIVE", 1 }, |
| 10276 | + { "EDIT_STRICT", 2 }, |
| 10277 | +}; |
| 10278 | +const ProtobufCEnumDescriptor sr__edit_flags__descriptor = |
| 10279 | +{ |
| 10280 | + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, |
| 10281 | + "sr.EditFlags", |
| 10282 | + "EditFlags", |
| 10283 | + "Sr__EditFlags", |
| 10284 | + "sr", |
| 10285 | + 3, |
| 10286 | + sr__edit_flags__enum_values_by_number, |
| 10287 | + 3, |
| 10288 | + sr__edit_flags__enum_values_by_name, |
| 10289 | + 1, |
| 10290 | + sr__edit_flags__value_ranges, |
| 10291 | + NULL,NULL,NULL,NULL /* reserved[1234] */ |
| 10292 | +}; |
| 10293 | +static const ProtobufCEnumValue sr__subscription_type__enum_values_by_number[10] = |
| 10294 | +{ |
| 10295 | + { "MODULE_INSTALL_SUBS", "SR__SUBSCRIPTION_TYPE__MODULE_INSTALL_SUBS", 1 }, |
| 10296 | + { "FEATURE_ENABLE_SUBS", "SR__SUBSCRIPTION_TYPE__FEATURE_ENABLE_SUBS", 2 }, |
| 10297 | + { "MODULE_CHANGE_SUBS", "SR__SUBSCRIPTION_TYPE__MODULE_CHANGE_SUBS", 10 }, |
| 10298 | + { "SUBTREE_CHANGE_SUBS", "SR__SUBSCRIPTION_TYPE__SUBTREE_CHANGE_SUBS", 11 }, |
| 10299 | + { "DP_GET_ITEMS_SUBS", "SR__SUBSCRIPTION_TYPE__DP_GET_ITEMS_SUBS", 20 }, |
| 10300 | + { "RPC_SUBS", "SR__SUBSCRIPTION_TYPE__RPC_SUBS", 30 }, |
| 10301 | + { "ACTION_SUBS", "SR__SUBSCRIPTION_TYPE__ACTION_SUBS", 31 }, |
| 10302 | + { "EVENT_NOTIF_SUBS", "SR__SUBSCRIPTION_TYPE__EVENT_NOTIF_SUBS", 40 }, |
| 10303 | + { "HELLO_SUBS", "SR__SUBSCRIPTION_TYPE__HELLO_SUBS", 50 }, |
| 10304 | + { "COMMIT_END_SUBS", "SR__SUBSCRIPTION_TYPE__COMMIT_END_SUBS", 51 }, |
| 10305 | +}; |
| 10306 | +static const ProtobufCIntRange sr__subscription_type__value_ranges[] = { |
| 10307 | +{1, 0},{10, 2},{20, 4},{30, 5},{40, 7},{50, 8},{0, 10} |
| 10308 | +}; |
| 10309 | +static const ProtobufCEnumValueIndex sr__subscription_type__enum_values_by_name[10] = |
| 10310 | +{ |
| 10311 | + { "ACTION_SUBS", 6 }, |
| 10312 | + { "COMMIT_END_SUBS", 9 }, |
| 10313 | + { "DP_GET_ITEMS_SUBS", 4 }, |
| 10314 | + { "EVENT_NOTIF_SUBS", 7 }, |
| 10315 | + { "FEATURE_ENABLE_SUBS", 1 }, |
| 10316 | + { "HELLO_SUBS", 8 }, |
| 10317 | + { "MODULE_CHANGE_SUBS", 2 }, |
| 10318 | + { "MODULE_INSTALL_SUBS", 0 }, |
| 10319 | + { "RPC_SUBS", 5 }, |
| 10320 | + { "SUBTREE_CHANGE_SUBS", 3 }, |
| 10321 | +}; |
| 10322 | +const ProtobufCEnumDescriptor sr__subscription_type__descriptor = |
| 10323 | +{ |
| 10324 | + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, |
| 10325 | + "sr.SubscriptionType", |
| 10326 | + "SubscriptionType", |
| 10327 | + "Sr__SubscriptionType", |
| 10328 | + "sr", |
| 10329 | + 10, |
| 10330 | + sr__subscription_type__enum_values_by_number, |
| 10331 | + 10, |
| 10332 | + sr__subscription_type__enum_values_by_name, |
| 10333 | + 6, |
| 10334 | + sr__subscription_type__value_ranges, |
| 10335 | + NULL,NULL,NULL,NULL /* reserved[1234] */ |
| 10336 | +}; |
| 10337 | +static const ProtobufCEnumValue sr__notification_event__enum_values_by_number[4] = |
| 10338 | +{ |
| 10339 | + { "VERIFY_EV", "SR__NOTIFICATION_EVENT__VERIFY_EV", 1 }, |
| 10340 | + { "APPLY_EV", "SR__NOTIFICATION_EVENT__APPLY_EV", 2 }, |
| 10341 | + { "ABORT_EV", "SR__NOTIFICATION_EVENT__ABORT_EV", 3 }, |
| 10342 | + { "ENABLED_EV", "SR__NOTIFICATION_EVENT__ENABLED_EV", 4 }, |
| 10343 | +}; |
| 10344 | +static const ProtobufCIntRange sr__notification_event__value_ranges[] = { |
| 10345 | +{1, 0},{0, 4} |
| 10346 | +}; |
| 10347 | +static const ProtobufCEnumValueIndex sr__notification_event__enum_values_by_name[4] = |
| 10348 | +{ |
| 10349 | + { "ABORT_EV", 2 }, |
| 10350 | + { "APPLY_EV", 1 }, |
| 10351 | + { "ENABLED_EV", 3 }, |
| 10352 | + { "VERIFY_EV", 0 }, |
| 10353 | +}; |
| 10354 | +const ProtobufCEnumDescriptor sr__notification_event__descriptor = |
| 10355 | +{ |
| 10356 | + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, |
| 10357 | + "sr.NotificationEvent", |
| 10358 | + "NotificationEvent", |
| 10359 | + "Sr__NotificationEvent", |
| 10360 | + "sr", |
| 10361 | + 4, |
| 10362 | + sr__notification_event__enum_values_by_number, |
| 10363 | + 4, |
| 10364 | + sr__notification_event__enum_values_by_name, |
| 10365 | + 1, |
| 10366 | + sr__notification_event__value_ranges, |
| 10367 | + NULL,NULL,NULL,NULL /* reserved[1234] */ |
| 10368 | +}; |
| 10369 | +static const ProtobufCEnumValue sr__module_state__enum_values_by_number[3] = |
| 10370 | +{ |
| 10371 | + { "UNINSTALLED", "SR__MODULE_STATE__UNINSTALLED", 1 }, |
| 10372 | + { "IMPORTED", "SR__MODULE_STATE__IMPORTED", 2 }, |
| 10373 | + { "IMPLEMENTED", "SR__MODULE_STATE__IMPLEMENTED", 3 }, |
| 10374 | +}; |
| 10375 | +static const ProtobufCIntRange sr__module_state__value_ranges[] = { |
| 10376 | +{1, 0},{0, 3} |
| 10377 | +}; |
| 10378 | +static const ProtobufCEnumValueIndex sr__module_state__enum_values_by_name[3] = |
| 10379 | +{ |
| 10380 | + { "IMPLEMENTED", 2 }, |
| 10381 | + { "IMPORTED", 1 }, |
| 10382 | + { "UNINSTALLED", 0 }, |
| 10383 | +}; |
| 10384 | +const ProtobufCEnumDescriptor sr__module_state__descriptor = |
| 10385 | +{ |
| 10386 | + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, |
| 10387 | + "sr.ModuleState", |
| 10388 | + "ModuleState", |
| 10389 | + "Sr__ModuleState", |
| 10390 | + "sr", |
| 10391 | + 3, |
| 10392 | + sr__module_state__enum_values_by_number, |
| 10393 | + 3, |
| 10394 | + sr__module_state__enum_values_by_name, |
| 10395 | + 1, |
| 10396 | + sr__module_state__value_ranges, |
| 10397 | + NULL,NULL,NULL,NULL /* reserved[1234] */ |
| 10398 | +}; |
| 10399 | +static const ProtobufCEnumValue sr__change_operation__enum_values_by_number[4] = |
| 10400 | +{ |
| 10401 | + { "CREATED", "SR__CHANGE_OPERATION__CREATED", 1 }, |
| 10402 | + { "MODIFIED", "SR__CHANGE_OPERATION__MODIFIED", 2 }, |
| 10403 | + { "DELETED", "SR__CHANGE_OPERATION__DELETED", 3 }, |
| 10404 | + { "MOVED", "SR__CHANGE_OPERATION__MOVED", 4 }, |
| 10405 | +}; |
| 10406 | +static const ProtobufCIntRange sr__change_operation__value_ranges[] = { |
| 10407 | +{1, 0},{0, 4} |
| 10408 | +}; |
| 10409 | +static const ProtobufCEnumValueIndex sr__change_operation__enum_values_by_name[4] = |
| 10410 | +{ |
| 10411 | + { "CREATED", 0 }, |
| 10412 | + { "DELETED", 2 }, |
| 10413 | + { "MODIFIED", 1 }, |
| 10414 | + { "MOVED", 3 }, |
| 10415 | +}; |
| 10416 | +const ProtobufCEnumDescriptor sr__change_operation__descriptor = |
| 10417 | +{ |
| 10418 | + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, |
| 10419 | + "sr.ChangeOperation", |
| 10420 | + "ChangeOperation", |
| 10421 | + "Sr__ChangeOperation", |
| 10422 | + "sr", |
| 10423 | + 4, |
| 10424 | + sr__change_operation__enum_values_by_number, |
| 10425 | + 4, |
| 10426 | + sr__change_operation__enum_values_by_name, |
| 10427 | + 1, |
| 10428 | + sr__change_operation__value_ranges, |
| 10429 | + NULL,NULL,NULL,NULL /* reserved[1234] */ |
| 10430 | +}; |
| 10431 | +static const ProtobufCEnumValue sr__operation__enum_values_by_number[43] = |
| 10432 | +{ |
| 10433 | + { "SESSION_START", "SR__OPERATION__SESSION_START", 10 }, |
| 10434 | + { "SESSION_STOP", "SR__OPERATION__SESSION_STOP", 11 }, |
| 10435 | + { "SESSION_REFRESH", "SR__OPERATION__SESSION_REFRESH", 12 }, |
| 10436 | + { "SESSION_CHECK", "SR__OPERATION__SESSION_CHECK", 13 }, |
| 10437 | + { "SESSION_SWITCH_DS", "SR__OPERATION__SESSION_SWITCH_DS", 14 }, |
| 10438 | + { "SESSION_SET_OPTS", "SR__OPERATION__SESSION_SET_OPTS", 15 }, |
| 10439 | + { "VERSION_VERIFY", "SR__OPERATION__VERSION_VERIFY", 16 }, |
| 10440 | + { "LIST_SCHEMAS", "SR__OPERATION__LIST_SCHEMAS", 20 }, |
| 10441 | + { "GET_SCHEMA", "SR__OPERATION__GET_SCHEMA", 21 }, |
| 10442 | + { "MODULE_INSTALL", "SR__OPERATION__MODULE_INSTALL", 22 }, |
| 10443 | + { "FEATURE_ENABLE", "SR__OPERATION__FEATURE_ENABLE", 23 }, |
| 10444 | + { "GET_ITEM", "SR__OPERATION__GET_ITEM", 30 }, |
| 10445 | + { "GET_ITEMS", "SR__OPERATION__GET_ITEMS", 31 }, |
| 10446 | + { "GET_SUBTREE", "SR__OPERATION__GET_SUBTREE", 32 }, |
| 10447 | + { "GET_SUBTREES", "SR__OPERATION__GET_SUBTREES", 33 }, |
| 10448 | + { "GET_SUBTREE_CHUNK", "SR__OPERATION__GET_SUBTREE_CHUNK", 34 }, |
| 10449 | + { "SET_ITEM", "SR__OPERATION__SET_ITEM", 40 }, |
| 10450 | + { "DELETE_ITEM", "SR__OPERATION__DELETE_ITEM", 41 }, |
| 10451 | + { "MOVE_ITEM", "SR__OPERATION__MOVE_ITEM", 42 }, |
| 10452 | + { "SET_ITEM_STR", "SR__OPERATION__SET_ITEM_STR", 43 }, |
| 10453 | + { "VALIDATE", "SR__OPERATION__VALIDATE", 50 }, |
| 10454 | + { "COMMIT", "SR__OPERATION__COMMIT", 51 }, |
| 10455 | + { "DISCARD_CHANGES", "SR__OPERATION__DISCARD_CHANGES", 52 }, |
| 10456 | + { "COPY_CONFIG", "SR__OPERATION__COPY_CONFIG", 53 }, |
| 10457 | + { "LOCK", "SR__OPERATION__LOCK", 60 }, |
| 10458 | + { "UNLOCK", "SR__OPERATION__UNLOCK", 61 }, |
| 10459 | + { "SUBSCRIBE", "SR__OPERATION__SUBSCRIBE", 70 }, |
| 10460 | + { "UNSUBSCRIBE", "SR__OPERATION__UNSUBSCRIBE", 71 }, |
| 10461 | + { "CHECK_ENABLED_RUNNING", "SR__OPERATION__CHECK_ENABLED_RUNNING", 72 }, |
| 10462 | + { "GET_CHANGES", "SR__OPERATION__GET_CHANGES", 73 }, |
| 10463 | + { "DATA_PROVIDE", "SR__OPERATION__DATA_PROVIDE", 80 }, |
| 10464 | + { "CHECK_EXEC_PERMISSION", "SR__OPERATION__CHECK_EXEC_PERMISSION", 81 }, |
| 10465 | + { "RPC", "SR__OPERATION__RPC", 82 }, |
| 10466 | + { "ACTION", "SR__OPERATION__ACTION", 83 }, |
| 10467 | + { "EVENT_NOTIF", "SR__OPERATION__EVENT_NOTIF", 84 }, |
| 10468 | + { "EVENT_NOTIF_REPLAY", "SR__OPERATION__EVENT_NOTIF_REPLAY", 85 }, |
| 10469 | + { "UNSUBSCRIBE_DESTINATION", "SR__OPERATION__UNSUBSCRIBE_DESTINATION", 101 }, |
| 10470 | + { "COMMIT_TIMEOUT", "SR__OPERATION__COMMIT_TIMEOUT", 102 }, |
| 10471 | + { "OPER_DATA_TIMEOUT", "SR__OPERATION__OPER_DATA_TIMEOUT", 103 }, |
| 10472 | + { "INTERNAL_STATE_DATA", "SR__OPERATION__INTERNAL_STATE_DATA", 104 }, |
| 10473 | + { "NOTIF_STORE_CLEANUP", "SR__OPERATION__NOTIF_STORE_CLEANUP", 105 }, |
| 10474 | + { "DELAYED_MSG", "SR__OPERATION__DELAYED_MSG", 106 }, |
| 10475 | + { "NACM_RELOAD", "SR__OPERATION__NACM_RELOAD", 107 }, |
| 10476 | +}; |
| 10477 | +static const ProtobufCIntRange sr__operation__value_ranges[] = { |
| 10478 | +{10, 0},{20, 7},{30, 11},{40, 16},{50, 20},{60, 24},{70, 26},{80, 30},{101, 36},{0, 43} |
| 10479 | +}; |
| 10480 | +static const ProtobufCEnumValueIndex sr__operation__enum_values_by_name[43] = |
| 10481 | +{ |
| 10482 | + { "ACTION", 33 }, |
| 10483 | + { "CHECK_ENABLED_RUNNING", 28 }, |
| 10484 | + { "CHECK_EXEC_PERMISSION", 31 }, |
| 10485 | + { "COMMIT", 21 }, |
| 10486 | + { "COMMIT_TIMEOUT", 37 }, |
| 10487 | + { "COPY_CONFIG", 23 }, |
| 10488 | + { "DATA_PROVIDE", 30 }, |
| 10489 | + { "DELAYED_MSG", 41 }, |
| 10490 | + { "DELETE_ITEM", 17 }, |
| 10491 | + { "DISCARD_CHANGES", 22 }, |
| 10492 | + { "EVENT_NOTIF", 34 }, |
| 10493 | + { "EVENT_NOTIF_REPLAY", 35 }, |
| 10494 | + { "FEATURE_ENABLE", 10 }, |
| 10495 | + { "GET_CHANGES", 29 }, |
| 10496 | + { "GET_ITEM", 11 }, |
| 10497 | + { "GET_ITEMS", 12 }, |
| 10498 | + { "GET_SCHEMA", 8 }, |
| 10499 | + { "GET_SUBTREE", 13 }, |
| 10500 | + { "GET_SUBTREES", 14 }, |
| 10501 | + { "GET_SUBTREE_CHUNK", 15 }, |
| 10502 | + { "INTERNAL_STATE_DATA", 39 }, |
| 10503 | + { "LIST_SCHEMAS", 7 }, |
| 10504 | + { "LOCK", 24 }, |
| 10505 | + { "MODULE_INSTALL", 9 }, |
| 10506 | + { "MOVE_ITEM", 18 }, |
| 10507 | + { "NACM_RELOAD", 42 }, |
| 10508 | + { "NOTIF_STORE_CLEANUP", 40 }, |
| 10509 | + { "OPER_DATA_TIMEOUT", 38 }, |
| 10510 | + { "RPC", 32 }, |
| 10511 | + { "SESSION_CHECK", 3 }, |
| 10512 | + { "SESSION_REFRESH", 2 }, |
| 10513 | + { "SESSION_SET_OPTS", 5 }, |
| 10514 | + { "SESSION_START", 0 }, |
| 10515 | + { "SESSION_STOP", 1 }, |
| 10516 | + { "SESSION_SWITCH_DS", 4 }, |
| 10517 | + { "SET_ITEM", 16 }, |
| 10518 | + { "SET_ITEM_STR", 19 }, |
| 10519 | + { "SUBSCRIBE", 26 }, |
| 10520 | + { "UNLOCK", 25 }, |
| 10521 | + { "UNSUBSCRIBE", 27 }, |
| 10522 | + { "UNSUBSCRIBE_DESTINATION", 36 }, |
| 10523 | + { "VALIDATE", 20 }, |
| 10524 | + { "VERSION_VERIFY", 6 }, |
| 10525 | +}; |
| 10526 | +const ProtobufCEnumDescriptor sr__operation__descriptor = |
| 10527 | +{ |
| 10528 | + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, |
| 10529 | + "sr.Operation", |
| 10530 | + "Operation", |
| 10531 | + "Sr__Operation", |
| 10532 | + "sr", |
| 10533 | + 43, |
| 10534 | + sr__operation__enum_values_by_number, |
| 10535 | + 43, |
| 10536 | + sr__operation__enum_values_by_name, |
| 10537 | + 9, |
| 10538 | + sr__operation__value_ranges, |
| 10539 | + NULL,NULL,NULL,NULL /* reserved[1234] */ |
| 10540 | +}; |
| 10541 | --- /dev/null |
| 10542 | +++ b/src/common/sysrepo.pb-c.h |
| 10543 | @@ -0,0 +1,4238 @@ |
| 10544 | +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ |
| 10545 | +/* Generated from: sysrepo.proto */ |
| 10546 | + |
| 10547 | +#ifndef PROTOBUF_C_sysrepo_2eproto__INCLUDED |
| 10548 | +#define PROTOBUF_C_sysrepo_2eproto__INCLUDED |
| 10549 | + |
| 10550 | +#include <protobuf-c/protobuf-c.h> |
| 10551 | + |
| 10552 | +PROTOBUF_C__BEGIN_DECLS |
| 10553 | + |
| 10554 | +#if PROTOBUF_C_VERSION_NUMBER < 1000000 |
| 10555 | +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. |
| 10556 | +#elif 1002001 < PROTOBUF_C_MIN_COMPILER_VERSION |
| 10557 | +# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. |
| 10558 | +#endif |
| 10559 | + |
| 10560 | + |
| 10561 | +typedef struct _Sr__Value Sr__Value; |
| 10562 | +typedef struct _Sr__Node Sr__Node; |
| 10563 | +typedef struct _Sr__Error Sr__Error; |
| 10564 | +typedef struct _Sr__SessionStartReq Sr__SessionStartReq; |
| 10565 | +typedef struct _Sr__SessionStartResp Sr__SessionStartResp; |
| 10566 | +typedef struct _Sr__SessionStopReq Sr__SessionStopReq; |
| 10567 | +typedef struct _Sr__SessionStopResp Sr__SessionStopResp; |
| 10568 | +typedef struct _Sr__SessionRefreshReq Sr__SessionRefreshReq; |
| 10569 | +typedef struct _Sr__SessionRefreshResp Sr__SessionRefreshResp; |
| 10570 | +typedef struct _Sr__SessionCheckReq Sr__SessionCheckReq; |
| 10571 | +typedef struct _Sr__SessionCheckResp Sr__SessionCheckResp; |
| 10572 | +typedef struct _Sr__SessionSwitchDsReq Sr__SessionSwitchDsReq; |
| 10573 | +typedef struct _Sr__SessionSwitchDsResp Sr__SessionSwitchDsResp; |
| 10574 | +typedef struct _Sr__SessionSetOptsReq Sr__SessionSetOptsReq; |
| 10575 | +typedef struct _Sr__SessionSetOptsResp Sr__SessionSetOptsResp; |
| 10576 | +typedef struct _Sr__VersionVerifyReq Sr__VersionVerifyReq; |
| 10577 | +typedef struct _Sr__VersionVerifyResp Sr__VersionVerifyResp; |
| 10578 | +typedef struct _Sr__SchemaRevision Sr__SchemaRevision; |
| 10579 | +typedef struct _Sr__SchemaSubmodule Sr__SchemaSubmodule; |
| 10580 | +typedef struct _Sr__Schema Sr__Schema; |
| 10581 | +typedef struct _Sr__ListSchemasReq Sr__ListSchemasReq; |
| 10582 | +typedef struct _Sr__ListSchemasResp Sr__ListSchemasResp; |
| 10583 | +typedef struct _Sr__GetSchemaReq Sr__GetSchemaReq; |
| 10584 | +typedef struct _Sr__GetSchemaResp Sr__GetSchemaResp; |
| 10585 | +typedef struct _Sr__GetItemReq Sr__GetItemReq; |
| 10586 | +typedef struct _Sr__GetItemResp Sr__GetItemResp; |
| 10587 | +typedef struct _Sr__GetItemsReq Sr__GetItemsReq; |
| 10588 | +typedef struct _Sr__GetItemsResp Sr__GetItemsResp; |
| 10589 | +typedef struct _Sr__GetSubtreeReq Sr__GetSubtreeReq; |
| 10590 | +typedef struct _Sr__GetSubtreeResp Sr__GetSubtreeResp; |
| 10591 | +typedef struct _Sr__GetSubtreesReq Sr__GetSubtreesReq; |
| 10592 | +typedef struct _Sr__GetSubtreesResp Sr__GetSubtreesResp; |
| 10593 | +typedef struct _Sr__GetSubtreeChunkReq Sr__GetSubtreeChunkReq; |
| 10594 | +typedef struct _Sr__GetSubtreeChunkResp Sr__GetSubtreeChunkResp; |
| 10595 | +typedef struct _Sr__SetItemReq Sr__SetItemReq; |
| 10596 | +typedef struct _Sr__SetItemResp Sr__SetItemResp; |
| 10597 | +typedef struct _Sr__SetItemStrReq Sr__SetItemStrReq; |
| 10598 | +typedef struct _Sr__SetItemStrResp Sr__SetItemStrResp; |
| 10599 | +typedef struct _Sr__DeleteItemReq Sr__DeleteItemReq; |
| 10600 | +typedef struct _Sr__DeleteItemResp Sr__DeleteItemResp; |
| 10601 | +typedef struct _Sr__MoveItemReq Sr__MoveItemReq; |
| 10602 | +typedef struct _Sr__MoveItemResp Sr__MoveItemResp; |
| 10603 | +typedef struct _Sr__ValidateReq Sr__ValidateReq; |
| 10604 | +typedef struct _Sr__ValidateResp Sr__ValidateResp; |
| 10605 | +typedef struct _Sr__CommitReq Sr__CommitReq; |
| 10606 | +typedef struct _Sr__CommitResp Sr__CommitResp; |
| 10607 | +typedef struct _Sr__DiscardChangesReq Sr__DiscardChangesReq; |
| 10608 | +typedef struct _Sr__DiscardChangesResp Sr__DiscardChangesResp; |
| 10609 | +typedef struct _Sr__CopyConfigReq Sr__CopyConfigReq; |
| 10610 | +typedef struct _Sr__CopyConfigResp Sr__CopyConfigResp; |
| 10611 | +typedef struct _Sr__LockReq Sr__LockReq; |
| 10612 | +typedef struct _Sr__LockResp Sr__LockResp; |
| 10613 | +typedef struct _Sr__UnlockReq Sr__UnlockReq; |
| 10614 | +typedef struct _Sr__UnlockResp Sr__UnlockResp; |
| 10615 | +typedef struct _Sr__SubscribeReq Sr__SubscribeReq; |
| 10616 | +typedef struct _Sr__SubscribeResp Sr__SubscribeResp; |
| 10617 | +typedef struct _Sr__UnsubscribeReq Sr__UnsubscribeReq; |
| 10618 | +typedef struct _Sr__UnsubscribeResp Sr__UnsubscribeResp; |
| 10619 | +typedef struct _Sr__CheckEnabledRunningReq Sr__CheckEnabledRunningReq; |
| 10620 | +typedef struct _Sr__CheckEnabledRunningResp Sr__CheckEnabledRunningResp; |
| 10621 | +typedef struct _Sr__ModuleInstallNotification Sr__ModuleInstallNotification; |
| 10622 | +typedef struct _Sr__FeatureEnableNotification Sr__FeatureEnableNotification; |
| 10623 | +typedef struct _Sr__ModuleChangeNotification Sr__ModuleChangeNotification; |
| 10624 | +typedef struct _Sr__SubtreeChangeNotification Sr__SubtreeChangeNotification; |
| 10625 | +typedef struct _Sr__Change Sr__Change; |
| 10626 | +typedef struct _Sr__GetChangesReq Sr__GetChangesReq; |
| 10627 | +typedef struct _Sr__GetChangesResp Sr__GetChangesResp; |
| 10628 | +typedef struct _Sr__CheckExecPermReq Sr__CheckExecPermReq; |
| 10629 | +typedef struct _Sr__CheckExecPermResp Sr__CheckExecPermResp; |
| 10630 | +typedef struct _Sr__RPCReq Sr__RPCReq; |
| 10631 | +typedef struct _Sr__RPCResp Sr__RPCResp; |
| 10632 | +typedef struct _Sr__EventNotifReq Sr__EventNotifReq; |
| 10633 | +typedef struct _Sr__EventNotifResp Sr__EventNotifResp; |
| 10634 | +typedef struct _Sr__EventNotifReplayReq Sr__EventNotifReplayReq; |
| 10635 | +typedef struct _Sr__EventNotifReplayResp Sr__EventNotifReplayResp; |
| 10636 | +typedef struct _Sr__DataProvideReq Sr__DataProvideReq; |
| 10637 | +typedef struct _Sr__DataProvideResp Sr__DataProvideResp; |
| 10638 | +typedef struct _Sr__ModuleInstallReq Sr__ModuleInstallReq; |
| 10639 | +typedef struct _Sr__ModuleInstallResp Sr__ModuleInstallResp; |
| 10640 | +typedef struct _Sr__FeatureEnableReq Sr__FeatureEnableReq; |
| 10641 | +typedef struct _Sr__FeatureEnableResp Sr__FeatureEnableResp; |
| 10642 | +typedef struct _Sr__UnsubscribeDestinationReq Sr__UnsubscribeDestinationReq; |
| 10643 | +typedef struct _Sr__CommitTimeoutReq Sr__CommitTimeoutReq; |
| 10644 | +typedef struct _Sr__OperDataTimeoutReq Sr__OperDataTimeoutReq; |
| 10645 | +typedef struct _Sr__InternalStateDataReq Sr__InternalStateDataReq; |
| 10646 | +typedef struct _Sr__NotifStoreCleanupReq Sr__NotifStoreCleanupReq; |
| 10647 | +typedef struct _Sr__DelayedMsgReq Sr__DelayedMsgReq; |
| 10648 | +typedef struct _Sr__NacmReloadReq Sr__NacmReloadReq; |
| 10649 | +typedef struct _Sr__Request Sr__Request; |
| 10650 | +typedef struct _Sr__Response Sr__Response; |
| 10651 | +typedef struct _Sr__Notification Sr__Notification; |
| 10652 | +typedef struct _Sr__NotificationAck Sr__NotificationAck; |
| 10653 | +typedef struct _Sr__InternalRequest Sr__InternalRequest; |
| 10654 | +typedef struct _Sr__Msg Sr__Msg; |
| 10655 | + |
| 10656 | + |
| 10657 | +/* --- enums --- */ |
| 10658 | + |
| 10659 | +typedef enum _Sr__Value__Types { |
| 10660 | + SR__VALUE__TYPES__LIST = 1, |
| 10661 | + SR__VALUE__TYPES__CONTAINER = 2, |
| 10662 | + SR__VALUE__TYPES__CONTAINER_PRESENCE = 3, |
| 10663 | + SR__VALUE__TYPES__LEAF_EMPTY = 4, |
| 10664 | + SR__VALUE__TYPES__BINARY = 10, |
| 10665 | + SR__VALUE__TYPES__BITS = 11, |
| 10666 | + SR__VALUE__TYPES__BOOL = 12, |
| 10667 | + SR__VALUE__TYPES__DECIMAL64 = 13, |
| 10668 | + SR__VALUE__TYPES__ENUM = 14, |
| 10669 | + SR__VALUE__TYPES__IDENTITYREF = 15, |
| 10670 | + SR__VALUE__TYPES__INSTANCEID = 16, |
| 10671 | + SR__VALUE__TYPES__INT8 = 17, |
| 10672 | + SR__VALUE__TYPES__INT16 = 18, |
| 10673 | + SR__VALUE__TYPES__INT32 = 19, |
| 10674 | + SR__VALUE__TYPES__INT64 = 20, |
| 10675 | + SR__VALUE__TYPES__STRING = 21, |
| 10676 | + SR__VALUE__TYPES__UINT8 = 22, |
| 10677 | + SR__VALUE__TYPES__UINT16 = 23, |
| 10678 | + SR__VALUE__TYPES__UINT32 = 24, |
| 10679 | + SR__VALUE__TYPES__UINT64 = 25, |
| 10680 | + SR__VALUE__TYPES__ANYXML = 26, |
| 10681 | + SR__VALUE__TYPES__ANYDATA = 27 |
| 10682 | + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__VALUE__TYPES) |
| 10683 | +} Sr__Value__Types; |
| 10684 | +typedef enum _Sr__MoveItemReq__MovePosition { |
| 10685 | + SR__MOVE_ITEM_REQ__MOVE_POSITION__BEFORE = 1, |
| 10686 | + SR__MOVE_ITEM_REQ__MOVE_POSITION__AFTER = 2, |
| 10687 | + SR__MOVE_ITEM_REQ__MOVE_POSITION__FIRST = 3, |
| 10688 | + SR__MOVE_ITEM_REQ__MOVE_POSITION__LAST = 4 |
| 10689 | + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__MOVE_ITEM_REQ__MOVE_POSITION) |
| 10690 | +} Sr__MoveItemReq__MovePosition; |
| 10691 | +/* |
| 10692 | + ** |
| 10693 | + * @brief Type of the event notification. |
| 10694 | + */ |
| 10695 | +typedef enum _Sr__EventNotifReq__NotifType { |
| 10696 | + SR__EVENT_NOTIF_REQ__NOTIF_TYPE__REALTIME = 1, |
| 10697 | + SR__EVENT_NOTIF_REQ__NOTIF_TYPE__REPLAY = 2, |
| 10698 | + SR__EVENT_NOTIF_REQ__NOTIF_TYPE__REPLAY_COMPLETE = 3, |
| 10699 | + SR__EVENT_NOTIF_REQ__NOTIF_TYPE__REPLAY_STOP = 4 |
| 10700 | + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__EVENT_NOTIF_REQ__NOTIF_TYPE) |
| 10701 | +} Sr__EventNotifReq__NotifType; |
| 10702 | +/* |
| 10703 | + ** |
| 10704 | + * @brief Flags used to override default session handling. |
| 10705 | + */ |
| 10706 | +typedef enum _Sr__EventNotifReq__NotifFlags { |
| 10707 | + /* |
| 10708 | + **< Notification will be handled normally. |
| 10709 | + */ |
| 10710 | + SR__EVENT_NOTIF_REQ__NOTIF_FLAGS__DEFAULT = 0, |
| 10711 | + /* |
| 10712 | + **< Notification will not be stored in the notification store. |
| 10713 | + */ |
| 10714 | + SR__EVENT_NOTIF_REQ__NOTIF_FLAGS__EPHEMERAL = 1 |
| 10715 | + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__EVENT_NOTIF_REQ__NOTIF_FLAGS) |
| 10716 | +} Sr__EventNotifReq__NotifFlags; |
| 10717 | +/* |
| 10718 | + ** |
| 10719 | + * @brief Type of the message. |
| 10720 | + */ |
| 10721 | +typedef enum _Sr__Msg__MsgType { |
| 10722 | + /* |
| 10723 | + **< The message is a request. |
| 10724 | + */ |
| 10725 | + SR__MSG__MSG_TYPE__REQUEST = 1, |
| 10726 | + /* |
| 10727 | + **< The message is a response to the request. |
| 10728 | + */ |
| 10729 | + SR__MSG__MSG_TYPE__RESPONSE = 2, |
| 10730 | + /* |
| 10731 | + **< The message is a notification. |
| 10732 | + */ |
| 10733 | + SR__MSG__MSG_TYPE__NOTIFICATION = 3, |
| 10734 | + /* |
| 10735 | + **< The message is a notification acknowledgment. |
| 10736 | + */ |
| 10737 | + SR__MSG__MSG_TYPE__NOTIFICATION_ACK = 4, |
| 10738 | + /* |
| 10739 | + **< The message is an internal request, should not be used from the public API. |
| 10740 | + */ |
| 10741 | + SR__MSG__MSG_TYPE__INTERNAL_REQUEST = 5 |
| 10742 | + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__MSG__MSG_TYPE) |
| 10743 | +} Sr__Msg__MsgType; |
| 10744 | +/* |
| 10745 | + ** |
| 10746 | + * @brief Variant of the API. Currently only values (sr_val_t) vs. trees (sr_node_t). |
| 10747 | + */ |
| 10748 | +typedef enum _Sr__ApiVariant { |
| 10749 | + SR__API_VARIANT__VALUES = 1, |
| 10750 | + SR__API_VARIANT__TREES = 2 |
| 10751 | + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__API_VARIANT) |
| 10752 | +} Sr__ApiVariant; |
| 10753 | +/* |
| 10754 | + ** |
| 10755 | + * @brief Datastore on which the configuration session will operate. |
| 10756 | + */ |
| 10757 | +typedef enum _Sr__DataStore { |
| 10758 | + SR__DATA_STORE__STARTUP = 1, |
| 10759 | + SR__DATA_STORE__RUNNING = 2, |
| 10760 | + SR__DATA_STORE__CANDIDATE = 3 |
| 10761 | + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__DATA_STORE) |
| 10762 | +} Sr__DataStore; |
| 10763 | +/* |
| 10764 | + ** |
| 10765 | + * @brief Flags used to override default session handling. |
| 10766 | + */ |
| 10767 | +typedef enum _Sr__SessionFlags { |
| 10768 | + /* |
| 10769 | + **< Default (normal) session behavior. |
| 10770 | + */ |
| 10771 | + SR__SESSION_FLAGS__SESS_DEFAULT = 0, |
| 10772 | + /* |
| 10773 | + **< Session will process only configuration data (e.g. sysrepo won't |
| 10774 | + *return any state data by ::sr_get_items / ::sr_get_items_iter calls). |
| 10775 | + */ |
| 10776 | + SR__SESSION_FLAGS__SESS_CONFIG_ONLY = 1, |
| 10777 | + /* |
| 10778 | + **< Enable NETCONF access control for this session. |
| 10779 | + */ |
| 10780 | + SR__SESSION_FLAGS__SESS_ENABLE_NACM = 2, |
| 10781 | + /* |
| 10782 | + **< Notification session (internal type of session). |
| 10783 | + */ |
| 10784 | + SR__SESSION_FLAGS__SESS_NOTIFICATION = 1024 |
| 10785 | + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__SESSION_FLAGS) |
| 10786 | +} Sr__SessionFlags; |
| 10787 | +/* |
| 10788 | + ** |
| 10789 | + * @brief Flags used to override default behavior of data manipulation calls. |
| 10790 | + */ |
| 10791 | +typedef enum _Sr__EditFlags { |
| 10792 | + /* |
| 10793 | + **< Default behavior - recursive and non-strict. |
| 10794 | + */ |
| 10795 | + SR__EDIT_FLAGS__EDIT_DEFAULT = 0, |
| 10796 | + /* |
| 10797 | + **< Non-recursive behavior: |
| 10798 | + *by ::SetItemReq, all preceding nodes (parents) of the identified element must exist, |
| 10799 | + *by ::DeleteItemReq xpath must not identify an non-empty list or non-empty container. |
| 10800 | + */ |
| 10801 | + SR__EDIT_FLAGS__EDIT_NON_RECURSIVE = 1, |
| 10802 | + /* |
| 10803 | + **< Strict behavior: |
| 10804 | + *by ::SetItemReq the identified element must not exist (similar to netconf create operation), |
| 10805 | + *by ::DeleteItemReq the identified element must exist (similar to netconf delete operation). |
| 10806 | + */ |
| 10807 | + SR__EDIT_FLAGS__EDIT_STRICT = 2 |
| 10808 | + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__EDIT_FLAGS) |
| 10809 | +} Sr__EditFlags; |
| 10810 | +typedef enum _Sr__SubscriptionType { |
| 10811 | + SR__SUBSCRIPTION_TYPE__MODULE_INSTALL_SUBS = 1, |
| 10812 | + SR__SUBSCRIPTION_TYPE__FEATURE_ENABLE_SUBS = 2, |
| 10813 | + SR__SUBSCRIPTION_TYPE__MODULE_CHANGE_SUBS = 10, |
| 10814 | + SR__SUBSCRIPTION_TYPE__SUBTREE_CHANGE_SUBS = 11, |
| 10815 | + SR__SUBSCRIPTION_TYPE__DP_GET_ITEMS_SUBS = 20, |
| 10816 | + SR__SUBSCRIPTION_TYPE__RPC_SUBS = 30, |
| 10817 | + SR__SUBSCRIPTION_TYPE__ACTION_SUBS = 31, |
| 10818 | + SR__SUBSCRIPTION_TYPE__EVENT_NOTIF_SUBS = 40, |
| 10819 | + /* |
| 10820 | + **< Used only internally to test for inactive notification subscriptions. |
| 10821 | + */ |
| 10822 | + SR__SUBSCRIPTION_TYPE__HELLO_SUBS = 50, |
| 10823 | + /* |
| 10824 | + **< Used only internally to notify about the end of the commit process. |
| 10825 | + */ |
| 10826 | + SR__SUBSCRIPTION_TYPE__COMMIT_END_SUBS = 51 |
| 10827 | + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__SUBSCRIPTION_TYPE) |
| 10828 | +} Sr__SubscriptionType; |
| 10829 | +typedef enum _Sr__NotificationEvent { |
| 10830 | + SR__NOTIFICATION_EVENT__VERIFY_EV = 1, |
| 10831 | + SR__NOTIFICATION_EVENT__APPLY_EV = 2, |
| 10832 | + SR__NOTIFICATION_EVENT__ABORT_EV = 3, |
| 10833 | + SR__NOTIFICATION_EVENT__ENABLED_EV = 4 |
| 10834 | + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__NOTIFICATION_EVENT) |
| 10835 | +} Sr__NotificationEvent; |
| 10836 | +typedef enum _Sr__ModuleState { |
| 10837 | + SR__MODULE_STATE__UNINSTALLED = 1, |
| 10838 | + SR__MODULE_STATE__IMPORTED = 2, |
| 10839 | + SR__MODULE_STATE__IMPLEMENTED = 3 |
| 10840 | + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__MODULE_STATE) |
| 10841 | +} Sr__ModuleState; |
| 10842 | +typedef enum _Sr__ChangeOperation { |
| 10843 | + SR__CHANGE_OPERATION__CREATED = 1, |
| 10844 | + SR__CHANGE_OPERATION__MODIFIED = 2, |
| 10845 | + SR__CHANGE_OPERATION__DELETED = 3, |
| 10846 | + SR__CHANGE_OPERATION__MOVED = 4 |
| 10847 | + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__CHANGE_OPERATION) |
| 10848 | +} Sr__ChangeOperation; |
| 10849 | +/* |
| 10850 | + ** |
| 10851 | + * @brief Requested operation. |
| 10852 | + */ |
| 10853 | +typedef enum _Sr__Operation { |
| 10854 | + SR__OPERATION__SESSION_START = 10, |
| 10855 | + SR__OPERATION__SESSION_STOP = 11, |
| 10856 | + SR__OPERATION__SESSION_REFRESH = 12, |
| 10857 | + SR__OPERATION__SESSION_CHECK = 13, |
| 10858 | + SR__OPERATION__SESSION_SWITCH_DS = 14, |
| 10859 | + SR__OPERATION__SESSION_SET_OPTS = 15, |
| 10860 | + SR__OPERATION__VERSION_VERIFY = 16, |
| 10861 | + SR__OPERATION__LIST_SCHEMAS = 20, |
| 10862 | + SR__OPERATION__GET_SCHEMA = 21, |
| 10863 | + SR__OPERATION__MODULE_INSTALL = 22, |
| 10864 | + SR__OPERATION__FEATURE_ENABLE = 23, |
| 10865 | + SR__OPERATION__GET_ITEM = 30, |
| 10866 | + SR__OPERATION__GET_ITEMS = 31, |
| 10867 | + SR__OPERATION__GET_SUBTREE = 32, |
| 10868 | + SR__OPERATION__GET_SUBTREES = 33, |
| 10869 | + SR__OPERATION__GET_SUBTREE_CHUNK = 34, |
| 10870 | + SR__OPERATION__SET_ITEM = 40, |
| 10871 | + SR__OPERATION__DELETE_ITEM = 41, |
| 10872 | + SR__OPERATION__MOVE_ITEM = 42, |
| 10873 | + SR__OPERATION__SET_ITEM_STR = 43, |
| 10874 | + SR__OPERATION__VALIDATE = 50, |
| 10875 | + SR__OPERATION__COMMIT = 51, |
| 10876 | + SR__OPERATION__DISCARD_CHANGES = 52, |
| 10877 | + SR__OPERATION__COPY_CONFIG = 53, |
| 10878 | + SR__OPERATION__LOCK = 60, |
| 10879 | + SR__OPERATION__UNLOCK = 61, |
| 10880 | + SR__OPERATION__SUBSCRIBE = 70, |
| 10881 | + SR__OPERATION__UNSUBSCRIBE = 71, |
| 10882 | + SR__OPERATION__CHECK_ENABLED_RUNNING = 72, |
| 10883 | + SR__OPERATION__GET_CHANGES = 73, |
| 10884 | + SR__OPERATION__DATA_PROVIDE = 80, |
| 10885 | + SR__OPERATION__CHECK_EXEC_PERMISSION = 81, |
| 10886 | + SR__OPERATION__RPC = 82, |
| 10887 | + SR__OPERATION__ACTION = 83, |
| 10888 | + SR__OPERATION__EVENT_NOTIF = 84, |
| 10889 | + SR__OPERATION__EVENT_NOTIF_REPLAY = 85, |
| 10890 | + SR__OPERATION__UNSUBSCRIBE_DESTINATION = 101, |
| 10891 | + SR__OPERATION__COMMIT_TIMEOUT = 102, |
| 10892 | + SR__OPERATION__OPER_DATA_TIMEOUT = 103, |
| 10893 | + SR__OPERATION__INTERNAL_STATE_DATA = 104, |
| 10894 | + SR__OPERATION__NOTIF_STORE_CLEANUP = 105, |
| 10895 | + SR__OPERATION__DELAYED_MSG = 106, |
| 10896 | + SR__OPERATION__NACM_RELOAD = 107 |
| 10897 | + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__OPERATION) |
| 10898 | +} Sr__Operation; |
| 10899 | + |
| 10900 | +/* --- messages --- */ |
| 10901 | + |
| 10902 | +/* |
| 10903 | + ** |
| 10904 | + * @brief Value of an item stored (or to be stored) in the datastore. |
| 10905 | + * Can be mapped to sr_val_t data structure from sysrepo library API. |
| 10906 | + */ |
| 10907 | +struct _Sr__Value |
| 10908 | +{ |
| 10909 | + ProtobufCMessage base; |
| 10910 | + char *xpath; |
| 10911 | + Sr__Value__Types type; |
| 10912 | + protobuf_c_boolean dflt; |
| 10913 | + char *binary_val; |
| 10914 | + char *bits_val; |
| 10915 | + protobuf_c_boolean has_bool_val; |
| 10916 | + protobuf_c_boolean bool_val; |
| 10917 | + protobuf_c_boolean has_decimal64_val; |
| 10918 | + double decimal64_val; |
| 10919 | + char *enum_val; |
| 10920 | + char *identityref_val; |
| 10921 | + char *instanceid_val; |
| 10922 | + protobuf_c_boolean has_int8_val; |
| 10923 | + int32_t int8_val; |
| 10924 | + protobuf_c_boolean has_int16_val; |
| 10925 | + int32_t int16_val; |
| 10926 | + protobuf_c_boolean has_int32_val; |
| 10927 | + int32_t int32_val; |
| 10928 | + protobuf_c_boolean has_int64_val; |
| 10929 | + int64_t int64_val; |
| 10930 | + char *string_val; |
| 10931 | + protobuf_c_boolean has_uint8_val; |
| 10932 | + uint32_t uint8_val; |
| 10933 | + protobuf_c_boolean has_uint16_val; |
| 10934 | + uint32_t uint16_val; |
| 10935 | + protobuf_c_boolean has_uint32_val; |
| 10936 | + uint32_t uint32_val; |
| 10937 | + protobuf_c_boolean has_uint64_val; |
| 10938 | + uint64_t uint64_val; |
| 10939 | + char *anyxml_val; |
| 10940 | + char *anydata_val; |
| 10941 | +}; |
| 10942 | +#define SR__VALUE__INIT \ |
| 10943 | + { PROTOBUF_C_MESSAGE_INIT (&sr__value__descriptor) \ |
| 10944 | + , NULL, 0, 0, NULL, NULL, 0,0, 0,0, NULL, NULL, NULL, 0,0, 0,0, 0,0, 0,0, NULL, 0,0, 0,0, 0,0, 0,0, NULL, NULL } |
| 10945 | + |
| 10946 | + |
| 10947 | +/* |
| 10948 | + ** |
| 10949 | + * @brief Item stored (or to be stored) in the datastore represented as a tree node |
| 10950 | + * reflecting module schema. Can be mapped to sr_node_t data structure from sysrepo library API. |
| 10951 | + */ |
| 10952 | +struct _Sr__Node |
| 10953 | +{ |
| 10954 | + ProtobufCMessage base; |
| 10955 | + /* |
| 10956 | + **< Value of the node; member *xpath* is used to store node's name. |
| 10957 | + */ |
| 10958 | + Sr__Value *value; |
| 10959 | + /* |
| 10960 | + **< Name of the module that defines scheme of this node. |
| 10961 | + */ |
| 10962 | + char *module_name; |
| 10963 | + /* |
| 10964 | + **< Direct descendands of this node. |
| 10965 | + */ |
| 10966 | + size_t n_children; |
| 10967 | + Sr__Node **children; |
| 10968 | +}; |
| 10969 | +#define SR__NODE__INIT \ |
| 10970 | + { PROTOBUF_C_MESSAGE_INIT (&sr__node__descriptor) \ |
| 10971 | + , NULL, NULL, 0,NULL } |
| 10972 | + |
| 10973 | + |
| 10974 | +/* |
| 10975 | + ** |
| 10976 | + * @brief Error message retuned from the Sysrepo Engine. |
| 10977 | + */ |
| 10978 | +struct _Sr__Error |
| 10979 | +{ |
| 10980 | + ProtobufCMessage base; |
| 10981 | + char *message; |
| 10982 | + char *xpath; |
| 10983 | +}; |
| 10984 | +#define SR__ERROR__INIT \ |
| 10985 | + { PROTOBUF_C_MESSAGE_INIT (&sr__error__descriptor) \ |
| 10986 | + , NULL, NULL } |
| 10987 | + |
| 10988 | + |
| 10989 | +/* |
| 10990 | + ** |
| 10991 | + * @brief Request for starting a session. Sent by sr_session_start API call. |
| 10992 | + */ |
| 10993 | +struct _Sr__SessionStartReq |
| 10994 | +{ |
| 10995 | + ProtobufCMessage base; |
| 10996 | + Sr__DataStore datastore; |
| 10997 | + char *user_name; |
| 10998 | + /* |
| 10999 | + **< Bitwise OR of SessionFlags. |
| 11000 | + */ |
| 11001 | + uint32_t options; |
| 11002 | + /* |
| 11003 | + **< Applicable if SESS_NOTIFICATION was specified. |
| 11004 | + */ |
| 11005 | + protobuf_c_boolean has_commit_id; |
| 11006 | + uint32_t commit_id; |
| 11007 | +}; |
| 11008 | +#define SR__SESSION_START_REQ__INIT \ |
| 11009 | + { PROTOBUF_C_MESSAGE_INIT (&sr__session_start_req__descriptor) \ |
| 11010 | + , 0, NULL, 0, 0,0 } |
| 11011 | + |
| 11012 | + |
| 11013 | +/* |
| 11014 | + ** |
| 11015 | + * @brief Response to session_start request. |
| 11016 | + */ |
| 11017 | +struct _Sr__SessionStartResp |
| 11018 | +{ |
| 11019 | + ProtobufCMessage base; |
| 11020 | + uint32_t session_id; |
| 11021 | +}; |
| 11022 | +#define SR__SESSION_START_RESP__INIT \ |
| 11023 | + { PROTOBUF_C_MESSAGE_INIT (&sr__session_start_resp__descriptor) \ |
| 11024 | + , 0 } |
| 11025 | + |
| 11026 | + |
| 11027 | +/* |
| 11028 | + ** |
| 11029 | + * @brief Request for stopping the session. Sent by sr_session_stop API call. |
| 11030 | + */ |
| 11031 | +struct _Sr__SessionStopReq |
| 11032 | +{ |
| 11033 | + ProtobufCMessage base; |
| 11034 | + uint32_t session_id; |
| 11035 | +}; |
| 11036 | +#define SR__SESSION_STOP_REQ__INIT \ |
| 11037 | + { PROTOBUF_C_MESSAGE_INIT (&sr__session_stop_req__descriptor) \ |
| 11038 | + , 0 } |
| 11039 | + |
| 11040 | + |
| 11041 | +/* |
| 11042 | + ** |
| 11043 | + * @brief Response to session_stop request. |
| 11044 | + */ |
| 11045 | +struct _Sr__SessionStopResp |
| 11046 | +{ |
| 11047 | + ProtobufCMessage base; |
| 11048 | + uint32_t session_id; |
| 11049 | +}; |
| 11050 | +#define SR__SESSION_STOP_RESP__INIT \ |
| 11051 | + { PROTOBUF_C_MESSAGE_INIT (&sr__session_stop_resp__descriptor) \ |
| 11052 | + , 0 } |
| 11053 | + |
| 11054 | + |
| 11055 | +/* |
| 11056 | + ** |
| 11057 | + * @brief Refreshes configuration data cached within the session. |
| 11058 | + * Sent by sr_session_refresh API call. |
| 11059 | + */ |
| 11060 | +struct _Sr__SessionRefreshReq |
| 11061 | +{ |
| 11062 | + ProtobufCMessage base; |
| 11063 | +}; |
| 11064 | +#define SR__SESSION_REFRESH_REQ__INIT \ |
| 11065 | + { PROTOBUF_C_MESSAGE_INIT (&sr__session_refresh_req__descriptor) \ |
| 11066 | + } |
| 11067 | + |
| 11068 | + |
| 11069 | +/* |
| 11070 | + ** |
| 11071 | + * @brief Response to sr_session_refresh request. |
| 11072 | + */ |
| 11073 | +struct _Sr__SessionRefreshResp |
| 11074 | +{ |
| 11075 | + ProtobufCMessage base; |
| 11076 | + size_t n_errors; |
| 11077 | + Sr__Error **errors; |
| 11078 | +}; |
| 11079 | +#define SR__SESSION_REFRESH_RESP__INIT \ |
| 11080 | + { PROTOBUF_C_MESSAGE_INIT (&sr__session_refresh_resp__descriptor) \ |
| 11081 | + , 0,NULL } |
| 11082 | + |
| 11083 | + |
| 11084 | +/* |
| 11085 | + ** |
| 11086 | + * @brief Checks aliveness and validity of the session & connection tied to it. |
| 11087 | + * Sent by sr_session_check API call. |
| 11088 | + */ |
| 11089 | +struct _Sr__SessionCheckReq |
| 11090 | +{ |
| 11091 | + ProtobufCMessage base; |
| 11092 | +}; |
| 11093 | +#define SR__SESSION_CHECK_REQ__INIT \ |
| 11094 | + { PROTOBUF_C_MESSAGE_INIT (&sr__session_check_req__descriptor) \ |
| 11095 | + } |
| 11096 | + |
| 11097 | + |
| 11098 | +/* |
| 11099 | + ** |
| 11100 | + * @brief Response to sr_session_check request. |
| 11101 | + */ |
| 11102 | +struct _Sr__SessionCheckResp |
| 11103 | +{ |
| 11104 | + ProtobufCMessage base; |
| 11105 | + size_t n_errors; |
| 11106 | + Sr__Error **errors; |
| 11107 | +}; |
| 11108 | +#define SR__SESSION_CHECK_RESP__INIT \ |
| 11109 | + { PROTOBUF_C_MESSAGE_INIT (&sr__session_check_resp__descriptor) \ |
| 11110 | + , 0,NULL } |
| 11111 | + |
| 11112 | + |
| 11113 | +/* |
| 11114 | + ** |
| 11115 | + * @brief Changes the datastore to which the session is tied to. |
| 11116 | + */ |
| 11117 | +struct _Sr__SessionSwitchDsReq |
| 11118 | +{ |
| 11119 | + ProtobufCMessage base; |
| 11120 | + Sr__DataStore datastore; |
| 11121 | +}; |
| 11122 | +#define SR__SESSION_SWITCH_DS_REQ__INIT \ |
| 11123 | + { PROTOBUF_C_MESSAGE_INIT (&sr__session_switch_ds_req__descriptor) \ |
| 11124 | + , 0 } |
| 11125 | + |
| 11126 | + |
| 11127 | +/* |
| 11128 | + ** |
| 11129 | + * @brief Response to sr_session_switch_ds request. |
| 11130 | + */ |
| 11131 | +struct _Sr__SessionSwitchDsResp |
| 11132 | +{ |
| 11133 | + ProtobufCMessage base; |
| 11134 | +}; |
| 11135 | +#define SR__SESSION_SWITCH_DS_RESP__INIT \ |
| 11136 | + { PROTOBUF_C_MESSAGE_INIT (&sr__session_switch_ds_resp__descriptor) \ |
| 11137 | + } |
| 11138 | + |
| 11139 | + |
| 11140 | +/* |
| 11141 | + ** |
| 11142 | + * @brief Request for modification of session options. |
| 11143 | + */ |
| 11144 | +struct _Sr__SessionSetOptsReq |
| 11145 | +{ |
| 11146 | + ProtobufCMessage base; |
| 11147 | + uint32_t options; |
| 11148 | +}; |
| 11149 | +#define SR__SESSION_SET_OPTS_REQ__INIT \ |
| 11150 | + { PROTOBUF_C_MESSAGE_INIT (&sr__session_set_opts_req__descriptor) \ |
| 11151 | + , 0 } |
| 11152 | + |
| 11153 | + |
| 11154 | +/* |
| 11155 | + ** |
| 11156 | + * @brief Response to sr_session_set_options. |
| 11157 | + */ |
| 11158 | +struct _Sr__SessionSetOptsResp |
| 11159 | +{ |
| 11160 | + ProtobufCMessage base; |
| 11161 | +}; |
| 11162 | +#define SR__SESSION_SET_OPTS_RESP__INIT \ |
| 11163 | + { PROTOBUF_C_MESSAGE_INIT (&sr__session_set_opts_resp__descriptor) \ |
| 11164 | + } |
| 11165 | + |
| 11166 | + |
| 11167 | +/* |
| 11168 | + ** |
| 11169 | + * @brief Request to verify version compatibility. |
| 11170 | + */ |
| 11171 | +struct _Sr__VersionVerifyReq |
| 11172 | +{ |
| 11173 | + ProtobufCMessage base; |
| 11174 | + char *soname; |
| 11175 | +}; |
| 11176 | +#define SR__VERSION_VERIFY_REQ__INIT \ |
| 11177 | + { PROTOBUF_C_MESSAGE_INIT (&sr__version_verify_req__descriptor) \ |
| 11178 | + , NULL } |
| 11179 | + |
| 11180 | + |
| 11181 | +/* |
| 11182 | + ** |
| 11183 | + * @brief Response to version verification. |
| 11184 | + */ |
| 11185 | +struct _Sr__VersionVerifyResp |
| 11186 | +{ |
| 11187 | + ProtobufCMessage base; |
| 11188 | + /* |
| 11189 | + **< server-side SONAME version in case of versions incompatibility. |
| 11190 | + */ |
| 11191 | + char *soname; |
| 11192 | +}; |
| 11193 | +#define SR__VERSION_VERIFY_RESP__INIT \ |
| 11194 | + { PROTOBUF_C_MESSAGE_INIT (&sr__version_verify_resp__descriptor) \ |
| 11195 | + , NULL } |
| 11196 | + |
| 11197 | + |
| 11198 | +/* |
| 11199 | + ** |
| 11200 | + * @brief Schema revision details. |
| 11201 | + */ |
| 11202 | +struct _Sr__SchemaRevision |
| 11203 | +{ |
| 11204 | + ProtobufCMessage base; |
| 11205 | + /* |
| 11206 | + **< Latest revision date of the module. |
| 11207 | + */ |
| 11208 | + char *revision; |
| 11209 | + /* |
| 11210 | + **< Absolute path to file where the schema is stored (YANG format). |
| 11211 | + */ |
| 11212 | + char *file_path_yang; |
| 11213 | + /* |
| 11214 | + **< Absolute path to file where the schema is stored (.yin format). |
| 11215 | + */ |
| 11216 | + char *file_path_yin; |
| 11217 | +}; |
| 11218 | +#define SR__SCHEMA_REVISION__INIT \ |
| 11219 | + { PROTOBUF_C_MESSAGE_INIT (&sr__schema_revision__descriptor) \ |
| 11220 | + , NULL, NULL, NULL } |
| 11221 | + |
| 11222 | + |
| 11223 | +/* |
| 11224 | + ** |
| 11225 | + * @brief Schema submodule information. |
| 11226 | + */ |
| 11227 | +struct _Sr__SchemaSubmodule |
| 11228 | +{ |
| 11229 | + ProtobufCMessage base; |
| 11230 | + /* |
| 11231 | + **< Submodule name |
| 11232 | + */ |
| 11233 | + char *submodule_name; |
| 11234 | + /* |
| 11235 | + **< Revision of the submodule |
| 11236 | + */ |
| 11237 | + Sr__SchemaRevision *revision; |
| 11238 | +}; |
| 11239 | +#define SR__SCHEMA_SUBMODULE__INIT \ |
| 11240 | + { PROTOBUF_C_MESSAGE_INIT (&sr__schema_submodule__descriptor) \ |
| 11241 | + , NULL, NULL } |
| 11242 | + |
| 11243 | + |
| 11244 | +/* |
| 11245 | + ** |
| 11246 | + * @brief Information about a schema installed in sysrepo datastore. |
| 11247 | + */ |
| 11248 | +struct _Sr__Schema |
| 11249 | +{ |
| 11250 | + ProtobufCMessage base; |
| 11251 | + /* |
| 11252 | + **< Name of the module. |
| 11253 | + */ |
| 11254 | + char *module_name; |
| 11255 | + /* |
| 11256 | + **< Namespace of the module. |
| 11257 | + */ |
| 11258 | + char *ns; |
| 11259 | + /* |
| 11260 | + **< Prefix of he module. |
| 11261 | + */ |
| 11262 | + char *prefix; |
| 11263 | + /* |
| 11264 | + **< TRUE only for explicitly installed modules (those are always implemented). |
| 11265 | + */ |
| 11266 | + protobuf_c_boolean installed; |
| 11267 | + /* |
| 11268 | + **< TRUE for implemented modules (do not have to be installed if they have augments, |
| 11269 | + *deviations or are targets for leafrefs of other implemented modules). |
| 11270 | + */ |
| 11271 | + protobuf_c_boolean implemented; |
| 11272 | + /* |
| 11273 | + **< Revision of the module |
| 11274 | + */ |
| 11275 | + Sr__SchemaRevision *revision; |
| 11276 | + /* |
| 11277 | + **< Submodules |
| 11278 | + */ |
| 11279 | + size_t n_submodules; |
| 11280 | + Sr__SchemaSubmodule **submodules; |
| 11281 | + /* |
| 11282 | + **< Features enabled for the module |
| 11283 | + */ |
| 11284 | + size_t n_enabled_features; |
| 11285 | + char **enabled_features; |
| 11286 | +}; |
| 11287 | +#define SR__SCHEMA__INIT \ |
| 11288 | + { PROTOBUF_C_MESSAGE_INIT (&sr__schema__descriptor) \ |
| 11289 | + , NULL, NULL, NULL, 0, 0, NULL, 0,NULL, 0,NULL } |
| 11290 | + |
| 11291 | + |
| 11292 | +/* |
| 11293 | + ** |
| 11294 | + * @brief Retrieves an array of schemas installed in the sysrepo datastore. |
| 11295 | + * Sent by sr_list_schemas API call. |
| 11296 | + */ |
| 11297 | +struct _Sr__ListSchemasReq |
| 11298 | +{ |
| 11299 | + ProtobufCMessage base; |
| 11300 | +}; |
| 11301 | +#define SR__LIST_SCHEMAS_REQ__INIT \ |
| 11302 | + { PROTOBUF_C_MESSAGE_INIT (&sr__list_schemas_req__descriptor) \ |
| 11303 | + } |
| 11304 | + |
| 11305 | + |
| 11306 | +/* |
| 11307 | + ** |
| 11308 | + * @brief Response to sr_list_schemas request. |
| 11309 | + */ |
| 11310 | +struct _Sr__ListSchemasResp |
| 11311 | +{ |
| 11312 | + ProtobufCMessage base; |
| 11313 | + size_t n_schemas; |
| 11314 | + Sr__Schema **schemas; |
| 11315 | +}; |
| 11316 | +#define SR__LIST_SCHEMAS_RESP__INIT \ |
| 11317 | + { PROTOBUF_C_MESSAGE_INIT (&sr__list_schemas_resp__descriptor) \ |
| 11318 | + , 0,NULL } |
| 11319 | + |
| 11320 | + |
| 11321 | +/* |
| 11322 | + ** |
| 11323 | + * @brief Retrieves the content of specified schema file. |
| 11324 | + * Sent by sr_get_schema API call. |
| 11325 | + */ |
| 11326 | +struct _Sr__GetSchemaReq |
| 11327 | +{ |
| 11328 | + ProtobufCMessage base; |
| 11329 | + char *module_name; |
| 11330 | + char *revision; |
| 11331 | + char *submodule_name; |
| 11332 | + char *submodule_revision; |
| 11333 | + protobuf_c_boolean yang_format; |
| 11334 | +}; |
| 11335 | +#define SR__GET_SCHEMA_REQ__INIT \ |
| 11336 | + { PROTOBUF_C_MESSAGE_INIT (&sr__get_schema_req__descriptor) \ |
| 11337 | + , NULL, NULL, NULL, NULL, 0 } |
| 11338 | + |
| 11339 | + |
| 11340 | +/* |
| 11341 | + ** |
| 11342 | + * @brief Response to sr_get_schema request. |
| 11343 | + */ |
| 11344 | +struct _Sr__GetSchemaResp |
| 11345 | +{ |
| 11346 | + ProtobufCMessage base; |
| 11347 | + char *schema_content; |
| 11348 | +}; |
| 11349 | +#define SR__GET_SCHEMA_RESP__INIT \ |
| 11350 | + { PROTOBUF_C_MESSAGE_INIT (&sr__get_schema_resp__descriptor) \ |
| 11351 | + , NULL } |
| 11352 | + |
| 11353 | + |
| 11354 | +/* |
| 11355 | + ** |
| 11356 | + * @brief Retrieves a single data element stored under provided path. |
| 11357 | + * Sent by sr_get_item API call. |
| 11358 | + */ |
| 11359 | +struct _Sr__GetItemReq |
| 11360 | +{ |
| 11361 | + ProtobufCMessage base; |
| 11362 | + char *xpath; |
| 11363 | +}; |
| 11364 | +#define SR__GET_ITEM_REQ__INIT \ |
| 11365 | + { PROTOBUF_C_MESSAGE_INIT (&sr__get_item_req__descriptor) \ |
| 11366 | + , NULL } |
| 11367 | + |
| 11368 | + |
| 11369 | +/* |
| 11370 | + ** |
| 11371 | + * @brief Response to get_item request. |
| 11372 | + */ |
| 11373 | +struct _Sr__GetItemResp |
| 11374 | +{ |
| 11375 | + ProtobufCMessage base; |
| 11376 | + Sr__Value *value; |
| 11377 | +}; |
| 11378 | +#define SR__GET_ITEM_RESP__INIT \ |
| 11379 | + { PROTOBUF_C_MESSAGE_INIT (&sr__get_item_resp__descriptor) \ |
| 11380 | + , NULL } |
| 11381 | + |
| 11382 | + |
| 11383 | +/* |
| 11384 | + ** |
| 11385 | + * @brief Retrieves an array of data elements stored under provided path. |
| 11386 | + * Sent by sr_get_items and sr_get_items_iter API calls. |
| 11387 | + */ |
| 11388 | +struct _Sr__GetItemsReq |
| 11389 | +{ |
| 11390 | + ProtobufCMessage base; |
| 11391 | + char *xpath; |
| 11392 | + /* |
| 11393 | + * The options below are applicable only for sr_get_items_iter |
| 11394 | + * (not set by sr_get_items). |
| 11395 | + */ |
| 11396 | + protobuf_c_boolean has_limit; |
| 11397 | + uint32_t limit; |
| 11398 | + protobuf_c_boolean has_offset; |
| 11399 | + uint32_t offset; |
| 11400 | +}; |
| 11401 | +#define SR__GET_ITEMS_REQ__INIT \ |
| 11402 | + { PROTOBUF_C_MESSAGE_INIT (&sr__get_items_req__descriptor) \ |
| 11403 | + , NULL, 0,0, 0,0 } |
| 11404 | + |
| 11405 | + |
| 11406 | +/* |
| 11407 | + ** |
| 11408 | + * @brief Response to get_items / sr_get_items_iter request. |
| 11409 | + */ |
| 11410 | +struct _Sr__GetItemsResp |
| 11411 | +{ |
| 11412 | + ProtobufCMessage base; |
| 11413 | + size_t n_values; |
| 11414 | + Sr__Value **values; |
| 11415 | +}; |
| 11416 | +#define SR__GET_ITEMS_RESP__INIT \ |
| 11417 | + { PROTOBUF_C_MESSAGE_INIT (&sr__get_items_resp__descriptor) \ |
| 11418 | + , 0,NULL } |
| 11419 | + |
| 11420 | + |
| 11421 | +/* |
| 11422 | + ** |
| 11423 | + * @brief Retrieves a single subtree whose root is stored under provided path. |
| 11424 | + * Sent by sr_get_subtree API call. |
| 11425 | + */ |
| 11426 | +struct _Sr__GetSubtreeReq |
| 11427 | +{ |
| 11428 | + ProtobufCMessage base; |
| 11429 | + char *xpath; |
| 11430 | +}; |
| 11431 | +#define SR__GET_SUBTREE_REQ__INIT \ |
| 11432 | + { PROTOBUF_C_MESSAGE_INIT (&sr__get_subtree_req__descriptor) \ |
| 11433 | + , NULL } |
| 11434 | + |
| 11435 | + |
| 11436 | +/* |
| 11437 | + ** |
| 11438 | + * @brief Response to sr_get_subtree request. |
| 11439 | + */ |
| 11440 | +struct _Sr__GetSubtreeResp |
| 11441 | +{ |
| 11442 | + ProtobufCMessage base; |
| 11443 | + Sr__Node *tree; |
| 11444 | +}; |
| 11445 | +#define SR__GET_SUBTREE_RESP__INIT \ |
| 11446 | + { PROTOBUF_C_MESSAGE_INIT (&sr__get_subtree_resp__descriptor) \ |
| 11447 | + , NULL } |
| 11448 | + |
| 11449 | + |
| 11450 | +/* |
| 11451 | + ** |
| 11452 | + * @brief Retrieves an array of subtrees whose root nodes match provided path. |
| 11453 | + * Sent by sr_get_subtrees API call. |
| 11454 | + */ |
| 11455 | +struct _Sr__GetSubtreesReq |
| 11456 | +{ |
| 11457 | + ProtobufCMessage base; |
| 11458 | + char *xpath; |
| 11459 | +}; |
| 11460 | +#define SR__GET_SUBTREES_REQ__INIT \ |
| 11461 | + { PROTOBUF_C_MESSAGE_INIT (&sr__get_subtrees_req__descriptor) \ |
| 11462 | + , NULL } |
| 11463 | + |
| 11464 | + |
| 11465 | +/* |
| 11466 | + ** |
| 11467 | + * @brief Response to sr_get_subtrees request. |
| 11468 | + */ |
| 11469 | +struct _Sr__GetSubtreesResp |
| 11470 | +{ |
| 11471 | + ProtobufCMessage base; |
| 11472 | + size_t n_trees; |
| 11473 | + Sr__Node **trees; |
| 11474 | +}; |
| 11475 | +#define SR__GET_SUBTREES_RESP__INIT \ |
| 11476 | + { PROTOBUF_C_MESSAGE_INIT (&sr__get_subtrees_resp__descriptor) \ |
| 11477 | + , 0,NULL } |
| 11478 | + |
| 11479 | + |
| 11480 | +/* |
| 11481 | + ** |
| 11482 | + * @brief Retrieves a chunk of a single or multiple subtrees. |
| 11483 | + * A subtree chunk is also a tree, where the root node is the node referenced by XPath, |
| 11484 | + * the next level consists of its children skipping the first "slice_offset" nodes and including |
| 11485 | + * at most "slice_limit" nodes, while the remaining (depth_limit-2) levels always start with |
| 11486 | + * the first child (slice_offset is ignored) and include at most "child_limit" nodes. |
| 11487 | + * The chunk consists of at most "depth_limit" levels. |
| 11488 | + * @note Order of child nodes depends on the libyang implementation. |
| 11489 | + */ |
| 11490 | +struct _Sr__GetSubtreeChunkReq |
| 11491 | +{ |
| 11492 | + ProtobufCMessage base; |
| 11493 | + char *xpath; |
| 11494 | + protobuf_c_boolean single; |
| 11495 | + uint32_t slice_offset; |
| 11496 | + uint32_t slice_width; |
| 11497 | + uint32_t child_limit; |
| 11498 | + uint32_t depth_limit; |
| 11499 | +}; |
| 11500 | +#define SR__GET_SUBTREE_CHUNK_REQ__INIT \ |
| 11501 | + { PROTOBUF_C_MESSAGE_INIT (&sr__get_subtree_chunk_req__descriptor) \ |
| 11502 | + , NULL, 0, 0, 0, 0, 0 } |
| 11503 | + |
| 11504 | + |
| 11505 | +/* |
| 11506 | + ** |
| 11507 | + * @brief Response to sr_get_subtree_chunk request. |
| 11508 | + */ |
| 11509 | +struct _Sr__GetSubtreeChunkResp |
| 11510 | +{ |
| 11511 | + ProtobufCMessage base; |
| 11512 | + /* |
| 11513 | + **< JSON node-id of the root node for each subtree chunk |
| 11514 | + */ |
| 11515 | + size_t n_xpath; |
| 11516 | + char **xpath; |
| 11517 | + /* |
| 11518 | + **< first chunk may carry mutliple trees |
| 11519 | + */ |
| 11520 | + size_t n_chunk; |
| 11521 | + Sr__Node **chunk; |
| 11522 | +}; |
| 11523 | +#define SR__GET_SUBTREE_CHUNK_RESP__INIT \ |
| 11524 | + { PROTOBUF_C_MESSAGE_INIT (&sr__get_subtree_chunk_resp__descriptor) \ |
| 11525 | + , 0,NULL, 0,NULL } |
| 11526 | + |
| 11527 | + |
| 11528 | +/* |
| 11529 | + ** |
| 11530 | + * @brief Sets the value of the leaf, leaf-list or presence container. |
| 11531 | + * Sent by sr_set_item API call. |
| 11532 | + */ |
| 11533 | +struct _Sr__SetItemReq |
| 11534 | +{ |
| 11535 | + ProtobufCMessage base; |
| 11536 | + char *xpath; |
| 11537 | + Sr__Value *value; |
| 11538 | + /* |
| 11539 | + **< Bitwise OR of EditFlags |
| 11540 | + */ |
| 11541 | + uint32_t options; |
| 11542 | +}; |
| 11543 | +#define SR__SET_ITEM_REQ__INIT \ |
| 11544 | + { PROTOBUF_C_MESSAGE_INIT (&sr__set_item_req__descriptor) \ |
| 11545 | + , NULL, NULL, 0 } |
| 11546 | + |
| 11547 | + |
| 11548 | +/* |
| 11549 | + ** |
| 11550 | + * @brief Response to sr_set_item request. |
| 11551 | + */ |
| 11552 | +struct _Sr__SetItemResp |
| 11553 | +{ |
| 11554 | + ProtobufCMessage base; |
| 11555 | +}; |
| 11556 | +#define SR__SET_ITEM_RESP__INIT \ |
| 11557 | + { PROTOBUF_C_MESSAGE_INIT (&sr__set_item_resp__descriptor) \ |
| 11558 | + } |
| 11559 | + |
| 11560 | + |
| 11561 | +/* |
| 11562 | + ** |
| 11563 | + * @brief Sets the value of the leaf, leaf-list or presence container. |
| 11564 | + * The value is transferred as string. |
| 11565 | + * Sent by sr_set_item_str API call. |
| 11566 | + */ |
| 11567 | +struct _Sr__SetItemStrReq |
| 11568 | +{ |
| 11569 | + ProtobufCMessage base; |
| 11570 | + char *xpath; |
| 11571 | + char *value; |
| 11572 | + /* |
| 11573 | + **< Bitwise OR of EditFlags |
| 11574 | + */ |
| 11575 | + uint32_t options; |
| 11576 | +}; |
| 11577 | +#define SR__SET_ITEM_STR_REQ__INIT \ |
| 11578 | + { PROTOBUF_C_MESSAGE_INIT (&sr__set_item_str_req__descriptor) \ |
| 11579 | + , NULL, NULL, 0 } |
| 11580 | + |
| 11581 | + |
| 11582 | +/* |
| 11583 | + ** |
| 11584 | + * @brief Response to sr_set_item_str request. |
| 11585 | + */ |
| 11586 | +struct _Sr__SetItemStrResp |
| 11587 | +{ |
| 11588 | + ProtobufCMessage base; |
| 11589 | +}; |
| 11590 | +#define SR__SET_ITEM_STR_RESP__INIT \ |
| 11591 | + { PROTOBUF_C_MESSAGE_INIT (&sr__set_item_str_resp__descriptor) \ |
| 11592 | + } |
| 11593 | + |
| 11594 | + |
| 11595 | +/* |
| 11596 | + ** |
| 11597 | + * @brief Deletes the nodes under the specified xpath. |
| 11598 | + * Sent by sr_delete_item API call. |
| 11599 | + */ |
| 11600 | +struct _Sr__DeleteItemReq |
| 11601 | +{ |
| 11602 | + ProtobufCMessage base; |
| 11603 | + char *xpath; |
| 11604 | + /* |
| 11605 | + **< Bitwise OR of EditFlags |
| 11606 | + */ |
| 11607 | + uint32_t options; |
| 11608 | +}; |
| 11609 | +#define SR__DELETE_ITEM_REQ__INIT \ |
| 11610 | + { PROTOBUF_C_MESSAGE_INIT (&sr__delete_item_req__descriptor) \ |
| 11611 | + , NULL, 0 } |
| 11612 | + |
| 11613 | + |
| 11614 | +/* |
| 11615 | + ** |
| 11616 | + * @brief Response to sr_delete_item request. |
| 11617 | + */ |
| 11618 | +struct _Sr__DeleteItemResp |
| 11619 | +{ |
| 11620 | + ProtobufCMessage base; |
| 11621 | +}; |
| 11622 | +#define SR__DELETE_ITEM_RESP__INIT \ |
| 11623 | + { PROTOBUF_C_MESSAGE_INIT (&sr__delete_item_resp__descriptor) \ |
| 11624 | + } |
| 11625 | + |
| 11626 | + |
| 11627 | +/* |
| 11628 | + ** |
| 11629 | + * @brief Move the instance of an ordered list in specified direction. |
| 11630 | + * Sent by sr_move_item API call. |
| 11631 | + */ |
| 11632 | +struct _Sr__MoveItemReq |
| 11633 | +{ |
| 11634 | + ProtobufCMessage base; |
| 11635 | + char *xpath; |
| 11636 | + Sr__MoveItemReq__MovePosition position; |
| 11637 | + char *relative_item; |
| 11638 | +}; |
| 11639 | +#define SR__MOVE_ITEM_REQ__INIT \ |
| 11640 | + { PROTOBUF_C_MESSAGE_INIT (&sr__move_item_req__descriptor) \ |
| 11641 | + , NULL, 0, NULL } |
| 11642 | + |
| 11643 | + |
| 11644 | +/* |
| 11645 | + ** |
| 11646 | + * @brief Response to sr_move_item request. |
| 11647 | + */ |
| 11648 | +struct _Sr__MoveItemResp |
| 11649 | +{ |
| 11650 | + ProtobufCMessage base; |
| 11651 | +}; |
| 11652 | +#define SR__MOVE_ITEM_RESP__INIT \ |
| 11653 | + { PROTOBUF_C_MESSAGE_INIT (&sr__move_item_resp__descriptor) \ |
| 11654 | + } |
| 11655 | + |
| 11656 | + |
| 11657 | +/* |
| 11658 | + ** |
| 11659 | + * @brief Perform the validation of changes made in current session, but do not |
| 11660 | + * commit nor discard them. Sent by sr_validate API call. |
| 11661 | + */ |
| 11662 | +struct _Sr__ValidateReq |
| 11663 | +{ |
| 11664 | + ProtobufCMessage base; |
| 11665 | +}; |
| 11666 | +#define SR__VALIDATE_REQ__INIT \ |
| 11667 | + { PROTOBUF_C_MESSAGE_INIT (&sr__validate_req__descriptor) \ |
| 11668 | + } |
| 11669 | + |
| 11670 | + |
| 11671 | +/* |
| 11672 | + ** |
| 11673 | + * @brief Response to sr_validate request. |
| 11674 | + */ |
| 11675 | +struct _Sr__ValidateResp |
| 11676 | +{ |
| 11677 | + ProtobufCMessage base; |
| 11678 | + size_t n_errors; |
| 11679 | + Sr__Error **errors; |
| 11680 | +}; |
| 11681 | +#define SR__VALIDATE_RESP__INIT \ |
| 11682 | + { PROTOBUF_C_MESSAGE_INIT (&sr__validate_resp__descriptor) \ |
| 11683 | + , 0,NULL } |
| 11684 | + |
| 11685 | + |
| 11686 | +/* |
| 11687 | + ** |
| 11688 | + * @brief Apply changes made in current session. |
| 11689 | + * Sent by sr_commit API call. |
| 11690 | + */ |
| 11691 | +struct _Sr__CommitReq |
| 11692 | +{ |
| 11693 | + ProtobufCMessage base; |
| 11694 | +}; |
| 11695 | +#define SR__COMMIT_REQ__INIT \ |
| 11696 | + { PROTOBUF_C_MESSAGE_INIT (&sr__commit_req__descriptor) \ |
| 11697 | + } |
| 11698 | + |
| 11699 | + |
| 11700 | +/* |
| 11701 | + ** |
| 11702 | + * @brief Response to sr_commit request. |
| 11703 | + */ |
| 11704 | +struct _Sr__CommitResp |
| 11705 | +{ |
| 11706 | + ProtobufCMessage base; |
| 11707 | + size_t n_errors; |
| 11708 | + Sr__Error **errors; |
| 11709 | +}; |
| 11710 | +#define SR__COMMIT_RESP__INIT \ |
| 11711 | + { PROTOBUF_C_MESSAGE_INIT (&sr__commit_resp__descriptor) \ |
| 11712 | + , 0,NULL } |
| 11713 | + |
| 11714 | + |
| 11715 | +/* |
| 11716 | + ** |
| 11717 | + * @brief Discard non-committed changes made in current session. |
| 11718 | + * Sent by sr_discard_changes API call. |
| 11719 | + */ |
| 11720 | +struct _Sr__DiscardChangesReq |
| 11721 | +{ |
| 11722 | + ProtobufCMessage base; |
| 11723 | +}; |
| 11724 | +#define SR__DISCARD_CHANGES_REQ__INIT \ |
| 11725 | + { PROTOBUF_C_MESSAGE_INIT (&sr__discard_changes_req__descriptor) \ |
| 11726 | + } |
| 11727 | + |
| 11728 | + |
| 11729 | +/* |
| 11730 | + ** |
| 11731 | + * @brief Response to sr_discard_changes request. |
| 11732 | + */ |
| 11733 | +struct _Sr__DiscardChangesResp |
| 11734 | +{ |
| 11735 | + ProtobufCMessage base; |
| 11736 | +}; |
| 11737 | +#define SR__DISCARD_CHANGES_RESP__INIT \ |
| 11738 | + { PROTOBUF_C_MESSAGE_INIT (&sr__discard_changes_resp__descriptor) \ |
| 11739 | + } |
| 11740 | + |
| 11741 | + |
| 11742 | +/* |
| 11743 | + ** |
| 11744 | + * @brief Replaces an entire configuration datastore with the contents of |
| 11745 | + * another complete configuration datastore. Sent by sr_copy_config request. |
| 11746 | + */ |
| 11747 | +struct _Sr__CopyConfigReq |
| 11748 | +{ |
| 11749 | + ProtobufCMessage base; |
| 11750 | + Sr__DataStore src_datastore; |
| 11751 | + Sr__DataStore dst_datastore; |
| 11752 | + /* |
| 11753 | + **< If not specified, the operation is performed on all |
| 11754 | + *modules that are currently active in the source datastore |
| 11755 | + */ |
| 11756 | + char *module_name; |
| 11757 | +}; |
| 11758 | +#define SR__COPY_CONFIG_REQ__INIT \ |
| 11759 | + { PROTOBUF_C_MESSAGE_INIT (&sr__copy_config_req__descriptor) \ |
| 11760 | + , 0, 0, NULL } |
| 11761 | + |
| 11762 | + |
| 11763 | +/* |
| 11764 | + ** |
| 11765 | + * @brief Response to sr_copy_config request. |
| 11766 | + */ |
| 11767 | +struct _Sr__CopyConfigResp |
| 11768 | +{ |
| 11769 | + ProtobufCMessage base; |
| 11770 | + size_t n_errors; |
| 11771 | + Sr__Error **errors; |
| 11772 | +}; |
| 11773 | +#define SR__COPY_CONFIG_RESP__INIT \ |
| 11774 | + { PROTOBUF_C_MESSAGE_INIT (&sr__copy_config_resp__descriptor) \ |
| 11775 | + , 0,NULL } |
| 11776 | + |
| 11777 | + |
| 11778 | +/* |
| 11779 | + ** |
| 11780 | + * @brief Locks specified data model or the datastore which the session is tied to. |
| 11781 | + * Sent by sr_lock_datastore and sr_lock_model API calls. |
| 11782 | + */ |
| 11783 | +struct _Sr__LockReq |
| 11784 | +{ |
| 11785 | + ProtobufCMessage base; |
| 11786 | + /* |
| 11787 | + **< If module name is not set, LockReq locks whole datastore. |
| 11788 | + */ |
| 11789 | + char *module_name; |
| 11790 | +}; |
| 11791 | +#define SR__LOCK_REQ__INIT \ |
| 11792 | + { PROTOBUF_C_MESSAGE_INIT (&sr__lock_req__descriptor) \ |
| 11793 | + , NULL } |
| 11794 | + |
| 11795 | + |
| 11796 | +/* |
| 11797 | + ** |
| 11798 | + * @brief Response to sr_lock_datastore or sr_lock_model request. |
| 11799 | + */ |
| 11800 | +struct _Sr__LockResp |
| 11801 | +{ |
| 11802 | + ProtobufCMessage base; |
| 11803 | +}; |
| 11804 | +#define SR__LOCK_RESP__INIT \ |
| 11805 | + { PROTOBUF_C_MESSAGE_INIT (&sr__lock_resp__descriptor) \ |
| 11806 | + } |
| 11807 | + |
| 11808 | + |
| 11809 | +/* |
| 11810 | + ** |
| 11811 | + * @brief Unlocks specified data model or the datastore which the session is tied to. |
| 11812 | + * Sent by sr_unlock_datastore and sr_unlock_model API calls. |
| 11813 | + */ |
| 11814 | +struct _Sr__UnlockReq |
| 11815 | +{ |
| 11816 | + ProtobufCMessage base; |
| 11817 | + /* |
| 11818 | + **< If module name is not set, UnlockReq unlocks whole datastore. |
| 11819 | + */ |
| 11820 | + char *module_name; |
| 11821 | +}; |
| 11822 | +#define SR__UNLOCK_REQ__INIT \ |
| 11823 | + { PROTOBUF_C_MESSAGE_INIT (&sr__unlock_req__descriptor) \ |
| 11824 | + , NULL } |
| 11825 | + |
| 11826 | + |
| 11827 | +/* |
| 11828 | + ** |
| 11829 | + * @brief Response to sr_lock_datastore or sr_lock_model request. |
| 11830 | + */ |
| 11831 | +struct _Sr__UnlockResp |
| 11832 | +{ |
| 11833 | + ProtobufCMessage base; |
| 11834 | +}; |
| 11835 | +#define SR__UNLOCK_RESP__INIT \ |
| 11836 | + { PROTOBUF_C_MESSAGE_INIT (&sr__unlock_resp__descriptor) \ |
| 11837 | + } |
| 11838 | + |
| 11839 | + |
| 11840 | +struct _Sr__SubscribeReq |
| 11841 | +{ |
| 11842 | + ProtobufCMessage base; |
| 11843 | + Sr__SubscriptionType type; |
| 11844 | + char *destination; |
| 11845 | + uint32_t subscription_id; |
| 11846 | + char *module_name; |
| 11847 | + char *xpath; |
| 11848 | + protobuf_c_boolean has_notif_event; |
| 11849 | + Sr__NotificationEvent notif_event; |
| 11850 | + protobuf_c_boolean has_priority; |
| 11851 | + uint32_t priority; |
| 11852 | + protobuf_c_boolean has_enable_running; |
| 11853 | + protobuf_c_boolean enable_running; |
| 11854 | + protobuf_c_boolean has_enable_event; |
| 11855 | + protobuf_c_boolean enable_event; |
| 11856 | + Sr__ApiVariant api_variant; |
| 11857 | +}; |
| 11858 | +#define SR__SUBSCRIBE_REQ__INIT \ |
| 11859 | + { PROTOBUF_C_MESSAGE_INIT (&sr__subscribe_req__descriptor) \ |
| 11860 | + , 0, NULL, 0, NULL, NULL, 0,0, 0,0, 0,0, 0,0, 0 } |
| 11861 | + |
| 11862 | + |
| 11863 | +struct _Sr__SubscribeResp |
| 11864 | +{ |
| 11865 | + ProtobufCMessage base; |
| 11866 | +}; |
| 11867 | +#define SR__SUBSCRIBE_RESP__INIT \ |
| 11868 | + { PROTOBUF_C_MESSAGE_INIT (&sr__subscribe_resp__descriptor) \ |
| 11869 | + } |
| 11870 | + |
| 11871 | + |
| 11872 | +struct _Sr__UnsubscribeReq |
| 11873 | +{ |
| 11874 | + ProtobufCMessage base; |
| 11875 | + Sr__SubscriptionType type; |
| 11876 | + char *destination; |
| 11877 | + uint32_t subscription_id; |
| 11878 | + char *module_name; |
| 11879 | +}; |
| 11880 | +#define SR__UNSUBSCRIBE_REQ__INIT \ |
| 11881 | + { PROTOBUF_C_MESSAGE_INIT (&sr__unsubscribe_req__descriptor) \ |
| 11882 | + , 0, NULL, 0, NULL } |
| 11883 | + |
| 11884 | + |
| 11885 | +struct _Sr__UnsubscribeResp |
| 11886 | +{ |
| 11887 | + ProtobufCMessage base; |
| 11888 | +}; |
| 11889 | +#define SR__UNSUBSCRIBE_RESP__INIT \ |
| 11890 | + { PROTOBUF_C_MESSAGE_INIT (&sr__unsubscribe_resp__descriptor) \ |
| 11891 | + } |
| 11892 | + |
| 11893 | + |
| 11894 | +/* |
| 11895 | + ** |
| 11896 | + * @brief Checks whether the module has any enabled subtree. |
| 11897 | + * Sent by sr_check_enabled_running. |
| 11898 | + */ |
| 11899 | +struct _Sr__CheckEnabledRunningReq |
| 11900 | +{ |
| 11901 | + ProtobufCMessage base; |
| 11902 | + char *module_name; |
| 11903 | +}; |
| 11904 | +#define SR__CHECK_ENABLED_RUNNING_REQ__INIT \ |
| 11905 | + { PROTOBUF_C_MESSAGE_INIT (&sr__check_enabled_running_req__descriptor) \ |
| 11906 | + , NULL } |
| 11907 | + |
| 11908 | + |
| 11909 | +struct _Sr__CheckEnabledRunningResp |
| 11910 | +{ |
| 11911 | + ProtobufCMessage base; |
| 11912 | + protobuf_c_boolean enabled; |
| 11913 | +}; |
| 11914 | +#define SR__CHECK_ENABLED_RUNNING_RESP__INIT \ |
| 11915 | + { PROTOBUF_C_MESSAGE_INIT (&sr__check_enabled_running_resp__descriptor) \ |
| 11916 | + , 0 } |
| 11917 | + |
| 11918 | + |
| 11919 | +struct _Sr__ModuleInstallNotification |
| 11920 | +{ |
| 11921 | + ProtobufCMessage base; |
| 11922 | + char *module_name; |
| 11923 | + char *revision; |
| 11924 | + Sr__ModuleState state; |
| 11925 | +}; |
| 11926 | +#define SR__MODULE_INSTALL_NOTIFICATION__INIT \ |
| 11927 | + { PROTOBUF_C_MESSAGE_INIT (&sr__module_install_notification__descriptor) \ |
| 11928 | + , NULL, NULL, 0 } |
| 11929 | + |
| 11930 | + |
| 11931 | +struct _Sr__FeatureEnableNotification |
| 11932 | +{ |
| 11933 | + ProtobufCMessage base; |
| 11934 | + char *module_name; |
| 11935 | + char *feature_name; |
| 11936 | + protobuf_c_boolean enabled; |
| 11937 | +}; |
| 11938 | +#define SR__FEATURE_ENABLE_NOTIFICATION__INIT \ |
| 11939 | + { PROTOBUF_C_MESSAGE_INIT (&sr__feature_enable_notification__descriptor) \ |
| 11940 | + , NULL, NULL, 0 } |
| 11941 | + |
| 11942 | + |
| 11943 | +struct _Sr__ModuleChangeNotification |
| 11944 | +{ |
| 11945 | + ProtobufCMessage base; |
| 11946 | + Sr__NotificationEvent event; |
| 11947 | + char *module_name; |
| 11948 | +}; |
| 11949 | +#define SR__MODULE_CHANGE_NOTIFICATION__INIT \ |
| 11950 | + { PROTOBUF_C_MESSAGE_INIT (&sr__module_change_notification__descriptor) \ |
| 11951 | + , 0, NULL } |
| 11952 | + |
| 11953 | + |
| 11954 | +struct _Sr__SubtreeChangeNotification |
| 11955 | +{ |
| 11956 | + ProtobufCMessage base; |
| 11957 | + Sr__NotificationEvent event; |
| 11958 | + char *xpath; |
| 11959 | +}; |
| 11960 | +#define SR__SUBTREE_CHANGE_NOTIFICATION__INIT \ |
| 11961 | + { PROTOBUF_C_MESSAGE_INIT (&sr__subtree_change_notification__descriptor) \ |
| 11962 | + , 0, NULL } |
| 11963 | + |
| 11964 | + |
| 11965 | +struct _Sr__Change |
| 11966 | +{ |
| 11967 | + ProtobufCMessage base; |
| 11968 | + Sr__ChangeOperation changeoperation; |
| 11969 | + Sr__Value *new_value; |
| 11970 | + Sr__Value *old_value; |
| 11971 | +}; |
| 11972 | +#define SR__CHANGE__INIT \ |
| 11973 | + { PROTOBUF_C_MESSAGE_INIT (&sr__change__descriptor) \ |
| 11974 | + , 0, NULL, NULL } |
| 11975 | + |
| 11976 | + |
| 11977 | +/* |
| 11978 | + ** |
| 11979 | + * @brief Retrieves an array of changes made under provided path. |
| 11980 | + * Sent by sr_get_changes_iter or sr_get_change_next API calls. |
| 11981 | + */ |
| 11982 | +struct _Sr__GetChangesReq |
| 11983 | +{ |
| 11984 | + ProtobufCMessage base; |
| 11985 | + char *xpath; |
| 11986 | + uint32_t limit; |
| 11987 | + uint32_t offset; |
| 11988 | +}; |
| 11989 | +#define SR__GET_CHANGES_REQ__INIT \ |
| 11990 | + { PROTOBUF_C_MESSAGE_INIT (&sr__get_changes_req__descriptor) \ |
| 11991 | + , NULL, 0, 0 } |
| 11992 | + |
| 11993 | + |
| 11994 | +/* |
| 11995 | + ** |
| 11996 | + * @brief Response to get_changes request. |
| 11997 | + */ |
| 11998 | +struct _Sr__GetChangesResp |
| 11999 | +{ |
| 12000 | + ProtobufCMessage base; |
| 12001 | + size_t n_changes; |
| 12002 | + Sr__Change **changes; |
| 12003 | +}; |
| 12004 | +#define SR__GET_CHANGES_RESP__INIT \ |
| 12005 | + { PROTOBUF_C_MESSAGE_INIT (&sr__get_changes_resp__descriptor) \ |
| 12006 | + , 0,NULL } |
| 12007 | + |
| 12008 | + |
| 12009 | +/* |
| 12010 | + ** |
| 12011 | + * @brief Sends a request to check if the owner of this session is authorized to invoke |
| 12012 | + * the protocol operation referenced by the xpath. |
| 12013 | + * Sent by sr_check_exec_permission. |
| 12014 | + */ |
| 12015 | +struct _Sr__CheckExecPermReq |
| 12016 | +{ |
| 12017 | + ProtobufCMessage base; |
| 12018 | + char *xpath; |
| 12019 | +}; |
| 12020 | +#define SR__CHECK_EXEC_PERM_REQ__INIT \ |
| 12021 | + { PROTOBUF_C_MESSAGE_INIT (&sr__check_exec_perm_req__descriptor) \ |
| 12022 | + , NULL } |
| 12023 | + |
| 12024 | + |
| 12025 | +/* |
| 12026 | + ** |
| 12027 | + * @brief Response to sr_check_exec_permission request. |
| 12028 | + */ |
| 12029 | +struct _Sr__CheckExecPermResp |
| 12030 | +{ |
| 12031 | + ProtobufCMessage base; |
| 12032 | + protobuf_c_boolean permitted; |
| 12033 | +}; |
| 12034 | +#define SR__CHECK_EXEC_PERM_RESP__INIT \ |
| 12035 | + { PROTOBUF_C_MESSAGE_INIT (&sr__check_exec_perm_resp__descriptor) \ |
| 12036 | + , 0 } |
| 12037 | + |
| 12038 | + |
| 12039 | +/* |
| 12040 | + ** |
| 12041 | + * @brief Sends a RPC / action request into the datastore, will be delivered to the RPC subscriber. |
| 12042 | + * Sent by sr_rpc_send / sr_rpc_send_tree and sr_action_send / sr_action_send_tree API calls. |
| 12043 | + */ |
| 12044 | +struct _Sr__RPCReq |
| 12045 | +{ |
| 12046 | + ProtobufCMessage base; |
| 12047 | + protobuf_c_boolean action; |
| 12048 | + char *xpath; |
| 12049 | + /* |
| 12050 | + **< which API variant was used to send RPC req. |
| 12051 | + */ |
| 12052 | + Sr__ApiVariant orig_api_variant; |
| 12053 | + size_t n_input; |
| 12054 | + Sr__Value **input; |
| 12055 | + size_t n_input_tree; |
| 12056 | + Sr__Node **input_tree; |
| 12057 | + char *subscriber_address; |
| 12058 | + protobuf_c_boolean has_subscription_id; |
| 12059 | + uint32_t subscription_id; |
| 12060 | +}; |
| 12061 | +#define SR__RPCREQ__INIT \ |
| 12062 | + { PROTOBUF_C_MESSAGE_INIT (&sr__rpcreq__descriptor) \ |
| 12063 | + , 0, NULL, 0, 0,NULL, 0,NULL, NULL, 0,0 } |
| 12064 | + |
| 12065 | + |
| 12066 | +/* |
| 12067 | + ** |
| 12068 | + * @brief Response to sr_rpc_send / sr_rpc_send_tree or sr_action_send / sr_action_send_tree request. |
| 12069 | + */ |
| 12070 | +struct _Sr__RPCResp |
| 12071 | +{ |
| 12072 | + ProtobufCMessage base; |
| 12073 | + protobuf_c_boolean action; |
| 12074 | + char *xpath; |
| 12075 | + /* |
| 12076 | + **< which API variant was used to send RPC req. |
| 12077 | + */ |
| 12078 | + Sr__ApiVariant orig_api_variant; |
| 12079 | + size_t n_output; |
| 12080 | + Sr__Value **output; |
| 12081 | + size_t n_output_tree; |
| 12082 | + Sr__Node **output_tree; |
| 12083 | +}; |
| 12084 | +#define SR__RPCRESP__INIT \ |
| 12085 | + { PROTOBUF_C_MESSAGE_INIT (&sr__rpcresp__descriptor) \ |
| 12086 | + , 0, NULL, 0, 0,NULL, 0,NULL } |
| 12087 | + |
| 12088 | + |
| 12089 | +/* |
| 12090 | + ** |
| 12091 | + * @brief Sends an event notification into the datastore, will be delivered to all notification subscribers. |
| 12092 | + * Sent by sr_event_notif_send API call. |
| 12093 | + */ |
| 12094 | +struct _Sr__EventNotifReq |
| 12095 | +{ |
| 12096 | + ProtobufCMessage base; |
| 12097 | + Sr__EventNotifReq__NotifType type; |
| 12098 | + /* |
| 12099 | + **< Bitwise OR of NotifFlags. |
| 12100 | + */ |
| 12101 | + uint32_t options; |
| 12102 | + char *xpath; |
| 12103 | + size_t n_values; |
| 12104 | + Sr__Value **values; |
| 12105 | + size_t n_trees; |
| 12106 | + Sr__Node **trees; |
| 12107 | + uint64_t timestamp; |
| 12108 | + char *subscriber_address; |
| 12109 | + protobuf_c_boolean has_subscription_id; |
| 12110 | + uint32_t subscription_id; |
| 12111 | + protobuf_c_boolean do_not_send_reply; |
| 12112 | +}; |
| 12113 | +#define SR__EVENT_NOTIF_REQ__INIT \ |
| 12114 | + { PROTOBUF_C_MESSAGE_INIT (&sr__event_notif_req__descriptor) \ |
| 12115 | + , 0, 0, NULL, 0,NULL, 0,NULL, 0, NULL, 0,0, 0 } |
| 12116 | + |
| 12117 | + |
| 12118 | +/* |
| 12119 | + ** |
| 12120 | + * @brief Response to sr_event_notif_send request. |
| 12121 | + */ |
| 12122 | +struct _Sr__EventNotifResp |
| 12123 | +{ |
| 12124 | + ProtobufCMessage base; |
| 12125 | +}; |
| 12126 | +#define SR__EVENT_NOTIF_RESP__INIT \ |
| 12127 | + { PROTOBUF_C_MESSAGE_INIT (&sr__event_notif_resp__descriptor) \ |
| 12128 | + } |
| 12129 | + |
| 12130 | + |
| 12131 | +/* |
| 12132 | + ** |
| 12133 | + * @brief Sends a request to replay event notifications stored in the datastore. |
| 12134 | + * Sent by sr_event_notif_replay API call. |
| 12135 | + */ |
| 12136 | +struct _Sr__EventNotifReplayReq |
| 12137 | +{ |
| 12138 | + ProtobufCMessage base; |
| 12139 | + char *xpath; |
| 12140 | + uint64_t start_time; |
| 12141 | + uint64_t stop_time; |
| 12142 | + char *subscriber_address; |
| 12143 | + uint32_t subscription_id; |
| 12144 | + Sr__ApiVariant api_variant; |
| 12145 | +}; |
| 12146 | +#define SR__EVENT_NOTIF_REPLAY_REQ__INIT \ |
| 12147 | + { PROTOBUF_C_MESSAGE_INIT (&sr__event_notif_replay_req__descriptor) \ |
| 12148 | + , NULL, 0, 0, NULL, 0, 0 } |
| 12149 | + |
| 12150 | + |
| 12151 | +/* |
| 12152 | + ** |
| 12153 | + * @brief Response to sr_event_notif_replay request. |
| 12154 | + */ |
| 12155 | +struct _Sr__EventNotifReplayResp |
| 12156 | +{ |
| 12157 | + ProtobufCMessage base; |
| 12158 | +}; |
| 12159 | +#define SR__EVENT_NOTIF_REPLAY_RESP__INIT \ |
| 12160 | + { PROTOBUF_C_MESSAGE_INIT (&sr__event_notif_replay_resp__descriptor) \ |
| 12161 | + } |
| 12162 | + |
| 12163 | + |
| 12164 | +/* |
| 12165 | + ** |
| 12166 | + * @brief Requests operational data under given path form an operational data |
| 12167 | + * provider. |
| 12168 | + */ |
| 12169 | +struct _Sr__DataProvideReq |
| 12170 | +{ |
| 12171 | + ProtobufCMessage base; |
| 12172 | + char *xpath; |
| 12173 | + char *subscriber_address; |
| 12174 | + uint32_t subscription_id; |
| 12175 | + uint64_t request_id; |
| 12176 | +}; |
| 12177 | +#define SR__DATA_PROVIDE_REQ__INIT \ |
| 12178 | + { PROTOBUF_C_MESSAGE_INIT (&sr__data_provide_req__descriptor) \ |
| 12179 | + , NULL, NULL, 0, 0 } |
| 12180 | + |
| 12181 | + |
| 12182 | +/* |
| 12183 | + ** |
| 12184 | + * @brief Response to a request of operational data under given path form an |
| 12185 | + * operational data provider. |
| 12186 | + */ |
| 12187 | +struct _Sr__DataProvideResp |
| 12188 | +{ |
| 12189 | + ProtobufCMessage base; |
| 12190 | + char *xpath; |
| 12191 | + size_t n_values; |
| 12192 | + Sr__Value **values; |
| 12193 | + uint64_t request_id; |
| 12194 | +}; |
| 12195 | +#define SR__DATA_PROVIDE_RESP__INIT \ |
| 12196 | + { PROTOBUF_C_MESSAGE_INIT (&sr__data_provide_resp__descriptor) \ |
| 12197 | + , NULL, 0,NULL, 0 } |
| 12198 | + |
| 12199 | + |
| 12200 | +/* |
| 12201 | + ** |
| 12202 | + * @brief Requests installation / uinstallation of specified YANG model. |
| 12203 | + * Sent by sr_module_install internal API calls. |
| 12204 | + */ |
| 12205 | +struct _Sr__ModuleInstallReq |
| 12206 | +{ |
| 12207 | + ProtobufCMessage base; |
| 12208 | + char *module_name; |
| 12209 | + char *revision; |
| 12210 | + char *file_name; |
| 12211 | + protobuf_c_boolean installed; |
| 12212 | +}; |
| 12213 | +#define SR__MODULE_INSTALL_REQ__INIT \ |
| 12214 | + { PROTOBUF_C_MESSAGE_INIT (&sr__module_install_req__descriptor) \ |
| 12215 | + , NULL, NULL, NULL, 0 } |
| 12216 | + |
| 12217 | + |
| 12218 | +/* |
| 12219 | + ** |
| 12220 | + * @brief Response to sr_module_install request. |
| 12221 | + */ |
| 12222 | +struct _Sr__ModuleInstallResp |
| 12223 | +{ |
| 12224 | + ProtobufCMessage base; |
| 12225 | +}; |
| 12226 | +#define SR__MODULE_INSTALL_RESP__INIT \ |
| 12227 | + { PROTOBUF_C_MESSAGE_INIT (&sr__module_install_resp__descriptor) \ |
| 12228 | + } |
| 12229 | + |
| 12230 | + |
| 12231 | +/* |
| 12232 | + ** |
| 12233 | + * @brief Requests enabling / disabling of specified YANG feature within the |
| 12234 | + * YANG model. Sent by sr_feature_enable internal API calls. |
| 12235 | + */ |
| 12236 | +struct _Sr__FeatureEnableReq |
| 12237 | +{ |
| 12238 | + ProtobufCMessage base; |
| 12239 | + char *module_name; |
| 12240 | + char *feature_name; |
| 12241 | + protobuf_c_boolean enabled; |
| 12242 | +}; |
| 12243 | +#define SR__FEATURE_ENABLE_REQ__INIT \ |
| 12244 | + { PROTOBUF_C_MESSAGE_INIT (&sr__feature_enable_req__descriptor) \ |
| 12245 | + , NULL, NULL, 0 } |
| 12246 | + |
| 12247 | + |
| 12248 | +/* |
| 12249 | + ** |
| 12250 | + * @brief Response to sr_feature_enable request. |
| 12251 | + */ |
| 12252 | +struct _Sr__FeatureEnableResp |
| 12253 | +{ |
| 12254 | + ProtobufCMessage base; |
| 12255 | +}; |
| 12256 | +#define SR__FEATURE_ENABLE_RESP__INIT \ |
| 12257 | + { PROTOBUF_C_MESSAGE_INIT (&sr__feature_enable_resp__descriptor) \ |
| 12258 | + } |
| 12259 | + |
| 12260 | + |
| 12261 | +/* |
| 12262 | + ** |
| 12263 | + * @brief Internal request to unsubscribe all subscriptions of a subscriber on given destination address. |
| 12264 | + */ |
| 12265 | +struct _Sr__UnsubscribeDestinationReq |
| 12266 | +{ |
| 12267 | + ProtobufCMessage base; |
| 12268 | + char *destination; |
| 12269 | +}; |
| 12270 | +#define SR__UNSUBSCRIBE_DESTINATION_REQ__INIT \ |
| 12271 | + { PROTOBUF_C_MESSAGE_INIT (&sr__unsubscribe_destination_req__descriptor) \ |
| 12272 | + , NULL } |
| 12273 | + |
| 12274 | + |
| 12275 | +/* |
| 12276 | + ** |
| 12277 | + * @brief Internal request to timeout a commit, if it hasn't been terminated yet. |
| 12278 | + */ |
| 12279 | +struct _Sr__CommitTimeoutReq |
| 12280 | +{ |
| 12281 | + ProtobufCMessage base; |
| 12282 | + uint32_t commit_id; |
| 12283 | + protobuf_c_boolean expired; |
| 12284 | +}; |
| 12285 | +#define SR__COMMIT_TIMEOUT_REQ__INIT \ |
| 12286 | + { PROTOBUF_C_MESSAGE_INIT (&sr__commit_timeout_req__descriptor) \ |
| 12287 | + , 0, 0 } |
| 12288 | + |
| 12289 | + |
| 12290 | +/* |
| 12291 | + ** |
| 12292 | + * @brief Internal request to timeout a request for operational data, if it hasn't been terminated yet. |
| 12293 | + */ |
| 12294 | +struct _Sr__OperDataTimeoutReq |
| 12295 | +{ |
| 12296 | + ProtobufCMessage base; |
| 12297 | + uint64_t request_id; |
| 12298 | +}; |
| 12299 | +#define SR__OPER_DATA_TIMEOUT_REQ__INIT \ |
| 12300 | + { PROTOBUF_C_MESSAGE_INIT (&sr__oper_data_timeout_req__descriptor) \ |
| 12301 | + , 0 } |
| 12302 | + |
| 12303 | + |
| 12304 | +/* |
| 12305 | + ** |
| 12306 | + * @brief Internal request for internal state data (state data provided by Sysrepo Engine itself). |
| 12307 | + */ |
| 12308 | +struct _Sr__InternalStateDataReq |
| 12309 | +{ |
| 12310 | + ProtobufCMessage base; |
| 12311 | + uint64_t request_id; |
| 12312 | + char *xpath; |
| 12313 | +}; |
| 12314 | +#define SR__INTERNAL_STATE_DATA_REQ__INIT \ |
| 12315 | + { PROTOBUF_C_MESSAGE_INIT (&sr__internal_state_data_req__descriptor) \ |
| 12316 | + , 0, NULL } |
| 12317 | + |
| 12318 | + |
| 12319 | +/* |
| 12320 | + ** |
| 12321 | + * @brief Internal request to cleanup aged notifications in the Notification Store. |
| 12322 | + */ |
| 12323 | +struct _Sr__NotifStoreCleanupReq |
| 12324 | +{ |
| 12325 | + ProtobufCMessage base; |
| 12326 | +}; |
| 12327 | +#define SR__NOTIF_STORE_CLEANUP_REQ__INIT \ |
| 12328 | + { PROTOBUF_C_MESSAGE_INIT (&sr__notif_store_cleanup_req__descriptor) \ |
| 12329 | + } |
| 12330 | + |
| 12331 | + |
| 12332 | +/* |
| 12333 | + ** |
| 12334 | + * @brief Message to be delivered to the client after some timeout. |
| 12335 | + */ |
| 12336 | +struct _Sr__DelayedMsgReq |
| 12337 | +{ |
| 12338 | + ProtobufCMessage base; |
| 12339 | + Sr__Msg *message; |
| 12340 | +}; |
| 12341 | +#define SR__DELAYED_MSG_REQ__INIT \ |
| 12342 | + { PROTOBUF_C_MESSAGE_INIT (&sr__delayed_msg_req__descriptor) \ |
| 12343 | + , NULL } |
| 12344 | + |
| 12345 | + |
| 12346 | +/* |
| 12347 | + ** |
| 12348 | + * @brief Internal request to reload NACM configuration from the running datastore. |
| 12349 | + */ |
| 12350 | +struct _Sr__NacmReloadReq |
| 12351 | +{ |
| 12352 | + ProtobufCMessage base; |
| 12353 | +}; |
| 12354 | +#define SR__NACM_RELOAD_REQ__INIT \ |
| 12355 | + { PROTOBUF_C_MESSAGE_INIT (&sr__nacm_reload_req__descriptor) \ |
| 12356 | + } |
| 12357 | + |
| 12358 | + |
| 12359 | +/* |
| 12360 | + ** |
| 12361 | + * @brief Request for an operation. |
| 12362 | + */ |
| 12363 | +struct _Sr__Request |
| 12364 | +{ |
| 12365 | + ProtobufCMessage base; |
| 12366 | + /* |
| 12367 | + * Request ID used internally by sysrepo |
| 12368 | + */ |
| 12369 | + uint64_t _id; |
| 12370 | + Sr__Operation operation; |
| 12371 | + Sr__SessionStartReq *session_start_req; |
| 12372 | + Sr__SessionStopReq *session_stop_req; |
| 12373 | + Sr__SessionRefreshReq *session_refresh_req; |
| 12374 | + Sr__SessionCheckReq *session_check_req; |
| 12375 | + Sr__SessionSwitchDsReq *session_switch_ds_req; |
| 12376 | + Sr__SessionSetOptsReq *session_set_opts_req; |
| 12377 | + Sr__VersionVerifyReq *version_verify_req; |
| 12378 | + Sr__ListSchemasReq *list_schemas_req; |
| 12379 | + Sr__GetSchemaReq *get_schema_req; |
| 12380 | + Sr__ModuleInstallReq *module_install_req; |
| 12381 | + Sr__FeatureEnableReq *feature_enable_req; |
| 12382 | + Sr__GetItemReq *get_item_req; |
| 12383 | + Sr__GetItemsReq *get_items_req; |
| 12384 | + Sr__GetSubtreeReq *get_subtree_req; |
| 12385 | + Sr__GetSubtreesReq *get_subtrees_req; |
| 12386 | + Sr__GetSubtreeChunkReq *get_subtree_chunk_req; |
| 12387 | + Sr__SetItemReq *set_item_req; |
| 12388 | + Sr__DeleteItemReq *delete_item_req; |
| 12389 | + Sr__MoveItemReq *move_item_req; |
| 12390 | + Sr__SetItemStrReq *set_item_str_req; |
| 12391 | + Sr__ValidateReq *validate_req; |
| 12392 | + Sr__CommitReq *commit_req; |
| 12393 | + Sr__DiscardChangesReq *discard_changes_req; |
| 12394 | + Sr__CopyConfigReq *copy_config_req; |
| 12395 | + Sr__LockReq *lock_req; |
| 12396 | + Sr__UnlockReq *unlock_req; |
| 12397 | + Sr__SubscribeReq *subscribe_req; |
| 12398 | + Sr__UnsubscribeReq *unsubscribe_req; |
| 12399 | + Sr__CheckEnabledRunningReq *check_enabled_running_req; |
| 12400 | + Sr__GetChangesReq *get_changes_req; |
| 12401 | + Sr__DataProvideReq *data_provide_req; |
| 12402 | + Sr__CheckExecPermReq *check_exec_perm_req; |
| 12403 | + Sr__RPCReq *rpc_req; |
| 12404 | + Sr__EventNotifReq *event_notif_req; |
| 12405 | + Sr__EventNotifReplayReq *event_notif_replay_req; |
| 12406 | +}; |
| 12407 | +#define SR__REQUEST__INIT \ |
| 12408 | + { PROTOBUF_C_MESSAGE_INIT (&sr__request__descriptor) \ |
| 12409 | + , 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } |
| 12410 | + |
| 12411 | + |
| 12412 | +/* |
| 12413 | + ** |
| 12414 | + * @brief Response to the received request. |
| 12415 | + */ |
| 12416 | +struct _Sr__Response |
| 12417 | +{ |
| 12418 | + ProtobufCMessage base; |
| 12419 | + Sr__Operation operation; |
| 12420 | + /* |
| 12421 | + **< Result of the operation. 0 on success, non-zero values map to sr_error_t enum in sysrepo.h. |
| 12422 | + */ |
| 12423 | + uint32_t result; |
| 12424 | + /* |
| 12425 | + **< Additional error information. |
| 12426 | + */ |
| 12427 | + Sr__Error *error; |
| 12428 | + Sr__SessionStartResp *session_start_resp; |
| 12429 | + Sr__SessionStopResp *session_stop_resp; |
| 12430 | + Sr__SessionRefreshResp *session_refresh_resp; |
| 12431 | + Sr__SessionCheckResp *session_check_resp; |
| 12432 | + Sr__SessionSwitchDsResp *session_switch_ds_resp; |
| 12433 | + Sr__SessionSetOptsResp *session_set_opts_resp; |
| 12434 | + Sr__VersionVerifyResp *version_verify_resp; |
| 12435 | + Sr__ListSchemasResp *list_schemas_resp; |
| 12436 | + Sr__GetSchemaResp *get_schema_resp; |
| 12437 | + Sr__ModuleInstallResp *module_install_resp; |
| 12438 | + Sr__FeatureEnableResp *feature_enable_resp; |
| 12439 | + Sr__GetItemResp *get_item_resp; |
| 12440 | + Sr__GetItemsResp *get_items_resp; |
| 12441 | + Sr__GetSubtreeResp *get_subtree_resp; |
| 12442 | + Sr__GetSubtreesResp *get_subtrees_resp; |
| 12443 | + Sr__GetSubtreeChunkResp *get_subtree_chunk_resp; |
| 12444 | + Sr__SetItemResp *set_item_resp; |
| 12445 | + Sr__DeleteItemResp *delete_item_resp; |
| 12446 | + Sr__MoveItemResp *move_item_resp; |
| 12447 | + Sr__SetItemStrResp *set_item_str_resp; |
| 12448 | + Sr__ValidateResp *validate_resp; |
| 12449 | + Sr__CommitResp *commit_resp; |
| 12450 | + Sr__DiscardChangesResp *discard_changes_resp; |
| 12451 | + Sr__CopyConfigResp *copy_config_resp; |
| 12452 | + Sr__LockResp *lock_resp; |
| 12453 | + Sr__UnlockResp *unlock_resp; |
| 12454 | + Sr__SubscribeResp *subscribe_resp; |
| 12455 | + Sr__UnsubscribeResp *unsubscribe_resp; |
| 12456 | + Sr__CheckEnabledRunningResp *check_enabled_running_resp; |
| 12457 | + Sr__GetChangesResp *get_changes_resp; |
| 12458 | + Sr__DataProvideResp *data_provide_resp; |
| 12459 | + Sr__CheckExecPermResp *check_exec_perm_resp; |
| 12460 | + Sr__RPCResp *rpc_resp; |
| 12461 | + Sr__EventNotifResp *event_notif_resp; |
| 12462 | + Sr__EventNotifReplayResp *event_notif_replay_resp; |
| 12463 | +}; |
| 12464 | +#define SR__RESPONSE__INIT \ |
| 12465 | + { PROTOBUF_C_MESSAGE_INIT (&sr__response__descriptor) \ |
| 12466 | + , 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } |
| 12467 | + |
| 12468 | + |
| 12469 | +/* |
| 12470 | + ** |
| 12471 | + * @brief Notification about an event that occurred in the datastore. |
| 12472 | + */ |
| 12473 | +struct _Sr__Notification |
| 12474 | +{ |
| 12475 | + ProtobufCMessage base; |
| 12476 | + Sr__SubscriptionType type; |
| 12477 | + char *destination_address; |
| 12478 | + char *source_address; |
| 12479 | + uint32_t source_pid; |
| 12480 | + uint32_t subscription_id; |
| 12481 | + protobuf_c_boolean has_commit_id; |
| 12482 | + uint32_t commit_id; |
| 12483 | + Sr__ModuleInstallNotification *module_install_notif; |
| 12484 | + Sr__FeatureEnableNotification *feature_enable_notif; |
| 12485 | + Sr__ModuleChangeNotification *module_change_notif; |
| 12486 | + Sr__SubtreeChangeNotification *subtree_change_notif; |
| 12487 | +}; |
| 12488 | +#define SR__NOTIFICATION__INIT \ |
| 12489 | + { PROTOBUF_C_MESSAGE_INIT (&sr__notification__descriptor) \ |
| 12490 | + , 0, NULL, NULL, 0, 0, 0,0, NULL, NULL, NULL, NULL } |
| 12491 | + |
| 12492 | + |
| 12493 | +/* |
| 12494 | + ** |
| 12495 | + * @brief Notification Acknowledgment. |
| 12496 | + */ |
| 12497 | +struct _Sr__NotificationAck |
| 12498 | +{ |
| 12499 | + ProtobufCMessage base; |
| 12500 | + /* |
| 12501 | + **< Original notification. |
| 12502 | + */ |
| 12503 | + Sr__Notification *notif; |
| 12504 | + /* |
| 12505 | + **< Result of the notification (success / error code). |
| 12506 | + */ |
| 12507 | + uint32_t result; |
| 12508 | + /* |
| 12509 | + **< Additional error information. |
| 12510 | + */ |
| 12511 | + Sr__Error *error; |
| 12512 | + /* |
| 12513 | + **< If the result is error and this flag is set to true abort notification |
| 12514 | + * will not be delivered to this subscriber |
| 12515 | + * (Subscriber doesn't want notification about changes that he refused). |
| 12516 | + */ |
| 12517 | + protobuf_c_boolean do_not_send_abort; |
| 12518 | +}; |
| 12519 | +#define SR__NOTIFICATION_ACK__INIT \ |
| 12520 | + { PROTOBUF_C_MESSAGE_INIT (&sr__notification_ack__descriptor) \ |
| 12521 | + , NULL, 0, NULL, 0 } |
| 12522 | + |
| 12523 | + |
| 12524 | +/* |
| 12525 | + ** |
| 12526 | + * @brief Internal request sent by sysrepo. Should not be used from the public API. |
| 12527 | + */ |
| 12528 | +struct _Sr__InternalRequest |
| 12529 | +{ |
| 12530 | + ProtobufCMessage base; |
| 12531 | + Sr__Operation operation; |
| 12532 | + protobuf_c_boolean has_postpone_timeout; |
| 12533 | + uint32_t postpone_timeout; |
| 12534 | + Sr__UnsubscribeDestinationReq *unsubscribe_dst_req; |
| 12535 | + Sr__CommitTimeoutReq *commit_timeout_req; |
| 12536 | + Sr__OperDataTimeoutReq *oper_data_timeout_req; |
| 12537 | + Sr__InternalStateDataReq *internal_state_data_req; |
| 12538 | + Sr__NotifStoreCleanupReq *notif_store_cleanup_req; |
| 12539 | + Sr__DelayedMsgReq *delayed_msg_req; |
| 12540 | + Sr__NacmReloadReq *nacm_reload_req; |
| 12541 | +}; |
| 12542 | +#define SR__INTERNAL_REQUEST__INIT \ |
| 12543 | + { PROTOBUF_C_MESSAGE_INIT (&sr__internal_request__descriptor) \ |
| 12544 | + , 0, 0,0, NULL, NULL, NULL, NULL, NULL, NULL, NULL } |
| 12545 | + |
| 12546 | + |
| 12547 | +/* |
| 12548 | + ** |
| 12549 | + * @brief Umbrella sysrepo message used for communication between sysrepo |
| 12550 | + * engine and client library. |
| 12551 | + */ |
| 12552 | +struct _Sr__Msg |
| 12553 | +{ |
| 12554 | + ProtobufCMessage base; |
| 12555 | + /* |
| 12556 | + **< Indicates type of the message. |
| 12557 | + */ |
| 12558 | + Sr__Msg__MsgType type; |
| 12559 | + /* |
| 12560 | + **< Session identifier. Can be 0 (value is ignored) for session_start and version_verify requests. |
| 12561 | + */ |
| 12562 | + uint32_t session_id; |
| 12563 | + /* |
| 12564 | + **< Filled in in case of type == REQUEST. |
| 12565 | + */ |
| 12566 | + Sr__Request *request; |
| 12567 | + /* |
| 12568 | + **< Filled in in case of type == RESPONSE. |
| 12569 | + */ |
| 12570 | + Sr__Response *response; |
| 12571 | + /* |
| 12572 | + **< Filled in in case of type == NOTIFICATION. |
| 12573 | + */ |
| 12574 | + Sr__Notification *notification; |
| 12575 | + /* |
| 12576 | + **< Filled in in case of type == NOTIFICATION_ACK |
| 12577 | + */ |
| 12578 | + Sr__NotificationAck *notification_ack; |
| 12579 | + /* |
| 12580 | + **< Filled in in case of type == INTERNAL. |
| 12581 | + */ |
| 12582 | + Sr__InternalRequest *internal_request; |
| 12583 | + /* |
| 12584 | + **< Not part of the protocol. Used internally by Sysrepo to store a pointer to memory context. |
| 12585 | + */ |
| 12586 | + uint64_t _sysrepo_mem_ctx; |
| 12587 | +}; |
| 12588 | +#define SR__MSG__INIT \ |
| 12589 | + { PROTOBUF_C_MESSAGE_INIT (&sr__msg__descriptor) \ |
| 12590 | + , 0, 0, NULL, NULL, NULL, NULL, NULL, 0 } |
| 12591 | + |
| 12592 | + |
| 12593 | +/* Sr__Value methods */ |
| 12594 | +void sr__value__init |
| 12595 | + (Sr__Value *message); |
| 12596 | +size_t sr__value__get_packed_size |
| 12597 | + (const Sr__Value *message); |
| 12598 | +size_t sr__value__pack |
| 12599 | + (const Sr__Value *message, |
| 12600 | + uint8_t *out); |
| 12601 | +size_t sr__value__pack_to_buffer |
| 12602 | + (const Sr__Value *message, |
| 12603 | + ProtobufCBuffer *buffer); |
| 12604 | +Sr__Value * |
| 12605 | + sr__value__unpack |
| 12606 | + (ProtobufCAllocator *allocator, |
| 12607 | + size_t len, |
| 12608 | + const uint8_t *data); |
| 12609 | +void sr__value__free_unpacked |
| 12610 | + (Sr__Value *message, |
| 12611 | + ProtobufCAllocator *allocator); |
| 12612 | +/* Sr__Node methods */ |
| 12613 | +void sr__node__init |
| 12614 | + (Sr__Node *message); |
| 12615 | +size_t sr__node__get_packed_size |
| 12616 | + (const Sr__Node *message); |
| 12617 | +size_t sr__node__pack |
| 12618 | + (const Sr__Node *message, |
| 12619 | + uint8_t *out); |
| 12620 | +size_t sr__node__pack_to_buffer |
| 12621 | + (const Sr__Node *message, |
| 12622 | + ProtobufCBuffer *buffer); |
| 12623 | +Sr__Node * |
| 12624 | + sr__node__unpack |
| 12625 | + (ProtobufCAllocator *allocator, |
| 12626 | + size_t len, |
| 12627 | + const uint8_t *data); |
| 12628 | +void sr__node__free_unpacked |
| 12629 | + (Sr__Node *message, |
| 12630 | + ProtobufCAllocator *allocator); |
| 12631 | +/* Sr__Error methods */ |
| 12632 | +void sr__error__init |
| 12633 | + (Sr__Error *message); |
| 12634 | +size_t sr__error__get_packed_size |
| 12635 | + (const Sr__Error *message); |
| 12636 | +size_t sr__error__pack |
| 12637 | + (const Sr__Error *message, |
| 12638 | + uint8_t *out); |
| 12639 | +size_t sr__error__pack_to_buffer |
| 12640 | + (const Sr__Error *message, |
| 12641 | + ProtobufCBuffer *buffer); |
| 12642 | +Sr__Error * |
| 12643 | + sr__error__unpack |
| 12644 | + (ProtobufCAllocator *allocator, |
| 12645 | + size_t len, |
| 12646 | + const uint8_t *data); |
| 12647 | +void sr__error__free_unpacked |
| 12648 | + (Sr__Error *message, |
| 12649 | + ProtobufCAllocator *allocator); |
| 12650 | +/* Sr__SessionStartReq methods */ |
| 12651 | +void sr__session_start_req__init |
| 12652 | + (Sr__SessionStartReq *message); |
| 12653 | +size_t sr__session_start_req__get_packed_size |
| 12654 | + (const Sr__SessionStartReq *message); |
| 12655 | +size_t sr__session_start_req__pack |
| 12656 | + (const Sr__SessionStartReq *message, |
| 12657 | + uint8_t *out); |
| 12658 | +size_t sr__session_start_req__pack_to_buffer |
| 12659 | + (const Sr__SessionStartReq *message, |
| 12660 | + ProtobufCBuffer *buffer); |
| 12661 | +Sr__SessionStartReq * |
| 12662 | + sr__session_start_req__unpack |
| 12663 | + (ProtobufCAllocator *allocator, |
| 12664 | + size_t len, |
| 12665 | + const uint8_t *data); |
| 12666 | +void sr__session_start_req__free_unpacked |
| 12667 | + (Sr__SessionStartReq *message, |
| 12668 | + ProtobufCAllocator *allocator); |
| 12669 | +/* Sr__SessionStartResp methods */ |
| 12670 | +void sr__session_start_resp__init |
| 12671 | + (Sr__SessionStartResp *message); |
| 12672 | +size_t sr__session_start_resp__get_packed_size |
| 12673 | + (const Sr__SessionStartResp *message); |
| 12674 | +size_t sr__session_start_resp__pack |
| 12675 | + (const Sr__SessionStartResp *message, |
| 12676 | + uint8_t *out); |
| 12677 | +size_t sr__session_start_resp__pack_to_buffer |
| 12678 | + (const Sr__SessionStartResp *message, |
| 12679 | + ProtobufCBuffer *buffer); |
| 12680 | +Sr__SessionStartResp * |
| 12681 | + sr__session_start_resp__unpack |
| 12682 | + (ProtobufCAllocator *allocator, |
| 12683 | + size_t len, |
| 12684 | + const uint8_t *data); |
| 12685 | +void sr__session_start_resp__free_unpacked |
| 12686 | + (Sr__SessionStartResp *message, |
| 12687 | + ProtobufCAllocator *allocator); |
| 12688 | +/* Sr__SessionStopReq methods */ |
| 12689 | +void sr__session_stop_req__init |
| 12690 | + (Sr__SessionStopReq *message); |
| 12691 | +size_t sr__session_stop_req__get_packed_size |
| 12692 | + (const Sr__SessionStopReq *message); |
| 12693 | +size_t sr__session_stop_req__pack |
| 12694 | + (const Sr__SessionStopReq *message, |
| 12695 | + uint8_t *out); |
| 12696 | +size_t sr__session_stop_req__pack_to_buffer |
| 12697 | + (const Sr__SessionStopReq *message, |
| 12698 | + ProtobufCBuffer *buffer); |
| 12699 | +Sr__SessionStopReq * |
| 12700 | + sr__session_stop_req__unpack |
| 12701 | + (ProtobufCAllocator *allocator, |
| 12702 | + size_t len, |
| 12703 | + const uint8_t *data); |
| 12704 | +void sr__session_stop_req__free_unpacked |
| 12705 | + (Sr__SessionStopReq *message, |
| 12706 | + ProtobufCAllocator *allocator); |
| 12707 | +/* Sr__SessionStopResp methods */ |
| 12708 | +void sr__session_stop_resp__init |
| 12709 | + (Sr__SessionStopResp *message); |
| 12710 | +size_t sr__session_stop_resp__get_packed_size |
| 12711 | + (const Sr__SessionStopResp *message); |
| 12712 | +size_t sr__session_stop_resp__pack |
| 12713 | + (const Sr__SessionStopResp *message, |
| 12714 | + uint8_t *out); |
| 12715 | +size_t sr__session_stop_resp__pack_to_buffer |
| 12716 | + (const Sr__SessionStopResp *message, |
| 12717 | + ProtobufCBuffer *buffer); |
| 12718 | +Sr__SessionStopResp * |
| 12719 | + sr__session_stop_resp__unpack |
| 12720 | + (ProtobufCAllocator *allocator, |
| 12721 | + size_t len, |
| 12722 | + const uint8_t *data); |
| 12723 | +void sr__session_stop_resp__free_unpacked |
| 12724 | + (Sr__SessionStopResp *message, |
| 12725 | + ProtobufCAllocator *allocator); |
| 12726 | +/* Sr__SessionRefreshReq methods */ |
| 12727 | +void sr__session_refresh_req__init |
| 12728 | + (Sr__SessionRefreshReq *message); |
| 12729 | +size_t sr__session_refresh_req__get_packed_size |
| 12730 | + (const Sr__SessionRefreshReq *message); |
| 12731 | +size_t sr__session_refresh_req__pack |
| 12732 | + (const Sr__SessionRefreshReq *message, |
| 12733 | + uint8_t *out); |
| 12734 | +size_t sr__session_refresh_req__pack_to_buffer |
| 12735 | + (const Sr__SessionRefreshReq *message, |
| 12736 | + ProtobufCBuffer *buffer); |
| 12737 | +Sr__SessionRefreshReq * |
| 12738 | + sr__session_refresh_req__unpack |
| 12739 | + (ProtobufCAllocator *allocator, |
| 12740 | + size_t len, |
| 12741 | + const uint8_t *data); |
| 12742 | +void sr__session_refresh_req__free_unpacked |
| 12743 | + (Sr__SessionRefreshReq *message, |
| 12744 | + ProtobufCAllocator *allocator); |
| 12745 | +/* Sr__SessionRefreshResp methods */ |
| 12746 | +void sr__session_refresh_resp__init |
| 12747 | + (Sr__SessionRefreshResp *message); |
| 12748 | +size_t sr__session_refresh_resp__get_packed_size |
| 12749 | + (const Sr__SessionRefreshResp *message); |
| 12750 | +size_t sr__session_refresh_resp__pack |
| 12751 | + (const Sr__SessionRefreshResp *message, |
| 12752 | + uint8_t *out); |
| 12753 | +size_t sr__session_refresh_resp__pack_to_buffer |
| 12754 | + (const Sr__SessionRefreshResp *message, |
| 12755 | + ProtobufCBuffer *buffer); |
| 12756 | +Sr__SessionRefreshResp * |
| 12757 | + sr__session_refresh_resp__unpack |
| 12758 | + (ProtobufCAllocator *allocator, |
| 12759 | + size_t len, |
| 12760 | + const uint8_t *data); |
| 12761 | +void sr__session_refresh_resp__free_unpacked |
| 12762 | + (Sr__SessionRefreshResp *message, |
| 12763 | + ProtobufCAllocator *allocator); |
| 12764 | +/* Sr__SessionCheckReq methods */ |
| 12765 | +void sr__session_check_req__init |
| 12766 | + (Sr__SessionCheckReq *message); |
| 12767 | +size_t sr__session_check_req__get_packed_size |
| 12768 | + (const Sr__SessionCheckReq *message); |
| 12769 | +size_t sr__session_check_req__pack |
| 12770 | + (const Sr__SessionCheckReq *message, |
| 12771 | + uint8_t *out); |
| 12772 | +size_t sr__session_check_req__pack_to_buffer |
| 12773 | + (const Sr__SessionCheckReq *message, |
| 12774 | + ProtobufCBuffer *buffer); |
| 12775 | +Sr__SessionCheckReq * |
| 12776 | + sr__session_check_req__unpack |
| 12777 | + (ProtobufCAllocator *allocator, |
| 12778 | + size_t len, |
| 12779 | + const uint8_t *data); |
| 12780 | +void sr__session_check_req__free_unpacked |
| 12781 | + (Sr__SessionCheckReq *message, |
| 12782 | + ProtobufCAllocator *allocator); |
| 12783 | +/* Sr__SessionCheckResp methods */ |
| 12784 | +void sr__session_check_resp__init |
| 12785 | + (Sr__SessionCheckResp *message); |
| 12786 | +size_t sr__session_check_resp__get_packed_size |
| 12787 | + (const Sr__SessionCheckResp *message); |
| 12788 | +size_t sr__session_check_resp__pack |
| 12789 | + (const Sr__SessionCheckResp *message, |
| 12790 | + uint8_t *out); |
| 12791 | +size_t sr__session_check_resp__pack_to_buffer |
| 12792 | + (const Sr__SessionCheckResp *message, |
| 12793 | + ProtobufCBuffer *buffer); |
| 12794 | +Sr__SessionCheckResp * |
| 12795 | + sr__session_check_resp__unpack |
| 12796 | + (ProtobufCAllocator *allocator, |
| 12797 | + size_t len, |
| 12798 | + const uint8_t *data); |
| 12799 | +void sr__session_check_resp__free_unpacked |
| 12800 | + (Sr__SessionCheckResp *message, |
| 12801 | + ProtobufCAllocator *allocator); |
| 12802 | +/* Sr__SessionSwitchDsReq methods */ |
| 12803 | +void sr__session_switch_ds_req__init |
| 12804 | + (Sr__SessionSwitchDsReq *message); |
| 12805 | +size_t sr__session_switch_ds_req__get_packed_size |
| 12806 | + (const Sr__SessionSwitchDsReq *message); |
| 12807 | +size_t sr__session_switch_ds_req__pack |
| 12808 | + (const Sr__SessionSwitchDsReq *message, |
| 12809 | + uint8_t *out); |
| 12810 | +size_t sr__session_switch_ds_req__pack_to_buffer |
| 12811 | + (const Sr__SessionSwitchDsReq *message, |
| 12812 | + ProtobufCBuffer *buffer); |
| 12813 | +Sr__SessionSwitchDsReq * |
| 12814 | + sr__session_switch_ds_req__unpack |
| 12815 | + (ProtobufCAllocator *allocator, |
| 12816 | + size_t len, |
| 12817 | + const uint8_t *data); |
| 12818 | +void sr__session_switch_ds_req__free_unpacked |
| 12819 | + (Sr__SessionSwitchDsReq *message, |
| 12820 | + ProtobufCAllocator *allocator); |
| 12821 | +/* Sr__SessionSwitchDsResp methods */ |
| 12822 | +void sr__session_switch_ds_resp__init |
| 12823 | + (Sr__SessionSwitchDsResp *message); |
| 12824 | +size_t sr__session_switch_ds_resp__get_packed_size |
| 12825 | + (const Sr__SessionSwitchDsResp *message); |
| 12826 | +size_t sr__session_switch_ds_resp__pack |
| 12827 | + (const Sr__SessionSwitchDsResp *message, |
| 12828 | + uint8_t *out); |
| 12829 | +size_t sr__session_switch_ds_resp__pack_to_buffer |
| 12830 | + (const Sr__SessionSwitchDsResp *message, |
| 12831 | + ProtobufCBuffer *buffer); |
| 12832 | +Sr__SessionSwitchDsResp * |
| 12833 | + sr__session_switch_ds_resp__unpack |
| 12834 | + (ProtobufCAllocator *allocator, |
| 12835 | + size_t len, |
| 12836 | + const uint8_t *data); |
| 12837 | +void sr__session_switch_ds_resp__free_unpacked |
| 12838 | + (Sr__SessionSwitchDsResp *message, |
| 12839 | + ProtobufCAllocator *allocator); |
| 12840 | +/* Sr__SessionSetOptsReq methods */ |
| 12841 | +void sr__session_set_opts_req__init |
| 12842 | + (Sr__SessionSetOptsReq *message); |
| 12843 | +size_t sr__session_set_opts_req__get_packed_size |
| 12844 | + (const Sr__SessionSetOptsReq *message); |
| 12845 | +size_t sr__session_set_opts_req__pack |
| 12846 | + (const Sr__SessionSetOptsReq *message, |
| 12847 | + uint8_t *out); |
| 12848 | +size_t sr__session_set_opts_req__pack_to_buffer |
| 12849 | + (const Sr__SessionSetOptsReq *message, |
| 12850 | + ProtobufCBuffer *buffer); |
| 12851 | +Sr__SessionSetOptsReq * |
| 12852 | + sr__session_set_opts_req__unpack |
| 12853 | + (ProtobufCAllocator *allocator, |
| 12854 | + size_t len, |
| 12855 | + const uint8_t *data); |
| 12856 | +void sr__session_set_opts_req__free_unpacked |
| 12857 | + (Sr__SessionSetOptsReq *message, |
| 12858 | + ProtobufCAllocator *allocator); |
| 12859 | +/* Sr__SessionSetOptsResp methods */ |
| 12860 | +void sr__session_set_opts_resp__init |
| 12861 | + (Sr__SessionSetOptsResp *message); |
| 12862 | +size_t sr__session_set_opts_resp__get_packed_size |
| 12863 | + (const Sr__SessionSetOptsResp *message); |
| 12864 | +size_t sr__session_set_opts_resp__pack |
| 12865 | + (const Sr__SessionSetOptsResp *message, |
| 12866 | + uint8_t *out); |
| 12867 | +size_t sr__session_set_opts_resp__pack_to_buffer |
| 12868 | + (const Sr__SessionSetOptsResp *message, |
| 12869 | + ProtobufCBuffer *buffer); |
| 12870 | +Sr__SessionSetOptsResp * |
| 12871 | + sr__session_set_opts_resp__unpack |
| 12872 | + (ProtobufCAllocator *allocator, |
| 12873 | + size_t len, |
| 12874 | + const uint8_t *data); |
| 12875 | +void sr__session_set_opts_resp__free_unpacked |
| 12876 | + (Sr__SessionSetOptsResp *message, |
| 12877 | + ProtobufCAllocator *allocator); |
| 12878 | +/* Sr__VersionVerifyReq methods */ |
| 12879 | +void sr__version_verify_req__init |
| 12880 | + (Sr__VersionVerifyReq *message); |
| 12881 | +size_t sr__version_verify_req__get_packed_size |
| 12882 | + (const Sr__VersionVerifyReq *message); |
| 12883 | +size_t sr__version_verify_req__pack |
| 12884 | + (const Sr__VersionVerifyReq *message, |
| 12885 | + uint8_t *out); |
| 12886 | +size_t sr__version_verify_req__pack_to_buffer |
| 12887 | + (const Sr__VersionVerifyReq *message, |
| 12888 | + ProtobufCBuffer *buffer); |
| 12889 | +Sr__VersionVerifyReq * |
| 12890 | + sr__version_verify_req__unpack |
| 12891 | + (ProtobufCAllocator *allocator, |
| 12892 | + size_t len, |
| 12893 | + const uint8_t *data); |
| 12894 | +void sr__version_verify_req__free_unpacked |
| 12895 | + (Sr__VersionVerifyReq *message, |
| 12896 | + ProtobufCAllocator *allocator); |
| 12897 | +/* Sr__VersionVerifyResp methods */ |
| 12898 | +void sr__version_verify_resp__init |
| 12899 | + (Sr__VersionVerifyResp *message); |
| 12900 | +size_t sr__version_verify_resp__get_packed_size |
| 12901 | + (const Sr__VersionVerifyResp *message); |
| 12902 | +size_t sr__version_verify_resp__pack |
| 12903 | + (const Sr__VersionVerifyResp *message, |
| 12904 | + uint8_t *out); |
| 12905 | +size_t sr__version_verify_resp__pack_to_buffer |
| 12906 | + (const Sr__VersionVerifyResp *message, |
| 12907 | + ProtobufCBuffer *buffer); |
| 12908 | +Sr__VersionVerifyResp * |
| 12909 | + sr__version_verify_resp__unpack |
| 12910 | + (ProtobufCAllocator *allocator, |
| 12911 | + size_t len, |
| 12912 | + const uint8_t *data); |
| 12913 | +void sr__version_verify_resp__free_unpacked |
| 12914 | + (Sr__VersionVerifyResp *message, |
| 12915 | + ProtobufCAllocator *allocator); |
| 12916 | +/* Sr__SchemaRevision methods */ |
| 12917 | +void sr__schema_revision__init |
| 12918 | + (Sr__SchemaRevision *message); |
| 12919 | +size_t sr__schema_revision__get_packed_size |
| 12920 | + (const Sr__SchemaRevision *message); |
| 12921 | +size_t sr__schema_revision__pack |
| 12922 | + (const Sr__SchemaRevision *message, |
| 12923 | + uint8_t *out); |
| 12924 | +size_t sr__schema_revision__pack_to_buffer |
| 12925 | + (const Sr__SchemaRevision *message, |
| 12926 | + ProtobufCBuffer *buffer); |
| 12927 | +Sr__SchemaRevision * |
| 12928 | + sr__schema_revision__unpack |
| 12929 | + (ProtobufCAllocator *allocator, |
| 12930 | + size_t len, |
| 12931 | + const uint8_t *data); |
| 12932 | +void sr__schema_revision__free_unpacked |
| 12933 | + (Sr__SchemaRevision *message, |
| 12934 | + ProtobufCAllocator *allocator); |
| 12935 | +/* Sr__SchemaSubmodule methods */ |
| 12936 | +void sr__schema_submodule__init |
| 12937 | + (Sr__SchemaSubmodule *message); |
| 12938 | +size_t sr__schema_submodule__get_packed_size |
| 12939 | + (const Sr__SchemaSubmodule *message); |
| 12940 | +size_t sr__schema_submodule__pack |
| 12941 | + (const Sr__SchemaSubmodule *message, |
| 12942 | + uint8_t *out); |
| 12943 | +size_t sr__schema_submodule__pack_to_buffer |
| 12944 | + (const Sr__SchemaSubmodule *message, |
| 12945 | + ProtobufCBuffer *buffer); |
| 12946 | +Sr__SchemaSubmodule * |
| 12947 | + sr__schema_submodule__unpack |
| 12948 | + (ProtobufCAllocator *allocator, |
| 12949 | + size_t len, |
| 12950 | + const uint8_t *data); |
| 12951 | +void sr__schema_submodule__free_unpacked |
| 12952 | + (Sr__SchemaSubmodule *message, |
| 12953 | + ProtobufCAllocator *allocator); |
| 12954 | +/* Sr__Schema methods */ |
| 12955 | +void sr__schema__init |
| 12956 | + (Sr__Schema *message); |
| 12957 | +size_t sr__schema__get_packed_size |
| 12958 | + (const Sr__Schema *message); |
| 12959 | +size_t sr__schema__pack |
| 12960 | + (const Sr__Schema *message, |
| 12961 | + uint8_t *out); |
| 12962 | +size_t sr__schema__pack_to_buffer |
| 12963 | + (const Sr__Schema *message, |
| 12964 | + ProtobufCBuffer *buffer); |
| 12965 | +Sr__Schema * |
| 12966 | + sr__schema__unpack |
| 12967 | + (ProtobufCAllocator *allocator, |
| 12968 | + size_t len, |
| 12969 | + const uint8_t *data); |
| 12970 | +void sr__schema__free_unpacked |
| 12971 | + (Sr__Schema *message, |
| 12972 | + ProtobufCAllocator *allocator); |
| 12973 | +/* Sr__ListSchemasReq methods */ |
| 12974 | +void sr__list_schemas_req__init |
| 12975 | + (Sr__ListSchemasReq *message); |
| 12976 | +size_t sr__list_schemas_req__get_packed_size |
| 12977 | + (const Sr__ListSchemasReq *message); |
| 12978 | +size_t sr__list_schemas_req__pack |
| 12979 | + (const Sr__ListSchemasReq *message, |
| 12980 | + uint8_t *out); |
| 12981 | +size_t sr__list_schemas_req__pack_to_buffer |
| 12982 | + (const Sr__ListSchemasReq *message, |
| 12983 | + ProtobufCBuffer *buffer); |
| 12984 | +Sr__ListSchemasReq * |
| 12985 | + sr__list_schemas_req__unpack |
| 12986 | + (ProtobufCAllocator *allocator, |
| 12987 | + size_t len, |
| 12988 | + const uint8_t *data); |
| 12989 | +void sr__list_schemas_req__free_unpacked |
| 12990 | + (Sr__ListSchemasReq *message, |
| 12991 | + ProtobufCAllocator *allocator); |
| 12992 | +/* Sr__ListSchemasResp methods */ |
| 12993 | +void sr__list_schemas_resp__init |
| 12994 | + (Sr__ListSchemasResp *message); |
| 12995 | +size_t sr__list_schemas_resp__get_packed_size |
| 12996 | + (const Sr__ListSchemasResp *message); |
| 12997 | +size_t sr__list_schemas_resp__pack |
| 12998 | + (const Sr__ListSchemasResp *message, |
| 12999 | + uint8_t *out); |
| 13000 | +size_t sr__list_schemas_resp__pack_to_buffer |
| 13001 | + (const Sr__ListSchemasResp *message, |
| 13002 | + ProtobufCBuffer *buffer); |
| 13003 | +Sr__ListSchemasResp * |
| 13004 | + sr__list_schemas_resp__unpack |
| 13005 | + (ProtobufCAllocator *allocator, |
| 13006 | + size_t len, |
| 13007 | + const uint8_t *data); |
| 13008 | +void sr__list_schemas_resp__free_unpacked |
| 13009 | + (Sr__ListSchemasResp *message, |
| 13010 | + ProtobufCAllocator *allocator); |
| 13011 | +/* Sr__GetSchemaReq methods */ |
| 13012 | +void sr__get_schema_req__init |
| 13013 | + (Sr__GetSchemaReq *message); |
| 13014 | +size_t sr__get_schema_req__get_packed_size |
| 13015 | + (const Sr__GetSchemaReq *message); |
| 13016 | +size_t sr__get_schema_req__pack |
| 13017 | + (const Sr__GetSchemaReq *message, |
| 13018 | + uint8_t *out); |
| 13019 | +size_t sr__get_schema_req__pack_to_buffer |
| 13020 | + (const Sr__GetSchemaReq *message, |
| 13021 | + ProtobufCBuffer *buffer); |
| 13022 | +Sr__GetSchemaReq * |
| 13023 | + sr__get_schema_req__unpack |
| 13024 | + (ProtobufCAllocator *allocator, |
| 13025 | + size_t len, |
| 13026 | + const uint8_t *data); |
| 13027 | +void sr__get_schema_req__free_unpacked |
| 13028 | + (Sr__GetSchemaReq *message, |
| 13029 | + ProtobufCAllocator *allocator); |
| 13030 | +/* Sr__GetSchemaResp methods */ |
| 13031 | +void sr__get_schema_resp__init |
| 13032 | + (Sr__GetSchemaResp *message); |
| 13033 | +size_t sr__get_schema_resp__get_packed_size |
| 13034 | + (const Sr__GetSchemaResp *message); |
| 13035 | +size_t sr__get_schema_resp__pack |
| 13036 | + (const Sr__GetSchemaResp *message, |
| 13037 | + uint8_t *out); |
| 13038 | +size_t sr__get_schema_resp__pack_to_buffer |
| 13039 | + (const Sr__GetSchemaResp *message, |
| 13040 | + ProtobufCBuffer *buffer); |
| 13041 | +Sr__GetSchemaResp * |
| 13042 | + sr__get_schema_resp__unpack |
| 13043 | + (ProtobufCAllocator *allocator, |
| 13044 | + size_t len, |
| 13045 | + const uint8_t *data); |
| 13046 | +void sr__get_schema_resp__free_unpacked |
| 13047 | + (Sr__GetSchemaResp *message, |
| 13048 | + ProtobufCAllocator *allocator); |
| 13049 | +/* Sr__GetItemReq methods */ |
| 13050 | +void sr__get_item_req__init |
| 13051 | + (Sr__GetItemReq *message); |
| 13052 | +size_t sr__get_item_req__get_packed_size |
| 13053 | + (const Sr__GetItemReq *message); |
| 13054 | +size_t sr__get_item_req__pack |
| 13055 | + (const Sr__GetItemReq *message, |
| 13056 | + uint8_t *out); |
| 13057 | +size_t sr__get_item_req__pack_to_buffer |
| 13058 | + (const Sr__GetItemReq *message, |
| 13059 | + ProtobufCBuffer *buffer); |
| 13060 | +Sr__GetItemReq * |
| 13061 | + sr__get_item_req__unpack |
| 13062 | + (ProtobufCAllocator *allocator, |
| 13063 | + size_t len, |
| 13064 | + const uint8_t *data); |
| 13065 | +void sr__get_item_req__free_unpacked |
| 13066 | + (Sr__GetItemReq *message, |
| 13067 | + ProtobufCAllocator *allocator); |
| 13068 | +/* Sr__GetItemResp methods */ |
| 13069 | +void sr__get_item_resp__init |
| 13070 | + (Sr__GetItemResp *message); |
| 13071 | +size_t sr__get_item_resp__get_packed_size |
| 13072 | + (const Sr__GetItemResp *message); |
| 13073 | +size_t sr__get_item_resp__pack |
| 13074 | + (const Sr__GetItemResp *message, |
| 13075 | + uint8_t *out); |
| 13076 | +size_t sr__get_item_resp__pack_to_buffer |
| 13077 | + (const Sr__GetItemResp *message, |
| 13078 | + ProtobufCBuffer *buffer); |
| 13079 | +Sr__GetItemResp * |
| 13080 | + sr__get_item_resp__unpack |
| 13081 | + (ProtobufCAllocator *allocator, |
| 13082 | + size_t len, |
| 13083 | + const uint8_t *data); |
| 13084 | +void sr__get_item_resp__free_unpacked |
| 13085 | + (Sr__GetItemResp *message, |
| 13086 | + ProtobufCAllocator *allocator); |
| 13087 | +/* Sr__GetItemsReq methods */ |
| 13088 | +void sr__get_items_req__init |
| 13089 | + (Sr__GetItemsReq *message); |
| 13090 | +size_t sr__get_items_req__get_packed_size |
| 13091 | + (const Sr__GetItemsReq *message); |
| 13092 | +size_t sr__get_items_req__pack |
| 13093 | + (const Sr__GetItemsReq *message, |
| 13094 | + uint8_t *out); |
| 13095 | +size_t sr__get_items_req__pack_to_buffer |
| 13096 | + (const Sr__GetItemsReq *message, |
| 13097 | + ProtobufCBuffer *buffer); |
| 13098 | +Sr__GetItemsReq * |
| 13099 | + sr__get_items_req__unpack |
| 13100 | + (ProtobufCAllocator *allocator, |
| 13101 | + size_t len, |
| 13102 | + const uint8_t *data); |
| 13103 | +void sr__get_items_req__free_unpacked |
| 13104 | + (Sr__GetItemsReq *message, |
| 13105 | + ProtobufCAllocator *allocator); |
| 13106 | +/* Sr__GetItemsResp methods */ |
| 13107 | +void sr__get_items_resp__init |
| 13108 | + (Sr__GetItemsResp *message); |
| 13109 | +size_t sr__get_items_resp__get_packed_size |
| 13110 | + (const Sr__GetItemsResp *message); |
| 13111 | +size_t sr__get_items_resp__pack |
| 13112 | + (const Sr__GetItemsResp *message, |
| 13113 | + uint8_t *out); |
| 13114 | +size_t sr__get_items_resp__pack_to_buffer |
| 13115 | + (const Sr__GetItemsResp *message, |
| 13116 | + ProtobufCBuffer *buffer); |
| 13117 | +Sr__GetItemsResp * |
| 13118 | + sr__get_items_resp__unpack |
| 13119 | + (ProtobufCAllocator *allocator, |
| 13120 | + size_t len, |
| 13121 | + const uint8_t *data); |
| 13122 | +void sr__get_items_resp__free_unpacked |
| 13123 | + (Sr__GetItemsResp *message, |
| 13124 | + ProtobufCAllocator *allocator); |
| 13125 | +/* Sr__GetSubtreeReq methods */ |
| 13126 | +void sr__get_subtree_req__init |
| 13127 | + (Sr__GetSubtreeReq *message); |
| 13128 | +size_t sr__get_subtree_req__get_packed_size |
| 13129 | + (const Sr__GetSubtreeReq *message); |
| 13130 | +size_t sr__get_subtree_req__pack |
| 13131 | + (const Sr__GetSubtreeReq *message, |
| 13132 | + uint8_t *out); |
| 13133 | +size_t sr__get_subtree_req__pack_to_buffer |
| 13134 | + (const Sr__GetSubtreeReq *message, |
| 13135 | + ProtobufCBuffer *buffer); |
| 13136 | +Sr__GetSubtreeReq * |
| 13137 | + sr__get_subtree_req__unpack |
| 13138 | + (ProtobufCAllocator *allocator, |
| 13139 | + size_t len, |
| 13140 | + const uint8_t *data); |
| 13141 | +void sr__get_subtree_req__free_unpacked |
| 13142 | + (Sr__GetSubtreeReq *message, |
| 13143 | + ProtobufCAllocator *allocator); |
| 13144 | +/* Sr__GetSubtreeResp methods */ |
| 13145 | +void sr__get_subtree_resp__init |
| 13146 | + (Sr__GetSubtreeResp *message); |
| 13147 | +size_t sr__get_subtree_resp__get_packed_size |
| 13148 | + (const Sr__GetSubtreeResp *message); |
| 13149 | +size_t sr__get_subtree_resp__pack |
| 13150 | + (const Sr__GetSubtreeResp *message, |
| 13151 | + uint8_t *out); |
| 13152 | +size_t sr__get_subtree_resp__pack_to_buffer |
| 13153 | + (const Sr__GetSubtreeResp *message, |
| 13154 | + ProtobufCBuffer *buffer); |
| 13155 | +Sr__GetSubtreeResp * |
| 13156 | + sr__get_subtree_resp__unpack |
| 13157 | + (ProtobufCAllocator *allocator, |
| 13158 | + size_t len, |
| 13159 | + const uint8_t *data); |
| 13160 | +void sr__get_subtree_resp__free_unpacked |
| 13161 | + (Sr__GetSubtreeResp *message, |
| 13162 | + ProtobufCAllocator *allocator); |
| 13163 | +/* Sr__GetSubtreesReq methods */ |
| 13164 | +void sr__get_subtrees_req__init |
| 13165 | + (Sr__GetSubtreesReq *message); |
| 13166 | +size_t sr__get_subtrees_req__get_packed_size |
| 13167 | + (const Sr__GetSubtreesReq *message); |
| 13168 | +size_t sr__get_subtrees_req__pack |
| 13169 | + (const Sr__GetSubtreesReq *message, |
| 13170 | + uint8_t *out); |
| 13171 | +size_t sr__get_subtrees_req__pack_to_buffer |
| 13172 | + (const Sr__GetSubtreesReq *message, |
| 13173 | + ProtobufCBuffer *buffer); |
| 13174 | +Sr__GetSubtreesReq * |
| 13175 | + sr__get_subtrees_req__unpack |
| 13176 | + (ProtobufCAllocator *allocator, |
| 13177 | + size_t len, |
| 13178 | + const uint8_t *data); |
| 13179 | +void sr__get_subtrees_req__free_unpacked |
| 13180 | + (Sr__GetSubtreesReq *message, |
| 13181 | + ProtobufCAllocator *allocator); |
| 13182 | +/* Sr__GetSubtreesResp methods */ |
| 13183 | +void sr__get_subtrees_resp__init |
| 13184 | + (Sr__GetSubtreesResp *message); |
| 13185 | +size_t sr__get_subtrees_resp__get_packed_size |
| 13186 | + (const Sr__GetSubtreesResp *message); |
| 13187 | +size_t sr__get_subtrees_resp__pack |
| 13188 | + (const Sr__GetSubtreesResp *message, |
| 13189 | + uint8_t *out); |
| 13190 | +size_t sr__get_subtrees_resp__pack_to_buffer |
| 13191 | + (const Sr__GetSubtreesResp *message, |
| 13192 | + ProtobufCBuffer *buffer); |
| 13193 | +Sr__GetSubtreesResp * |
| 13194 | + sr__get_subtrees_resp__unpack |
| 13195 | + (ProtobufCAllocator *allocator, |
| 13196 | + size_t len, |
| 13197 | + const uint8_t *data); |
| 13198 | +void sr__get_subtrees_resp__free_unpacked |
| 13199 | + (Sr__GetSubtreesResp *message, |
| 13200 | + ProtobufCAllocator *allocator); |
| 13201 | +/* Sr__GetSubtreeChunkReq methods */ |
| 13202 | +void sr__get_subtree_chunk_req__init |
| 13203 | + (Sr__GetSubtreeChunkReq *message); |
| 13204 | +size_t sr__get_subtree_chunk_req__get_packed_size |
| 13205 | + (const Sr__GetSubtreeChunkReq *message); |
| 13206 | +size_t sr__get_subtree_chunk_req__pack |
| 13207 | + (const Sr__GetSubtreeChunkReq *message, |
| 13208 | + uint8_t *out); |
| 13209 | +size_t sr__get_subtree_chunk_req__pack_to_buffer |
| 13210 | + (const Sr__GetSubtreeChunkReq *message, |
| 13211 | + ProtobufCBuffer *buffer); |
| 13212 | +Sr__GetSubtreeChunkReq * |
| 13213 | + sr__get_subtree_chunk_req__unpack |
| 13214 | + (ProtobufCAllocator *allocator, |
| 13215 | + size_t len, |
| 13216 | + const uint8_t *data); |
| 13217 | +void sr__get_subtree_chunk_req__free_unpacked |
| 13218 | + (Sr__GetSubtreeChunkReq *message, |
| 13219 | + ProtobufCAllocator *allocator); |
| 13220 | +/* Sr__GetSubtreeChunkResp methods */ |
| 13221 | +void sr__get_subtree_chunk_resp__init |
| 13222 | + (Sr__GetSubtreeChunkResp *message); |
| 13223 | +size_t sr__get_subtree_chunk_resp__get_packed_size |
| 13224 | + (const Sr__GetSubtreeChunkResp *message); |
| 13225 | +size_t sr__get_subtree_chunk_resp__pack |
| 13226 | + (const Sr__GetSubtreeChunkResp *message, |
| 13227 | + uint8_t *out); |
| 13228 | +size_t sr__get_subtree_chunk_resp__pack_to_buffer |
| 13229 | + (const Sr__GetSubtreeChunkResp *message, |
| 13230 | + ProtobufCBuffer *buffer); |
| 13231 | +Sr__GetSubtreeChunkResp * |
| 13232 | + sr__get_subtree_chunk_resp__unpack |
| 13233 | + (ProtobufCAllocator *allocator, |
| 13234 | + size_t len, |
| 13235 | + const uint8_t *data); |
| 13236 | +void sr__get_subtree_chunk_resp__free_unpacked |
| 13237 | + (Sr__GetSubtreeChunkResp *message, |
| 13238 | + ProtobufCAllocator *allocator); |
| 13239 | +/* Sr__SetItemReq methods */ |
| 13240 | +void sr__set_item_req__init |
| 13241 | + (Sr__SetItemReq *message); |
| 13242 | +size_t sr__set_item_req__get_packed_size |
| 13243 | + (const Sr__SetItemReq *message); |
| 13244 | +size_t sr__set_item_req__pack |
| 13245 | + (const Sr__SetItemReq *message, |
| 13246 | + uint8_t *out); |
| 13247 | +size_t sr__set_item_req__pack_to_buffer |
| 13248 | + (const Sr__SetItemReq *message, |
| 13249 | + ProtobufCBuffer *buffer); |
| 13250 | +Sr__SetItemReq * |
| 13251 | + sr__set_item_req__unpack |
| 13252 | + (ProtobufCAllocator *allocator, |
| 13253 | + size_t len, |
| 13254 | + const uint8_t *data); |
| 13255 | +void sr__set_item_req__free_unpacked |
| 13256 | + (Sr__SetItemReq *message, |
| 13257 | + ProtobufCAllocator *allocator); |
| 13258 | +/* Sr__SetItemResp methods */ |
| 13259 | +void sr__set_item_resp__init |
| 13260 | + (Sr__SetItemResp *message); |
| 13261 | +size_t sr__set_item_resp__get_packed_size |
| 13262 | + (const Sr__SetItemResp *message); |
| 13263 | +size_t sr__set_item_resp__pack |
| 13264 | + (const Sr__SetItemResp *message, |
| 13265 | + uint8_t *out); |
| 13266 | +size_t sr__set_item_resp__pack_to_buffer |
| 13267 | + (const Sr__SetItemResp *message, |
| 13268 | + ProtobufCBuffer *buffer); |
| 13269 | +Sr__SetItemResp * |
| 13270 | + sr__set_item_resp__unpack |
| 13271 | + (ProtobufCAllocator *allocator, |
| 13272 | + size_t len, |
| 13273 | + const uint8_t *data); |
| 13274 | +void sr__set_item_resp__free_unpacked |
| 13275 | + (Sr__SetItemResp *message, |
| 13276 | + ProtobufCAllocator *allocator); |
| 13277 | +/* Sr__SetItemStrReq methods */ |
| 13278 | +void sr__set_item_str_req__init |
| 13279 | + (Sr__SetItemStrReq *message); |
| 13280 | +size_t sr__set_item_str_req__get_packed_size |
| 13281 | + (const Sr__SetItemStrReq *message); |
| 13282 | +size_t sr__set_item_str_req__pack |
| 13283 | + (const Sr__SetItemStrReq *message, |
| 13284 | + uint8_t *out); |
| 13285 | +size_t sr__set_item_str_req__pack_to_buffer |
| 13286 | + (const Sr__SetItemStrReq *message, |
| 13287 | + ProtobufCBuffer *buffer); |
| 13288 | +Sr__SetItemStrReq * |
| 13289 | + sr__set_item_str_req__unpack |
| 13290 | + (ProtobufCAllocator *allocator, |
| 13291 | + size_t len, |
| 13292 | + const uint8_t *data); |
| 13293 | +void sr__set_item_str_req__free_unpacked |
| 13294 | + (Sr__SetItemStrReq *message, |
| 13295 | + ProtobufCAllocator *allocator); |
| 13296 | +/* Sr__SetItemStrResp methods */ |
| 13297 | +void sr__set_item_str_resp__init |
| 13298 | + (Sr__SetItemStrResp *message); |
| 13299 | +size_t sr__set_item_str_resp__get_packed_size |
| 13300 | + (const Sr__SetItemStrResp *message); |
| 13301 | +size_t sr__set_item_str_resp__pack |
| 13302 | + (const Sr__SetItemStrResp *message, |
| 13303 | + uint8_t *out); |
| 13304 | +size_t sr__set_item_str_resp__pack_to_buffer |
| 13305 | + (const Sr__SetItemStrResp *message, |
| 13306 | + ProtobufCBuffer *buffer); |
| 13307 | +Sr__SetItemStrResp * |
| 13308 | + sr__set_item_str_resp__unpack |
| 13309 | + (ProtobufCAllocator *allocator, |
| 13310 | + size_t len, |
| 13311 | + const uint8_t *data); |
| 13312 | +void sr__set_item_str_resp__free_unpacked |
| 13313 | + (Sr__SetItemStrResp *message, |
| 13314 | + ProtobufCAllocator *allocator); |
| 13315 | +/* Sr__DeleteItemReq methods */ |
| 13316 | +void sr__delete_item_req__init |
| 13317 | + (Sr__DeleteItemReq *message); |
| 13318 | +size_t sr__delete_item_req__get_packed_size |
| 13319 | + (const Sr__DeleteItemReq *message); |
| 13320 | +size_t sr__delete_item_req__pack |
| 13321 | + (const Sr__DeleteItemReq *message, |
| 13322 | + uint8_t *out); |
| 13323 | +size_t sr__delete_item_req__pack_to_buffer |
| 13324 | + (const Sr__DeleteItemReq *message, |
| 13325 | + ProtobufCBuffer *buffer); |
| 13326 | +Sr__DeleteItemReq * |
| 13327 | + sr__delete_item_req__unpack |
| 13328 | + (ProtobufCAllocator *allocator, |
| 13329 | + size_t len, |
| 13330 | + const uint8_t *data); |
| 13331 | +void sr__delete_item_req__free_unpacked |
| 13332 | + (Sr__DeleteItemReq *message, |
| 13333 | + ProtobufCAllocator *allocator); |
| 13334 | +/* Sr__DeleteItemResp methods */ |
| 13335 | +void sr__delete_item_resp__init |
| 13336 | + (Sr__DeleteItemResp *message); |
| 13337 | +size_t sr__delete_item_resp__get_packed_size |
| 13338 | + (const Sr__DeleteItemResp *message); |
| 13339 | +size_t sr__delete_item_resp__pack |
| 13340 | + (const Sr__DeleteItemResp *message, |
| 13341 | + uint8_t *out); |
| 13342 | +size_t sr__delete_item_resp__pack_to_buffer |
| 13343 | + (const Sr__DeleteItemResp *message, |
| 13344 | + ProtobufCBuffer *buffer); |
| 13345 | +Sr__DeleteItemResp * |
| 13346 | + sr__delete_item_resp__unpack |
| 13347 | + (ProtobufCAllocator *allocator, |
| 13348 | + size_t len, |
| 13349 | + const uint8_t *data); |
| 13350 | +void sr__delete_item_resp__free_unpacked |
| 13351 | + (Sr__DeleteItemResp *message, |
| 13352 | + ProtobufCAllocator *allocator); |
| 13353 | +/* Sr__MoveItemReq methods */ |
| 13354 | +void sr__move_item_req__init |
| 13355 | + (Sr__MoveItemReq *message); |
| 13356 | +size_t sr__move_item_req__get_packed_size |
| 13357 | + (const Sr__MoveItemReq *message); |
| 13358 | +size_t sr__move_item_req__pack |
| 13359 | + (const Sr__MoveItemReq *message, |
| 13360 | + uint8_t *out); |
| 13361 | +size_t sr__move_item_req__pack_to_buffer |
| 13362 | + (const Sr__MoveItemReq *message, |
| 13363 | + ProtobufCBuffer *buffer); |
| 13364 | +Sr__MoveItemReq * |
| 13365 | + sr__move_item_req__unpack |
| 13366 | + (ProtobufCAllocator *allocator, |
| 13367 | + size_t len, |
| 13368 | + const uint8_t *data); |
| 13369 | +void sr__move_item_req__free_unpacked |
| 13370 | + (Sr__MoveItemReq *message, |
| 13371 | + ProtobufCAllocator *allocator); |
| 13372 | +/* Sr__MoveItemResp methods */ |
| 13373 | +void sr__move_item_resp__init |
| 13374 | + (Sr__MoveItemResp *message); |
| 13375 | +size_t sr__move_item_resp__get_packed_size |
| 13376 | + (const Sr__MoveItemResp *message); |
| 13377 | +size_t sr__move_item_resp__pack |
| 13378 | + (const Sr__MoveItemResp *message, |
| 13379 | + uint8_t *out); |
| 13380 | +size_t sr__move_item_resp__pack_to_buffer |
| 13381 | + (const Sr__MoveItemResp *message, |
| 13382 | + ProtobufCBuffer *buffer); |
| 13383 | +Sr__MoveItemResp * |
| 13384 | + sr__move_item_resp__unpack |
| 13385 | + (ProtobufCAllocator *allocator, |
| 13386 | + size_t len, |
| 13387 | + const uint8_t *data); |
| 13388 | +void sr__move_item_resp__free_unpacked |
| 13389 | + (Sr__MoveItemResp *message, |
| 13390 | + ProtobufCAllocator *allocator); |
| 13391 | +/* Sr__ValidateReq methods */ |
| 13392 | +void sr__validate_req__init |
| 13393 | + (Sr__ValidateReq *message); |
| 13394 | +size_t sr__validate_req__get_packed_size |
| 13395 | + (const Sr__ValidateReq *message); |
| 13396 | +size_t sr__validate_req__pack |
| 13397 | + (const Sr__ValidateReq *message, |
| 13398 | + uint8_t *out); |
| 13399 | +size_t sr__validate_req__pack_to_buffer |
| 13400 | + (const Sr__ValidateReq *message, |
| 13401 | + ProtobufCBuffer *buffer); |
| 13402 | +Sr__ValidateReq * |
| 13403 | + sr__validate_req__unpack |
| 13404 | + (ProtobufCAllocator *allocator, |
| 13405 | + size_t len, |
| 13406 | + const uint8_t *data); |
| 13407 | +void sr__validate_req__free_unpacked |
| 13408 | + (Sr__ValidateReq *message, |
| 13409 | + ProtobufCAllocator *allocator); |
| 13410 | +/* Sr__ValidateResp methods */ |
| 13411 | +void sr__validate_resp__init |
| 13412 | + (Sr__ValidateResp *message); |
| 13413 | +size_t sr__validate_resp__get_packed_size |
| 13414 | + (const Sr__ValidateResp *message); |
| 13415 | +size_t sr__validate_resp__pack |
| 13416 | + (const Sr__ValidateResp *message, |
| 13417 | + uint8_t *out); |
| 13418 | +size_t sr__validate_resp__pack_to_buffer |
| 13419 | + (const Sr__ValidateResp *message, |
| 13420 | + ProtobufCBuffer *buffer); |
| 13421 | +Sr__ValidateResp * |
| 13422 | + sr__validate_resp__unpack |
| 13423 | + (ProtobufCAllocator *allocator, |
| 13424 | + size_t len, |
| 13425 | + const uint8_t *data); |
| 13426 | +void sr__validate_resp__free_unpacked |
| 13427 | + (Sr__ValidateResp *message, |
| 13428 | + ProtobufCAllocator *allocator); |
| 13429 | +/* Sr__CommitReq methods */ |
| 13430 | +void sr__commit_req__init |
| 13431 | + (Sr__CommitReq *message); |
| 13432 | +size_t sr__commit_req__get_packed_size |
| 13433 | + (const Sr__CommitReq *message); |
| 13434 | +size_t sr__commit_req__pack |
| 13435 | + (const Sr__CommitReq *message, |
| 13436 | + uint8_t *out); |
| 13437 | +size_t sr__commit_req__pack_to_buffer |
| 13438 | + (const Sr__CommitReq *message, |
| 13439 | + ProtobufCBuffer *buffer); |
| 13440 | +Sr__CommitReq * |
| 13441 | + sr__commit_req__unpack |
| 13442 | + (ProtobufCAllocator *allocator, |
| 13443 | + size_t len, |
| 13444 | + const uint8_t *data); |
| 13445 | +void sr__commit_req__free_unpacked |
| 13446 | + (Sr__CommitReq *message, |
| 13447 | + ProtobufCAllocator *allocator); |
| 13448 | +/* Sr__CommitResp methods */ |
| 13449 | +void sr__commit_resp__init |
| 13450 | + (Sr__CommitResp *message); |
| 13451 | +size_t sr__commit_resp__get_packed_size |
| 13452 | + (const Sr__CommitResp *message); |
| 13453 | +size_t sr__commit_resp__pack |
| 13454 | + (const Sr__CommitResp *message, |
| 13455 | + uint8_t *out); |
| 13456 | +size_t sr__commit_resp__pack_to_buffer |
| 13457 | + (const Sr__CommitResp *message, |
| 13458 | + ProtobufCBuffer *buffer); |
| 13459 | +Sr__CommitResp * |
| 13460 | + sr__commit_resp__unpack |
| 13461 | + (ProtobufCAllocator *allocator, |
| 13462 | + size_t len, |
| 13463 | + const uint8_t *data); |
| 13464 | +void sr__commit_resp__free_unpacked |
| 13465 | + (Sr__CommitResp *message, |
| 13466 | + ProtobufCAllocator *allocator); |
| 13467 | +/* Sr__DiscardChangesReq methods */ |
| 13468 | +void sr__discard_changes_req__init |
| 13469 | + (Sr__DiscardChangesReq *message); |
| 13470 | +size_t sr__discard_changes_req__get_packed_size |
| 13471 | + (const Sr__DiscardChangesReq *message); |
| 13472 | +size_t sr__discard_changes_req__pack |
| 13473 | + (const Sr__DiscardChangesReq *message, |
| 13474 | + uint8_t *out); |
| 13475 | +size_t sr__discard_changes_req__pack_to_buffer |
| 13476 | + (const Sr__DiscardChangesReq *message, |
| 13477 | + ProtobufCBuffer *buffer); |
| 13478 | +Sr__DiscardChangesReq * |
| 13479 | + sr__discard_changes_req__unpack |
| 13480 | + (ProtobufCAllocator *allocator, |
| 13481 | + size_t len, |
| 13482 | + const uint8_t *data); |
| 13483 | +void sr__discard_changes_req__free_unpacked |
| 13484 | + (Sr__DiscardChangesReq *message, |
| 13485 | + ProtobufCAllocator *allocator); |
| 13486 | +/* Sr__DiscardChangesResp methods */ |
| 13487 | +void sr__discard_changes_resp__init |
| 13488 | + (Sr__DiscardChangesResp *message); |
| 13489 | +size_t sr__discard_changes_resp__get_packed_size |
| 13490 | + (const Sr__DiscardChangesResp *message); |
| 13491 | +size_t sr__discard_changes_resp__pack |
| 13492 | + (const Sr__DiscardChangesResp *message, |
| 13493 | + uint8_t *out); |
| 13494 | +size_t sr__discard_changes_resp__pack_to_buffer |
| 13495 | + (const Sr__DiscardChangesResp *message, |
| 13496 | + ProtobufCBuffer *buffer); |
| 13497 | +Sr__DiscardChangesResp * |
| 13498 | + sr__discard_changes_resp__unpack |
| 13499 | + (ProtobufCAllocator *allocator, |
| 13500 | + size_t len, |
| 13501 | + const uint8_t *data); |
| 13502 | +void sr__discard_changes_resp__free_unpacked |
| 13503 | + (Sr__DiscardChangesResp *message, |
| 13504 | + ProtobufCAllocator *allocator); |
| 13505 | +/* Sr__CopyConfigReq methods */ |
| 13506 | +void sr__copy_config_req__init |
| 13507 | + (Sr__CopyConfigReq *message); |
| 13508 | +size_t sr__copy_config_req__get_packed_size |
| 13509 | + (const Sr__CopyConfigReq *message); |
| 13510 | +size_t sr__copy_config_req__pack |
| 13511 | + (const Sr__CopyConfigReq *message, |
| 13512 | + uint8_t *out); |
| 13513 | +size_t sr__copy_config_req__pack_to_buffer |
| 13514 | + (const Sr__CopyConfigReq *message, |
| 13515 | + ProtobufCBuffer *buffer); |
| 13516 | +Sr__CopyConfigReq * |
| 13517 | + sr__copy_config_req__unpack |
| 13518 | + (ProtobufCAllocator *allocator, |
| 13519 | + size_t len, |
| 13520 | + const uint8_t *data); |
| 13521 | +void sr__copy_config_req__free_unpacked |
| 13522 | + (Sr__CopyConfigReq *message, |
| 13523 | + ProtobufCAllocator *allocator); |
| 13524 | +/* Sr__CopyConfigResp methods */ |
| 13525 | +void sr__copy_config_resp__init |
| 13526 | + (Sr__CopyConfigResp *message); |
| 13527 | +size_t sr__copy_config_resp__get_packed_size |
| 13528 | + (const Sr__CopyConfigResp *message); |
| 13529 | +size_t sr__copy_config_resp__pack |
| 13530 | + (const Sr__CopyConfigResp *message, |
| 13531 | + uint8_t *out); |
| 13532 | +size_t sr__copy_config_resp__pack_to_buffer |
| 13533 | + (const Sr__CopyConfigResp *message, |
| 13534 | + ProtobufCBuffer *buffer); |
| 13535 | +Sr__CopyConfigResp * |
| 13536 | + sr__copy_config_resp__unpack |
| 13537 | + (ProtobufCAllocator *allocator, |
| 13538 | + size_t len, |
| 13539 | + const uint8_t *data); |
| 13540 | +void sr__copy_config_resp__free_unpacked |
| 13541 | + (Sr__CopyConfigResp *message, |
| 13542 | + ProtobufCAllocator *allocator); |
| 13543 | +/* Sr__LockReq methods */ |
| 13544 | +void sr__lock_req__init |
| 13545 | + (Sr__LockReq *message); |
| 13546 | +size_t sr__lock_req__get_packed_size |
| 13547 | + (const Sr__LockReq *message); |
| 13548 | +size_t sr__lock_req__pack |
| 13549 | + (const Sr__LockReq *message, |
| 13550 | + uint8_t *out); |
| 13551 | +size_t sr__lock_req__pack_to_buffer |
| 13552 | + (const Sr__LockReq *message, |
| 13553 | + ProtobufCBuffer *buffer); |
| 13554 | +Sr__LockReq * |
| 13555 | + sr__lock_req__unpack |
| 13556 | + (ProtobufCAllocator *allocator, |
| 13557 | + size_t len, |
| 13558 | + const uint8_t *data); |
| 13559 | +void sr__lock_req__free_unpacked |
| 13560 | + (Sr__LockReq *message, |
| 13561 | + ProtobufCAllocator *allocator); |
| 13562 | +/* Sr__LockResp methods */ |
| 13563 | +void sr__lock_resp__init |
| 13564 | + (Sr__LockResp *message); |
| 13565 | +size_t sr__lock_resp__get_packed_size |
| 13566 | + (const Sr__LockResp *message); |
| 13567 | +size_t sr__lock_resp__pack |
| 13568 | + (const Sr__LockResp *message, |
| 13569 | + uint8_t *out); |
| 13570 | +size_t sr__lock_resp__pack_to_buffer |
| 13571 | + (const Sr__LockResp *message, |
| 13572 | + ProtobufCBuffer *buffer); |
| 13573 | +Sr__LockResp * |
| 13574 | + sr__lock_resp__unpack |
| 13575 | + (ProtobufCAllocator *allocator, |
| 13576 | + size_t len, |
| 13577 | + const uint8_t *data); |
| 13578 | +void sr__lock_resp__free_unpacked |
| 13579 | + (Sr__LockResp *message, |
| 13580 | + ProtobufCAllocator *allocator); |
| 13581 | +/* Sr__UnlockReq methods */ |
| 13582 | +void sr__unlock_req__init |
| 13583 | + (Sr__UnlockReq *message); |
| 13584 | +size_t sr__unlock_req__get_packed_size |
| 13585 | + (const Sr__UnlockReq *message); |
| 13586 | +size_t sr__unlock_req__pack |
| 13587 | + (const Sr__UnlockReq *message, |
| 13588 | + uint8_t *out); |
| 13589 | +size_t sr__unlock_req__pack_to_buffer |
| 13590 | + (const Sr__UnlockReq *message, |
| 13591 | + ProtobufCBuffer *buffer); |
| 13592 | +Sr__UnlockReq * |
| 13593 | + sr__unlock_req__unpack |
| 13594 | + (ProtobufCAllocator *allocator, |
| 13595 | + size_t len, |
| 13596 | + const uint8_t *data); |
| 13597 | +void sr__unlock_req__free_unpacked |
| 13598 | + (Sr__UnlockReq *message, |
| 13599 | + ProtobufCAllocator *allocator); |
| 13600 | +/* Sr__UnlockResp methods */ |
| 13601 | +void sr__unlock_resp__init |
| 13602 | + (Sr__UnlockResp *message); |
| 13603 | +size_t sr__unlock_resp__get_packed_size |
| 13604 | + (const Sr__UnlockResp *message); |
| 13605 | +size_t sr__unlock_resp__pack |
| 13606 | + (const Sr__UnlockResp *message, |
| 13607 | + uint8_t *out); |
| 13608 | +size_t sr__unlock_resp__pack_to_buffer |
| 13609 | + (const Sr__UnlockResp *message, |
| 13610 | + ProtobufCBuffer *buffer); |
| 13611 | +Sr__UnlockResp * |
| 13612 | + sr__unlock_resp__unpack |
| 13613 | + (ProtobufCAllocator *allocator, |
| 13614 | + size_t len, |
| 13615 | + const uint8_t *data); |
| 13616 | +void sr__unlock_resp__free_unpacked |
| 13617 | + (Sr__UnlockResp *message, |
| 13618 | + ProtobufCAllocator *allocator); |
| 13619 | +/* Sr__SubscribeReq methods */ |
| 13620 | +void sr__subscribe_req__init |
| 13621 | + (Sr__SubscribeReq *message); |
| 13622 | +size_t sr__subscribe_req__get_packed_size |
| 13623 | + (const Sr__SubscribeReq *message); |
| 13624 | +size_t sr__subscribe_req__pack |
| 13625 | + (const Sr__SubscribeReq *message, |
| 13626 | + uint8_t *out); |
| 13627 | +size_t sr__subscribe_req__pack_to_buffer |
| 13628 | + (const Sr__SubscribeReq *message, |
| 13629 | + ProtobufCBuffer *buffer); |
| 13630 | +Sr__SubscribeReq * |
| 13631 | + sr__subscribe_req__unpack |
| 13632 | + (ProtobufCAllocator *allocator, |
| 13633 | + size_t len, |
| 13634 | + const uint8_t *data); |
| 13635 | +void sr__subscribe_req__free_unpacked |
| 13636 | + (Sr__SubscribeReq *message, |
| 13637 | + ProtobufCAllocator *allocator); |
| 13638 | +/* Sr__SubscribeResp methods */ |
| 13639 | +void sr__subscribe_resp__init |
| 13640 | + (Sr__SubscribeResp *message); |
| 13641 | +size_t sr__subscribe_resp__get_packed_size |
| 13642 | + (const Sr__SubscribeResp *message); |
| 13643 | +size_t sr__subscribe_resp__pack |
| 13644 | + (const Sr__SubscribeResp *message, |
| 13645 | + uint8_t *out); |
| 13646 | +size_t sr__subscribe_resp__pack_to_buffer |
| 13647 | + (const Sr__SubscribeResp *message, |
| 13648 | + ProtobufCBuffer *buffer); |
| 13649 | +Sr__SubscribeResp * |
| 13650 | + sr__subscribe_resp__unpack |
| 13651 | + (ProtobufCAllocator *allocator, |
| 13652 | + size_t len, |
| 13653 | + const uint8_t *data); |
| 13654 | +void sr__subscribe_resp__free_unpacked |
| 13655 | + (Sr__SubscribeResp *message, |
| 13656 | + ProtobufCAllocator *allocator); |
| 13657 | +/* Sr__UnsubscribeReq methods */ |
| 13658 | +void sr__unsubscribe_req__init |
| 13659 | + (Sr__UnsubscribeReq *message); |
| 13660 | +size_t sr__unsubscribe_req__get_packed_size |
| 13661 | + (const Sr__UnsubscribeReq *message); |
| 13662 | +size_t sr__unsubscribe_req__pack |
| 13663 | + (const Sr__UnsubscribeReq *message, |
| 13664 | + uint8_t *out); |
| 13665 | +size_t sr__unsubscribe_req__pack_to_buffer |
| 13666 | + (const Sr__UnsubscribeReq *message, |
| 13667 | + ProtobufCBuffer *buffer); |
| 13668 | +Sr__UnsubscribeReq * |
| 13669 | + sr__unsubscribe_req__unpack |
| 13670 | + (ProtobufCAllocator *allocator, |
| 13671 | + size_t len, |
| 13672 | + const uint8_t *data); |
| 13673 | +void sr__unsubscribe_req__free_unpacked |
| 13674 | + (Sr__UnsubscribeReq *message, |
| 13675 | + ProtobufCAllocator *allocator); |
| 13676 | +/* Sr__UnsubscribeResp methods */ |
| 13677 | +void sr__unsubscribe_resp__init |
| 13678 | + (Sr__UnsubscribeResp *message); |
| 13679 | +size_t sr__unsubscribe_resp__get_packed_size |
| 13680 | + (const Sr__UnsubscribeResp *message); |
| 13681 | +size_t sr__unsubscribe_resp__pack |
| 13682 | + (const Sr__UnsubscribeResp *message, |
| 13683 | + uint8_t *out); |
| 13684 | +size_t sr__unsubscribe_resp__pack_to_buffer |
| 13685 | + (const Sr__UnsubscribeResp *message, |
| 13686 | + ProtobufCBuffer *buffer); |
| 13687 | +Sr__UnsubscribeResp * |
| 13688 | + sr__unsubscribe_resp__unpack |
| 13689 | + (ProtobufCAllocator *allocator, |
| 13690 | + size_t len, |
| 13691 | + const uint8_t *data); |
| 13692 | +void sr__unsubscribe_resp__free_unpacked |
| 13693 | + (Sr__UnsubscribeResp *message, |
| 13694 | + ProtobufCAllocator *allocator); |
| 13695 | +/* Sr__CheckEnabledRunningReq methods */ |
| 13696 | +void sr__check_enabled_running_req__init |
| 13697 | + (Sr__CheckEnabledRunningReq *message); |
| 13698 | +size_t sr__check_enabled_running_req__get_packed_size |
| 13699 | + (const Sr__CheckEnabledRunningReq *message); |
| 13700 | +size_t sr__check_enabled_running_req__pack |
| 13701 | + (const Sr__CheckEnabledRunningReq *message, |
| 13702 | + uint8_t *out); |
| 13703 | +size_t sr__check_enabled_running_req__pack_to_buffer |
| 13704 | + (const Sr__CheckEnabledRunningReq *message, |
| 13705 | + ProtobufCBuffer *buffer); |
| 13706 | +Sr__CheckEnabledRunningReq * |
| 13707 | + sr__check_enabled_running_req__unpack |
| 13708 | + (ProtobufCAllocator *allocator, |
| 13709 | + size_t len, |
| 13710 | + const uint8_t *data); |
| 13711 | +void sr__check_enabled_running_req__free_unpacked |
| 13712 | + (Sr__CheckEnabledRunningReq *message, |
| 13713 | + ProtobufCAllocator *allocator); |
| 13714 | +/* Sr__CheckEnabledRunningResp methods */ |
| 13715 | +void sr__check_enabled_running_resp__init |
| 13716 | + (Sr__CheckEnabledRunningResp *message); |
| 13717 | +size_t sr__check_enabled_running_resp__get_packed_size |
| 13718 | + (const Sr__CheckEnabledRunningResp *message); |
| 13719 | +size_t sr__check_enabled_running_resp__pack |
| 13720 | + (const Sr__CheckEnabledRunningResp *message, |
| 13721 | + uint8_t *out); |
| 13722 | +size_t sr__check_enabled_running_resp__pack_to_buffer |
| 13723 | + (const Sr__CheckEnabledRunningResp *message, |
| 13724 | + ProtobufCBuffer *buffer); |
| 13725 | +Sr__CheckEnabledRunningResp * |
| 13726 | + sr__check_enabled_running_resp__unpack |
| 13727 | + (ProtobufCAllocator *allocator, |
| 13728 | + size_t len, |
| 13729 | + const uint8_t *data); |
| 13730 | +void sr__check_enabled_running_resp__free_unpacked |
| 13731 | + (Sr__CheckEnabledRunningResp *message, |
| 13732 | + ProtobufCAllocator *allocator); |
| 13733 | +/* Sr__ModuleInstallNotification methods */ |
| 13734 | +void sr__module_install_notification__init |
| 13735 | + (Sr__ModuleInstallNotification *message); |
| 13736 | +size_t sr__module_install_notification__get_packed_size |
| 13737 | + (const Sr__ModuleInstallNotification *message); |
| 13738 | +size_t sr__module_install_notification__pack |
| 13739 | + (const Sr__ModuleInstallNotification *message, |
| 13740 | + uint8_t *out); |
| 13741 | +size_t sr__module_install_notification__pack_to_buffer |
| 13742 | + (const Sr__ModuleInstallNotification *message, |
| 13743 | + ProtobufCBuffer *buffer); |
| 13744 | +Sr__ModuleInstallNotification * |
| 13745 | + sr__module_install_notification__unpack |
| 13746 | + (ProtobufCAllocator *allocator, |
| 13747 | + size_t len, |
| 13748 | + const uint8_t *data); |
| 13749 | +void sr__module_install_notification__free_unpacked |
| 13750 | + (Sr__ModuleInstallNotification *message, |
| 13751 | + ProtobufCAllocator *allocator); |
| 13752 | +/* Sr__FeatureEnableNotification methods */ |
| 13753 | +void sr__feature_enable_notification__init |
| 13754 | + (Sr__FeatureEnableNotification *message); |
| 13755 | +size_t sr__feature_enable_notification__get_packed_size |
| 13756 | + (const Sr__FeatureEnableNotification *message); |
| 13757 | +size_t sr__feature_enable_notification__pack |
| 13758 | + (const Sr__FeatureEnableNotification *message, |
| 13759 | + uint8_t *out); |
| 13760 | +size_t sr__feature_enable_notification__pack_to_buffer |
| 13761 | + (const Sr__FeatureEnableNotification *message, |
| 13762 | + ProtobufCBuffer *buffer); |
| 13763 | +Sr__FeatureEnableNotification * |
| 13764 | + sr__feature_enable_notification__unpack |
| 13765 | + (ProtobufCAllocator *allocator, |
| 13766 | + size_t len, |
| 13767 | + const uint8_t *data); |
| 13768 | +void sr__feature_enable_notification__free_unpacked |
| 13769 | + (Sr__FeatureEnableNotification *message, |
| 13770 | + ProtobufCAllocator *allocator); |
| 13771 | +/* Sr__ModuleChangeNotification methods */ |
| 13772 | +void sr__module_change_notification__init |
| 13773 | + (Sr__ModuleChangeNotification *message); |
| 13774 | +size_t sr__module_change_notification__get_packed_size |
| 13775 | + (const Sr__ModuleChangeNotification *message); |
| 13776 | +size_t sr__module_change_notification__pack |
| 13777 | + (const Sr__ModuleChangeNotification *message, |
| 13778 | + uint8_t *out); |
| 13779 | +size_t sr__module_change_notification__pack_to_buffer |
| 13780 | + (const Sr__ModuleChangeNotification *message, |
| 13781 | + ProtobufCBuffer *buffer); |
| 13782 | +Sr__ModuleChangeNotification * |
| 13783 | + sr__module_change_notification__unpack |
| 13784 | + (ProtobufCAllocator *allocator, |
| 13785 | + size_t len, |
| 13786 | + const uint8_t *data); |
| 13787 | +void sr__module_change_notification__free_unpacked |
| 13788 | + (Sr__ModuleChangeNotification *message, |
| 13789 | + ProtobufCAllocator *allocator); |
| 13790 | +/* Sr__SubtreeChangeNotification methods */ |
| 13791 | +void sr__subtree_change_notification__init |
| 13792 | + (Sr__SubtreeChangeNotification *message); |
| 13793 | +size_t sr__subtree_change_notification__get_packed_size |
| 13794 | + (const Sr__SubtreeChangeNotification *message); |
| 13795 | +size_t sr__subtree_change_notification__pack |
| 13796 | + (const Sr__SubtreeChangeNotification *message, |
| 13797 | + uint8_t *out); |
| 13798 | +size_t sr__subtree_change_notification__pack_to_buffer |
| 13799 | + (const Sr__SubtreeChangeNotification *message, |
| 13800 | + ProtobufCBuffer *buffer); |
| 13801 | +Sr__SubtreeChangeNotification * |
| 13802 | + sr__subtree_change_notification__unpack |
| 13803 | + (ProtobufCAllocator *allocator, |
| 13804 | + size_t len, |
| 13805 | + const uint8_t *data); |
| 13806 | +void sr__subtree_change_notification__free_unpacked |
| 13807 | + (Sr__SubtreeChangeNotification *message, |
| 13808 | + ProtobufCAllocator *allocator); |
| 13809 | +/* Sr__Change methods */ |
| 13810 | +void sr__change__init |
| 13811 | + (Sr__Change *message); |
| 13812 | +size_t sr__change__get_packed_size |
| 13813 | + (const Sr__Change *message); |
| 13814 | +size_t sr__change__pack |
| 13815 | + (const Sr__Change *message, |
| 13816 | + uint8_t *out); |
| 13817 | +size_t sr__change__pack_to_buffer |
| 13818 | + (const Sr__Change *message, |
| 13819 | + ProtobufCBuffer *buffer); |
| 13820 | +Sr__Change * |
| 13821 | + sr__change__unpack |
| 13822 | + (ProtobufCAllocator *allocator, |
| 13823 | + size_t len, |
| 13824 | + const uint8_t *data); |
| 13825 | +void sr__change__free_unpacked |
| 13826 | + (Sr__Change *message, |
| 13827 | + ProtobufCAllocator *allocator); |
| 13828 | +/* Sr__GetChangesReq methods */ |
| 13829 | +void sr__get_changes_req__init |
| 13830 | + (Sr__GetChangesReq *message); |
| 13831 | +size_t sr__get_changes_req__get_packed_size |
| 13832 | + (const Sr__GetChangesReq *message); |
| 13833 | +size_t sr__get_changes_req__pack |
| 13834 | + (const Sr__GetChangesReq *message, |
| 13835 | + uint8_t *out); |
| 13836 | +size_t sr__get_changes_req__pack_to_buffer |
| 13837 | + (const Sr__GetChangesReq *message, |
| 13838 | + ProtobufCBuffer *buffer); |
| 13839 | +Sr__GetChangesReq * |
| 13840 | + sr__get_changes_req__unpack |
| 13841 | + (ProtobufCAllocator *allocator, |
| 13842 | + size_t len, |
| 13843 | + const uint8_t *data); |
| 13844 | +void sr__get_changes_req__free_unpacked |
| 13845 | + (Sr__GetChangesReq *message, |
| 13846 | + ProtobufCAllocator *allocator); |
| 13847 | +/* Sr__GetChangesResp methods */ |
| 13848 | +void sr__get_changes_resp__init |
| 13849 | + (Sr__GetChangesResp *message); |
| 13850 | +size_t sr__get_changes_resp__get_packed_size |
| 13851 | + (const Sr__GetChangesResp *message); |
| 13852 | +size_t sr__get_changes_resp__pack |
| 13853 | + (const Sr__GetChangesResp *message, |
| 13854 | + uint8_t *out); |
| 13855 | +size_t sr__get_changes_resp__pack_to_buffer |
| 13856 | + (const Sr__GetChangesResp *message, |
| 13857 | + ProtobufCBuffer *buffer); |
| 13858 | +Sr__GetChangesResp * |
| 13859 | + sr__get_changes_resp__unpack |
| 13860 | + (ProtobufCAllocator *allocator, |
| 13861 | + size_t len, |
| 13862 | + const uint8_t *data); |
| 13863 | +void sr__get_changes_resp__free_unpacked |
| 13864 | + (Sr__GetChangesResp *message, |
| 13865 | + ProtobufCAllocator *allocator); |
| 13866 | +/* Sr__CheckExecPermReq methods */ |
| 13867 | +void sr__check_exec_perm_req__init |
| 13868 | + (Sr__CheckExecPermReq *message); |
| 13869 | +size_t sr__check_exec_perm_req__get_packed_size |
| 13870 | + (const Sr__CheckExecPermReq *message); |
| 13871 | +size_t sr__check_exec_perm_req__pack |
| 13872 | + (const Sr__CheckExecPermReq *message, |
| 13873 | + uint8_t *out); |
| 13874 | +size_t sr__check_exec_perm_req__pack_to_buffer |
| 13875 | + (const Sr__CheckExecPermReq *message, |
| 13876 | + ProtobufCBuffer *buffer); |
| 13877 | +Sr__CheckExecPermReq * |
| 13878 | + sr__check_exec_perm_req__unpack |
| 13879 | + (ProtobufCAllocator *allocator, |
| 13880 | + size_t len, |
| 13881 | + const uint8_t *data); |
| 13882 | +void sr__check_exec_perm_req__free_unpacked |
| 13883 | + (Sr__CheckExecPermReq *message, |
| 13884 | + ProtobufCAllocator *allocator); |
| 13885 | +/* Sr__CheckExecPermResp methods */ |
| 13886 | +void sr__check_exec_perm_resp__init |
| 13887 | + (Sr__CheckExecPermResp *message); |
| 13888 | +size_t sr__check_exec_perm_resp__get_packed_size |
| 13889 | + (const Sr__CheckExecPermResp *message); |
| 13890 | +size_t sr__check_exec_perm_resp__pack |
| 13891 | + (const Sr__CheckExecPermResp *message, |
| 13892 | + uint8_t *out); |
| 13893 | +size_t sr__check_exec_perm_resp__pack_to_buffer |
| 13894 | + (const Sr__CheckExecPermResp *message, |
| 13895 | + ProtobufCBuffer *buffer); |
| 13896 | +Sr__CheckExecPermResp * |
| 13897 | + sr__check_exec_perm_resp__unpack |
| 13898 | + (ProtobufCAllocator *allocator, |
| 13899 | + size_t len, |
| 13900 | + const uint8_t *data); |
| 13901 | +void sr__check_exec_perm_resp__free_unpacked |
| 13902 | + (Sr__CheckExecPermResp *message, |
| 13903 | + ProtobufCAllocator *allocator); |
| 13904 | +/* Sr__RPCReq methods */ |
| 13905 | +void sr__rpcreq__init |
| 13906 | + (Sr__RPCReq *message); |
| 13907 | +size_t sr__rpcreq__get_packed_size |
| 13908 | + (const Sr__RPCReq *message); |
| 13909 | +size_t sr__rpcreq__pack |
| 13910 | + (const Sr__RPCReq *message, |
| 13911 | + uint8_t *out); |
| 13912 | +size_t sr__rpcreq__pack_to_buffer |
| 13913 | + (const Sr__RPCReq *message, |
| 13914 | + ProtobufCBuffer *buffer); |
| 13915 | +Sr__RPCReq * |
| 13916 | + sr__rpcreq__unpack |
| 13917 | + (ProtobufCAllocator *allocator, |
| 13918 | + size_t len, |
| 13919 | + const uint8_t *data); |
| 13920 | +void sr__rpcreq__free_unpacked |
| 13921 | + (Sr__RPCReq *message, |
| 13922 | + ProtobufCAllocator *allocator); |
| 13923 | +/* Sr__RPCResp methods */ |
| 13924 | +void sr__rpcresp__init |
| 13925 | + (Sr__RPCResp *message); |
| 13926 | +size_t sr__rpcresp__get_packed_size |
| 13927 | + (const Sr__RPCResp *message); |
| 13928 | +size_t sr__rpcresp__pack |
| 13929 | + (const Sr__RPCResp *message, |
| 13930 | + uint8_t *out); |
| 13931 | +size_t sr__rpcresp__pack_to_buffer |
| 13932 | + (const Sr__RPCResp *message, |
| 13933 | + ProtobufCBuffer *buffer); |
| 13934 | +Sr__RPCResp * |
| 13935 | + sr__rpcresp__unpack |
| 13936 | + (ProtobufCAllocator *allocator, |
| 13937 | + size_t len, |
| 13938 | + const uint8_t *data); |
| 13939 | +void sr__rpcresp__free_unpacked |
| 13940 | + (Sr__RPCResp *message, |
| 13941 | + ProtobufCAllocator *allocator); |
| 13942 | +/* Sr__EventNotifReq methods */ |
| 13943 | +void sr__event_notif_req__init |
| 13944 | + (Sr__EventNotifReq *message); |
| 13945 | +size_t sr__event_notif_req__get_packed_size |
| 13946 | + (const Sr__EventNotifReq *message); |
| 13947 | +size_t sr__event_notif_req__pack |
| 13948 | + (const Sr__EventNotifReq *message, |
| 13949 | + uint8_t *out); |
| 13950 | +size_t sr__event_notif_req__pack_to_buffer |
| 13951 | + (const Sr__EventNotifReq *message, |
| 13952 | + ProtobufCBuffer *buffer); |
| 13953 | +Sr__EventNotifReq * |
| 13954 | + sr__event_notif_req__unpack |
| 13955 | + (ProtobufCAllocator *allocator, |
| 13956 | + size_t len, |
| 13957 | + const uint8_t *data); |
| 13958 | +void sr__event_notif_req__free_unpacked |
| 13959 | + (Sr__EventNotifReq *message, |
| 13960 | + ProtobufCAllocator *allocator); |
| 13961 | +/* Sr__EventNotifResp methods */ |
| 13962 | +void sr__event_notif_resp__init |
| 13963 | + (Sr__EventNotifResp *message); |
| 13964 | +size_t sr__event_notif_resp__get_packed_size |
| 13965 | + (const Sr__EventNotifResp *message); |
| 13966 | +size_t sr__event_notif_resp__pack |
| 13967 | + (const Sr__EventNotifResp *message, |
| 13968 | + uint8_t *out); |
| 13969 | +size_t sr__event_notif_resp__pack_to_buffer |
| 13970 | + (const Sr__EventNotifResp *message, |
| 13971 | + ProtobufCBuffer *buffer); |
| 13972 | +Sr__EventNotifResp * |
| 13973 | + sr__event_notif_resp__unpack |
| 13974 | + (ProtobufCAllocator *allocator, |
| 13975 | + size_t len, |
| 13976 | + const uint8_t *data); |
| 13977 | +void sr__event_notif_resp__free_unpacked |
| 13978 | + (Sr__EventNotifResp *message, |
| 13979 | + ProtobufCAllocator *allocator); |
| 13980 | +/* Sr__EventNotifReplayReq methods */ |
| 13981 | +void sr__event_notif_replay_req__init |
| 13982 | + (Sr__EventNotifReplayReq *message); |
| 13983 | +size_t sr__event_notif_replay_req__get_packed_size |
| 13984 | + (const Sr__EventNotifReplayReq *message); |
| 13985 | +size_t sr__event_notif_replay_req__pack |
| 13986 | + (const Sr__EventNotifReplayReq *message, |
| 13987 | + uint8_t *out); |
| 13988 | +size_t sr__event_notif_replay_req__pack_to_buffer |
| 13989 | + (const Sr__EventNotifReplayReq *message, |
| 13990 | + ProtobufCBuffer *buffer); |
| 13991 | +Sr__EventNotifReplayReq * |
| 13992 | + sr__event_notif_replay_req__unpack |
| 13993 | + (ProtobufCAllocator *allocator, |
| 13994 | + size_t len, |
| 13995 | + const uint8_t *data); |
| 13996 | +void sr__event_notif_replay_req__free_unpacked |
| 13997 | + (Sr__EventNotifReplayReq *message, |
| 13998 | + ProtobufCAllocator *allocator); |
| 13999 | +/* Sr__EventNotifReplayResp methods */ |
| 14000 | +void sr__event_notif_replay_resp__init |
| 14001 | + (Sr__EventNotifReplayResp *message); |
| 14002 | +size_t sr__event_notif_replay_resp__get_packed_size |
| 14003 | + (const Sr__EventNotifReplayResp *message); |
| 14004 | +size_t sr__event_notif_replay_resp__pack |
| 14005 | + (const Sr__EventNotifReplayResp *message, |
| 14006 | + uint8_t *out); |
| 14007 | +size_t sr__event_notif_replay_resp__pack_to_buffer |
| 14008 | + (const Sr__EventNotifReplayResp *message, |
| 14009 | + ProtobufCBuffer *buffer); |
| 14010 | +Sr__EventNotifReplayResp * |
| 14011 | + sr__event_notif_replay_resp__unpack |
| 14012 | + (ProtobufCAllocator *allocator, |
| 14013 | + size_t len, |
| 14014 | + const uint8_t *data); |
| 14015 | +void sr__event_notif_replay_resp__free_unpacked |
| 14016 | + (Sr__EventNotifReplayResp *message, |
| 14017 | + ProtobufCAllocator *allocator); |
| 14018 | +/* Sr__DataProvideReq methods */ |
| 14019 | +void sr__data_provide_req__init |
| 14020 | + (Sr__DataProvideReq *message); |
| 14021 | +size_t sr__data_provide_req__get_packed_size |
| 14022 | + (const Sr__DataProvideReq *message); |
| 14023 | +size_t sr__data_provide_req__pack |
| 14024 | + (const Sr__DataProvideReq *message, |
| 14025 | + uint8_t *out); |
| 14026 | +size_t sr__data_provide_req__pack_to_buffer |
| 14027 | + (const Sr__DataProvideReq *message, |
| 14028 | + ProtobufCBuffer *buffer); |
| 14029 | +Sr__DataProvideReq * |
| 14030 | + sr__data_provide_req__unpack |
| 14031 | + (ProtobufCAllocator *allocator, |
| 14032 | + size_t len, |
| 14033 | + const uint8_t *data); |
| 14034 | +void sr__data_provide_req__free_unpacked |
| 14035 | + (Sr__DataProvideReq *message, |
| 14036 | + ProtobufCAllocator *allocator); |
| 14037 | +/* Sr__DataProvideResp methods */ |
| 14038 | +void sr__data_provide_resp__init |
| 14039 | + (Sr__DataProvideResp *message); |
| 14040 | +size_t sr__data_provide_resp__get_packed_size |
| 14041 | + (const Sr__DataProvideResp *message); |
| 14042 | +size_t sr__data_provide_resp__pack |
| 14043 | + (const Sr__DataProvideResp *message, |
| 14044 | + uint8_t *out); |
| 14045 | +size_t sr__data_provide_resp__pack_to_buffer |
| 14046 | + (const Sr__DataProvideResp *message, |
| 14047 | + ProtobufCBuffer *buffer); |
| 14048 | +Sr__DataProvideResp * |
| 14049 | + sr__data_provide_resp__unpack |
| 14050 | + (ProtobufCAllocator *allocator, |
| 14051 | + size_t len, |
| 14052 | + const uint8_t *data); |
| 14053 | +void sr__data_provide_resp__free_unpacked |
| 14054 | + (Sr__DataProvideResp *message, |
| 14055 | + ProtobufCAllocator *allocator); |
| 14056 | +/* Sr__ModuleInstallReq methods */ |
| 14057 | +void sr__module_install_req__init |
| 14058 | + (Sr__ModuleInstallReq *message); |
| 14059 | +size_t sr__module_install_req__get_packed_size |
| 14060 | + (const Sr__ModuleInstallReq *message); |
| 14061 | +size_t sr__module_install_req__pack |
| 14062 | + (const Sr__ModuleInstallReq *message, |
| 14063 | + uint8_t *out); |
| 14064 | +size_t sr__module_install_req__pack_to_buffer |
| 14065 | + (const Sr__ModuleInstallReq *message, |
| 14066 | + ProtobufCBuffer *buffer); |
| 14067 | +Sr__ModuleInstallReq * |
| 14068 | + sr__module_install_req__unpack |
| 14069 | + (ProtobufCAllocator *allocator, |
| 14070 | + size_t len, |
| 14071 | + const uint8_t *data); |
| 14072 | +void sr__module_install_req__free_unpacked |
| 14073 | + (Sr__ModuleInstallReq *message, |
| 14074 | + ProtobufCAllocator *allocator); |
| 14075 | +/* Sr__ModuleInstallResp methods */ |
| 14076 | +void sr__module_install_resp__init |
| 14077 | + (Sr__ModuleInstallResp *message); |
| 14078 | +size_t sr__module_install_resp__get_packed_size |
| 14079 | + (const Sr__ModuleInstallResp *message); |
| 14080 | +size_t sr__module_install_resp__pack |
| 14081 | + (const Sr__ModuleInstallResp *message, |
| 14082 | + uint8_t *out); |
| 14083 | +size_t sr__module_install_resp__pack_to_buffer |
| 14084 | + (const Sr__ModuleInstallResp *message, |
| 14085 | + ProtobufCBuffer *buffer); |
| 14086 | +Sr__ModuleInstallResp * |
| 14087 | + sr__module_install_resp__unpack |
| 14088 | + (ProtobufCAllocator *allocator, |
| 14089 | + size_t len, |
| 14090 | + const uint8_t *data); |
| 14091 | +void sr__module_install_resp__free_unpacked |
| 14092 | + (Sr__ModuleInstallResp *message, |
| 14093 | + ProtobufCAllocator *allocator); |
| 14094 | +/* Sr__FeatureEnableReq methods */ |
| 14095 | +void sr__feature_enable_req__init |
| 14096 | + (Sr__FeatureEnableReq *message); |
| 14097 | +size_t sr__feature_enable_req__get_packed_size |
| 14098 | + (const Sr__FeatureEnableReq *message); |
| 14099 | +size_t sr__feature_enable_req__pack |
| 14100 | + (const Sr__FeatureEnableReq *message, |
| 14101 | + uint8_t *out); |
| 14102 | +size_t sr__feature_enable_req__pack_to_buffer |
| 14103 | + (const Sr__FeatureEnableReq *message, |
| 14104 | + ProtobufCBuffer *buffer); |
| 14105 | +Sr__FeatureEnableReq * |
| 14106 | + sr__feature_enable_req__unpack |
| 14107 | + (ProtobufCAllocator *allocator, |
| 14108 | + size_t len, |
| 14109 | + const uint8_t *data); |
| 14110 | +void sr__feature_enable_req__free_unpacked |
| 14111 | + (Sr__FeatureEnableReq *message, |
| 14112 | + ProtobufCAllocator *allocator); |
| 14113 | +/* Sr__FeatureEnableResp methods */ |
| 14114 | +void sr__feature_enable_resp__init |
| 14115 | + (Sr__FeatureEnableResp *message); |
| 14116 | +size_t sr__feature_enable_resp__get_packed_size |
| 14117 | + (const Sr__FeatureEnableResp *message); |
| 14118 | +size_t sr__feature_enable_resp__pack |
| 14119 | + (const Sr__FeatureEnableResp *message, |
| 14120 | + uint8_t *out); |
| 14121 | +size_t sr__feature_enable_resp__pack_to_buffer |
| 14122 | + (const Sr__FeatureEnableResp *message, |
| 14123 | + ProtobufCBuffer *buffer); |
| 14124 | +Sr__FeatureEnableResp * |
| 14125 | + sr__feature_enable_resp__unpack |
| 14126 | + (ProtobufCAllocator *allocator, |
| 14127 | + size_t len, |
| 14128 | + const uint8_t *data); |
| 14129 | +void sr__feature_enable_resp__free_unpacked |
| 14130 | + (Sr__FeatureEnableResp *message, |
| 14131 | + ProtobufCAllocator *allocator); |
| 14132 | +/* Sr__UnsubscribeDestinationReq methods */ |
| 14133 | +void sr__unsubscribe_destination_req__init |
| 14134 | + (Sr__UnsubscribeDestinationReq *message); |
| 14135 | +size_t sr__unsubscribe_destination_req__get_packed_size |
| 14136 | + (const Sr__UnsubscribeDestinationReq *message); |
| 14137 | +size_t sr__unsubscribe_destination_req__pack |
| 14138 | + (const Sr__UnsubscribeDestinationReq *message, |
| 14139 | + uint8_t *out); |
| 14140 | +size_t sr__unsubscribe_destination_req__pack_to_buffer |
| 14141 | + (const Sr__UnsubscribeDestinationReq *message, |
| 14142 | + ProtobufCBuffer *buffer); |
| 14143 | +Sr__UnsubscribeDestinationReq * |
| 14144 | + sr__unsubscribe_destination_req__unpack |
| 14145 | + (ProtobufCAllocator *allocator, |
| 14146 | + size_t len, |
| 14147 | + const uint8_t *data); |
| 14148 | +void sr__unsubscribe_destination_req__free_unpacked |
| 14149 | + (Sr__UnsubscribeDestinationReq *message, |
| 14150 | + ProtobufCAllocator *allocator); |
| 14151 | +/* Sr__CommitTimeoutReq methods */ |
| 14152 | +void sr__commit_timeout_req__init |
| 14153 | + (Sr__CommitTimeoutReq *message); |
| 14154 | +size_t sr__commit_timeout_req__get_packed_size |
| 14155 | + (const Sr__CommitTimeoutReq *message); |
| 14156 | +size_t sr__commit_timeout_req__pack |
| 14157 | + (const Sr__CommitTimeoutReq *message, |
| 14158 | + uint8_t *out); |
| 14159 | +size_t sr__commit_timeout_req__pack_to_buffer |
| 14160 | + (const Sr__CommitTimeoutReq *message, |
| 14161 | + ProtobufCBuffer *buffer); |
| 14162 | +Sr__CommitTimeoutReq * |
| 14163 | + sr__commit_timeout_req__unpack |
| 14164 | + (ProtobufCAllocator *allocator, |
| 14165 | + size_t len, |
| 14166 | + const uint8_t *data); |
| 14167 | +void sr__commit_timeout_req__free_unpacked |
| 14168 | + (Sr__CommitTimeoutReq *message, |
| 14169 | + ProtobufCAllocator *allocator); |
| 14170 | +/* Sr__OperDataTimeoutReq methods */ |
| 14171 | +void sr__oper_data_timeout_req__init |
| 14172 | + (Sr__OperDataTimeoutReq *message); |
| 14173 | +size_t sr__oper_data_timeout_req__get_packed_size |
| 14174 | + (const Sr__OperDataTimeoutReq *message); |
| 14175 | +size_t sr__oper_data_timeout_req__pack |
| 14176 | + (const Sr__OperDataTimeoutReq *message, |
| 14177 | + uint8_t *out); |
| 14178 | +size_t sr__oper_data_timeout_req__pack_to_buffer |
| 14179 | + (const Sr__OperDataTimeoutReq *message, |
| 14180 | + ProtobufCBuffer *buffer); |
| 14181 | +Sr__OperDataTimeoutReq * |
| 14182 | + sr__oper_data_timeout_req__unpack |
| 14183 | + (ProtobufCAllocator *allocator, |
| 14184 | + size_t len, |
| 14185 | + const uint8_t *data); |
| 14186 | +void sr__oper_data_timeout_req__free_unpacked |
| 14187 | + (Sr__OperDataTimeoutReq *message, |
| 14188 | + ProtobufCAllocator *allocator); |
| 14189 | +/* Sr__InternalStateDataReq methods */ |
| 14190 | +void sr__internal_state_data_req__init |
| 14191 | + (Sr__InternalStateDataReq *message); |
| 14192 | +size_t sr__internal_state_data_req__get_packed_size |
| 14193 | + (const Sr__InternalStateDataReq *message); |
| 14194 | +size_t sr__internal_state_data_req__pack |
| 14195 | + (const Sr__InternalStateDataReq *message, |
| 14196 | + uint8_t *out); |
| 14197 | +size_t sr__internal_state_data_req__pack_to_buffer |
| 14198 | + (const Sr__InternalStateDataReq *message, |
| 14199 | + ProtobufCBuffer *buffer); |
| 14200 | +Sr__InternalStateDataReq * |
| 14201 | + sr__internal_state_data_req__unpack |
| 14202 | + (ProtobufCAllocator *allocator, |
| 14203 | + size_t len, |
| 14204 | + const uint8_t *data); |
| 14205 | +void sr__internal_state_data_req__free_unpacked |
| 14206 | + (Sr__InternalStateDataReq *message, |
| 14207 | + ProtobufCAllocator *allocator); |
| 14208 | +/* Sr__NotifStoreCleanupReq methods */ |
| 14209 | +void sr__notif_store_cleanup_req__init |
| 14210 | + (Sr__NotifStoreCleanupReq *message); |
| 14211 | +size_t sr__notif_store_cleanup_req__get_packed_size |
| 14212 | + (const Sr__NotifStoreCleanupReq *message); |
| 14213 | +size_t sr__notif_store_cleanup_req__pack |
| 14214 | + (const Sr__NotifStoreCleanupReq *message, |
| 14215 | + uint8_t *out); |
| 14216 | +size_t sr__notif_store_cleanup_req__pack_to_buffer |
| 14217 | + (const Sr__NotifStoreCleanupReq *message, |
| 14218 | + ProtobufCBuffer *buffer); |
| 14219 | +Sr__NotifStoreCleanupReq * |
| 14220 | + sr__notif_store_cleanup_req__unpack |
| 14221 | + (ProtobufCAllocator *allocator, |
| 14222 | + size_t len, |
| 14223 | + const uint8_t *data); |
| 14224 | +void sr__notif_store_cleanup_req__free_unpacked |
| 14225 | + (Sr__NotifStoreCleanupReq *message, |
| 14226 | + ProtobufCAllocator *allocator); |
| 14227 | +/* Sr__DelayedMsgReq methods */ |
| 14228 | +void sr__delayed_msg_req__init |
| 14229 | + (Sr__DelayedMsgReq *message); |
| 14230 | +size_t sr__delayed_msg_req__get_packed_size |
| 14231 | + (const Sr__DelayedMsgReq *message); |
| 14232 | +size_t sr__delayed_msg_req__pack |
| 14233 | + (const Sr__DelayedMsgReq *message, |
| 14234 | + uint8_t *out); |
| 14235 | +size_t sr__delayed_msg_req__pack_to_buffer |
| 14236 | + (const Sr__DelayedMsgReq *message, |
| 14237 | + ProtobufCBuffer *buffer); |
| 14238 | +Sr__DelayedMsgReq * |
| 14239 | + sr__delayed_msg_req__unpack |
| 14240 | + (ProtobufCAllocator *allocator, |
| 14241 | + size_t len, |
| 14242 | + const uint8_t *data); |
| 14243 | +void sr__delayed_msg_req__free_unpacked |
| 14244 | + (Sr__DelayedMsgReq *message, |
| 14245 | + ProtobufCAllocator *allocator); |
| 14246 | +/* Sr__NacmReloadReq methods */ |
| 14247 | +void sr__nacm_reload_req__init |
| 14248 | + (Sr__NacmReloadReq *message); |
| 14249 | +size_t sr__nacm_reload_req__get_packed_size |
| 14250 | + (const Sr__NacmReloadReq *message); |
| 14251 | +size_t sr__nacm_reload_req__pack |
| 14252 | + (const Sr__NacmReloadReq *message, |
| 14253 | + uint8_t *out); |
| 14254 | +size_t sr__nacm_reload_req__pack_to_buffer |
| 14255 | + (const Sr__NacmReloadReq *message, |
| 14256 | + ProtobufCBuffer *buffer); |
| 14257 | +Sr__NacmReloadReq * |
| 14258 | + sr__nacm_reload_req__unpack |
| 14259 | + (ProtobufCAllocator *allocator, |
| 14260 | + size_t len, |
| 14261 | + const uint8_t *data); |
| 14262 | +void sr__nacm_reload_req__free_unpacked |
| 14263 | + (Sr__NacmReloadReq *message, |
| 14264 | + ProtobufCAllocator *allocator); |
| 14265 | +/* Sr__Request methods */ |
| 14266 | +void sr__request__init |
| 14267 | + (Sr__Request *message); |
| 14268 | +size_t sr__request__get_packed_size |
| 14269 | + (const Sr__Request *message); |
| 14270 | +size_t sr__request__pack |
| 14271 | + (const Sr__Request *message, |
| 14272 | + uint8_t *out); |
| 14273 | +size_t sr__request__pack_to_buffer |
| 14274 | + (const Sr__Request *message, |
| 14275 | + ProtobufCBuffer *buffer); |
| 14276 | +Sr__Request * |
| 14277 | + sr__request__unpack |
| 14278 | + (ProtobufCAllocator *allocator, |
| 14279 | + size_t len, |
| 14280 | + const uint8_t *data); |
| 14281 | +void sr__request__free_unpacked |
| 14282 | + (Sr__Request *message, |
| 14283 | + ProtobufCAllocator *allocator); |
| 14284 | +/* Sr__Response methods */ |
| 14285 | +void sr__response__init |
| 14286 | + (Sr__Response *message); |
| 14287 | +size_t sr__response__get_packed_size |
| 14288 | + (const Sr__Response *message); |
| 14289 | +size_t sr__response__pack |
| 14290 | + (const Sr__Response *message, |
| 14291 | + uint8_t *out); |
| 14292 | +size_t sr__response__pack_to_buffer |
| 14293 | + (const Sr__Response *message, |
| 14294 | + ProtobufCBuffer *buffer); |
| 14295 | +Sr__Response * |
| 14296 | + sr__response__unpack |
| 14297 | + (ProtobufCAllocator *allocator, |
| 14298 | + size_t len, |
| 14299 | + const uint8_t *data); |
| 14300 | +void sr__response__free_unpacked |
| 14301 | + (Sr__Response *message, |
| 14302 | + ProtobufCAllocator *allocator); |
| 14303 | +/* Sr__Notification methods */ |
| 14304 | +void sr__notification__init |
| 14305 | + (Sr__Notification *message); |
| 14306 | +size_t sr__notification__get_packed_size |
| 14307 | + (const Sr__Notification *message); |
| 14308 | +size_t sr__notification__pack |
| 14309 | + (const Sr__Notification *message, |
| 14310 | + uint8_t *out); |
| 14311 | +size_t sr__notification__pack_to_buffer |
| 14312 | + (const Sr__Notification *message, |
| 14313 | + ProtobufCBuffer *buffer); |
| 14314 | +Sr__Notification * |
| 14315 | + sr__notification__unpack |
| 14316 | + (ProtobufCAllocator *allocator, |
| 14317 | + size_t len, |
| 14318 | + const uint8_t *data); |
| 14319 | +void sr__notification__free_unpacked |
| 14320 | + (Sr__Notification *message, |
| 14321 | + ProtobufCAllocator *allocator); |
| 14322 | +/* Sr__NotificationAck methods */ |
| 14323 | +void sr__notification_ack__init |
| 14324 | + (Sr__NotificationAck *message); |
| 14325 | +size_t sr__notification_ack__get_packed_size |
| 14326 | + (const Sr__NotificationAck *message); |
| 14327 | +size_t sr__notification_ack__pack |
| 14328 | + (const Sr__NotificationAck *message, |
| 14329 | + uint8_t *out); |
| 14330 | +size_t sr__notification_ack__pack_to_buffer |
| 14331 | + (const Sr__NotificationAck *message, |
| 14332 | + ProtobufCBuffer *buffer); |
| 14333 | +Sr__NotificationAck * |
| 14334 | + sr__notification_ack__unpack |
| 14335 | + (ProtobufCAllocator *allocator, |
| 14336 | + size_t len, |
| 14337 | + const uint8_t *data); |
| 14338 | +void sr__notification_ack__free_unpacked |
| 14339 | + (Sr__NotificationAck *message, |
| 14340 | + ProtobufCAllocator *allocator); |
| 14341 | +/* Sr__InternalRequest methods */ |
| 14342 | +void sr__internal_request__init |
| 14343 | + (Sr__InternalRequest *message); |
| 14344 | +size_t sr__internal_request__get_packed_size |
| 14345 | + (const Sr__InternalRequest *message); |
| 14346 | +size_t sr__internal_request__pack |
| 14347 | + (const Sr__InternalRequest *message, |
| 14348 | + uint8_t *out); |
| 14349 | +size_t sr__internal_request__pack_to_buffer |
| 14350 | + (const Sr__InternalRequest *message, |
| 14351 | + ProtobufCBuffer *buffer); |
| 14352 | +Sr__InternalRequest * |
| 14353 | + sr__internal_request__unpack |
| 14354 | + (ProtobufCAllocator *allocator, |
| 14355 | + size_t len, |
| 14356 | + const uint8_t *data); |
| 14357 | +void sr__internal_request__free_unpacked |
| 14358 | + (Sr__InternalRequest *message, |
| 14359 | + ProtobufCAllocator *allocator); |
| 14360 | +/* Sr__Msg methods */ |
| 14361 | +void sr__msg__init |
| 14362 | + (Sr__Msg *message); |
| 14363 | +size_t sr__msg__get_packed_size |
| 14364 | + (const Sr__Msg *message); |
| 14365 | +size_t sr__msg__pack |
| 14366 | + (const Sr__Msg *message, |
| 14367 | + uint8_t *out); |
| 14368 | +size_t sr__msg__pack_to_buffer |
| 14369 | + (const Sr__Msg *message, |
| 14370 | + ProtobufCBuffer *buffer); |
| 14371 | +Sr__Msg * |
| 14372 | + sr__msg__unpack |
| 14373 | + (ProtobufCAllocator *allocator, |
| 14374 | + size_t len, |
| 14375 | + const uint8_t *data); |
| 14376 | +void sr__msg__free_unpacked |
| 14377 | + (Sr__Msg *message, |
| 14378 | + ProtobufCAllocator *allocator); |
| 14379 | +/* --- per-message closures --- */ |
| 14380 | + |
| 14381 | +typedef void (*Sr__Value_Closure) |
| 14382 | + (const Sr__Value *message, |
| 14383 | + void *closure_data); |
| 14384 | +typedef void (*Sr__Node_Closure) |
| 14385 | + (const Sr__Node *message, |
| 14386 | + void *closure_data); |
| 14387 | +typedef void (*Sr__Error_Closure) |
| 14388 | + (const Sr__Error *message, |
| 14389 | + void *closure_data); |
| 14390 | +typedef void (*Sr__SessionStartReq_Closure) |
| 14391 | + (const Sr__SessionStartReq *message, |
| 14392 | + void *closure_data); |
| 14393 | +typedef void (*Sr__SessionStartResp_Closure) |
| 14394 | + (const Sr__SessionStartResp *message, |
| 14395 | + void *closure_data); |
| 14396 | +typedef void (*Sr__SessionStopReq_Closure) |
| 14397 | + (const Sr__SessionStopReq *message, |
| 14398 | + void *closure_data); |
| 14399 | +typedef void (*Sr__SessionStopResp_Closure) |
| 14400 | + (const Sr__SessionStopResp *message, |
| 14401 | + void *closure_data); |
| 14402 | +typedef void (*Sr__SessionRefreshReq_Closure) |
| 14403 | + (const Sr__SessionRefreshReq *message, |
| 14404 | + void *closure_data); |
| 14405 | +typedef void (*Sr__SessionRefreshResp_Closure) |
| 14406 | + (const Sr__SessionRefreshResp *message, |
| 14407 | + void *closure_data); |
| 14408 | +typedef void (*Sr__SessionCheckReq_Closure) |
| 14409 | + (const Sr__SessionCheckReq *message, |
| 14410 | + void *closure_data); |
| 14411 | +typedef void (*Sr__SessionCheckResp_Closure) |
| 14412 | + (const Sr__SessionCheckResp *message, |
| 14413 | + void *closure_data); |
| 14414 | +typedef void (*Sr__SessionSwitchDsReq_Closure) |
| 14415 | + (const Sr__SessionSwitchDsReq *message, |
| 14416 | + void *closure_data); |
| 14417 | +typedef void (*Sr__SessionSwitchDsResp_Closure) |
| 14418 | + (const Sr__SessionSwitchDsResp *message, |
| 14419 | + void *closure_data); |
| 14420 | +typedef void (*Sr__SessionSetOptsReq_Closure) |
| 14421 | + (const Sr__SessionSetOptsReq *message, |
| 14422 | + void *closure_data); |
| 14423 | +typedef void (*Sr__SessionSetOptsResp_Closure) |
| 14424 | + (const Sr__SessionSetOptsResp *message, |
| 14425 | + void *closure_data); |
| 14426 | +typedef void (*Sr__VersionVerifyReq_Closure) |
| 14427 | + (const Sr__VersionVerifyReq *message, |
| 14428 | + void *closure_data); |
| 14429 | +typedef void (*Sr__VersionVerifyResp_Closure) |
| 14430 | + (const Sr__VersionVerifyResp *message, |
| 14431 | + void *closure_data); |
| 14432 | +typedef void (*Sr__SchemaRevision_Closure) |
| 14433 | + (const Sr__SchemaRevision *message, |
| 14434 | + void *closure_data); |
| 14435 | +typedef void (*Sr__SchemaSubmodule_Closure) |
| 14436 | + (const Sr__SchemaSubmodule *message, |
| 14437 | + void *closure_data); |
| 14438 | +typedef void (*Sr__Schema_Closure) |
| 14439 | + (const Sr__Schema *message, |
| 14440 | + void *closure_data); |
| 14441 | +typedef void (*Sr__ListSchemasReq_Closure) |
| 14442 | + (const Sr__ListSchemasReq *message, |
| 14443 | + void *closure_data); |
| 14444 | +typedef void (*Sr__ListSchemasResp_Closure) |
| 14445 | + (const Sr__ListSchemasResp *message, |
| 14446 | + void *closure_data); |
| 14447 | +typedef void (*Sr__GetSchemaReq_Closure) |
| 14448 | + (const Sr__GetSchemaReq *message, |
| 14449 | + void *closure_data); |
| 14450 | +typedef void (*Sr__GetSchemaResp_Closure) |
| 14451 | + (const Sr__GetSchemaResp *message, |
| 14452 | + void *closure_data); |
| 14453 | +typedef void (*Sr__GetItemReq_Closure) |
| 14454 | + (const Sr__GetItemReq *message, |
| 14455 | + void *closure_data); |
| 14456 | +typedef void (*Sr__GetItemResp_Closure) |
| 14457 | + (const Sr__GetItemResp *message, |
| 14458 | + void *closure_data); |
| 14459 | +typedef void (*Sr__GetItemsReq_Closure) |
| 14460 | + (const Sr__GetItemsReq *message, |
| 14461 | + void *closure_data); |
| 14462 | +typedef void (*Sr__GetItemsResp_Closure) |
| 14463 | + (const Sr__GetItemsResp *message, |
| 14464 | + void *closure_data); |
| 14465 | +typedef void (*Sr__GetSubtreeReq_Closure) |
| 14466 | + (const Sr__GetSubtreeReq *message, |
| 14467 | + void *closure_data); |
| 14468 | +typedef void (*Sr__GetSubtreeResp_Closure) |
| 14469 | + (const Sr__GetSubtreeResp *message, |
| 14470 | + void *closure_data); |
| 14471 | +typedef void (*Sr__GetSubtreesReq_Closure) |
| 14472 | + (const Sr__GetSubtreesReq *message, |
| 14473 | + void *closure_data); |
| 14474 | +typedef void (*Sr__GetSubtreesResp_Closure) |
| 14475 | + (const Sr__GetSubtreesResp *message, |
| 14476 | + void *closure_data); |
| 14477 | +typedef void (*Sr__GetSubtreeChunkReq_Closure) |
| 14478 | + (const Sr__GetSubtreeChunkReq *message, |
| 14479 | + void *closure_data); |
| 14480 | +typedef void (*Sr__GetSubtreeChunkResp_Closure) |
| 14481 | + (const Sr__GetSubtreeChunkResp *message, |
| 14482 | + void *closure_data); |
| 14483 | +typedef void (*Sr__SetItemReq_Closure) |
| 14484 | + (const Sr__SetItemReq *message, |
| 14485 | + void *closure_data); |
| 14486 | +typedef void (*Sr__SetItemResp_Closure) |
| 14487 | + (const Sr__SetItemResp *message, |
| 14488 | + void *closure_data); |
| 14489 | +typedef void (*Sr__SetItemStrReq_Closure) |
| 14490 | + (const Sr__SetItemStrReq *message, |
| 14491 | + void *closure_data); |
| 14492 | +typedef void (*Sr__SetItemStrResp_Closure) |
| 14493 | + (const Sr__SetItemStrResp *message, |
| 14494 | + void *closure_data); |
| 14495 | +typedef void (*Sr__DeleteItemReq_Closure) |
| 14496 | + (const Sr__DeleteItemReq *message, |
| 14497 | + void *closure_data); |
| 14498 | +typedef void (*Sr__DeleteItemResp_Closure) |
| 14499 | + (const Sr__DeleteItemResp *message, |
| 14500 | + void *closure_data); |
| 14501 | +typedef void (*Sr__MoveItemReq_Closure) |
| 14502 | + (const Sr__MoveItemReq *message, |
| 14503 | + void *closure_data); |
| 14504 | +typedef void (*Sr__MoveItemResp_Closure) |
| 14505 | + (const Sr__MoveItemResp *message, |
| 14506 | + void *closure_data); |
| 14507 | +typedef void (*Sr__ValidateReq_Closure) |
| 14508 | + (const Sr__ValidateReq *message, |
| 14509 | + void *closure_data); |
| 14510 | +typedef void (*Sr__ValidateResp_Closure) |
| 14511 | + (const Sr__ValidateResp *message, |
| 14512 | + void *closure_data); |
| 14513 | +typedef void (*Sr__CommitReq_Closure) |
| 14514 | + (const Sr__CommitReq *message, |
| 14515 | + void *closure_data); |
| 14516 | +typedef void (*Sr__CommitResp_Closure) |
| 14517 | + (const Sr__CommitResp *message, |
| 14518 | + void *closure_data); |
| 14519 | +typedef void (*Sr__DiscardChangesReq_Closure) |
| 14520 | + (const Sr__DiscardChangesReq *message, |
| 14521 | + void *closure_data); |
| 14522 | +typedef void (*Sr__DiscardChangesResp_Closure) |
| 14523 | + (const Sr__DiscardChangesResp *message, |
| 14524 | + void *closure_data); |
| 14525 | +typedef void (*Sr__CopyConfigReq_Closure) |
| 14526 | + (const Sr__CopyConfigReq *message, |
| 14527 | + void *closure_data); |
| 14528 | +typedef void (*Sr__CopyConfigResp_Closure) |
| 14529 | + (const Sr__CopyConfigResp *message, |
| 14530 | + void *closure_data); |
| 14531 | +typedef void (*Sr__LockReq_Closure) |
| 14532 | + (const Sr__LockReq *message, |
| 14533 | + void *closure_data); |
| 14534 | +typedef void (*Sr__LockResp_Closure) |
| 14535 | + (const Sr__LockResp *message, |
| 14536 | + void *closure_data); |
| 14537 | +typedef void (*Sr__UnlockReq_Closure) |
| 14538 | + (const Sr__UnlockReq *message, |
| 14539 | + void *closure_data); |
| 14540 | +typedef void (*Sr__UnlockResp_Closure) |
| 14541 | + (const Sr__UnlockResp *message, |
| 14542 | + void *closure_data); |
| 14543 | +typedef void (*Sr__SubscribeReq_Closure) |
| 14544 | + (const Sr__SubscribeReq *message, |
| 14545 | + void *closure_data); |
| 14546 | +typedef void (*Sr__SubscribeResp_Closure) |
| 14547 | + (const Sr__SubscribeResp *message, |
| 14548 | + void *closure_data); |
| 14549 | +typedef void (*Sr__UnsubscribeReq_Closure) |
| 14550 | + (const Sr__UnsubscribeReq *message, |
| 14551 | + void *closure_data); |
| 14552 | +typedef void (*Sr__UnsubscribeResp_Closure) |
| 14553 | + (const Sr__UnsubscribeResp *message, |
| 14554 | + void *closure_data); |
| 14555 | +typedef void (*Sr__CheckEnabledRunningReq_Closure) |
| 14556 | + (const Sr__CheckEnabledRunningReq *message, |
| 14557 | + void *closure_data); |
| 14558 | +typedef void (*Sr__CheckEnabledRunningResp_Closure) |
| 14559 | + (const Sr__CheckEnabledRunningResp *message, |
| 14560 | + void *closure_data); |
| 14561 | +typedef void (*Sr__ModuleInstallNotification_Closure) |
| 14562 | + (const Sr__ModuleInstallNotification *message, |
| 14563 | + void *closure_data); |
| 14564 | +typedef void (*Sr__FeatureEnableNotification_Closure) |
| 14565 | + (const Sr__FeatureEnableNotification *message, |
| 14566 | + void *closure_data); |
| 14567 | +typedef void (*Sr__ModuleChangeNotification_Closure) |
| 14568 | + (const Sr__ModuleChangeNotification *message, |
| 14569 | + void *closure_data); |
| 14570 | +typedef void (*Sr__SubtreeChangeNotification_Closure) |
| 14571 | + (const Sr__SubtreeChangeNotification *message, |
| 14572 | + void *closure_data); |
| 14573 | +typedef void (*Sr__Change_Closure) |
| 14574 | + (const Sr__Change *message, |
| 14575 | + void *closure_data); |
| 14576 | +typedef void (*Sr__GetChangesReq_Closure) |
| 14577 | + (const Sr__GetChangesReq *message, |
| 14578 | + void *closure_data); |
| 14579 | +typedef void (*Sr__GetChangesResp_Closure) |
| 14580 | + (const Sr__GetChangesResp *message, |
| 14581 | + void *closure_data); |
| 14582 | +typedef void (*Sr__CheckExecPermReq_Closure) |
| 14583 | + (const Sr__CheckExecPermReq *message, |
| 14584 | + void *closure_data); |
| 14585 | +typedef void (*Sr__CheckExecPermResp_Closure) |
| 14586 | + (const Sr__CheckExecPermResp *message, |
| 14587 | + void *closure_data); |
| 14588 | +typedef void (*Sr__RPCReq_Closure) |
| 14589 | + (const Sr__RPCReq *message, |
| 14590 | + void *closure_data); |
| 14591 | +typedef void (*Sr__RPCResp_Closure) |
| 14592 | + (const Sr__RPCResp *message, |
| 14593 | + void *closure_data); |
| 14594 | +typedef void (*Sr__EventNotifReq_Closure) |
| 14595 | + (const Sr__EventNotifReq *message, |
| 14596 | + void *closure_data); |
| 14597 | +typedef void (*Sr__EventNotifResp_Closure) |
| 14598 | + (const Sr__EventNotifResp *message, |
| 14599 | + void *closure_data); |
| 14600 | +typedef void (*Sr__EventNotifReplayReq_Closure) |
| 14601 | + (const Sr__EventNotifReplayReq *message, |
| 14602 | + void *closure_data); |
| 14603 | +typedef void (*Sr__EventNotifReplayResp_Closure) |
| 14604 | + (const Sr__EventNotifReplayResp *message, |
| 14605 | + void *closure_data); |
| 14606 | +typedef void (*Sr__DataProvideReq_Closure) |
| 14607 | + (const Sr__DataProvideReq *message, |
| 14608 | + void *closure_data); |
| 14609 | +typedef void (*Sr__DataProvideResp_Closure) |
| 14610 | + (const Sr__DataProvideResp *message, |
| 14611 | + void *closure_data); |
| 14612 | +typedef void (*Sr__ModuleInstallReq_Closure) |
| 14613 | + (const Sr__ModuleInstallReq *message, |
| 14614 | + void *closure_data); |
| 14615 | +typedef void (*Sr__ModuleInstallResp_Closure) |
| 14616 | + (const Sr__ModuleInstallResp *message, |
| 14617 | + void *closure_data); |
| 14618 | +typedef void (*Sr__FeatureEnableReq_Closure) |
| 14619 | + (const Sr__FeatureEnableReq *message, |
| 14620 | + void *closure_data); |
| 14621 | +typedef void (*Sr__FeatureEnableResp_Closure) |
| 14622 | + (const Sr__FeatureEnableResp *message, |
| 14623 | + void *closure_data); |
| 14624 | +typedef void (*Sr__UnsubscribeDestinationReq_Closure) |
| 14625 | + (const Sr__UnsubscribeDestinationReq *message, |
| 14626 | + void *closure_data); |
| 14627 | +typedef void (*Sr__CommitTimeoutReq_Closure) |
| 14628 | + (const Sr__CommitTimeoutReq *message, |
| 14629 | + void *closure_data); |
| 14630 | +typedef void (*Sr__OperDataTimeoutReq_Closure) |
| 14631 | + (const Sr__OperDataTimeoutReq *message, |
| 14632 | + void *closure_data); |
| 14633 | +typedef void (*Sr__InternalStateDataReq_Closure) |
| 14634 | + (const Sr__InternalStateDataReq *message, |
| 14635 | + void *closure_data); |
| 14636 | +typedef void (*Sr__NotifStoreCleanupReq_Closure) |
| 14637 | + (const Sr__NotifStoreCleanupReq *message, |
| 14638 | + void *closure_data); |
| 14639 | +typedef void (*Sr__DelayedMsgReq_Closure) |
| 14640 | + (const Sr__DelayedMsgReq *message, |
| 14641 | + void *closure_data); |
| 14642 | +typedef void (*Sr__NacmReloadReq_Closure) |
| 14643 | + (const Sr__NacmReloadReq *message, |
| 14644 | + void *closure_data); |
| 14645 | +typedef void (*Sr__Request_Closure) |
| 14646 | + (const Sr__Request *message, |
| 14647 | + void *closure_data); |
| 14648 | +typedef void (*Sr__Response_Closure) |
| 14649 | + (const Sr__Response *message, |
| 14650 | + void *closure_data); |
| 14651 | +typedef void (*Sr__Notification_Closure) |
| 14652 | + (const Sr__Notification *message, |
| 14653 | + void *closure_data); |
| 14654 | +typedef void (*Sr__NotificationAck_Closure) |
| 14655 | + (const Sr__NotificationAck *message, |
| 14656 | + void *closure_data); |
| 14657 | +typedef void (*Sr__InternalRequest_Closure) |
| 14658 | + (const Sr__InternalRequest *message, |
| 14659 | + void *closure_data); |
| 14660 | +typedef void (*Sr__Msg_Closure) |
| 14661 | + (const Sr__Msg *message, |
| 14662 | + void *closure_data); |
| 14663 | + |
| 14664 | +/* --- services --- */ |
| 14665 | + |
| 14666 | + |
| 14667 | +/* --- descriptors --- */ |
| 14668 | + |
| 14669 | +extern const ProtobufCEnumDescriptor sr__api_variant__descriptor; |
| 14670 | +extern const ProtobufCEnumDescriptor sr__data_store__descriptor; |
| 14671 | +extern const ProtobufCEnumDescriptor sr__session_flags__descriptor; |
| 14672 | +extern const ProtobufCEnumDescriptor sr__edit_flags__descriptor; |
| 14673 | +extern const ProtobufCEnumDescriptor sr__subscription_type__descriptor; |
| 14674 | +extern const ProtobufCEnumDescriptor sr__notification_event__descriptor; |
| 14675 | +extern const ProtobufCEnumDescriptor sr__module_state__descriptor; |
| 14676 | +extern const ProtobufCEnumDescriptor sr__change_operation__descriptor; |
| 14677 | +extern const ProtobufCEnumDescriptor sr__operation__descriptor; |
| 14678 | +extern const ProtobufCMessageDescriptor sr__value__descriptor; |
| 14679 | +extern const ProtobufCEnumDescriptor sr__value__types__descriptor; |
| 14680 | +extern const ProtobufCMessageDescriptor sr__node__descriptor; |
| 14681 | +extern const ProtobufCMessageDescriptor sr__error__descriptor; |
| 14682 | +extern const ProtobufCMessageDescriptor sr__session_start_req__descriptor; |
| 14683 | +extern const ProtobufCMessageDescriptor sr__session_start_resp__descriptor; |
| 14684 | +extern const ProtobufCMessageDescriptor sr__session_stop_req__descriptor; |
| 14685 | +extern const ProtobufCMessageDescriptor sr__session_stop_resp__descriptor; |
| 14686 | +extern const ProtobufCMessageDescriptor sr__session_refresh_req__descriptor; |
| 14687 | +extern const ProtobufCMessageDescriptor sr__session_refresh_resp__descriptor; |
| 14688 | +extern const ProtobufCMessageDescriptor sr__session_check_req__descriptor; |
| 14689 | +extern const ProtobufCMessageDescriptor sr__session_check_resp__descriptor; |
| 14690 | +extern const ProtobufCMessageDescriptor sr__session_switch_ds_req__descriptor; |
| 14691 | +extern const ProtobufCMessageDescriptor sr__session_switch_ds_resp__descriptor; |
| 14692 | +extern const ProtobufCMessageDescriptor sr__session_set_opts_req__descriptor; |
| 14693 | +extern const ProtobufCMessageDescriptor sr__session_set_opts_resp__descriptor; |
| 14694 | +extern const ProtobufCMessageDescriptor sr__version_verify_req__descriptor; |
| 14695 | +extern const ProtobufCMessageDescriptor sr__version_verify_resp__descriptor; |
| 14696 | +extern const ProtobufCMessageDescriptor sr__schema_revision__descriptor; |
| 14697 | +extern const ProtobufCMessageDescriptor sr__schema_submodule__descriptor; |
| 14698 | +extern const ProtobufCMessageDescriptor sr__schema__descriptor; |
| 14699 | +extern const ProtobufCMessageDescriptor sr__list_schemas_req__descriptor; |
| 14700 | +extern const ProtobufCMessageDescriptor sr__list_schemas_resp__descriptor; |
| 14701 | +extern const ProtobufCMessageDescriptor sr__get_schema_req__descriptor; |
| 14702 | +extern const ProtobufCMessageDescriptor sr__get_schema_resp__descriptor; |
| 14703 | +extern const ProtobufCMessageDescriptor sr__get_item_req__descriptor; |
| 14704 | +extern const ProtobufCMessageDescriptor sr__get_item_resp__descriptor; |
| 14705 | +extern const ProtobufCMessageDescriptor sr__get_items_req__descriptor; |
| 14706 | +extern const ProtobufCMessageDescriptor sr__get_items_resp__descriptor; |
| 14707 | +extern const ProtobufCMessageDescriptor sr__get_subtree_req__descriptor; |
| 14708 | +extern const ProtobufCMessageDescriptor sr__get_subtree_resp__descriptor; |
| 14709 | +extern const ProtobufCMessageDescriptor sr__get_subtrees_req__descriptor; |
| 14710 | +extern const ProtobufCMessageDescriptor sr__get_subtrees_resp__descriptor; |
| 14711 | +extern const ProtobufCMessageDescriptor sr__get_subtree_chunk_req__descriptor; |
| 14712 | +extern const ProtobufCMessageDescriptor sr__get_subtree_chunk_resp__descriptor; |
| 14713 | +extern const ProtobufCMessageDescriptor sr__set_item_req__descriptor; |
| 14714 | +extern const ProtobufCMessageDescriptor sr__set_item_resp__descriptor; |
| 14715 | +extern const ProtobufCMessageDescriptor sr__set_item_str_req__descriptor; |
| 14716 | +extern const ProtobufCMessageDescriptor sr__set_item_str_resp__descriptor; |
| 14717 | +extern const ProtobufCMessageDescriptor sr__delete_item_req__descriptor; |
| 14718 | +extern const ProtobufCMessageDescriptor sr__delete_item_resp__descriptor; |
| 14719 | +extern const ProtobufCMessageDescriptor sr__move_item_req__descriptor; |
| 14720 | +extern const ProtobufCEnumDescriptor sr__move_item_req__move_position__descriptor; |
| 14721 | +extern const ProtobufCMessageDescriptor sr__move_item_resp__descriptor; |
| 14722 | +extern const ProtobufCMessageDescriptor sr__validate_req__descriptor; |
| 14723 | +extern const ProtobufCMessageDescriptor sr__validate_resp__descriptor; |
| 14724 | +extern const ProtobufCMessageDescriptor sr__commit_req__descriptor; |
| 14725 | +extern const ProtobufCMessageDescriptor sr__commit_resp__descriptor; |
| 14726 | +extern const ProtobufCMessageDescriptor sr__discard_changes_req__descriptor; |
| 14727 | +extern const ProtobufCMessageDescriptor sr__discard_changes_resp__descriptor; |
| 14728 | +extern const ProtobufCMessageDescriptor sr__copy_config_req__descriptor; |
| 14729 | +extern const ProtobufCMessageDescriptor sr__copy_config_resp__descriptor; |
| 14730 | +extern const ProtobufCMessageDescriptor sr__lock_req__descriptor; |
| 14731 | +extern const ProtobufCMessageDescriptor sr__lock_resp__descriptor; |
| 14732 | +extern const ProtobufCMessageDescriptor sr__unlock_req__descriptor; |
| 14733 | +extern const ProtobufCMessageDescriptor sr__unlock_resp__descriptor; |
| 14734 | +extern const ProtobufCMessageDescriptor sr__subscribe_req__descriptor; |
| 14735 | +extern const ProtobufCMessageDescriptor sr__subscribe_resp__descriptor; |
| 14736 | +extern const ProtobufCMessageDescriptor sr__unsubscribe_req__descriptor; |
| 14737 | +extern const ProtobufCMessageDescriptor sr__unsubscribe_resp__descriptor; |
| 14738 | +extern const ProtobufCMessageDescriptor sr__check_enabled_running_req__descriptor; |
| 14739 | +extern const ProtobufCMessageDescriptor sr__check_enabled_running_resp__descriptor; |
| 14740 | +extern const ProtobufCMessageDescriptor sr__module_install_notification__descriptor; |
| 14741 | +extern const ProtobufCMessageDescriptor sr__feature_enable_notification__descriptor; |
| 14742 | +extern const ProtobufCMessageDescriptor sr__module_change_notification__descriptor; |
| 14743 | +extern const ProtobufCMessageDescriptor sr__subtree_change_notification__descriptor; |
| 14744 | +extern const ProtobufCMessageDescriptor sr__change__descriptor; |
| 14745 | +extern const ProtobufCMessageDescriptor sr__get_changes_req__descriptor; |
| 14746 | +extern const ProtobufCMessageDescriptor sr__get_changes_resp__descriptor; |
| 14747 | +extern const ProtobufCMessageDescriptor sr__check_exec_perm_req__descriptor; |
| 14748 | +extern const ProtobufCMessageDescriptor sr__check_exec_perm_resp__descriptor; |
| 14749 | +extern const ProtobufCMessageDescriptor sr__rpcreq__descriptor; |
| 14750 | +extern const ProtobufCMessageDescriptor sr__rpcresp__descriptor; |
| 14751 | +extern const ProtobufCMessageDescriptor sr__event_notif_req__descriptor; |
| 14752 | +extern const ProtobufCEnumDescriptor sr__event_notif_req__notif_type__descriptor; |
| 14753 | +extern const ProtobufCEnumDescriptor sr__event_notif_req__notif_flags__descriptor; |
| 14754 | +extern const ProtobufCMessageDescriptor sr__event_notif_resp__descriptor; |
| 14755 | +extern const ProtobufCMessageDescriptor sr__event_notif_replay_req__descriptor; |
| 14756 | +extern const ProtobufCMessageDescriptor sr__event_notif_replay_resp__descriptor; |
| 14757 | +extern const ProtobufCMessageDescriptor sr__data_provide_req__descriptor; |
| 14758 | +extern const ProtobufCMessageDescriptor sr__data_provide_resp__descriptor; |
| 14759 | +extern const ProtobufCMessageDescriptor sr__module_install_req__descriptor; |
| 14760 | +extern const ProtobufCMessageDescriptor sr__module_install_resp__descriptor; |
| 14761 | +extern const ProtobufCMessageDescriptor sr__feature_enable_req__descriptor; |
| 14762 | +extern const ProtobufCMessageDescriptor sr__feature_enable_resp__descriptor; |
| 14763 | +extern const ProtobufCMessageDescriptor sr__unsubscribe_destination_req__descriptor; |
| 14764 | +extern const ProtobufCMessageDescriptor sr__commit_timeout_req__descriptor; |
| 14765 | +extern const ProtobufCMessageDescriptor sr__oper_data_timeout_req__descriptor; |
| 14766 | +extern const ProtobufCMessageDescriptor sr__internal_state_data_req__descriptor; |
| 14767 | +extern const ProtobufCMessageDescriptor sr__notif_store_cleanup_req__descriptor; |
| 14768 | +extern const ProtobufCMessageDescriptor sr__delayed_msg_req__descriptor; |
| 14769 | +extern const ProtobufCMessageDescriptor sr__nacm_reload_req__descriptor; |
| 14770 | +extern const ProtobufCMessageDescriptor sr__request__descriptor; |
| 14771 | +extern const ProtobufCMessageDescriptor sr__response__descriptor; |
| 14772 | +extern const ProtobufCMessageDescriptor sr__notification__descriptor; |
| 14773 | +extern const ProtobufCMessageDescriptor sr__notification_ack__descriptor; |
| 14774 | +extern const ProtobufCMessageDescriptor sr__internal_request__descriptor; |
| 14775 | +extern const ProtobufCMessageDescriptor sr__msg__descriptor; |
| 14776 | +extern const ProtobufCEnumDescriptor sr__msg__msg_type__descriptor; |
| 14777 | + |
| 14778 | +PROTOBUF_C__END_DECLS |
| 14779 | + |
| 14780 | + |
| 14781 | +#endif /* PROTOBUF_C_sysrepo_2eproto__INCLUDED */ |