You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14785 lines
497 KiB

  1. Index: sysrepo-0.7.5/src/common/sysrepo.pb-c.c
  2. ===================================================================
  3. --- /dev/null
  4. +++ sysrepo-0.7.5/src/common/sysrepo.pb-c.c
  5. @@ -0,0 +1,10537 @@
  6. +/* Generated by the protocol buffer compiler. DO NOT EDIT! */
  7. +/* Generated from: sysrepo.proto */
  8. +
  9. +/* Do not generate deprecated warnings for self */
  10. +#ifndef PROTOBUF_C__NO_DEPRECATED
  11. +#define PROTOBUF_C__NO_DEPRECATED
  12. +#endif
  13. +
  14. +#include "sysrepo.pb-c.h"
  15. +void sr__value__init
  16. + (Sr__Value *message)
  17. +{
  18. + static Sr__Value init_value = SR__VALUE__INIT;
  19. + *message = init_value;
  20. +}
  21. +size_t sr__value__get_packed_size
  22. + (const Sr__Value *message)
  23. +{
  24. + assert(message->base.descriptor == &sr__value__descriptor);
  25. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  26. +}
  27. +size_t sr__value__pack
  28. + (const Sr__Value *message,
  29. + uint8_t *out)
  30. +{
  31. + assert(message->base.descriptor == &sr__value__descriptor);
  32. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  33. +}
  34. +size_t sr__value__pack_to_buffer
  35. + (const Sr__Value *message,
  36. + ProtobufCBuffer *buffer)
  37. +{
  38. + assert(message->base.descriptor == &sr__value__descriptor);
  39. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  40. +}
  41. +Sr__Value *
  42. + sr__value__unpack
  43. + (ProtobufCAllocator *allocator,
  44. + size_t len,
  45. + const uint8_t *data)
  46. +{
  47. + return (Sr__Value *)
  48. + protobuf_c_message_unpack (&sr__value__descriptor,
  49. + allocator, len, data);
  50. +}
  51. +void sr__value__free_unpacked
  52. + (Sr__Value *message,
  53. + ProtobufCAllocator *allocator)
  54. +{
  55. + assert(message->base.descriptor == &sr__value__descriptor);
  56. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  57. +}
  58. +void sr__node__init
  59. + (Sr__Node *message)
  60. +{
  61. + static Sr__Node init_value = SR__NODE__INIT;
  62. + *message = init_value;
  63. +}
  64. +size_t sr__node__get_packed_size
  65. + (const Sr__Node *message)
  66. +{
  67. + assert(message->base.descriptor == &sr__node__descriptor);
  68. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  69. +}
  70. +size_t sr__node__pack
  71. + (const Sr__Node *message,
  72. + uint8_t *out)
  73. +{
  74. + assert(message->base.descriptor == &sr__node__descriptor);
  75. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  76. +}
  77. +size_t sr__node__pack_to_buffer
  78. + (const Sr__Node *message,
  79. + ProtobufCBuffer *buffer)
  80. +{
  81. + assert(message->base.descriptor == &sr__node__descriptor);
  82. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  83. +}
  84. +Sr__Node *
  85. + sr__node__unpack
  86. + (ProtobufCAllocator *allocator,
  87. + size_t len,
  88. + const uint8_t *data)
  89. +{
  90. + return (Sr__Node *)
  91. + protobuf_c_message_unpack (&sr__node__descriptor,
  92. + allocator, len, data);
  93. +}
  94. +void sr__node__free_unpacked
  95. + (Sr__Node *message,
  96. + ProtobufCAllocator *allocator)
  97. +{
  98. + assert(message->base.descriptor == &sr__node__descriptor);
  99. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  100. +}
  101. +void sr__error__init
  102. + (Sr__Error *message)
  103. +{
  104. + static Sr__Error init_value = SR__ERROR__INIT;
  105. + *message = init_value;
  106. +}
  107. +size_t sr__error__get_packed_size
  108. + (const Sr__Error *message)
  109. +{
  110. + assert(message->base.descriptor == &sr__error__descriptor);
  111. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  112. +}
  113. +size_t sr__error__pack
  114. + (const Sr__Error *message,
  115. + uint8_t *out)
  116. +{
  117. + assert(message->base.descriptor == &sr__error__descriptor);
  118. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  119. +}
  120. +size_t sr__error__pack_to_buffer
  121. + (const Sr__Error *message,
  122. + ProtobufCBuffer *buffer)
  123. +{
  124. + assert(message->base.descriptor == &sr__error__descriptor);
  125. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  126. +}
  127. +Sr__Error *
  128. + sr__error__unpack
  129. + (ProtobufCAllocator *allocator,
  130. + size_t len,
  131. + const uint8_t *data)
  132. +{
  133. + return (Sr__Error *)
  134. + protobuf_c_message_unpack (&sr__error__descriptor,
  135. + allocator, len, data);
  136. +}
  137. +void sr__error__free_unpacked
  138. + (Sr__Error *message,
  139. + ProtobufCAllocator *allocator)
  140. +{
  141. + assert(message->base.descriptor == &sr__error__descriptor);
  142. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  143. +}
  144. +void sr__session_start_req__init
  145. + (Sr__SessionStartReq *message)
  146. +{
  147. + static Sr__SessionStartReq init_value = SR__SESSION_START_REQ__INIT;
  148. + *message = init_value;
  149. +}
  150. +size_t sr__session_start_req__get_packed_size
  151. + (const Sr__SessionStartReq *message)
  152. +{
  153. + assert(message->base.descriptor == &sr__session_start_req__descriptor);
  154. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  155. +}
  156. +size_t sr__session_start_req__pack
  157. + (const Sr__SessionStartReq *message,
  158. + uint8_t *out)
  159. +{
  160. + assert(message->base.descriptor == &sr__session_start_req__descriptor);
  161. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  162. +}
  163. +size_t sr__session_start_req__pack_to_buffer
  164. + (const Sr__SessionStartReq *message,
  165. + ProtobufCBuffer *buffer)
  166. +{
  167. + assert(message->base.descriptor == &sr__session_start_req__descriptor);
  168. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  169. +}
  170. +Sr__SessionStartReq *
  171. + sr__session_start_req__unpack
  172. + (ProtobufCAllocator *allocator,
  173. + size_t len,
  174. + const uint8_t *data)
  175. +{
  176. + return (Sr__SessionStartReq *)
  177. + protobuf_c_message_unpack (&sr__session_start_req__descriptor,
  178. + allocator, len, data);
  179. +}
  180. +void sr__session_start_req__free_unpacked
  181. + (Sr__SessionStartReq *message,
  182. + ProtobufCAllocator *allocator)
  183. +{
  184. + assert(message->base.descriptor == &sr__session_start_req__descriptor);
  185. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  186. +}
  187. +void sr__session_start_resp__init
  188. + (Sr__SessionStartResp *message)
  189. +{
  190. + static Sr__SessionStartResp init_value = SR__SESSION_START_RESP__INIT;
  191. + *message = init_value;
  192. +}
  193. +size_t sr__session_start_resp__get_packed_size
  194. + (const Sr__SessionStartResp *message)
  195. +{
  196. + assert(message->base.descriptor == &sr__session_start_resp__descriptor);
  197. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  198. +}
  199. +size_t sr__session_start_resp__pack
  200. + (const Sr__SessionStartResp *message,
  201. + uint8_t *out)
  202. +{
  203. + assert(message->base.descriptor == &sr__session_start_resp__descriptor);
  204. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  205. +}
  206. +size_t sr__session_start_resp__pack_to_buffer
  207. + (const Sr__SessionStartResp *message,
  208. + ProtobufCBuffer *buffer)
  209. +{
  210. + assert(message->base.descriptor == &sr__session_start_resp__descriptor);
  211. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  212. +}
  213. +Sr__SessionStartResp *
  214. + sr__session_start_resp__unpack
  215. + (ProtobufCAllocator *allocator,
  216. + size_t len,
  217. + const uint8_t *data)
  218. +{
  219. + return (Sr__SessionStartResp *)
  220. + protobuf_c_message_unpack (&sr__session_start_resp__descriptor,
  221. + allocator, len, data);
  222. +}
  223. +void sr__session_start_resp__free_unpacked
  224. + (Sr__SessionStartResp *message,
  225. + ProtobufCAllocator *allocator)
  226. +{
  227. + assert(message->base.descriptor == &sr__session_start_resp__descriptor);
  228. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  229. +}
  230. +void sr__session_stop_req__init
  231. + (Sr__SessionStopReq *message)
  232. +{
  233. + static Sr__SessionStopReq init_value = SR__SESSION_STOP_REQ__INIT;
  234. + *message = init_value;
  235. +}
  236. +size_t sr__session_stop_req__get_packed_size
  237. + (const Sr__SessionStopReq *message)
  238. +{
  239. + assert(message->base.descriptor == &sr__session_stop_req__descriptor);
  240. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  241. +}
  242. +size_t sr__session_stop_req__pack
  243. + (const Sr__SessionStopReq *message,
  244. + uint8_t *out)
  245. +{
  246. + assert(message->base.descriptor == &sr__session_stop_req__descriptor);
  247. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  248. +}
  249. +size_t sr__session_stop_req__pack_to_buffer
  250. + (const Sr__SessionStopReq *message,
  251. + ProtobufCBuffer *buffer)
  252. +{
  253. + assert(message->base.descriptor == &sr__session_stop_req__descriptor);
  254. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  255. +}
  256. +Sr__SessionStopReq *
  257. + sr__session_stop_req__unpack
  258. + (ProtobufCAllocator *allocator,
  259. + size_t len,
  260. + const uint8_t *data)
  261. +{
  262. + return (Sr__SessionStopReq *)
  263. + protobuf_c_message_unpack (&sr__session_stop_req__descriptor,
  264. + allocator, len, data);
  265. +}
  266. +void sr__session_stop_req__free_unpacked
  267. + (Sr__SessionStopReq *message,
  268. + ProtobufCAllocator *allocator)
  269. +{
  270. + assert(message->base.descriptor == &sr__session_stop_req__descriptor);
  271. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  272. +}
  273. +void sr__session_stop_resp__init
  274. + (Sr__SessionStopResp *message)
  275. +{
  276. + static Sr__SessionStopResp init_value = SR__SESSION_STOP_RESP__INIT;
  277. + *message = init_value;
  278. +}
  279. +size_t sr__session_stop_resp__get_packed_size
  280. + (const Sr__SessionStopResp *message)
  281. +{
  282. + assert(message->base.descriptor == &sr__session_stop_resp__descriptor);
  283. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  284. +}
  285. +size_t sr__session_stop_resp__pack
  286. + (const Sr__SessionStopResp *message,
  287. + uint8_t *out)
  288. +{
  289. + assert(message->base.descriptor == &sr__session_stop_resp__descriptor);
  290. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  291. +}
  292. +size_t sr__session_stop_resp__pack_to_buffer
  293. + (const Sr__SessionStopResp *message,
  294. + ProtobufCBuffer *buffer)
  295. +{
  296. + assert(message->base.descriptor == &sr__session_stop_resp__descriptor);
  297. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  298. +}
  299. +Sr__SessionStopResp *
  300. + sr__session_stop_resp__unpack
  301. + (ProtobufCAllocator *allocator,
  302. + size_t len,
  303. + const uint8_t *data)
  304. +{
  305. + return (Sr__SessionStopResp *)
  306. + protobuf_c_message_unpack (&sr__session_stop_resp__descriptor,
  307. + allocator, len, data);
  308. +}
  309. +void sr__session_stop_resp__free_unpacked
  310. + (Sr__SessionStopResp *message,
  311. + ProtobufCAllocator *allocator)
  312. +{
  313. + assert(message->base.descriptor == &sr__session_stop_resp__descriptor);
  314. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  315. +}
  316. +void sr__session_refresh_req__init
  317. + (Sr__SessionRefreshReq *message)
  318. +{
  319. + static Sr__SessionRefreshReq init_value = SR__SESSION_REFRESH_REQ__INIT;
  320. + *message = init_value;
  321. +}
  322. +size_t sr__session_refresh_req__get_packed_size
  323. + (const Sr__SessionRefreshReq *message)
  324. +{
  325. + assert(message->base.descriptor == &sr__session_refresh_req__descriptor);
  326. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  327. +}
  328. +size_t sr__session_refresh_req__pack
  329. + (const Sr__SessionRefreshReq *message,
  330. + uint8_t *out)
  331. +{
  332. + assert(message->base.descriptor == &sr__session_refresh_req__descriptor);
  333. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  334. +}
  335. +size_t sr__session_refresh_req__pack_to_buffer
  336. + (const Sr__SessionRefreshReq *message,
  337. + ProtobufCBuffer *buffer)
  338. +{
  339. + assert(message->base.descriptor == &sr__session_refresh_req__descriptor);
  340. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  341. +}
  342. +Sr__SessionRefreshReq *
  343. + sr__session_refresh_req__unpack
  344. + (ProtobufCAllocator *allocator,
  345. + size_t len,
  346. + const uint8_t *data)
  347. +{
  348. + return (Sr__SessionRefreshReq *)
  349. + protobuf_c_message_unpack (&sr__session_refresh_req__descriptor,
  350. + allocator, len, data);
  351. +}
  352. +void sr__session_refresh_req__free_unpacked
  353. + (Sr__SessionRefreshReq *message,
  354. + ProtobufCAllocator *allocator)
  355. +{
  356. + assert(message->base.descriptor == &sr__session_refresh_req__descriptor);
  357. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  358. +}
  359. +void sr__session_refresh_resp__init
  360. + (Sr__SessionRefreshResp *message)
  361. +{
  362. + static Sr__SessionRefreshResp init_value = SR__SESSION_REFRESH_RESP__INIT;
  363. + *message = init_value;
  364. +}
  365. +size_t sr__session_refresh_resp__get_packed_size
  366. + (const Sr__SessionRefreshResp *message)
  367. +{
  368. + assert(message->base.descriptor == &sr__session_refresh_resp__descriptor);
  369. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  370. +}
  371. +size_t sr__session_refresh_resp__pack
  372. + (const Sr__SessionRefreshResp *message,
  373. + uint8_t *out)
  374. +{
  375. + assert(message->base.descriptor == &sr__session_refresh_resp__descriptor);
  376. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  377. +}
  378. +size_t sr__session_refresh_resp__pack_to_buffer
  379. + (const Sr__SessionRefreshResp *message,
  380. + ProtobufCBuffer *buffer)
  381. +{
  382. + assert(message->base.descriptor == &sr__session_refresh_resp__descriptor);
  383. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  384. +}
  385. +Sr__SessionRefreshResp *
  386. + sr__session_refresh_resp__unpack
  387. + (ProtobufCAllocator *allocator,
  388. + size_t len,
  389. + const uint8_t *data)
  390. +{
  391. + return (Sr__SessionRefreshResp *)
  392. + protobuf_c_message_unpack (&sr__session_refresh_resp__descriptor,
  393. + allocator, len, data);
  394. +}
  395. +void sr__session_refresh_resp__free_unpacked
  396. + (Sr__SessionRefreshResp *message,
  397. + ProtobufCAllocator *allocator)
  398. +{
  399. + assert(message->base.descriptor == &sr__session_refresh_resp__descriptor);
  400. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  401. +}
  402. +void sr__session_check_req__init
  403. + (Sr__SessionCheckReq *message)
  404. +{
  405. + static Sr__SessionCheckReq init_value = SR__SESSION_CHECK_REQ__INIT;
  406. + *message = init_value;
  407. +}
  408. +size_t sr__session_check_req__get_packed_size
  409. + (const Sr__SessionCheckReq *message)
  410. +{
  411. + assert(message->base.descriptor == &sr__session_check_req__descriptor);
  412. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  413. +}
  414. +size_t sr__session_check_req__pack
  415. + (const Sr__SessionCheckReq *message,
  416. + uint8_t *out)
  417. +{
  418. + assert(message->base.descriptor == &sr__session_check_req__descriptor);
  419. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  420. +}
  421. +size_t sr__session_check_req__pack_to_buffer
  422. + (const Sr__SessionCheckReq *message,
  423. + ProtobufCBuffer *buffer)
  424. +{
  425. + assert(message->base.descriptor == &sr__session_check_req__descriptor);
  426. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  427. +}
  428. +Sr__SessionCheckReq *
  429. + sr__session_check_req__unpack
  430. + (ProtobufCAllocator *allocator,
  431. + size_t len,
  432. + const uint8_t *data)
  433. +{
  434. + return (Sr__SessionCheckReq *)
  435. + protobuf_c_message_unpack (&sr__session_check_req__descriptor,
  436. + allocator, len, data);
  437. +}
  438. +void sr__session_check_req__free_unpacked
  439. + (Sr__SessionCheckReq *message,
  440. + ProtobufCAllocator *allocator)
  441. +{
  442. + assert(message->base.descriptor == &sr__session_check_req__descriptor);
  443. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  444. +}
  445. +void sr__session_check_resp__init
  446. + (Sr__SessionCheckResp *message)
  447. +{
  448. + static Sr__SessionCheckResp init_value = SR__SESSION_CHECK_RESP__INIT;
  449. + *message = init_value;
  450. +}
  451. +size_t sr__session_check_resp__get_packed_size
  452. + (const Sr__SessionCheckResp *message)
  453. +{
  454. + assert(message->base.descriptor == &sr__session_check_resp__descriptor);
  455. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  456. +}
  457. +size_t sr__session_check_resp__pack
  458. + (const Sr__SessionCheckResp *message,
  459. + uint8_t *out)
  460. +{
  461. + assert(message->base.descriptor == &sr__session_check_resp__descriptor);
  462. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  463. +}
  464. +size_t sr__session_check_resp__pack_to_buffer
  465. + (const Sr__SessionCheckResp *message,
  466. + ProtobufCBuffer *buffer)
  467. +{
  468. + assert(message->base.descriptor == &sr__session_check_resp__descriptor);
  469. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  470. +}
  471. +Sr__SessionCheckResp *
  472. + sr__session_check_resp__unpack
  473. + (ProtobufCAllocator *allocator,
  474. + size_t len,
  475. + const uint8_t *data)
  476. +{
  477. + return (Sr__SessionCheckResp *)
  478. + protobuf_c_message_unpack (&sr__session_check_resp__descriptor,
  479. + allocator, len, data);
  480. +}
  481. +void sr__session_check_resp__free_unpacked
  482. + (Sr__SessionCheckResp *message,
  483. + ProtobufCAllocator *allocator)
  484. +{
  485. + assert(message->base.descriptor == &sr__session_check_resp__descriptor);
  486. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  487. +}
  488. +void sr__session_switch_ds_req__init
  489. + (Sr__SessionSwitchDsReq *message)
  490. +{
  491. + static Sr__SessionSwitchDsReq init_value = SR__SESSION_SWITCH_DS_REQ__INIT;
  492. + *message = init_value;
  493. +}
  494. +size_t sr__session_switch_ds_req__get_packed_size
  495. + (const Sr__SessionSwitchDsReq *message)
  496. +{
  497. + assert(message->base.descriptor == &sr__session_switch_ds_req__descriptor);
  498. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  499. +}
  500. +size_t sr__session_switch_ds_req__pack
  501. + (const Sr__SessionSwitchDsReq *message,
  502. + uint8_t *out)
  503. +{
  504. + assert(message->base.descriptor == &sr__session_switch_ds_req__descriptor);
  505. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  506. +}
  507. +size_t sr__session_switch_ds_req__pack_to_buffer
  508. + (const Sr__SessionSwitchDsReq *message,
  509. + ProtobufCBuffer *buffer)
  510. +{
  511. + assert(message->base.descriptor == &sr__session_switch_ds_req__descriptor);
  512. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  513. +}
  514. +Sr__SessionSwitchDsReq *
  515. + sr__session_switch_ds_req__unpack
  516. + (ProtobufCAllocator *allocator,
  517. + size_t len,
  518. + const uint8_t *data)
  519. +{
  520. + return (Sr__SessionSwitchDsReq *)
  521. + protobuf_c_message_unpack (&sr__session_switch_ds_req__descriptor,
  522. + allocator, len, data);
  523. +}
  524. +void sr__session_switch_ds_req__free_unpacked
  525. + (Sr__SessionSwitchDsReq *message,
  526. + ProtobufCAllocator *allocator)
  527. +{
  528. + assert(message->base.descriptor == &sr__session_switch_ds_req__descriptor);
  529. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  530. +}
  531. +void sr__session_switch_ds_resp__init
  532. + (Sr__SessionSwitchDsResp *message)
  533. +{
  534. + static Sr__SessionSwitchDsResp init_value = SR__SESSION_SWITCH_DS_RESP__INIT;
  535. + *message = init_value;
  536. +}
  537. +size_t sr__session_switch_ds_resp__get_packed_size
  538. + (const Sr__SessionSwitchDsResp *message)
  539. +{
  540. + assert(message->base.descriptor == &sr__session_switch_ds_resp__descriptor);
  541. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  542. +}
  543. +size_t sr__session_switch_ds_resp__pack
  544. + (const Sr__SessionSwitchDsResp *message,
  545. + uint8_t *out)
  546. +{
  547. + assert(message->base.descriptor == &sr__session_switch_ds_resp__descriptor);
  548. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  549. +}
  550. +size_t sr__session_switch_ds_resp__pack_to_buffer
  551. + (const Sr__SessionSwitchDsResp *message,
  552. + ProtobufCBuffer *buffer)
  553. +{
  554. + assert(message->base.descriptor == &sr__session_switch_ds_resp__descriptor);
  555. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  556. +}
  557. +Sr__SessionSwitchDsResp *
  558. + sr__session_switch_ds_resp__unpack
  559. + (ProtobufCAllocator *allocator,
  560. + size_t len,
  561. + const uint8_t *data)
  562. +{
  563. + return (Sr__SessionSwitchDsResp *)
  564. + protobuf_c_message_unpack (&sr__session_switch_ds_resp__descriptor,
  565. + allocator, len, data);
  566. +}
  567. +void sr__session_switch_ds_resp__free_unpacked
  568. + (Sr__SessionSwitchDsResp *message,
  569. + ProtobufCAllocator *allocator)
  570. +{
  571. + assert(message->base.descriptor == &sr__session_switch_ds_resp__descriptor);
  572. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  573. +}
  574. +void sr__session_set_opts_req__init
  575. + (Sr__SessionSetOptsReq *message)
  576. +{
  577. + static Sr__SessionSetOptsReq init_value = SR__SESSION_SET_OPTS_REQ__INIT;
  578. + *message = init_value;
  579. +}
  580. +size_t sr__session_set_opts_req__get_packed_size
  581. + (const Sr__SessionSetOptsReq *message)
  582. +{
  583. + assert(message->base.descriptor == &sr__session_set_opts_req__descriptor);
  584. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  585. +}
  586. +size_t sr__session_set_opts_req__pack
  587. + (const Sr__SessionSetOptsReq *message,
  588. + uint8_t *out)
  589. +{
  590. + assert(message->base.descriptor == &sr__session_set_opts_req__descriptor);
  591. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  592. +}
  593. +size_t sr__session_set_opts_req__pack_to_buffer
  594. + (const Sr__SessionSetOptsReq *message,
  595. + ProtobufCBuffer *buffer)
  596. +{
  597. + assert(message->base.descriptor == &sr__session_set_opts_req__descriptor);
  598. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  599. +}
  600. +Sr__SessionSetOptsReq *
  601. + sr__session_set_opts_req__unpack
  602. + (ProtobufCAllocator *allocator,
  603. + size_t len,
  604. + const uint8_t *data)
  605. +{
  606. + return (Sr__SessionSetOptsReq *)
  607. + protobuf_c_message_unpack (&sr__session_set_opts_req__descriptor,
  608. + allocator, len, data);
  609. +}
  610. +void sr__session_set_opts_req__free_unpacked
  611. + (Sr__SessionSetOptsReq *message,
  612. + ProtobufCAllocator *allocator)
  613. +{
  614. + assert(message->base.descriptor == &sr__session_set_opts_req__descriptor);
  615. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  616. +}
  617. +void sr__session_set_opts_resp__init
  618. + (Sr__SessionSetOptsResp *message)
  619. +{
  620. + static Sr__SessionSetOptsResp init_value = SR__SESSION_SET_OPTS_RESP__INIT;
  621. + *message = init_value;
  622. +}
  623. +size_t sr__session_set_opts_resp__get_packed_size
  624. + (const Sr__SessionSetOptsResp *message)
  625. +{
  626. + assert(message->base.descriptor == &sr__session_set_opts_resp__descriptor);
  627. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  628. +}
  629. +size_t sr__session_set_opts_resp__pack
  630. + (const Sr__SessionSetOptsResp *message,
  631. + uint8_t *out)
  632. +{
  633. + assert(message->base.descriptor == &sr__session_set_opts_resp__descriptor);
  634. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  635. +}
  636. +size_t sr__session_set_opts_resp__pack_to_buffer
  637. + (const Sr__SessionSetOptsResp *message,
  638. + ProtobufCBuffer *buffer)
  639. +{
  640. + assert(message->base.descriptor == &sr__session_set_opts_resp__descriptor);
  641. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  642. +}
  643. +Sr__SessionSetOptsResp *
  644. + sr__session_set_opts_resp__unpack
  645. + (ProtobufCAllocator *allocator,
  646. + size_t len,
  647. + const uint8_t *data)
  648. +{
  649. + return (Sr__SessionSetOptsResp *)
  650. + protobuf_c_message_unpack (&sr__session_set_opts_resp__descriptor,
  651. + allocator, len, data);
  652. +}
  653. +void sr__session_set_opts_resp__free_unpacked
  654. + (Sr__SessionSetOptsResp *message,
  655. + ProtobufCAllocator *allocator)
  656. +{
  657. + assert(message->base.descriptor == &sr__session_set_opts_resp__descriptor);
  658. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  659. +}
  660. +void sr__version_verify_req__init
  661. + (Sr__VersionVerifyReq *message)
  662. +{
  663. + static Sr__VersionVerifyReq init_value = SR__VERSION_VERIFY_REQ__INIT;
  664. + *message = init_value;
  665. +}
  666. +size_t sr__version_verify_req__get_packed_size
  667. + (const Sr__VersionVerifyReq *message)
  668. +{
  669. + assert(message->base.descriptor == &sr__version_verify_req__descriptor);
  670. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  671. +}
  672. +size_t sr__version_verify_req__pack
  673. + (const Sr__VersionVerifyReq *message,
  674. + uint8_t *out)
  675. +{
  676. + assert(message->base.descriptor == &sr__version_verify_req__descriptor);
  677. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  678. +}
  679. +size_t sr__version_verify_req__pack_to_buffer
  680. + (const Sr__VersionVerifyReq *message,
  681. + ProtobufCBuffer *buffer)
  682. +{
  683. + assert(message->base.descriptor == &sr__version_verify_req__descriptor);
  684. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  685. +}
  686. +Sr__VersionVerifyReq *
  687. + sr__version_verify_req__unpack
  688. + (ProtobufCAllocator *allocator,
  689. + size_t len,
  690. + const uint8_t *data)
  691. +{
  692. + return (Sr__VersionVerifyReq *)
  693. + protobuf_c_message_unpack (&sr__version_verify_req__descriptor,
  694. + allocator, len, data);
  695. +}
  696. +void sr__version_verify_req__free_unpacked
  697. + (Sr__VersionVerifyReq *message,
  698. + ProtobufCAllocator *allocator)
  699. +{
  700. + assert(message->base.descriptor == &sr__version_verify_req__descriptor);
  701. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  702. +}
  703. +void sr__version_verify_resp__init
  704. + (Sr__VersionVerifyResp *message)
  705. +{
  706. + static Sr__VersionVerifyResp init_value = SR__VERSION_VERIFY_RESP__INIT;
  707. + *message = init_value;
  708. +}
  709. +size_t sr__version_verify_resp__get_packed_size
  710. + (const Sr__VersionVerifyResp *message)
  711. +{
  712. + assert(message->base.descriptor == &sr__version_verify_resp__descriptor);
  713. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  714. +}
  715. +size_t sr__version_verify_resp__pack
  716. + (const Sr__VersionVerifyResp *message,
  717. + uint8_t *out)
  718. +{
  719. + assert(message->base.descriptor == &sr__version_verify_resp__descriptor);
  720. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  721. +}
  722. +size_t sr__version_verify_resp__pack_to_buffer
  723. + (const Sr__VersionVerifyResp *message,
  724. + ProtobufCBuffer *buffer)
  725. +{
  726. + assert(message->base.descriptor == &sr__version_verify_resp__descriptor);
  727. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  728. +}
  729. +Sr__VersionVerifyResp *
  730. + sr__version_verify_resp__unpack
  731. + (ProtobufCAllocator *allocator,
  732. + size_t len,
  733. + const uint8_t *data)
  734. +{
  735. + return (Sr__VersionVerifyResp *)
  736. + protobuf_c_message_unpack (&sr__version_verify_resp__descriptor,
  737. + allocator, len, data);
  738. +}
  739. +void sr__version_verify_resp__free_unpacked
  740. + (Sr__VersionVerifyResp *message,
  741. + ProtobufCAllocator *allocator)
  742. +{
  743. + assert(message->base.descriptor == &sr__version_verify_resp__descriptor);
  744. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  745. +}
  746. +void sr__schema_revision__init
  747. + (Sr__SchemaRevision *message)
  748. +{
  749. + static Sr__SchemaRevision init_value = SR__SCHEMA_REVISION__INIT;
  750. + *message = init_value;
  751. +}
  752. +size_t sr__schema_revision__get_packed_size
  753. + (const Sr__SchemaRevision *message)
  754. +{
  755. + assert(message->base.descriptor == &sr__schema_revision__descriptor);
  756. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  757. +}
  758. +size_t sr__schema_revision__pack
  759. + (const Sr__SchemaRevision *message,
  760. + uint8_t *out)
  761. +{
  762. + assert(message->base.descriptor == &sr__schema_revision__descriptor);
  763. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  764. +}
  765. +size_t sr__schema_revision__pack_to_buffer
  766. + (const Sr__SchemaRevision *message,
  767. + ProtobufCBuffer *buffer)
  768. +{
  769. + assert(message->base.descriptor == &sr__schema_revision__descriptor);
  770. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  771. +}
  772. +Sr__SchemaRevision *
  773. + sr__schema_revision__unpack
  774. + (ProtobufCAllocator *allocator,
  775. + size_t len,
  776. + const uint8_t *data)
  777. +{
  778. + return (Sr__SchemaRevision *)
  779. + protobuf_c_message_unpack (&sr__schema_revision__descriptor,
  780. + allocator, len, data);
  781. +}
  782. +void sr__schema_revision__free_unpacked
  783. + (Sr__SchemaRevision *message,
  784. + ProtobufCAllocator *allocator)
  785. +{
  786. + assert(message->base.descriptor == &sr__schema_revision__descriptor);
  787. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  788. +}
  789. +void sr__schema_submodule__init
  790. + (Sr__SchemaSubmodule *message)
  791. +{
  792. + static Sr__SchemaSubmodule init_value = SR__SCHEMA_SUBMODULE__INIT;
  793. + *message = init_value;
  794. +}
  795. +size_t sr__schema_submodule__get_packed_size
  796. + (const Sr__SchemaSubmodule *message)
  797. +{
  798. + assert(message->base.descriptor == &sr__schema_submodule__descriptor);
  799. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  800. +}
  801. +size_t sr__schema_submodule__pack
  802. + (const Sr__SchemaSubmodule *message,
  803. + uint8_t *out)
  804. +{
  805. + assert(message->base.descriptor == &sr__schema_submodule__descriptor);
  806. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  807. +}
  808. +size_t sr__schema_submodule__pack_to_buffer
  809. + (const Sr__SchemaSubmodule *message,
  810. + ProtobufCBuffer *buffer)
  811. +{
  812. + assert(message->base.descriptor == &sr__schema_submodule__descriptor);
  813. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  814. +}
  815. +Sr__SchemaSubmodule *
  816. + sr__schema_submodule__unpack
  817. + (ProtobufCAllocator *allocator,
  818. + size_t len,
  819. + const uint8_t *data)
  820. +{
  821. + return (Sr__SchemaSubmodule *)
  822. + protobuf_c_message_unpack (&sr__schema_submodule__descriptor,
  823. + allocator, len, data);
  824. +}
  825. +void sr__schema_submodule__free_unpacked
  826. + (Sr__SchemaSubmodule *message,
  827. + ProtobufCAllocator *allocator)
  828. +{
  829. + assert(message->base.descriptor == &sr__schema_submodule__descriptor);
  830. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  831. +}
  832. +void sr__schema__init
  833. + (Sr__Schema *message)
  834. +{
  835. + static Sr__Schema init_value = SR__SCHEMA__INIT;
  836. + *message = init_value;
  837. +}
  838. +size_t sr__schema__get_packed_size
  839. + (const Sr__Schema *message)
  840. +{
  841. + assert(message->base.descriptor == &sr__schema__descriptor);
  842. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  843. +}
  844. +size_t sr__schema__pack
  845. + (const Sr__Schema *message,
  846. + uint8_t *out)
  847. +{
  848. + assert(message->base.descriptor == &sr__schema__descriptor);
  849. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  850. +}
  851. +size_t sr__schema__pack_to_buffer
  852. + (const Sr__Schema *message,
  853. + ProtobufCBuffer *buffer)
  854. +{
  855. + assert(message->base.descriptor == &sr__schema__descriptor);
  856. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  857. +}
  858. +Sr__Schema *
  859. + sr__schema__unpack
  860. + (ProtobufCAllocator *allocator,
  861. + size_t len,
  862. + const uint8_t *data)
  863. +{
  864. + return (Sr__Schema *)
  865. + protobuf_c_message_unpack (&sr__schema__descriptor,
  866. + allocator, len, data);
  867. +}
  868. +void sr__schema__free_unpacked
  869. + (Sr__Schema *message,
  870. + ProtobufCAllocator *allocator)
  871. +{
  872. + assert(message->base.descriptor == &sr__schema__descriptor);
  873. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  874. +}
  875. +void sr__list_schemas_req__init
  876. + (Sr__ListSchemasReq *message)
  877. +{
  878. + static Sr__ListSchemasReq init_value = SR__LIST_SCHEMAS_REQ__INIT;
  879. + *message = init_value;
  880. +}
  881. +size_t sr__list_schemas_req__get_packed_size
  882. + (const Sr__ListSchemasReq *message)
  883. +{
  884. + assert(message->base.descriptor == &sr__list_schemas_req__descriptor);
  885. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  886. +}
  887. +size_t sr__list_schemas_req__pack
  888. + (const Sr__ListSchemasReq *message,
  889. + uint8_t *out)
  890. +{
  891. + assert(message->base.descriptor == &sr__list_schemas_req__descriptor);
  892. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  893. +}
  894. +size_t sr__list_schemas_req__pack_to_buffer
  895. + (const Sr__ListSchemasReq *message,
  896. + ProtobufCBuffer *buffer)
  897. +{
  898. + assert(message->base.descriptor == &sr__list_schemas_req__descriptor);
  899. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  900. +}
  901. +Sr__ListSchemasReq *
  902. + sr__list_schemas_req__unpack
  903. + (ProtobufCAllocator *allocator,
  904. + size_t len,
  905. + const uint8_t *data)
  906. +{
  907. + return (Sr__ListSchemasReq *)
  908. + protobuf_c_message_unpack (&sr__list_schemas_req__descriptor,
  909. + allocator, len, data);
  910. +}
  911. +void sr__list_schemas_req__free_unpacked
  912. + (Sr__ListSchemasReq *message,
  913. + ProtobufCAllocator *allocator)
  914. +{
  915. + assert(message->base.descriptor == &sr__list_schemas_req__descriptor);
  916. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  917. +}
  918. +void sr__list_schemas_resp__init
  919. + (Sr__ListSchemasResp *message)
  920. +{
  921. + static Sr__ListSchemasResp init_value = SR__LIST_SCHEMAS_RESP__INIT;
  922. + *message = init_value;
  923. +}
  924. +size_t sr__list_schemas_resp__get_packed_size
  925. + (const Sr__ListSchemasResp *message)
  926. +{
  927. + assert(message->base.descriptor == &sr__list_schemas_resp__descriptor);
  928. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  929. +}
  930. +size_t sr__list_schemas_resp__pack
  931. + (const Sr__ListSchemasResp *message,
  932. + uint8_t *out)
  933. +{
  934. + assert(message->base.descriptor == &sr__list_schemas_resp__descriptor);
  935. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  936. +}
  937. +size_t sr__list_schemas_resp__pack_to_buffer
  938. + (const Sr__ListSchemasResp *message,
  939. + ProtobufCBuffer *buffer)
  940. +{
  941. + assert(message->base.descriptor == &sr__list_schemas_resp__descriptor);
  942. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  943. +}
  944. +Sr__ListSchemasResp *
  945. + sr__list_schemas_resp__unpack
  946. + (ProtobufCAllocator *allocator,
  947. + size_t len,
  948. + const uint8_t *data)
  949. +{
  950. + return (Sr__ListSchemasResp *)
  951. + protobuf_c_message_unpack (&sr__list_schemas_resp__descriptor,
  952. + allocator, len, data);
  953. +}
  954. +void sr__list_schemas_resp__free_unpacked
  955. + (Sr__ListSchemasResp *message,
  956. + ProtobufCAllocator *allocator)
  957. +{
  958. + assert(message->base.descriptor == &sr__list_schemas_resp__descriptor);
  959. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  960. +}
  961. +void sr__get_schema_req__init
  962. + (Sr__GetSchemaReq *message)
  963. +{
  964. + static Sr__GetSchemaReq init_value = SR__GET_SCHEMA_REQ__INIT;
  965. + *message = init_value;
  966. +}
  967. +size_t sr__get_schema_req__get_packed_size
  968. + (const Sr__GetSchemaReq *message)
  969. +{
  970. + assert(message->base.descriptor == &sr__get_schema_req__descriptor);
  971. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  972. +}
  973. +size_t sr__get_schema_req__pack
  974. + (const Sr__GetSchemaReq *message,
  975. + uint8_t *out)
  976. +{
  977. + assert(message->base.descriptor == &sr__get_schema_req__descriptor);
  978. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  979. +}
  980. +size_t sr__get_schema_req__pack_to_buffer
  981. + (const Sr__GetSchemaReq *message,
  982. + ProtobufCBuffer *buffer)
  983. +{
  984. + assert(message->base.descriptor == &sr__get_schema_req__descriptor);
  985. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  986. +}
  987. +Sr__GetSchemaReq *
  988. + sr__get_schema_req__unpack
  989. + (ProtobufCAllocator *allocator,
  990. + size_t len,
  991. + const uint8_t *data)
  992. +{
  993. + return (Sr__GetSchemaReq *)
  994. + protobuf_c_message_unpack (&sr__get_schema_req__descriptor,
  995. + allocator, len, data);
  996. +}
  997. +void sr__get_schema_req__free_unpacked
  998. + (Sr__GetSchemaReq *message,
  999. + ProtobufCAllocator *allocator)
  1000. +{
  1001. + assert(message->base.descriptor == &sr__get_schema_req__descriptor);
  1002. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1003. +}
  1004. +void sr__get_schema_resp__init
  1005. + (Sr__GetSchemaResp *message)
  1006. +{
  1007. + static Sr__GetSchemaResp init_value = SR__GET_SCHEMA_RESP__INIT;
  1008. + *message = init_value;
  1009. +}
  1010. +size_t sr__get_schema_resp__get_packed_size
  1011. + (const Sr__GetSchemaResp *message)
  1012. +{
  1013. + assert(message->base.descriptor == &sr__get_schema_resp__descriptor);
  1014. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1015. +}
  1016. +size_t sr__get_schema_resp__pack
  1017. + (const Sr__GetSchemaResp *message,
  1018. + uint8_t *out)
  1019. +{
  1020. + assert(message->base.descriptor == &sr__get_schema_resp__descriptor);
  1021. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1022. +}
  1023. +size_t sr__get_schema_resp__pack_to_buffer
  1024. + (const Sr__GetSchemaResp *message,
  1025. + ProtobufCBuffer *buffer)
  1026. +{
  1027. + assert(message->base.descriptor == &sr__get_schema_resp__descriptor);
  1028. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1029. +}
  1030. +Sr__GetSchemaResp *
  1031. + sr__get_schema_resp__unpack
  1032. + (ProtobufCAllocator *allocator,
  1033. + size_t len,
  1034. + const uint8_t *data)
  1035. +{
  1036. + return (Sr__GetSchemaResp *)
  1037. + protobuf_c_message_unpack (&sr__get_schema_resp__descriptor,
  1038. + allocator, len, data);
  1039. +}
  1040. +void sr__get_schema_resp__free_unpacked
  1041. + (Sr__GetSchemaResp *message,
  1042. + ProtobufCAllocator *allocator)
  1043. +{
  1044. + assert(message->base.descriptor == &sr__get_schema_resp__descriptor);
  1045. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1046. +}
  1047. +void sr__get_item_req__init
  1048. + (Sr__GetItemReq *message)
  1049. +{
  1050. + static Sr__GetItemReq init_value = SR__GET_ITEM_REQ__INIT;
  1051. + *message = init_value;
  1052. +}
  1053. +size_t sr__get_item_req__get_packed_size
  1054. + (const Sr__GetItemReq *message)
  1055. +{
  1056. + assert(message->base.descriptor == &sr__get_item_req__descriptor);
  1057. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1058. +}
  1059. +size_t sr__get_item_req__pack
  1060. + (const Sr__GetItemReq *message,
  1061. + uint8_t *out)
  1062. +{
  1063. + assert(message->base.descriptor == &sr__get_item_req__descriptor);
  1064. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1065. +}
  1066. +size_t sr__get_item_req__pack_to_buffer
  1067. + (const Sr__GetItemReq *message,
  1068. + ProtobufCBuffer *buffer)
  1069. +{
  1070. + assert(message->base.descriptor == &sr__get_item_req__descriptor);
  1071. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1072. +}
  1073. +Sr__GetItemReq *
  1074. + sr__get_item_req__unpack
  1075. + (ProtobufCAllocator *allocator,
  1076. + size_t len,
  1077. + const uint8_t *data)
  1078. +{
  1079. + return (Sr__GetItemReq *)
  1080. + protobuf_c_message_unpack (&sr__get_item_req__descriptor,
  1081. + allocator, len, data);
  1082. +}
  1083. +void sr__get_item_req__free_unpacked
  1084. + (Sr__GetItemReq *message,
  1085. + ProtobufCAllocator *allocator)
  1086. +{
  1087. + assert(message->base.descriptor == &sr__get_item_req__descriptor);
  1088. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1089. +}
  1090. +void sr__get_item_resp__init
  1091. + (Sr__GetItemResp *message)
  1092. +{
  1093. + static Sr__GetItemResp init_value = SR__GET_ITEM_RESP__INIT;
  1094. + *message = init_value;
  1095. +}
  1096. +size_t sr__get_item_resp__get_packed_size
  1097. + (const Sr__GetItemResp *message)
  1098. +{
  1099. + assert(message->base.descriptor == &sr__get_item_resp__descriptor);
  1100. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1101. +}
  1102. +size_t sr__get_item_resp__pack
  1103. + (const Sr__GetItemResp *message,
  1104. + uint8_t *out)
  1105. +{
  1106. + assert(message->base.descriptor == &sr__get_item_resp__descriptor);
  1107. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1108. +}
  1109. +size_t sr__get_item_resp__pack_to_buffer
  1110. + (const Sr__GetItemResp *message,
  1111. + ProtobufCBuffer *buffer)
  1112. +{
  1113. + assert(message->base.descriptor == &sr__get_item_resp__descriptor);
  1114. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1115. +}
  1116. +Sr__GetItemResp *
  1117. + sr__get_item_resp__unpack
  1118. + (ProtobufCAllocator *allocator,
  1119. + size_t len,
  1120. + const uint8_t *data)
  1121. +{
  1122. + return (Sr__GetItemResp *)
  1123. + protobuf_c_message_unpack (&sr__get_item_resp__descriptor,
  1124. + allocator, len, data);
  1125. +}
  1126. +void sr__get_item_resp__free_unpacked
  1127. + (Sr__GetItemResp *message,
  1128. + ProtobufCAllocator *allocator)
  1129. +{
  1130. + assert(message->base.descriptor == &sr__get_item_resp__descriptor);
  1131. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1132. +}
  1133. +void sr__get_items_req__init
  1134. + (Sr__GetItemsReq *message)
  1135. +{
  1136. + static Sr__GetItemsReq init_value = SR__GET_ITEMS_REQ__INIT;
  1137. + *message = init_value;
  1138. +}
  1139. +size_t sr__get_items_req__get_packed_size
  1140. + (const Sr__GetItemsReq *message)
  1141. +{
  1142. + assert(message->base.descriptor == &sr__get_items_req__descriptor);
  1143. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1144. +}
  1145. +size_t sr__get_items_req__pack
  1146. + (const Sr__GetItemsReq *message,
  1147. + uint8_t *out)
  1148. +{
  1149. + assert(message->base.descriptor == &sr__get_items_req__descriptor);
  1150. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1151. +}
  1152. +size_t sr__get_items_req__pack_to_buffer
  1153. + (const Sr__GetItemsReq *message,
  1154. + ProtobufCBuffer *buffer)
  1155. +{
  1156. + assert(message->base.descriptor == &sr__get_items_req__descriptor);
  1157. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1158. +}
  1159. +Sr__GetItemsReq *
  1160. + sr__get_items_req__unpack
  1161. + (ProtobufCAllocator *allocator,
  1162. + size_t len,
  1163. + const uint8_t *data)
  1164. +{
  1165. + return (Sr__GetItemsReq *)
  1166. + protobuf_c_message_unpack (&sr__get_items_req__descriptor,
  1167. + allocator, len, data);
  1168. +}
  1169. +void sr__get_items_req__free_unpacked
  1170. + (Sr__GetItemsReq *message,
  1171. + ProtobufCAllocator *allocator)
  1172. +{
  1173. + assert(message->base.descriptor == &sr__get_items_req__descriptor);
  1174. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1175. +}
  1176. +void sr__get_items_resp__init
  1177. + (Sr__GetItemsResp *message)
  1178. +{
  1179. + static Sr__GetItemsResp init_value = SR__GET_ITEMS_RESP__INIT;
  1180. + *message = init_value;
  1181. +}
  1182. +size_t sr__get_items_resp__get_packed_size
  1183. + (const Sr__GetItemsResp *message)
  1184. +{
  1185. + assert(message->base.descriptor == &sr__get_items_resp__descriptor);
  1186. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1187. +}
  1188. +size_t sr__get_items_resp__pack
  1189. + (const Sr__GetItemsResp *message,
  1190. + uint8_t *out)
  1191. +{
  1192. + assert(message->base.descriptor == &sr__get_items_resp__descriptor);
  1193. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1194. +}
  1195. +size_t sr__get_items_resp__pack_to_buffer
  1196. + (const Sr__GetItemsResp *message,
  1197. + ProtobufCBuffer *buffer)
  1198. +{
  1199. + assert(message->base.descriptor == &sr__get_items_resp__descriptor);
  1200. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1201. +}
  1202. +Sr__GetItemsResp *
  1203. + sr__get_items_resp__unpack
  1204. + (ProtobufCAllocator *allocator,
  1205. + size_t len,
  1206. + const uint8_t *data)
  1207. +{
  1208. + return (Sr__GetItemsResp *)
  1209. + protobuf_c_message_unpack (&sr__get_items_resp__descriptor,
  1210. + allocator, len, data);
  1211. +}
  1212. +void sr__get_items_resp__free_unpacked
  1213. + (Sr__GetItemsResp *message,
  1214. + ProtobufCAllocator *allocator)
  1215. +{
  1216. + assert(message->base.descriptor == &sr__get_items_resp__descriptor);
  1217. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1218. +}
  1219. +void sr__get_subtree_req__init
  1220. + (Sr__GetSubtreeReq *message)
  1221. +{
  1222. + static Sr__GetSubtreeReq init_value = SR__GET_SUBTREE_REQ__INIT;
  1223. + *message = init_value;
  1224. +}
  1225. +size_t sr__get_subtree_req__get_packed_size
  1226. + (const Sr__GetSubtreeReq *message)
  1227. +{
  1228. + assert(message->base.descriptor == &sr__get_subtree_req__descriptor);
  1229. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1230. +}
  1231. +size_t sr__get_subtree_req__pack
  1232. + (const Sr__GetSubtreeReq *message,
  1233. + uint8_t *out)
  1234. +{
  1235. + assert(message->base.descriptor == &sr__get_subtree_req__descriptor);
  1236. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1237. +}
  1238. +size_t sr__get_subtree_req__pack_to_buffer
  1239. + (const Sr__GetSubtreeReq *message,
  1240. + ProtobufCBuffer *buffer)
  1241. +{
  1242. + assert(message->base.descriptor == &sr__get_subtree_req__descriptor);
  1243. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1244. +}
  1245. +Sr__GetSubtreeReq *
  1246. + sr__get_subtree_req__unpack
  1247. + (ProtobufCAllocator *allocator,
  1248. + size_t len,
  1249. + const uint8_t *data)
  1250. +{
  1251. + return (Sr__GetSubtreeReq *)
  1252. + protobuf_c_message_unpack (&sr__get_subtree_req__descriptor,
  1253. + allocator, len, data);
  1254. +}
  1255. +void sr__get_subtree_req__free_unpacked
  1256. + (Sr__GetSubtreeReq *message,
  1257. + ProtobufCAllocator *allocator)
  1258. +{
  1259. + assert(message->base.descriptor == &sr__get_subtree_req__descriptor);
  1260. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1261. +}
  1262. +void sr__get_subtree_resp__init
  1263. + (Sr__GetSubtreeResp *message)
  1264. +{
  1265. + static Sr__GetSubtreeResp init_value = SR__GET_SUBTREE_RESP__INIT;
  1266. + *message = init_value;
  1267. +}
  1268. +size_t sr__get_subtree_resp__get_packed_size
  1269. + (const Sr__GetSubtreeResp *message)
  1270. +{
  1271. + assert(message->base.descriptor == &sr__get_subtree_resp__descriptor);
  1272. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1273. +}
  1274. +size_t sr__get_subtree_resp__pack
  1275. + (const Sr__GetSubtreeResp *message,
  1276. + uint8_t *out)
  1277. +{
  1278. + assert(message->base.descriptor == &sr__get_subtree_resp__descriptor);
  1279. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1280. +}
  1281. +size_t sr__get_subtree_resp__pack_to_buffer
  1282. + (const Sr__GetSubtreeResp *message,
  1283. + ProtobufCBuffer *buffer)
  1284. +{
  1285. + assert(message->base.descriptor == &sr__get_subtree_resp__descriptor);
  1286. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1287. +}
  1288. +Sr__GetSubtreeResp *
  1289. + sr__get_subtree_resp__unpack
  1290. + (ProtobufCAllocator *allocator,
  1291. + size_t len,
  1292. + const uint8_t *data)
  1293. +{
  1294. + return (Sr__GetSubtreeResp *)
  1295. + protobuf_c_message_unpack (&sr__get_subtree_resp__descriptor,
  1296. + allocator, len, data);
  1297. +}
  1298. +void sr__get_subtree_resp__free_unpacked
  1299. + (Sr__GetSubtreeResp *message,
  1300. + ProtobufCAllocator *allocator)
  1301. +{
  1302. + assert(message->base.descriptor == &sr__get_subtree_resp__descriptor);
  1303. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1304. +}
  1305. +void sr__get_subtrees_req__init
  1306. + (Sr__GetSubtreesReq *message)
  1307. +{
  1308. + static Sr__GetSubtreesReq init_value = SR__GET_SUBTREES_REQ__INIT;
  1309. + *message = init_value;
  1310. +}
  1311. +size_t sr__get_subtrees_req__get_packed_size
  1312. + (const Sr__GetSubtreesReq *message)
  1313. +{
  1314. + assert(message->base.descriptor == &sr__get_subtrees_req__descriptor);
  1315. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1316. +}
  1317. +size_t sr__get_subtrees_req__pack
  1318. + (const Sr__GetSubtreesReq *message,
  1319. + uint8_t *out)
  1320. +{
  1321. + assert(message->base.descriptor == &sr__get_subtrees_req__descriptor);
  1322. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1323. +}
  1324. +size_t sr__get_subtrees_req__pack_to_buffer
  1325. + (const Sr__GetSubtreesReq *message,
  1326. + ProtobufCBuffer *buffer)
  1327. +{
  1328. + assert(message->base.descriptor == &sr__get_subtrees_req__descriptor);
  1329. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1330. +}
  1331. +Sr__GetSubtreesReq *
  1332. + sr__get_subtrees_req__unpack
  1333. + (ProtobufCAllocator *allocator,
  1334. + size_t len,
  1335. + const uint8_t *data)
  1336. +{
  1337. + return (Sr__GetSubtreesReq *)
  1338. + protobuf_c_message_unpack (&sr__get_subtrees_req__descriptor,
  1339. + allocator, len, data);
  1340. +}
  1341. +void sr__get_subtrees_req__free_unpacked
  1342. + (Sr__GetSubtreesReq *message,
  1343. + ProtobufCAllocator *allocator)
  1344. +{
  1345. + assert(message->base.descriptor == &sr__get_subtrees_req__descriptor);
  1346. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1347. +}
  1348. +void sr__get_subtrees_resp__init
  1349. + (Sr__GetSubtreesResp *message)
  1350. +{
  1351. + static Sr__GetSubtreesResp init_value = SR__GET_SUBTREES_RESP__INIT;
  1352. + *message = init_value;
  1353. +}
  1354. +size_t sr__get_subtrees_resp__get_packed_size
  1355. + (const Sr__GetSubtreesResp *message)
  1356. +{
  1357. + assert(message->base.descriptor == &sr__get_subtrees_resp__descriptor);
  1358. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1359. +}
  1360. +size_t sr__get_subtrees_resp__pack
  1361. + (const Sr__GetSubtreesResp *message,
  1362. + uint8_t *out)
  1363. +{
  1364. + assert(message->base.descriptor == &sr__get_subtrees_resp__descriptor);
  1365. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1366. +}
  1367. +size_t sr__get_subtrees_resp__pack_to_buffer
  1368. + (const Sr__GetSubtreesResp *message,
  1369. + ProtobufCBuffer *buffer)
  1370. +{
  1371. + assert(message->base.descriptor == &sr__get_subtrees_resp__descriptor);
  1372. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1373. +}
  1374. +Sr__GetSubtreesResp *
  1375. + sr__get_subtrees_resp__unpack
  1376. + (ProtobufCAllocator *allocator,
  1377. + size_t len,
  1378. + const uint8_t *data)
  1379. +{
  1380. + return (Sr__GetSubtreesResp *)
  1381. + protobuf_c_message_unpack (&sr__get_subtrees_resp__descriptor,
  1382. + allocator, len, data);
  1383. +}
  1384. +void sr__get_subtrees_resp__free_unpacked
  1385. + (Sr__GetSubtreesResp *message,
  1386. + ProtobufCAllocator *allocator)
  1387. +{
  1388. + assert(message->base.descriptor == &sr__get_subtrees_resp__descriptor);
  1389. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1390. +}
  1391. +void sr__get_subtree_chunk_req__init
  1392. + (Sr__GetSubtreeChunkReq *message)
  1393. +{
  1394. + static Sr__GetSubtreeChunkReq init_value = SR__GET_SUBTREE_CHUNK_REQ__INIT;
  1395. + *message = init_value;
  1396. +}
  1397. +size_t sr__get_subtree_chunk_req__get_packed_size
  1398. + (const Sr__GetSubtreeChunkReq *message)
  1399. +{
  1400. + assert(message->base.descriptor == &sr__get_subtree_chunk_req__descriptor);
  1401. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1402. +}
  1403. +size_t sr__get_subtree_chunk_req__pack
  1404. + (const Sr__GetSubtreeChunkReq *message,
  1405. + uint8_t *out)
  1406. +{
  1407. + assert(message->base.descriptor == &sr__get_subtree_chunk_req__descriptor);
  1408. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1409. +}
  1410. +size_t sr__get_subtree_chunk_req__pack_to_buffer
  1411. + (const Sr__GetSubtreeChunkReq *message,
  1412. + ProtobufCBuffer *buffer)
  1413. +{
  1414. + assert(message->base.descriptor == &sr__get_subtree_chunk_req__descriptor);
  1415. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1416. +}
  1417. +Sr__GetSubtreeChunkReq *
  1418. + sr__get_subtree_chunk_req__unpack
  1419. + (ProtobufCAllocator *allocator,
  1420. + size_t len,
  1421. + const uint8_t *data)
  1422. +{
  1423. + return (Sr__GetSubtreeChunkReq *)
  1424. + protobuf_c_message_unpack (&sr__get_subtree_chunk_req__descriptor,
  1425. + allocator, len, data);
  1426. +}
  1427. +void sr__get_subtree_chunk_req__free_unpacked
  1428. + (Sr__GetSubtreeChunkReq *message,
  1429. + ProtobufCAllocator *allocator)
  1430. +{
  1431. + assert(message->base.descriptor == &sr__get_subtree_chunk_req__descriptor);
  1432. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1433. +}
  1434. +void sr__get_subtree_chunk_resp__init
  1435. + (Sr__GetSubtreeChunkResp *message)
  1436. +{
  1437. + static Sr__GetSubtreeChunkResp init_value = SR__GET_SUBTREE_CHUNK_RESP__INIT;
  1438. + *message = init_value;
  1439. +}
  1440. +size_t sr__get_subtree_chunk_resp__get_packed_size
  1441. + (const Sr__GetSubtreeChunkResp *message)
  1442. +{
  1443. + assert(message->base.descriptor == &sr__get_subtree_chunk_resp__descriptor);
  1444. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1445. +}
  1446. +size_t sr__get_subtree_chunk_resp__pack
  1447. + (const Sr__GetSubtreeChunkResp *message,
  1448. + uint8_t *out)
  1449. +{
  1450. + assert(message->base.descriptor == &sr__get_subtree_chunk_resp__descriptor);
  1451. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1452. +}
  1453. +size_t sr__get_subtree_chunk_resp__pack_to_buffer
  1454. + (const Sr__GetSubtreeChunkResp *message,
  1455. + ProtobufCBuffer *buffer)
  1456. +{
  1457. + assert(message->base.descriptor == &sr__get_subtree_chunk_resp__descriptor);
  1458. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1459. +}
  1460. +Sr__GetSubtreeChunkResp *
  1461. + sr__get_subtree_chunk_resp__unpack
  1462. + (ProtobufCAllocator *allocator,
  1463. + size_t len,
  1464. + const uint8_t *data)
  1465. +{
  1466. + return (Sr__GetSubtreeChunkResp *)
  1467. + protobuf_c_message_unpack (&sr__get_subtree_chunk_resp__descriptor,
  1468. + allocator, len, data);
  1469. +}
  1470. +void sr__get_subtree_chunk_resp__free_unpacked
  1471. + (Sr__GetSubtreeChunkResp *message,
  1472. + ProtobufCAllocator *allocator)
  1473. +{
  1474. + assert(message->base.descriptor == &sr__get_subtree_chunk_resp__descriptor);
  1475. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1476. +}
  1477. +void sr__set_item_req__init
  1478. + (Sr__SetItemReq *message)
  1479. +{
  1480. + static Sr__SetItemReq init_value = SR__SET_ITEM_REQ__INIT;
  1481. + *message = init_value;
  1482. +}
  1483. +size_t sr__set_item_req__get_packed_size
  1484. + (const Sr__SetItemReq *message)
  1485. +{
  1486. + assert(message->base.descriptor == &sr__set_item_req__descriptor);
  1487. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1488. +}
  1489. +size_t sr__set_item_req__pack
  1490. + (const Sr__SetItemReq *message,
  1491. + uint8_t *out)
  1492. +{
  1493. + assert(message->base.descriptor == &sr__set_item_req__descriptor);
  1494. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1495. +}
  1496. +size_t sr__set_item_req__pack_to_buffer
  1497. + (const Sr__SetItemReq *message,
  1498. + ProtobufCBuffer *buffer)
  1499. +{
  1500. + assert(message->base.descriptor == &sr__set_item_req__descriptor);
  1501. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1502. +}
  1503. +Sr__SetItemReq *
  1504. + sr__set_item_req__unpack
  1505. + (ProtobufCAllocator *allocator,
  1506. + size_t len,
  1507. + const uint8_t *data)
  1508. +{
  1509. + return (Sr__SetItemReq *)
  1510. + protobuf_c_message_unpack (&sr__set_item_req__descriptor,
  1511. + allocator, len, data);
  1512. +}
  1513. +void sr__set_item_req__free_unpacked
  1514. + (Sr__SetItemReq *message,
  1515. + ProtobufCAllocator *allocator)
  1516. +{
  1517. + assert(message->base.descriptor == &sr__set_item_req__descriptor);
  1518. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1519. +}
  1520. +void sr__set_item_resp__init
  1521. + (Sr__SetItemResp *message)
  1522. +{
  1523. + static Sr__SetItemResp init_value = SR__SET_ITEM_RESP__INIT;
  1524. + *message = init_value;
  1525. +}
  1526. +size_t sr__set_item_resp__get_packed_size
  1527. + (const Sr__SetItemResp *message)
  1528. +{
  1529. + assert(message->base.descriptor == &sr__set_item_resp__descriptor);
  1530. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1531. +}
  1532. +size_t sr__set_item_resp__pack
  1533. + (const Sr__SetItemResp *message,
  1534. + uint8_t *out)
  1535. +{
  1536. + assert(message->base.descriptor == &sr__set_item_resp__descriptor);
  1537. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1538. +}
  1539. +size_t sr__set_item_resp__pack_to_buffer
  1540. + (const Sr__SetItemResp *message,
  1541. + ProtobufCBuffer *buffer)
  1542. +{
  1543. + assert(message->base.descriptor == &sr__set_item_resp__descriptor);
  1544. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1545. +}
  1546. +Sr__SetItemResp *
  1547. + sr__set_item_resp__unpack
  1548. + (ProtobufCAllocator *allocator,
  1549. + size_t len,
  1550. + const uint8_t *data)
  1551. +{
  1552. + return (Sr__SetItemResp *)
  1553. + protobuf_c_message_unpack (&sr__set_item_resp__descriptor,
  1554. + allocator, len, data);
  1555. +}
  1556. +void sr__set_item_resp__free_unpacked
  1557. + (Sr__SetItemResp *message,
  1558. + ProtobufCAllocator *allocator)
  1559. +{
  1560. + assert(message->base.descriptor == &sr__set_item_resp__descriptor);
  1561. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1562. +}
  1563. +void sr__set_item_str_req__init
  1564. + (Sr__SetItemStrReq *message)
  1565. +{
  1566. + static Sr__SetItemStrReq init_value = SR__SET_ITEM_STR_REQ__INIT;
  1567. + *message = init_value;
  1568. +}
  1569. +size_t sr__set_item_str_req__get_packed_size
  1570. + (const Sr__SetItemStrReq *message)
  1571. +{
  1572. + assert(message->base.descriptor == &sr__set_item_str_req__descriptor);
  1573. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1574. +}
  1575. +size_t sr__set_item_str_req__pack
  1576. + (const Sr__SetItemStrReq *message,
  1577. + uint8_t *out)
  1578. +{
  1579. + assert(message->base.descriptor == &sr__set_item_str_req__descriptor);
  1580. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1581. +}
  1582. +size_t sr__set_item_str_req__pack_to_buffer
  1583. + (const Sr__SetItemStrReq *message,
  1584. + ProtobufCBuffer *buffer)
  1585. +{
  1586. + assert(message->base.descriptor == &sr__set_item_str_req__descriptor);
  1587. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1588. +}
  1589. +Sr__SetItemStrReq *
  1590. + sr__set_item_str_req__unpack
  1591. + (ProtobufCAllocator *allocator,
  1592. + size_t len,
  1593. + const uint8_t *data)
  1594. +{
  1595. + return (Sr__SetItemStrReq *)
  1596. + protobuf_c_message_unpack (&sr__set_item_str_req__descriptor,
  1597. + allocator, len, data);
  1598. +}
  1599. +void sr__set_item_str_req__free_unpacked
  1600. + (Sr__SetItemStrReq *message,
  1601. + ProtobufCAllocator *allocator)
  1602. +{
  1603. + assert(message->base.descriptor == &sr__set_item_str_req__descriptor);
  1604. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1605. +}
  1606. +void sr__set_item_str_resp__init
  1607. + (Sr__SetItemStrResp *message)
  1608. +{
  1609. + static Sr__SetItemStrResp init_value = SR__SET_ITEM_STR_RESP__INIT;
  1610. + *message = init_value;
  1611. +}
  1612. +size_t sr__set_item_str_resp__get_packed_size
  1613. + (const Sr__SetItemStrResp *message)
  1614. +{
  1615. + assert(message->base.descriptor == &sr__set_item_str_resp__descriptor);
  1616. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1617. +}
  1618. +size_t sr__set_item_str_resp__pack
  1619. + (const Sr__SetItemStrResp *message,
  1620. + uint8_t *out)
  1621. +{
  1622. + assert(message->base.descriptor == &sr__set_item_str_resp__descriptor);
  1623. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1624. +}
  1625. +size_t sr__set_item_str_resp__pack_to_buffer
  1626. + (const Sr__SetItemStrResp *message,
  1627. + ProtobufCBuffer *buffer)
  1628. +{
  1629. + assert(message->base.descriptor == &sr__set_item_str_resp__descriptor);
  1630. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1631. +}
  1632. +Sr__SetItemStrResp *
  1633. + sr__set_item_str_resp__unpack
  1634. + (ProtobufCAllocator *allocator,
  1635. + size_t len,
  1636. + const uint8_t *data)
  1637. +{
  1638. + return (Sr__SetItemStrResp *)
  1639. + protobuf_c_message_unpack (&sr__set_item_str_resp__descriptor,
  1640. + allocator, len, data);
  1641. +}
  1642. +void sr__set_item_str_resp__free_unpacked
  1643. + (Sr__SetItemStrResp *message,
  1644. + ProtobufCAllocator *allocator)
  1645. +{
  1646. + assert(message->base.descriptor == &sr__set_item_str_resp__descriptor);
  1647. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1648. +}
  1649. +void sr__delete_item_req__init
  1650. + (Sr__DeleteItemReq *message)
  1651. +{
  1652. + static Sr__DeleteItemReq init_value = SR__DELETE_ITEM_REQ__INIT;
  1653. + *message = init_value;
  1654. +}
  1655. +size_t sr__delete_item_req__get_packed_size
  1656. + (const Sr__DeleteItemReq *message)
  1657. +{
  1658. + assert(message->base.descriptor == &sr__delete_item_req__descriptor);
  1659. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1660. +}
  1661. +size_t sr__delete_item_req__pack
  1662. + (const Sr__DeleteItemReq *message,
  1663. + uint8_t *out)
  1664. +{
  1665. + assert(message->base.descriptor == &sr__delete_item_req__descriptor);
  1666. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1667. +}
  1668. +size_t sr__delete_item_req__pack_to_buffer
  1669. + (const Sr__DeleteItemReq *message,
  1670. + ProtobufCBuffer *buffer)
  1671. +{
  1672. + assert(message->base.descriptor == &sr__delete_item_req__descriptor);
  1673. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1674. +}
  1675. +Sr__DeleteItemReq *
  1676. + sr__delete_item_req__unpack
  1677. + (ProtobufCAllocator *allocator,
  1678. + size_t len,
  1679. + const uint8_t *data)
  1680. +{
  1681. + return (Sr__DeleteItemReq *)
  1682. + protobuf_c_message_unpack (&sr__delete_item_req__descriptor,
  1683. + allocator, len, data);
  1684. +}
  1685. +void sr__delete_item_req__free_unpacked
  1686. + (Sr__DeleteItemReq *message,
  1687. + ProtobufCAllocator *allocator)
  1688. +{
  1689. + assert(message->base.descriptor == &sr__delete_item_req__descriptor);
  1690. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1691. +}
  1692. +void sr__delete_item_resp__init
  1693. + (Sr__DeleteItemResp *message)
  1694. +{
  1695. + static Sr__DeleteItemResp init_value = SR__DELETE_ITEM_RESP__INIT;
  1696. + *message = init_value;
  1697. +}
  1698. +size_t sr__delete_item_resp__get_packed_size
  1699. + (const Sr__DeleteItemResp *message)
  1700. +{
  1701. + assert(message->base.descriptor == &sr__delete_item_resp__descriptor);
  1702. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1703. +}
  1704. +size_t sr__delete_item_resp__pack
  1705. + (const Sr__DeleteItemResp *message,
  1706. + uint8_t *out)
  1707. +{
  1708. + assert(message->base.descriptor == &sr__delete_item_resp__descriptor);
  1709. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1710. +}
  1711. +size_t sr__delete_item_resp__pack_to_buffer
  1712. + (const Sr__DeleteItemResp *message,
  1713. + ProtobufCBuffer *buffer)
  1714. +{
  1715. + assert(message->base.descriptor == &sr__delete_item_resp__descriptor);
  1716. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1717. +}
  1718. +Sr__DeleteItemResp *
  1719. + sr__delete_item_resp__unpack
  1720. + (ProtobufCAllocator *allocator,
  1721. + size_t len,
  1722. + const uint8_t *data)
  1723. +{
  1724. + return (Sr__DeleteItemResp *)
  1725. + protobuf_c_message_unpack (&sr__delete_item_resp__descriptor,
  1726. + allocator, len, data);
  1727. +}
  1728. +void sr__delete_item_resp__free_unpacked
  1729. + (Sr__DeleteItemResp *message,
  1730. + ProtobufCAllocator *allocator)
  1731. +{
  1732. + assert(message->base.descriptor == &sr__delete_item_resp__descriptor);
  1733. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1734. +}
  1735. +void sr__move_item_req__init
  1736. + (Sr__MoveItemReq *message)
  1737. +{
  1738. + static Sr__MoveItemReq init_value = SR__MOVE_ITEM_REQ__INIT;
  1739. + *message = init_value;
  1740. +}
  1741. +size_t sr__move_item_req__get_packed_size
  1742. + (const Sr__MoveItemReq *message)
  1743. +{
  1744. + assert(message->base.descriptor == &sr__move_item_req__descriptor);
  1745. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1746. +}
  1747. +size_t sr__move_item_req__pack
  1748. + (const Sr__MoveItemReq *message,
  1749. + uint8_t *out)
  1750. +{
  1751. + assert(message->base.descriptor == &sr__move_item_req__descriptor);
  1752. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1753. +}
  1754. +size_t sr__move_item_req__pack_to_buffer
  1755. + (const Sr__MoveItemReq *message,
  1756. + ProtobufCBuffer *buffer)
  1757. +{
  1758. + assert(message->base.descriptor == &sr__move_item_req__descriptor);
  1759. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1760. +}
  1761. +Sr__MoveItemReq *
  1762. + sr__move_item_req__unpack
  1763. + (ProtobufCAllocator *allocator,
  1764. + size_t len,
  1765. + const uint8_t *data)
  1766. +{
  1767. + return (Sr__MoveItemReq *)
  1768. + protobuf_c_message_unpack (&sr__move_item_req__descriptor,
  1769. + allocator, len, data);
  1770. +}
  1771. +void sr__move_item_req__free_unpacked
  1772. + (Sr__MoveItemReq *message,
  1773. + ProtobufCAllocator *allocator)
  1774. +{
  1775. + assert(message->base.descriptor == &sr__move_item_req__descriptor);
  1776. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1777. +}
  1778. +void sr__move_item_resp__init
  1779. + (Sr__MoveItemResp *message)
  1780. +{
  1781. + static Sr__MoveItemResp init_value = SR__MOVE_ITEM_RESP__INIT;
  1782. + *message = init_value;
  1783. +}
  1784. +size_t sr__move_item_resp__get_packed_size
  1785. + (const Sr__MoveItemResp *message)
  1786. +{
  1787. + assert(message->base.descriptor == &sr__move_item_resp__descriptor);
  1788. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1789. +}
  1790. +size_t sr__move_item_resp__pack
  1791. + (const Sr__MoveItemResp *message,
  1792. + uint8_t *out)
  1793. +{
  1794. + assert(message->base.descriptor == &sr__move_item_resp__descriptor);
  1795. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1796. +}
  1797. +size_t sr__move_item_resp__pack_to_buffer
  1798. + (const Sr__MoveItemResp *message,
  1799. + ProtobufCBuffer *buffer)
  1800. +{
  1801. + assert(message->base.descriptor == &sr__move_item_resp__descriptor);
  1802. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1803. +}
  1804. +Sr__MoveItemResp *
  1805. + sr__move_item_resp__unpack
  1806. + (ProtobufCAllocator *allocator,
  1807. + size_t len,
  1808. + const uint8_t *data)
  1809. +{
  1810. + return (Sr__MoveItemResp *)
  1811. + protobuf_c_message_unpack (&sr__move_item_resp__descriptor,
  1812. + allocator, len, data);
  1813. +}
  1814. +void sr__move_item_resp__free_unpacked
  1815. + (Sr__MoveItemResp *message,
  1816. + ProtobufCAllocator *allocator)
  1817. +{
  1818. + assert(message->base.descriptor == &sr__move_item_resp__descriptor);
  1819. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1820. +}
  1821. +void sr__validate_req__init
  1822. + (Sr__ValidateReq *message)
  1823. +{
  1824. + static Sr__ValidateReq init_value = SR__VALIDATE_REQ__INIT;
  1825. + *message = init_value;
  1826. +}
  1827. +size_t sr__validate_req__get_packed_size
  1828. + (const Sr__ValidateReq *message)
  1829. +{
  1830. + assert(message->base.descriptor == &sr__validate_req__descriptor);
  1831. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1832. +}
  1833. +size_t sr__validate_req__pack
  1834. + (const Sr__ValidateReq *message,
  1835. + uint8_t *out)
  1836. +{
  1837. + assert(message->base.descriptor == &sr__validate_req__descriptor);
  1838. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1839. +}
  1840. +size_t sr__validate_req__pack_to_buffer
  1841. + (const Sr__ValidateReq *message,
  1842. + ProtobufCBuffer *buffer)
  1843. +{
  1844. + assert(message->base.descriptor == &sr__validate_req__descriptor);
  1845. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1846. +}
  1847. +Sr__ValidateReq *
  1848. + sr__validate_req__unpack
  1849. + (ProtobufCAllocator *allocator,
  1850. + size_t len,
  1851. + const uint8_t *data)
  1852. +{
  1853. + return (Sr__ValidateReq *)
  1854. + protobuf_c_message_unpack (&sr__validate_req__descriptor,
  1855. + allocator, len, data);
  1856. +}
  1857. +void sr__validate_req__free_unpacked
  1858. + (Sr__ValidateReq *message,
  1859. + ProtobufCAllocator *allocator)
  1860. +{
  1861. + assert(message->base.descriptor == &sr__validate_req__descriptor);
  1862. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1863. +}
  1864. +void sr__validate_resp__init
  1865. + (Sr__ValidateResp *message)
  1866. +{
  1867. + static Sr__ValidateResp init_value = SR__VALIDATE_RESP__INIT;
  1868. + *message = init_value;
  1869. +}
  1870. +size_t sr__validate_resp__get_packed_size
  1871. + (const Sr__ValidateResp *message)
  1872. +{
  1873. + assert(message->base.descriptor == &sr__validate_resp__descriptor);
  1874. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1875. +}
  1876. +size_t sr__validate_resp__pack
  1877. + (const Sr__ValidateResp *message,
  1878. + uint8_t *out)
  1879. +{
  1880. + assert(message->base.descriptor == &sr__validate_resp__descriptor);
  1881. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1882. +}
  1883. +size_t sr__validate_resp__pack_to_buffer
  1884. + (const Sr__ValidateResp *message,
  1885. + ProtobufCBuffer *buffer)
  1886. +{
  1887. + assert(message->base.descriptor == &sr__validate_resp__descriptor);
  1888. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1889. +}
  1890. +Sr__ValidateResp *
  1891. + sr__validate_resp__unpack
  1892. + (ProtobufCAllocator *allocator,
  1893. + size_t len,
  1894. + const uint8_t *data)
  1895. +{
  1896. + return (Sr__ValidateResp *)
  1897. + protobuf_c_message_unpack (&sr__validate_resp__descriptor,
  1898. + allocator, len, data);
  1899. +}
  1900. +void sr__validate_resp__free_unpacked
  1901. + (Sr__ValidateResp *message,
  1902. + ProtobufCAllocator *allocator)
  1903. +{
  1904. + assert(message->base.descriptor == &sr__validate_resp__descriptor);
  1905. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1906. +}
  1907. +void sr__commit_req__init
  1908. + (Sr__CommitReq *message)
  1909. +{
  1910. + static Sr__CommitReq init_value = SR__COMMIT_REQ__INIT;
  1911. + *message = init_value;
  1912. +}
  1913. +size_t sr__commit_req__get_packed_size
  1914. + (const Sr__CommitReq *message)
  1915. +{
  1916. + assert(message->base.descriptor == &sr__commit_req__descriptor);
  1917. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1918. +}
  1919. +size_t sr__commit_req__pack
  1920. + (const Sr__CommitReq *message,
  1921. + uint8_t *out)
  1922. +{
  1923. + assert(message->base.descriptor == &sr__commit_req__descriptor);
  1924. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1925. +}
  1926. +size_t sr__commit_req__pack_to_buffer
  1927. + (const Sr__CommitReq *message,
  1928. + ProtobufCBuffer *buffer)
  1929. +{
  1930. + assert(message->base.descriptor == &sr__commit_req__descriptor);
  1931. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1932. +}
  1933. +Sr__CommitReq *
  1934. + sr__commit_req__unpack
  1935. + (ProtobufCAllocator *allocator,
  1936. + size_t len,
  1937. + const uint8_t *data)
  1938. +{
  1939. + return (Sr__CommitReq *)
  1940. + protobuf_c_message_unpack (&sr__commit_req__descriptor,
  1941. + allocator, len, data);
  1942. +}
  1943. +void sr__commit_req__free_unpacked
  1944. + (Sr__CommitReq *message,
  1945. + ProtobufCAllocator *allocator)
  1946. +{
  1947. + assert(message->base.descriptor == &sr__commit_req__descriptor);
  1948. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1949. +}
  1950. +void sr__commit_resp__init
  1951. + (Sr__CommitResp *message)
  1952. +{
  1953. + static Sr__CommitResp init_value = SR__COMMIT_RESP__INIT;
  1954. + *message = init_value;
  1955. +}
  1956. +size_t sr__commit_resp__get_packed_size
  1957. + (const Sr__CommitResp *message)
  1958. +{
  1959. + assert(message->base.descriptor == &sr__commit_resp__descriptor);
  1960. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  1961. +}
  1962. +size_t sr__commit_resp__pack
  1963. + (const Sr__CommitResp *message,
  1964. + uint8_t *out)
  1965. +{
  1966. + assert(message->base.descriptor == &sr__commit_resp__descriptor);
  1967. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  1968. +}
  1969. +size_t sr__commit_resp__pack_to_buffer
  1970. + (const Sr__CommitResp *message,
  1971. + ProtobufCBuffer *buffer)
  1972. +{
  1973. + assert(message->base.descriptor == &sr__commit_resp__descriptor);
  1974. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  1975. +}
  1976. +Sr__CommitResp *
  1977. + sr__commit_resp__unpack
  1978. + (ProtobufCAllocator *allocator,
  1979. + size_t len,
  1980. + const uint8_t *data)
  1981. +{
  1982. + return (Sr__CommitResp *)
  1983. + protobuf_c_message_unpack (&sr__commit_resp__descriptor,
  1984. + allocator, len, data);
  1985. +}
  1986. +void sr__commit_resp__free_unpacked
  1987. + (Sr__CommitResp *message,
  1988. + ProtobufCAllocator *allocator)
  1989. +{
  1990. + assert(message->base.descriptor == &sr__commit_resp__descriptor);
  1991. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  1992. +}
  1993. +void sr__discard_changes_req__init
  1994. + (Sr__DiscardChangesReq *message)
  1995. +{
  1996. + static Sr__DiscardChangesReq init_value = SR__DISCARD_CHANGES_REQ__INIT;
  1997. + *message = init_value;
  1998. +}
  1999. +size_t sr__discard_changes_req__get_packed_size
  2000. + (const Sr__DiscardChangesReq *message)
  2001. +{
  2002. + assert(message->base.descriptor == &sr__discard_changes_req__descriptor);
  2003. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2004. +}
  2005. +size_t sr__discard_changes_req__pack
  2006. + (const Sr__DiscardChangesReq *message,
  2007. + uint8_t *out)
  2008. +{
  2009. + assert(message->base.descriptor == &sr__discard_changes_req__descriptor);
  2010. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2011. +}
  2012. +size_t sr__discard_changes_req__pack_to_buffer
  2013. + (const Sr__DiscardChangesReq *message,
  2014. + ProtobufCBuffer *buffer)
  2015. +{
  2016. + assert(message->base.descriptor == &sr__discard_changes_req__descriptor);
  2017. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2018. +}
  2019. +Sr__DiscardChangesReq *
  2020. + sr__discard_changes_req__unpack
  2021. + (ProtobufCAllocator *allocator,
  2022. + size_t len,
  2023. + const uint8_t *data)
  2024. +{
  2025. + return (Sr__DiscardChangesReq *)
  2026. + protobuf_c_message_unpack (&sr__discard_changes_req__descriptor,
  2027. + allocator, len, data);
  2028. +}
  2029. +void sr__discard_changes_req__free_unpacked
  2030. + (Sr__DiscardChangesReq *message,
  2031. + ProtobufCAllocator *allocator)
  2032. +{
  2033. + assert(message->base.descriptor == &sr__discard_changes_req__descriptor);
  2034. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2035. +}
  2036. +void sr__discard_changes_resp__init
  2037. + (Sr__DiscardChangesResp *message)
  2038. +{
  2039. + static Sr__DiscardChangesResp init_value = SR__DISCARD_CHANGES_RESP__INIT;
  2040. + *message = init_value;
  2041. +}
  2042. +size_t sr__discard_changes_resp__get_packed_size
  2043. + (const Sr__DiscardChangesResp *message)
  2044. +{
  2045. + assert(message->base.descriptor == &sr__discard_changes_resp__descriptor);
  2046. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2047. +}
  2048. +size_t sr__discard_changes_resp__pack
  2049. + (const Sr__DiscardChangesResp *message,
  2050. + uint8_t *out)
  2051. +{
  2052. + assert(message->base.descriptor == &sr__discard_changes_resp__descriptor);
  2053. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2054. +}
  2055. +size_t sr__discard_changes_resp__pack_to_buffer
  2056. + (const Sr__DiscardChangesResp *message,
  2057. + ProtobufCBuffer *buffer)
  2058. +{
  2059. + assert(message->base.descriptor == &sr__discard_changes_resp__descriptor);
  2060. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2061. +}
  2062. +Sr__DiscardChangesResp *
  2063. + sr__discard_changes_resp__unpack
  2064. + (ProtobufCAllocator *allocator,
  2065. + size_t len,
  2066. + const uint8_t *data)
  2067. +{
  2068. + return (Sr__DiscardChangesResp *)
  2069. + protobuf_c_message_unpack (&sr__discard_changes_resp__descriptor,
  2070. + allocator, len, data);
  2071. +}
  2072. +void sr__discard_changes_resp__free_unpacked
  2073. + (Sr__DiscardChangesResp *message,
  2074. + ProtobufCAllocator *allocator)
  2075. +{
  2076. + assert(message->base.descriptor == &sr__discard_changes_resp__descriptor);
  2077. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2078. +}
  2079. +void sr__copy_config_req__init
  2080. + (Sr__CopyConfigReq *message)
  2081. +{
  2082. + static Sr__CopyConfigReq init_value = SR__COPY_CONFIG_REQ__INIT;
  2083. + *message = init_value;
  2084. +}
  2085. +size_t sr__copy_config_req__get_packed_size
  2086. + (const Sr__CopyConfigReq *message)
  2087. +{
  2088. + assert(message->base.descriptor == &sr__copy_config_req__descriptor);
  2089. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2090. +}
  2091. +size_t sr__copy_config_req__pack
  2092. + (const Sr__CopyConfigReq *message,
  2093. + uint8_t *out)
  2094. +{
  2095. + assert(message->base.descriptor == &sr__copy_config_req__descriptor);
  2096. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2097. +}
  2098. +size_t sr__copy_config_req__pack_to_buffer
  2099. + (const Sr__CopyConfigReq *message,
  2100. + ProtobufCBuffer *buffer)
  2101. +{
  2102. + assert(message->base.descriptor == &sr__copy_config_req__descriptor);
  2103. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2104. +}
  2105. +Sr__CopyConfigReq *
  2106. + sr__copy_config_req__unpack
  2107. + (ProtobufCAllocator *allocator,
  2108. + size_t len,
  2109. + const uint8_t *data)
  2110. +{
  2111. + return (Sr__CopyConfigReq *)
  2112. + protobuf_c_message_unpack (&sr__copy_config_req__descriptor,
  2113. + allocator, len, data);
  2114. +}
  2115. +void sr__copy_config_req__free_unpacked
  2116. + (Sr__CopyConfigReq *message,
  2117. + ProtobufCAllocator *allocator)
  2118. +{
  2119. + assert(message->base.descriptor == &sr__copy_config_req__descriptor);
  2120. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2121. +}
  2122. +void sr__copy_config_resp__init
  2123. + (Sr__CopyConfigResp *message)
  2124. +{
  2125. + static Sr__CopyConfigResp init_value = SR__COPY_CONFIG_RESP__INIT;
  2126. + *message = init_value;
  2127. +}
  2128. +size_t sr__copy_config_resp__get_packed_size
  2129. + (const Sr__CopyConfigResp *message)
  2130. +{
  2131. + assert(message->base.descriptor == &sr__copy_config_resp__descriptor);
  2132. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2133. +}
  2134. +size_t sr__copy_config_resp__pack
  2135. + (const Sr__CopyConfigResp *message,
  2136. + uint8_t *out)
  2137. +{
  2138. + assert(message->base.descriptor == &sr__copy_config_resp__descriptor);
  2139. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2140. +}
  2141. +size_t sr__copy_config_resp__pack_to_buffer
  2142. + (const Sr__CopyConfigResp *message,
  2143. + ProtobufCBuffer *buffer)
  2144. +{
  2145. + assert(message->base.descriptor == &sr__copy_config_resp__descriptor);
  2146. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2147. +}
  2148. +Sr__CopyConfigResp *
  2149. + sr__copy_config_resp__unpack
  2150. + (ProtobufCAllocator *allocator,
  2151. + size_t len,
  2152. + const uint8_t *data)
  2153. +{
  2154. + return (Sr__CopyConfigResp *)
  2155. + protobuf_c_message_unpack (&sr__copy_config_resp__descriptor,
  2156. + allocator, len, data);
  2157. +}
  2158. +void sr__copy_config_resp__free_unpacked
  2159. + (Sr__CopyConfigResp *message,
  2160. + ProtobufCAllocator *allocator)
  2161. +{
  2162. + assert(message->base.descriptor == &sr__copy_config_resp__descriptor);
  2163. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2164. +}
  2165. +void sr__lock_req__init
  2166. + (Sr__LockReq *message)
  2167. +{
  2168. + static Sr__LockReq init_value = SR__LOCK_REQ__INIT;
  2169. + *message = init_value;
  2170. +}
  2171. +size_t sr__lock_req__get_packed_size
  2172. + (const Sr__LockReq *message)
  2173. +{
  2174. + assert(message->base.descriptor == &sr__lock_req__descriptor);
  2175. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2176. +}
  2177. +size_t sr__lock_req__pack
  2178. + (const Sr__LockReq *message,
  2179. + uint8_t *out)
  2180. +{
  2181. + assert(message->base.descriptor == &sr__lock_req__descriptor);
  2182. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2183. +}
  2184. +size_t sr__lock_req__pack_to_buffer
  2185. + (const Sr__LockReq *message,
  2186. + ProtobufCBuffer *buffer)
  2187. +{
  2188. + assert(message->base.descriptor == &sr__lock_req__descriptor);
  2189. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2190. +}
  2191. +Sr__LockReq *
  2192. + sr__lock_req__unpack
  2193. + (ProtobufCAllocator *allocator,
  2194. + size_t len,
  2195. + const uint8_t *data)
  2196. +{
  2197. + return (Sr__LockReq *)
  2198. + protobuf_c_message_unpack (&sr__lock_req__descriptor,
  2199. + allocator, len, data);
  2200. +}
  2201. +void sr__lock_req__free_unpacked
  2202. + (Sr__LockReq *message,
  2203. + ProtobufCAllocator *allocator)
  2204. +{
  2205. + assert(message->base.descriptor == &sr__lock_req__descriptor);
  2206. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2207. +}
  2208. +void sr__lock_resp__init
  2209. + (Sr__LockResp *message)
  2210. +{
  2211. + static Sr__LockResp init_value = SR__LOCK_RESP__INIT;
  2212. + *message = init_value;
  2213. +}
  2214. +size_t sr__lock_resp__get_packed_size
  2215. + (const Sr__LockResp *message)
  2216. +{
  2217. + assert(message->base.descriptor == &sr__lock_resp__descriptor);
  2218. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2219. +}
  2220. +size_t sr__lock_resp__pack
  2221. + (const Sr__LockResp *message,
  2222. + uint8_t *out)
  2223. +{
  2224. + assert(message->base.descriptor == &sr__lock_resp__descriptor);
  2225. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2226. +}
  2227. +size_t sr__lock_resp__pack_to_buffer
  2228. + (const Sr__LockResp *message,
  2229. + ProtobufCBuffer *buffer)
  2230. +{
  2231. + assert(message->base.descriptor == &sr__lock_resp__descriptor);
  2232. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2233. +}
  2234. +Sr__LockResp *
  2235. + sr__lock_resp__unpack
  2236. + (ProtobufCAllocator *allocator,
  2237. + size_t len,
  2238. + const uint8_t *data)
  2239. +{
  2240. + return (Sr__LockResp *)
  2241. + protobuf_c_message_unpack (&sr__lock_resp__descriptor,
  2242. + allocator, len, data);
  2243. +}
  2244. +void sr__lock_resp__free_unpacked
  2245. + (Sr__LockResp *message,
  2246. + ProtobufCAllocator *allocator)
  2247. +{
  2248. + assert(message->base.descriptor == &sr__lock_resp__descriptor);
  2249. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2250. +}
  2251. +void sr__unlock_req__init
  2252. + (Sr__UnlockReq *message)
  2253. +{
  2254. + static Sr__UnlockReq init_value = SR__UNLOCK_REQ__INIT;
  2255. + *message = init_value;
  2256. +}
  2257. +size_t sr__unlock_req__get_packed_size
  2258. + (const Sr__UnlockReq *message)
  2259. +{
  2260. + assert(message->base.descriptor == &sr__unlock_req__descriptor);
  2261. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2262. +}
  2263. +size_t sr__unlock_req__pack
  2264. + (const Sr__UnlockReq *message,
  2265. + uint8_t *out)
  2266. +{
  2267. + assert(message->base.descriptor == &sr__unlock_req__descriptor);
  2268. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2269. +}
  2270. +size_t sr__unlock_req__pack_to_buffer
  2271. + (const Sr__UnlockReq *message,
  2272. + ProtobufCBuffer *buffer)
  2273. +{
  2274. + assert(message->base.descriptor == &sr__unlock_req__descriptor);
  2275. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2276. +}
  2277. +Sr__UnlockReq *
  2278. + sr__unlock_req__unpack
  2279. + (ProtobufCAllocator *allocator,
  2280. + size_t len,
  2281. + const uint8_t *data)
  2282. +{
  2283. + return (Sr__UnlockReq *)
  2284. + protobuf_c_message_unpack (&sr__unlock_req__descriptor,
  2285. + allocator, len, data);
  2286. +}
  2287. +void sr__unlock_req__free_unpacked
  2288. + (Sr__UnlockReq *message,
  2289. + ProtobufCAllocator *allocator)
  2290. +{
  2291. + assert(message->base.descriptor == &sr__unlock_req__descriptor);
  2292. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2293. +}
  2294. +void sr__unlock_resp__init
  2295. + (Sr__UnlockResp *message)
  2296. +{
  2297. + static Sr__UnlockResp init_value = SR__UNLOCK_RESP__INIT;
  2298. + *message = init_value;
  2299. +}
  2300. +size_t sr__unlock_resp__get_packed_size
  2301. + (const Sr__UnlockResp *message)
  2302. +{
  2303. + assert(message->base.descriptor == &sr__unlock_resp__descriptor);
  2304. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2305. +}
  2306. +size_t sr__unlock_resp__pack
  2307. + (const Sr__UnlockResp *message,
  2308. + uint8_t *out)
  2309. +{
  2310. + assert(message->base.descriptor == &sr__unlock_resp__descriptor);
  2311. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2312. +}
  2313. +size_t sr__unlock_resp__pack_to_buffer
  2314. + (const Sr__UnlockResp *message,
  2315. + ProtobufCBuffer *buffer)
  2316. +{
  2317. + assert(message->base.descriptor == &sr__unlock_resp__descriptor);
  2318. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2319. +}
  2320. +Sr__UnlockResp *
  2321. + sr__unlock_resp__unpack
  2322. + (ProtobufCAllocator *allocator,
  2323. + size_t len,
  2324. + const uint8_t *data)
  2325. +{
  2326. + return (Sr__UnlockResp *)
  2327. + protobuf_c_message_unpack (&sr__unlock_resp__descriptor,
  2328. + allocator, len, data);
  2329. +}
  2330. +void sr__unlock_resp__free_unpacked
  2331. + (Sr__UnlockResp *message,
  2332. + ProtobufCAllocator *allocator)
  2333. +{
  2334. + assert(message->base.descriptor == &sr__unlock_resp__descriptor);
  2335. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2336. +}
  2337. +void sr__subscribe_req__init
  2338. + (Sr__SubscribeReq *message)
  2339. +{
  2340. + static Sr__SubscribeReq init_value = SR__SUBSCRIBE_REQ__INIT;
  2341. + *message = init_value;
  2342. +}
  2343. +size_t sr__subscribe_req__get_packed_size
  2344. + (const Sr__SubscribeReq *message)
  2345. +{
  2346. + assert(message->base.descriptor == &sr__subscribe_req__descriptor);
  2347. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2348. +}
  2349. +size_t sr__subscribe_req__pack
  2350. + (const Sr__SubscribeReq *message,
  2351. + uint8_t *out)
  2352. +{
  2353. + assert(message->base.descriptor == &sr__subscribe_req__descriptor);
  2354. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2355. +}
  2356. +size_t sr__subscribe_req__pack_to_buffer
  2357. + (const Sr__SubscribeReq *message,
  2358. + ProtobufCBuffer *buffer)
  2359. +{
  2360. + assert(message->base.descriptor == &sr__subscribe_req__descriptor);
  2361. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2362. +}
  2363. +Sr__SubscribeReq *
  2364. + sr__subscribe_req__unpack
  2365. + (ProtobufCAllocator *allocator,
  2366. + size_t len,
  2367. + const uint8_t *data)
  2368. +{
  2369. + return (Sr__SubscribeReq *)
  2370. + protobuf_c_message_unpack (&sr__subscribe_req__descriptor,
  2371. + allocator, len, data);
  2372. +}
  2373. +void sr__subscribe_req__free_unpacked
  2374. + (Sr__SubscribeReq *message,
  2375. + ProtobufCAllocator *allocator)
  2376. +{
  2377. + assert(message->base.descriptor == &sr__subscribe_req__descriptor);
  2378. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2379. +}
  2380. +void sr__subscribe_resp__init
  2381. + (Sr__SubscribeResp *message)
  2382. +{
  2383. + static Sr__SubscribeResp init_value = SR__SUBSCRIBE_RESP__INIT;
  2384. + *message = init_value;
  2385. +}
  2386. +size_t sr__subscribe_resp__get_packed_size
  2387. + (const Sr__SubscribeResp *message)
  2388. +{
  2389. + assert(message->base.descriptor == &sr__subscribe_resp__descriptor);
  2390. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2391. +}
  2392. +size_t sr__subscribe_resp__pack
  2393. + (const Sr__SubscribeResp *message,
  2394. + uint8_t *out)
  2395. +{
  2396. + assert(message->base.descriptor == &sr__subscribe_resp__descriptor);
  2397. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2398. +}
  2399. +size_t sr__subscribe_resp__pack_to_buffer
  2400. + (const Sr__SubscribeResp *message,
  2401. + ProtobufCBuffer *buffer)
  2402. +{
  2403. + assert(message->base.descriptor == &sr__subscribe_resp__descriptor);
  2404. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2405. +}
  2406. +Sr__SubscribeResp *
  2407. + sr__subscribe_resp__unpack
  2408. + (ProtobufCAllocator *allocator,
  2409. + size_t len,
  2410. + const uint8_t *data)
  2411. +{
  2412. + return (Sr__SubscribeResp *)
  2413. + protobuf_c_message_unpack (&sr__subscribe_resp__descriptor,
  2414. + allocator, len, data);
  2415. +}
  2416. +void sr__subscribe_resp__free_unpacked
  2417. + (Sr__SubscribeResp *message,
  2418. + ProtobufCAllocator *allocator)
  2419. +{
  2420. + assert(message->base.descriptor == &sr__subscribe_resp__descriptor);
  2421. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2422. +}
  2423. +void sr__unsubscribe_req__init
  2424. + (Sr__UnsubscribeReq *message)
  2425. +{
  2426. + static Sr__UnsubscribeReq init_value = SR__UNSUBSCRIBE_REQ__INIT;
  2427. + *message = init_value;
  2428. +}
  2429. +size_t sr__unsubscribe_req__get_packed_size
  2430. + (const Sr__UnsubscribeReq *message)
  2431. +{
  2432. + assert(message->base.descriptor == &sr__unsubscribe_req__descriptor);
  2433. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2434. +}
  2435. +size_t sr__unsubscribe_req__pack
  2436. + (const Sr__UnsubscribeReq *message,
  2437. + uint8_t *out)
  2438. +{
  2439. + assert(message->base.descriptor == &sr__unsubscribe_req__descriptor);
  2440. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2441. +}
  2442. +size_t sr__unsubscribe_req__pack_to_buffer
  2443. + (const Sr__UnsubscribeReq *message,
  2444. + ProtobufCBuffer *buffer)
  2445. +{
  2446. + assert(message->base.descriptor == &sr__unsubscribe_req__descriptor);
  2447. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2448. +}
  2449. +Sr__UnsubscribeReq *
  2450. + sr__unsubscribe_req__unpack
  2451. + (ProtobufCAllocator *allocator,
  2452. + size_t len,
  2453. + const uint8_t *data)
  2454. +{
  2455. + return (Sr__UnsubscribeReq *)
  2456. + protobuf_c_message_unpack (&sr__unsubscribe_req__descriptor,
  2457. + allocator, len, data);
  2458. +}
  2459. +void sr__unsubscribe_req__free_unpacked
  2460. + (Sr__UnsubscribeReq *message,
  2461. + ProtobufCAllocator *allocator)
  2462. +{
  2463. + assert(message->base.descriptor == &sr__unsubscribe_req__descriptor);
  2464. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2465. +}
  2466. +void sr__unsubscribe_resp__init
  2467. + (Sr__UnsubscribeResp *message)
  2468. +{
  2469. + static Sr__UnsubscribeResp init_value = SR__UNSUBSCRIBE_RESP__INIT;
  2470. + *message = init_value;
  2471. +}
  2472. +size_t sr__unsubscribe_resp__get_packed_size
  2473. + (const Sr__UnsubscribeResp *message)
  2474. +{
  2475. + assert(message->base.descriptor == &sr__unsubscribe_resp__descriptor);
  2476. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2477. +}
  2478. +size_t sr__unsubscribe_resp__pack
  2479. + (const Sr__UnsubscribeResp *message,
  2480. + uint8_t *out)
  2481. +{
  2482. + assert(message->base.descriptor == &sr__unsubscribe_resp__descriptor);
  2483. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2484. +}
  2485. +size_t sr__unsubscribe_resp__pack_to_buffer
  2486. + (const Sr__UnsubscribeResp *message,
  2487. + ProtobufCBuffer *buffer)
  2488. +{
  2489. + assert(message->base.descriptor == &sr__unsubscribe_resp__descriptor);
  2490. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2491. +}
  2492. +Sr__UnsubscribeResp *
  2493. + sr__unsubscribe_resp__unpack
  2494. + (ProtobufCAllocator *allocator,
  2495. + size_t len,
  2496. + const uint8_t *data)
  2497. +{
  2498. + return (Sr__UnsubscribeResp *)
  2499. + protobuf_c_message_unpack (&sr__unsubscribe_resp__descriptor,
  2500. + allocator, len, data);
  2501. +}
  2502. +void sr__unsubscribe_resp__free_unpacked
  2503. + (Sr__UnsubscribeResp *message,
  2504. + ProtobufCAllocator *allocator)
  2505. +{
  2506. + assert(message->base.descriptor == &sr__unsubscribe_resp__descriptor);
  2507. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2508. +}
  2509. +void sr__check_enabled_running_req__init
  2510. + (Sr__CheckEnabledRunningReq *message)
  2511. +{
  2512. + static Sr__CheckEnabledRunningReq init_value = SR__CHECK_ENABLED_RUNNING_REQ__INIT;
  2513. + *message = init_value;
  2514. +}
  2515. +size_t sr__check_enabled_running_req__get_packed_size
  2516. + (const Sr__CheckEnabledRunningReq *message)
  2517. +{
  2518. + assert(message->base.descriptor == &sr__check_enabled_running_req__descriptor);
  2519. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2520. +}
  2521. +size_t sr__check_enabled_running_req__pack
  2522. + (const Sr__CheckEnabledRunningReq *message,
  2523. + uint8_t *out)
  2524. +{
  2525. + assert(message->base.descriptor == &sr__check_enabled_running_req__descriptor);
  2526. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2527. +}
  2528. +size_t sr__check_enabled_running_req__pack_to_buffer
  2529. + (const Sr__CheckEnabledRunningReq *message,
  2530. + ProtobufCBuffer *buffer)
  2531. +{
  2532. + assert(message->base.descriptor == &sr__check_enabled_running_req__descriptor);
  2533. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2534. +}
  2535. +Sr__CheckEnabledRunningReq *
  2536. + sr__check_enabled_running_req__unpack
  2537. + (ProtobufCAllocator *allocator,
  2538. + size_t len,
  2539. + const uint8_t *data)
  2540. +{
  2541. + return (Sr__CheckEnabledRunningReq *)
  2542. + protobuf_c_message_unpack (&sr__check_enabled_running_req__descriptor,
  2543. + allocator, len, data);
  2544. +}
  2545. +void sr__check_enabled_running_req__free_unpacked
  2546. + (Sr__CheckEnabledRunningReq *message,
  2547. + ProtobufCAllocator *allocator)
  2548. +{
  2549. + assert(message->base.descriptor == &sr__check_enabled_running_req__descriptor);
  2550. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2551. +}
  2552. +void sr__check_enabled_running_resp__init
  2553. + (Sr__CheckEnabledRunningResp *message)
  2554. +{
  2555. + static Sr__CheckEnabledRunningResp init_value = SR__CHECK_ENABLED_RUNNING_RESP__INIT;
  2556. + *message = init_value;
  2557. +}
  2558. +size_t sr__check_enabled_running_resp__get_packed_size
  2559. + (const Sr__CheckEnabledRunningResp *message)
  2560. +{
  2561. + assert(message->base.descriptor == &sr__check_enabled_running_resp__descriptor);
  2562. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2563. +}
  2564. +size_t sr__check_enabled_running_resp__pack
  2565. + (const Sr__CheckEnabledRunningResp *message,
  2566. + uint8_t *out)
  2567. +{
  2568. + assert(message->base.descriptor == &sr__check_enabled_running_resp__descriptor);
  2569. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2570. +}
  2571. +size_t sr__check_enabled_running_resp__pack_to_buffer
  2572. + (const Sr__CheckEnabledRunningResp *message,
  2573. + ProtobufCBuffer *buffer)
  2574. +{
  2575. + assert(message->base.descriptor == &sr__check_enabled_running_resp__descriptor);
  2576. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2577. +}
  2578. +Sr__CheckEnabledRunningResp *
  2579. + sr__check_enabled_running_resp__unpack
  2580. + (ProtobufCAllocator *allocator,
  2581. + size_t len,
  2582. + const uint8_t *data)
  2583. +{
  2584. + return (Sr__CheckEnabledRunningResp *)
  2585. + protobuf_c_message_unpack (&sr__check_enabled_running_resp__descriptor,
  2586. + allocator, len, data);
  2587. +}
  2588. +void sr__check_enabled_running_resp__free_unpacked
  2589. + (Sr__CheckEnabledRunningResp *message,
  2590. + ProtobufCAllocator *allocator)
  2591. +{
  2592. + assert(message->base.descriptor == &sr__check_enabled_running_resp__descriptor);
  2593. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2594. +}
  2595. +void sr__module_install_notification__init
  2596. + (Sr__ModuleInstallNotification *message)
  2597. +{
  2598. + static Sr__ModuleInstallNotification init_value = SR__MODULE_INSTALL_NOTIFICATION__INIT;
  2599. + *message = init_value;
  2600. +}
  2601. +size_t sr__module_install_notification__get_packed_size
  2602. + (const Sr__ModuleInstallNotification *message)
  2603. +{
  2604. + assert(message->base.descriptor == &sr__module_install_notification__descriptor);
  2605. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2606. +}
  2607. +size_t sr__module_install_notification__pack
  2608. + (const Sr__ModuleInstallNotification *message,
  2609. + uint8_t *out)
  2610. +{
  2611. + assert(message->base.descriptor == &sr__module_install_notification__descriptor);
  2612. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2613. +}
  2614. +size_t sr__module_install_notification__pack_to_buffer
  2615. + (const Sr__ModuleInstallNotification *message,
  2616. + ProtobufCBuffer *buffer)
  2617. +{
  2618. + assert(message->base.descriptor == &sr__module_install_notification__descriptor);
  2619. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2620. +}
  2621. +Sr__ModuleInstallNotification *
  2622. + sr__module_install_notification__unpack
  2623. + (ProtobufCAllocator *allocator,
  2624. + size_t len,
  2625. + const uint8_t *data)
  2626. +{
  2627. + return (Sr__ModuleInstallNotification *)
  2628. + protobuf_c_message_unpack (&sr__module_install_notification__descriptor,
  2629. + allocator, len, data);
  2630. +}
  2631. +void sr__module_install_notification__free_unpacked
  2632. + (Sr__ModuleInstallNotification *message,
  2633. + ProtobufCAllocator *allocator)
  2634. +{
  2635. + assert(message->base.descriptor == &sr__module_install_notification__descriptor);
  2636. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2637. +}
  2638. +void sr__feature_enable_notification__init
  2639. + (Sr__FeatureEnableNotification *message)
  2640. +{
  2641. + static Sr__FeatureEnableNotification init_value = SR__FEATURE_ENABLE_NOTIFICATION__INIT;
  2642. + *message = init_value;
  2643. +}
  2644. +size_t sr__feature_enable_notification__get_packed_size
  2645. + (const Sr__FeatureEnableNotification *message)
  2646. +{
  2647. + assert(message->base.descriptor == &sr__feature_enable_notification__descriptor);
  2648. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2649. +}
  2650. +size_t sr__feature_enable_notification__pack
  2651. + (const Sr__FeatureEnableNotification *message,
  2652. + uint8_t *out)
  2653. +{
  2654. + assert(message->base.descriptor == &sr__feature_enable_notification__descriptor);
  2655. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2656. +}
  2657. +size_t sr__feature_enable_notification__pack_to_buffer
  2658. + (const Sr__FeatureEnableNotification *message,
  2659. + ProtobufCBuffer *buffer)
  2660. +{
  2661. + assert(message->base.descriptor == &sr__feature_enable_notification__descriptor);
  2662. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2663. +}
  2664. +Sr__FeatureEnableNotification *
  2665. + sr__feature_enable_notification__unpack
  2666. + (ProtobufCAllocator *allocator,
  2667. + size_t len,
  2668. + const uint8_t *data)
  2669. +{
  2670. + return (Sr__FeatureEnableNotification *)
  2671. + protobuf_c_message_unpack (&sr__feature_enable_notification__descriptor,
  2672. + allocator, len, data);
  2673. +}
  2674. +void sr__feature_enable_notification__free_unpacked
  2675. + (Sr__FeatureEnableNotification *message,
  2676. + ProtobufCAllocator *allocator)
  2677. +{
  2678. + assert(message->base.descriptor == &sr__feature_enable_notification__descriptor);
  2679. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2680. +}
  2681. +void sr__module_change_notification__init
  2682. + (Sr__ModuleChangeNotification *message)
  2683. +{
  2684. + static Sr__ModuleChangeNotification init_value = SR__MODULE_CHANGE_NOTIFICATION__INIT;
  2685. + *message = init_value;
  2686. +}
  2687. +size_t sr__module_change_notification__get_packed_size
  2688. + (const Sr__ModuleChangeNotification *message)
  2689. +{
  2690. + assert(message->base.descriptor == &sr__module_change_notification__descriptor);
  2691. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2692. +}
  2693. +size_t sr__module_change_notification__pack
  2694. + (const Sr__ModuleChangeNotification *message,
  2695. + uint8_t *out)
  2696. +{
  2697. + assert(message->base.descriptor == &sr__module_change_notification__descriptor);
  2698. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2699. +}
  2700. +size_t sr__module_change_notification__pack_to_buffer
  2701. + (const Sr__ModuleChangeNotification *message,
  2702. + ProtobufCBuffer *buffer)
  2703. +{
  2704. + assert(message->base.descriptor == &sr__module_change_notification__descriptor);
  2705. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2706. +}
  2707. +Sr__ModuleChangeNotification *
  2708. + sr__module_change_notification__unpack
  2709. + (ProtobufCAllocator *allocator,
  2710. + size_t len,
  2711. + const uint8_t *data)
  2712. +{
  2713. + return (Sr__ModuleChangeNotification *)
  2714. + protobuf_c_message_unpack (&sr__module_change_notification__descriptor,
  2715. + allocator, len, data);
  2716. +}
  2717. +void sr__module_change_notification__free_unpacked
  2718. + (Sr__ModuleChangeNotification *message,
  2719. + ProtobufCAllocator *allocator)
  2720. +{
  2721. + assert(message->base.descriptor == &sr__module_change_notification__descriptor);
  2722. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2723. +}
  2724. +void sr__subtree_change_notification__init
  2725. + (Sr__SubtreeChangeNotification *message)
  2726. +{
  2727. + static Sr__SubtreeChangeNotification init_value = SR__SUBTREE_CHANGE_NOTIFICATION__INIT;
  2728. + *message = init_value;
  2729. +}
  2730. +size_t sr__subtree_change_notification__get_packed_size
  2731. + (const Sr__SubtreeChangeNotification *message)
  2732. +{
  2733. + assert(message->base.descriptor == &sr__subtree_change_notification__descriptor);
  2734. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2735. +}
  2736. +size_t sr__subtree_change_notification__pack
  2737. + (const Sr__SubtreeChangeNotification *message,
  2738. + uint8_t *out)
  2739. +{
  2740. + assert(message->base.descriptor == &sr__subtree_change_notification__descriptor);
  2741. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2742. +}
  2743. +size_t sr__subtree_change_notification__pack_to_buffer
  2744. + (const Sr__SubtreeChangeNotification *message,
  2745. + ProtobufCBuffer *buffer)
  2746. +{
  2747. + assert(message->base.descriptor == &sr__subtree_change_notification__descriptor);
  2748. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2749. +}
  2750. +Sr__SubtreeChangeNotification *
  2751. + sr__subtree_change_notification__unpack
  2752. + (ProtobufCAllocator *allocator,
  2753. + size_t len,
  2754. + const uint8_t *data)
  2755. +{
  2756. + return (Sr__SubtreeChangeNotification *)
  2757. + protobuf_c_message_unpack (&sr__subtree_change_notification__descriptor,
  2758. + allocator, len, data);
  2759. +}
  2760. +void sr__subtree_change_notification__free_unpacked
  2761. + (Sr__SubtreeChangeNotification *message,
  2762. + ProtobufCAllocator *allocator)
  2763. +{
  2764. + assert(message->base.descriptor == &sr__subtree_change_notification__descriptor);
  2765. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2766. +}
  2767. +void sr__change__init
  2768. + (Sr__Change *message)
  2769. +{
  2770. + static Sr__Change init_value = SR__CHANGE__INIT;
  2771. + *message = init_value;
  2772. +}
  2773. +size_t sr__change__get_packed_size
  2774. + (const Sr__Change *message)
  2775. +{
  2776. + assert(message->base.descriptor == &sr__change__descriptor);
  2777. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2778. +}
  2779. +size_t sr__change__pack
  2780. + (const Sr__Change *message,
  2781. + uint8_t *out)
  2782. +{
  2783. + assert(message->base.descriptor == &sr__change__descriptor);
  2784. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2785. +}
  2786. +size_t sr__change__pack_to_buffer
  2787. + (const Sr__Change *message,
  2788. + ProtobufCBuffer *buffer)
  2789. +{
  2790. + assert(message->base.descriptor == &sr__change__descriptor);
  2791. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2792. +}
  2793. +Sr__Change *
  2794. + sr__change__unpack
  2795. + (ProtobufCAllocator *allocator,
  2796. + size_t len,
  2797. + const uint8_t *data)
  2798. +{
  2799. + return (Sr__Change *)
  2800. + protobuf_c_message_unpack (&sr__change__descriptor,
  2801. + allocator, len, data);
  2802. +}
  2803. +void sr__change__free_unpacked
  2804. + (Sr__Change *message,
  2805. + ProtobufCAllocator *allocator)
  2806. +{
  2807. + assert(message->base.descriptor == &sr__change__descriptor);
  2808. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2809. +}
  2810. +void sr__get_changes_req__init
  2811. + (Sr__GetChangesReq *message)
  2812. +{
  2813. + static Sr__GetChangesReq init_value = SR__GET_CHANGES_REQ__INIT;
  2814. + *message = init_value;
  2815. +}
  2816. +size_t sr__get_changes_req__get_packed_size
  2817. + (const Sr__GetChangesReq *message)
  2818. +{
  2819. + assert(message->base.descriptor == &sr__get_changes_req__descriptor);
  2820. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2821. +}
  2822. +size_t sr__get_changes_req__pack
  2823. + (const Sr__GetChangesReq *message,
  2824. + uint8_t *out)
  2825. +{
  2826. + assert(message->base.descriptor == &sr__get_changes_req__descriptor);
  2827. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2828. +}
  2829. +size_t sr__get_changes_req__pack_to_buffer
  2830. + (const Sr__GetChangesReq *message,
  2831. + ProtobufCBuffer *buffer)
  2832. +{
  2833. + assert(message->base.descriptor == &sr__get_changes_req__descriptor);
  2834. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2835. +}
  2836. +Sr__GetChangesReq *
  2837. + sr__get_changes_req__unpack
  2838. + (ProtobufCAllocator *allocator,
  2839. + size_t len,
  2840. + const uint8_t *data)
  2841. +{
  2842. + return (Sr__GetChangesReq *)
  2843. + protobuf_c_message_unpack (&sr__get_changes_req__descriptor,
  2844. + allocator, len, data);
  2845. +}
  2846. +void sr__get_changes_req__free_unpacked
  2847. + (Sr__GetChangesReq *message,
  2848. + ProtobufCAllocator *allocator)
  2849. +{
  2850. + assert(message->base.descriptor == &sr__get_changes_req__descriptor);
  2851. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2852. +}
  2853. +void sr__get_changes_resp__init
  2854. + (Sr__GetChangesResp *message)
  2855. +{
  2856. + static Sr__GetChangesResp init_value = SR__GET_CHANGES_RESP__INIT;
  2857. + *message = init_value;
  2858. +}
  2859. +size_t sr__get_changes_resp__get_packed_size
  2860. + (const Sr__GetChangesResp *message)
  2861. +{
  2862. + assert(message->base.descriptor == &sr__get_changes_resp__descriptor);
  2863. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2864. +}
  2865. +size_t sr__get_changes_resp__pack
  2866. + (const Sr__GetChangesResp *message,
  2867. + uint8_t *out)
  2868. +{
  2869. + assert(message->base.descriptor == &sr__get_changes_resp__descriptor);
  2870. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2871. +}
  2872. +size_t sr__get_changes_resp__pack_to_buffer
  2873. + (const Sr__GetChangesResp *message,
  2874. + ProtobufCBuffer *buffer)
  2875. +{
  2876. + assert(message->base.descriptor == &sr__get_changes_resp__descriptor);
  2877. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2878. +}
  2879. +Sr__GetChangesResp *
  2880. + sr__get_changes_resp__unpack
  2881. + (ProtobufCAllocator *allocator,
  2882. + size_t len,
  2883. + const uint8_t *data)
  2884. +{
  2885. + return (Sr__GetChangesResp *)
  2886. + protobuf_c_message_unpack (&sr__get_changes_resp__descriptor,
  2887. + allocator, len, data);
  2888. +}
  2889. +void sr__get_changes_resp__free_unpacked
  2890. + (Sr__GetChangesResp *message,
  2891. + ProtobufCAllocator *allocator)
  2892. +{
  2893. + assert(message->base.descriptor == &sr__get_changes_resp__descriptor);
  2894. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2895. +}
  2896. +void sr__check_exec_perm_req__init
  2897. + (Sr__CheckExecPermReq *message)
  2898. +{
  2899. + static Sr__CheckExecPermReq init_value = SR__CHECK_EXEC_PERM_REQ__INIT;
  2900. + *message = init_value;
  2901. +}
  2902. +size_t sr__check_exec_perm_req__get_packed_size
  2903. + (const Sr__CheckExecPermReq *message)
  2904. +{
  2905. + assert(message->base.descriptor == &sr__check_exec_perm_req__descriptor);
  2906. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2907. +}
  2908. +size_t sr__check_exec_perm_req__pack
  2909. + (const Sr__CheckExecPermReq *message,
  2910. + uint8_t *out)
  2911. +{
  2912. + assert(message->base.descriptor == &sr__check_exec_perm_req__descriptor);
  2913. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2914. +}
  2915. +size_t sr__check_exec_perm_req__pack_to_buffer
  2916. + (const Sr__CheckExecPermReq *message,
  2917. + ProtobufCBuffer *buffer)
  2918. +{
  2919. + assert(message->base.descriptor == &sr__check_exec_perm_req__descriptor);
  2920. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2921. +}
  2922. +Sr__CheckExecPermReq *
  2923. + sr__check_exec_perm_req__unpack
  2924. + (ProtobufCAllocator *allocator,
  2925. + size_t len,
  2926. + const uint8_t *data)
  2927. +{
  2928. + return (Sr__CheckExecPermReq *)
  2929. + protobuf_c_message_unpack (&sr__check_exec_perm_req__descriptor,
  2930. + allocator, len, data);
  2931. +}
  2932. +void sr__check_exec_perm_req__free_unpacked
  2933. + (Sr__CheckExecPermReq *message,
  2934. + ProtobufCAllocator *allocator)
  2935. +{
  2936. + assert(message->base.descriptor == &sr__check_exec_perm_req__descriptor);
  2937. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2938. +}
  2939. +void sr__check_exec_perm_resp__init
  2940. + (Sr__CheckExecPermResp *message)
  2941. +{
  2942. + static Sr__CheckExecPermResp init_value = SR__CHECK_EXEC_PERM_RESP__INIT;
  2943. + *message = init_value;
  2944. +}
  2945. +size_t sr__check_exec_perm_resp__get_packed_size
  2946. + (const Sr__CheckExecPermResp *message)
  2947. +{
  2948. + assert(message->base.descriptor == &sr__check_exec_perm_resp__descriptor);
  2949. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2950. +}
  2951. +size_t sr__check_exec_perm_resp__pack
  2952. + (const Sr__CheckExecPermResp *message,
  2953. + uint8_t *out)
  2954. +{
  2955. + assert(message->base.descriptor == &sr__check_exec_perm_resp__descriptor);
  2956. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  2957. +}
  2958. +size_t sr__check_exec_perm_resp__pack_to_buffer
  2959. + (const Sr__CheckExecPermResp *message,
  2960. + ProtobufCBuffer *buffer)
  2961. +{
  2962. + assert(message->base.descriptor == &sr__check_exec_perm_resp__descriptor);
  2963. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  2964. +}
  2965. +Sr__CheckExecPermResp *
  2966. + sr__check_exec_perm_resp__unpack
  2967. + (ProtobufCAllocator *allocator,
  2968. + size_t len,
  2969. + const uint8_t *data)
  2970. +{
  2971. + return (Sr__CheckExecPermResp *)
  2972. + protobuf_c_message_unpack (&sr__check_exec_perm_resp__descriptor,
  2973. + allocator, len, data);
  2974. +}
  2975. +void sr__check_exec_perm_resp__free_unpacked
  2976. + (Sr__CheckExecPermResp *message,
  2977. + ProtobufCAllocator *allocator)
  2978. +{
  2979. + assert(message->base.descriptor == &sr__check_exec_perm_resp__descriptor);
  2980. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  2981. +}
  2982. +void sr__rpcreq__init
  2983. + (Sr__RPCReq *message)
  2984. +{
  2985. + static Sr__RPCReq init_value = SR__RPCREQ__INIT;
  2986. + *message = init_value;
  2987. +}
  2988. +size_t sr__rpcreq__get_packed_size
  2989. + (const Sr__RPCReq *message)
  2990. +{
  2991. + assert(message->base.descriptor == &sr__rpcreq__descriptor);
  2992. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  2993. +}
  2994. +size_t sr__rpcreq__pack
  2995. + (const Sr__RPCReq *message,
  2996. + uint8_t *out)
  2997. +{
  2998. + assert(message->base.descriptor == &sr__rpcreq__descriptor);
  2999. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3000. +}
  3001. +size_t sr__rpcreq__pack_to_buffer
  3002. + (const Sr__RPCReq *message,
  3003. + ProtobufCBuffer *buffer)
  3004. +{
  3005. + assert(message->base.descriptor == &sr__rpcreq__descriptor);
  3006. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3007. +}
  3008. +Sr__RPCReq *
  3009. + sr__rpcreq__unpack
  3010. + (ProtobufCAllocator *allocator,
  3011. + size_t len,
  3012. + const uint8_t *data)
  3013. +{
  3014. + return (Sr__RPCReq *)
  3015. + protobuf_c_message_unpack (&sr__rpcreq__descriptor,
  3016. + allocator, len, data);
  3017. +}
  3018. +void sr__rpcreq__free_unpacked
  3019. + (Sr__RPCReq *message,
  3020. + ProtobufCAllocator *allocator)
  3021. +{
  3022. + assert(message->base.descriptor == &sr__rpcreq__descriptor);
  3023. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3024. +}
  3025. +void sr__rpcresp__init
  3026. + (Sr__RPCResp *message)
  3027. +{
  3028. + static Sr__RPCResp init_value = SR__RPCRESP__INIT;
  3029. + *message = init_value;
  3030. +}
  3031. +size_t sr__rpcresp__get_packed_size
  3032. + (const Sr__RPCResp *message)
  3033. +{
  3034. + assert(message->base.descriptor == &sr__rpcresp__descriptor);
  3035. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3036. +}
  3037. +size_t sr__rpcresp__pack
  3038. + (const Sr__RPCResp *message,
  3039. + uint8_t *out)
  3040. +{
  3041. + assert(message->base.descriptor == &sr__rpcresp__descriptor);
  3042. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3043. +}
  3044. +size_t sr__rpcresp__pack_to_buffer
  3045. + (const Sr__RPCResp *message,
  3046. + ProtobufCBuffer *buffer)
  3047. +{
  3048. + assert(message->base.descriptor == &sr__rpcresp__descriptor);
  3049. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3050. +}
  3051. +Sr__RPCResp *
  3052. + sr__rpcresp__unpack
  3053. + (ProtobufCAllocator *allocator,
  3054. + size_t len,
  3055. + const uint8_t *data)
  3056. +{
  3057. + return (Sr__RPCResp *)
  3058. + protobuf_c_message_unpack (&sr__rpcresp__descriptor,
  3059. + allocator, len, data);
  3060. +}
  3061. +void sr__rpcresp__free_unpacked
  3062. + (Sr__RPCResp *message,
  3063. + ProtobufCAllocator *allocator)
  3064. +{
  3065. + assert(message->base.descriptor == &sr__rpcresp__descriptor);
  3066. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3067. +}
  3068. +void sr__event_notif_req__init
  3069. + (Sr__EventNotifReq *message)
  3070. +{
  3071. + static Sr__EventNotifReq init_value = SR__EVENT_NOTIF_REQ__INIT;
  3072. + *message = init_value;
  3073. +}
  3074. +size_t sr__event_notif_req__get_packed_size
  3075. + (const Sr__EventNotifReq *message)
  3076. +{
  3077. + assert(message->base.descriptor == &sr__event_notif_req__descriptor);
  3078. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3079. +}
  3080. +size_t sr__event_notif_req__pack
  3081. + (const Sr__EventNotifReq *message,
  3082. + uint8_t *out)
  3083. +{
  3084. + assert(message->base.descriptor == &sr__event_notif_req__descriptor);
  3085. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3086. +}
  3087. +size_t sr__event_notif_req__pack_to_buffer
  3088. + (const Sr__EventNotifReq *message,
  3089. + ProtobufCBuffer *buffer)
  3090. +{
  3091. + assert(message->base.descriptor == &sr__event_notif_req__descriptor);
  3092. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3093. +}
  3094. +Sr__EventNotifReq *
  3095. + sr__event_notif_req__unpack
  3096. + (ProtobufCAllocator *allocator,
  3097. + size_t len,
  3098. + const uint8_t *data)
  3099. +{
  3100. + return (Sr__EventNotifReq *)
  3101. + protobuf_c_message_unpack (&sr__event_notif_req__descriptor,
  3102. + allocator, len, data);
  3103. +}
  3104. +void sr__event_notif_req__free_unpacked
  3105. + (Sr__EventNotifReq *message,
  3106. + ProtobufCAllocator *allocator)
  3107. +{
  3108. + assert(message->base.descriptor == &sr__event_notif_req__descriptor);
  3109. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3110. +}
  3111. +void sr__event_notif_resp__init
  3112. + (Sr__EventNotifResp *message)
  3113. +{
  3114. + static Sr__EventNotifResp init_value = SR__EVENT_NOTIF_RESP__INIT;
  3115. + *message = init_value;
  3116. +}
  3117. +size_t sr__event_notif_resp__get_packed_size
  3118. + (const Sr__EventNotifResp *message)
  3119. +{
  3120. + assert(message->base.descriptor == &sr__event_notif_resp__descriptor);
  3121. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3122. +}
  3123. +size_t sr__event_notif_resp__pack
  3124. + (const Sr__EventNotifResp *message,
  3125. + uint8_t *out)
  3126. +{
  3127. + assert(message->base.descriptor == &sr__event_notif_resp__descriptor);
  3128. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3129. +}
  3130. +size_t sr__event_notif_resp__pack_to_buffer
  3131. + (const Sr__EventNotifResp *message,
  3132. + ProtobufCBuffer *buffer)
  3133. +{
  3134. + assert(message->base.descriptor == &sr__event_notif_resp__descriptor);
  3135. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3136. +}
  3137. +Sr__EventNotifResp *
  3138. + sr__event_notif_resp__unpack
  3139. + (ProtobufCAllocator *allocator,
  3140. + size_t len,
  3141. + const uint8_t *data)
  3142. +{
  3143. + return (Sr__EventNotifResp *)
  3144. + protobuf_c_message_unpack (&sr__event_notif_resp__descriptor,
  3145. + allocator, len, data);
  3146. +}
  3147. +void sr__event_notif_resp__free_unpacked
  3148. + (Sr__EventNotifResp *message,
  3149. + ProtobufCAllocator *allocator)
  3150. +{
  3151. + assert(message->base.descriptor == &sr__event_notif_resp__descriptor);
  3152. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3153. +}
  3154. +void sr__event_notif_replay_req__init
  3155. + (Sr__EventNotifReplayReq *message)
  3156. +{
  3157. + static Sr__EventNotifReplayReq init_value = SR__EVENT_NOTIF_REPLAY_REQ__INIT;
  3158. + *message = init_value;
  3159. +}
  3160. +size_t sr__event_notif_replay_req__get_packed_size
  3161. + (const Sr__EventNotifReplayReq *message)
  3162. +{
  3163. + assert(message->base.descriptor == &sr__event_notif_replay_req__descriptor);
  3164. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3165. +}
  3166. +size_t sr__event_notif_replay_req__pack
  3167. + (const Sr__EventNotifReplayReq *message,
  3168. + uint8_t *out)
  3169. +{
  3170. + assert(message->base.descriptor == &sr__event_notif_replay_req__descriptor);
  3171. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3172. +}
  3173. +size_t sr__event_notif_replay_req__pack_to_buffer
  3174. + (const Sr__EventNotifReplayReq *message,
  3175. + ProtobufCBuffer *buffer)
  3176. +{
  3177. + assert(message->base.descriptor == &sr__event_notif_replay_req__descriptor);
  3178. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3179. +}
  3180. +Sr__EventNotifReplayReq *
  3181. + sr__event_notif_replay_req__unpack
  3182. + (ProtobufCAllocator *allocator,
  3183. + size_t len,
  3184. + const uint8_t *data)
  3185. +{
  3186. + return (Sr__EventNotifReplayReq *)
  3187. + protobuf_c_message_unpack (&sr__event_notif_replay_req__descriptor,
  3188. + allocator, len, data);
  3189. +}
  3190. +void sr__event_notif_replay_req__free_unpacked
  3191. + (Sr__EventNotifReplayReq *message,
  3192. + ProtobufCAllocator *allocator)
  3193. +{
  3194. + assert(message->base.descriptor == &sr__event_notif_replay_req__descriptor);
  3195. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3196. +}
  3197. +void sr__event_notif_replay_resp__init
  3198. + (Sr__EventNotifReplayResp *message)
  3199. +{
  3200. + static Sr__EventNotifReplayResp init_value = SR__EVENT_NOTIF_REPLAY_RESP__INIT;
  3201. + *message = init_value;
  3202. +}
  3203. +size_t sr__event_notif_replay_resp__get_packed_size
  3204. + (const Sr__EventNotifReplayResp *message)
  3205. +{
  3206. + assert(message->base.descriptor == &sr__event_notif_replay_resp__descriptor);
  3207. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3208. +}
  3209. +size_t sr__event_notif_replay_resp__pack
  3210. + (const Sr__EventNotifReplayResp *message,
  3211. + uint8_t *out)
  3212. +{
  3213. + assert(message->base.descriptor == &sr__event_notif_replay_resp__descriptor);
  3214. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3215. +}
  3216. +size_t sr__event_notif_replay_resp__pack_to_buffer
  3217. + (const Sr__EventNotifReplayResp *message,
  3218. + ProtobufCBuffer *buffer)
  3219. +{
  3220. + assert(message->base.descriptor == &sr__event_notif_replay_resp__descriptor);
  3221. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3222. +}
  3223. +Sr__EventNotifReplayResp *
  3224. + sr__event_notif_replay_resp__unpack
  3225. + (ProtobufCAllocator *allocator,
  3226. + size_t len,
  3227. + const uint8_t *data)
  3228. +{
  3229. + return (Sr__EventNotifReplayResp *)
  3230. + protobuf_c_message_unpack (&sr__event_notif_replay_resp__descriptor,
  3231. + allocator, len, data);
  3232. +}
  3233. +void sr__event_notif_replay_resp__free_unpacked
  3234. + (Sr__EventNotifReplayResp *message,
  3235. + ProtobufCAllocator *allocator)
  3236. +{
  3237. + assert(message->base.descriptor == &sr__event_notif_replay_resp__descriptor);
  3238. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3239. +}
  3240. +void sr__data_provide_req__init
  3241. + (Sr__DataProvideReq *message)
  3242. +{
  3243. + static Sr__DataProvideReq init_value = SR__DATA_PROVIDE_REQ__INIT;
  3244. + *message = init_value;
  3245. +}
  3246. +size_t sr__data_provide_req__get_packed_size
  3247. + (const Sr__DataProvideReq *message)
  3248. +{
  3249. + assert(message->base.descriptor == &sr__data_provide_req__descriptor);
  3250. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3251. +}
  3252. +size_t sr__data_provide_req__pack
  3253. + (const Sr__DataProvideReq *message,
  3254. + uint8_t *out)
  3255. +{
  3256. + assert(message->base.descriptor == &sr__data_provide_req__descriptor);
  3257. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3258. +}
  3259. +size_t sr__data_provide_req__pack_to_buffer
  3260. + (const Sr__DataProvideReq *message,
  3261. + ProtobufCBuffer *buffer)
  3262. +{
  3263. + assert(message->base.descriptor == &sr__data_provide_req__descriptor);
  3264. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3265. +}
  3266. +Sr__DataProvideReq *
  3267. + sr__data_provide_req__unpack
  3268. + (ProtobufCAllocator *allocator,
  3269. + size_t len,
  3270. + const uint8_t *data)
  3271. +{
  3272. + return (Sr__DataProvideReq *)
  3273. + protobuf_c_message_unpack (&sr__data_provide_req__descriptor,
  3274. + allocator, len, data);
  3275. +}
  3276. +void sr__data_provide_req__free_unpacked
  3277. + (Sr__DataProvideReq *message,
  3278. + ProtobufCAllocator *allocator)
  3279. +{
  3280. + assert(message->base.descriptor == &sr__data_provide_req__descriptor);
  3281. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3282. +}
  3283. +void sr__data_provide_resp__init
  3284. + (Sr__DataProvideResp *message)
  3285. +{
  3286. + static Sr__DataProvideResp init_value = SR__DATA_PROVIDE_RESP__INIT;
  3287. + *message = init_value;
  3288. +}
  3289. +size_t sr__data_provide_resp__get_packed_size
  3290. + (const Sr__DataProvideResp *message)
  3291. +{
  3292. + assert(message->base.descriptor == &sr__data_provide_resp__descriptor);
  3293. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3294. +}
  3295. +size_t sr__data_provide_resp__pack
  3296. + (const Sr__DataProvideResp *message,
  3297. + uint8_t *out)
  3298. +{
  3299. + assert(message->base.descriptor == &sr__data_provide_resp__descriptor);
  3300. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3301. +}
  3302. +size_t sr__data_provide_resp__pack_to_buffer
  3303. + (const Sr__DataProvideResp *message,
  3304. + ProtobufCBuffer *buffer)
  3305. +{
  3306. + assert(message->base.descriptor == &sr__data_provide_resp__descriptor);
  3307. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3308. +}
  3309. +Sr__DataProvideResp *
  3310. + sr__data_provide_resp__unpack
  3311. + (ProtobufCAllocator *allocator,
  3312. + size_t len,
  3313. + const uint8_t *data)
  3314. +{
  3315. + return (Sr__DataProvideResp *)
  3316. + protobuf_c_message_unpack (&sr__data_provide_resp__descriptor,
  3317. + allocator, len, data);
  3318. +}
  3319. +void sr__data_provide_resp__free_unpacked
  3320. + (Sr__DataProvideResp *message,
  3321. + ProtobufCAllocator *allocator)
  3322. +{
  3323. + assert(message->base.descriptor == &sr__data_provide_resp__descriptor);
  3324. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3325. +}
  3326. +void sr__module_install_req__init
  3327. + (Sr__ModuleInstallReq *message)
  3328. +{
  3329. + static Sr__ModuleInstallReq init_value = SR__MODULE_INSTALL_REQ__INIT;
  3330. + *message = init_value;
  3331. +}
  3332. +size_t sr__module_install_req__get_packed_size
  3333. + (const Sr__ModuleInstallReq *message)
  3334. +{
  3335. + assert(message->base.descriptor == &sr__module_install_req__descriptor);
  3336. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3337. +}
  3338. +size_t sr__module_install_req__pack
  3339. + (const Sr__ModuleInstallReq *message,
  3340. + uint8_t *out)
  3341. +{
  3342. + assert(message->base.descriptor == &sr__module_install_req__descriptor);
  3343. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3344. +}
  3345. +size_t sr__module_install_req__pack_to_buffer
  3346. + (const Sr__ModuleInstallReq *message,
  3347. + ProtobufCBuffer *buffer)
  3348. +{
  3349. + assert(message->base.descriptor == &sr__module_install_req__descriptor);
  3350. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3351. +}
  3352. +Sr__ModuleInstallReq *
  3353. + sr__module_install_req__unpack
  3354. + (ProtobufCAllocator *allocator,
  3355. + size_t len,
  3356. + const uint8_t *data)
  3357. +{
  3358. + return (Sr__ModuleInstallReq *)
  3359. + protobuf_c_message_unpack (&sr__module_install_req__descriptor,
  3360. + allocator, len, data);
  3361. +}
  3362. +void sr__module_install_req__free_unpacked
  3363. + (Sr__ModuleInstallReq *message,
  3364. + ProtobufCAllocator *allocator)
  3365. +{
  3366. + assert(message->base.descriptor == &sr__module_install_req__descriptor);
  3367. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3368. +}
  3369. +void sr__module_install_resp__init
  3370. + (Sr__ModuleInstallResp *message)
  3371. +{
  3372. + static Sr__ModuleInstallResp init_value = SR__MODULE_INSTALL_RESP__INIT;
  3373. + *message = init_value;
  3374. +}
  3375. +size_t sr__module_install_resp__get_packed_size
  3376. + (const Sr__ModuleInstallResp *message)
  3377. +{
  3378. + assert(message->base.descriptor == &sr__module_install_resp__descriptor);
  3379. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3380. +}
  3381. +size_t sr__module_install_resp__pack
  3382. + (const Sr__ModuleInstallResp *message,
  3383. + uint8_t *out)
  3384. +{
  3385. + assert(message->base.descriptor == &sr__module_install_resp__descriptor);
  3386. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3387. +}
  3388. +size_t sr__module_install_resp__pack_to_buffer
  3389. + (const Sr__ModuleInstallResp *message,
  3390. + ProtobufCBuffer *buffer)
  3391. +{
  3392. + assert(message->base.descriptor == &sr__module_install_resp__descriptor);
  3393. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3394. +}
  3395. +Sr__ModuleInstallResp *
  3396. + sr__module_install_resp__unpack
  3397. + (ProtobufCAllocator *allocator,
  3398. + size_t len,
  3399. + const uint8_t *data)
  3400. +{
  3401. + return (Sr__ModuleInstallResp *)
  3402. + protobuf_c_message_unpack (&sr__module_install_resp__descriptor,
  3403. + allocator, len, data);
  3404. +}
  3405. +void sr__module_install_resp__free_unpacked
  3406. + (Sr__ModuleInstallResp *message,
  3407. + ProtobufCAllocator *allocator)
  3408. +{
  3409. + assert(message->base.descriptor == &sr__module_install_resp__descriptor);
  3410. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3411. +}
  3412. +void sr__feature_enable_req__init
  3413. + (Sr__FeatureEnableReq *message)
  3414. +{
  3415. + static Sr__FeatureEnableReq init_value = SR__FEATURE_ENABLE_REQ__INIT;
  3416. + *message = init_value;
  3417. +}
  3418. +size_t sr__feature_enable_req__get_packed_size
  3419. + (const Sr__FeatureEnableReq *message)
  3420. +{
  3421. + assert(message->base.descriptor == &sr__feature_enable_req__descriptor);
  3422. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3423. +}
  3424. +size_t sr__feature_enable_req__pack
  3425. + (const Sr__FeatureEnableReq *message,
  3426. + uint8_t *out)
  3427. +{
  3428. + assert(message->base.descriptor == &sr__feature_enable_req__descriptor);
  3429. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3430. +}
  3431. +size_t sr__feature_enable_req__pack_to_buffer
  3432. + (const Sr__FeatureEnableReq *message,
  3433. + ProtobufCBuffer *buffer)
  3434. +{
  3435. + assert(message->base.descriptor == &sr__feature_enable_req__descriptor);
  3436. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3437. +}
  3438. +Sr__FeatureEnableReq *
  3439. + sr__feature_enable_req__unpack
  3440. + (ProtobufCAllocator *allocator,
  3441. + size_t len,
  3442. + const uint8_t *data)
  3443. +{
  3444. + return (Sr__FeatureEnableReq *)
  3445. + protobuf_c_message_unpack (&sr__feature_enable_req__descriptor,
  3446. + allocator, len, data);
  3447. +}
  3448. +void sr__feature_enable_req__free_unpacked
  3449. + (Sr__FeatureEnableReq *message,
  3450. + ProtobufCAllocator *allocator)
  3451. +{
  3452. + assert(message->base.descriptor == &sr__feature_enable_req__descriptor);
  3453. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3454. +}
  3455. +void sr__feature_enable_resp__init
  3456. + (Sr__FeatureEnableResp *message)
  3457. +{
  3458. + static Sr__FeatureEnableResp init_value = SR__FEATURE_ENABLE_RESP__INIT;
  3459. + *message = init_value;
  3460. +}
  3461. +size_t sr__feature_enable_resp__get_packed_size
  3462. + (const Sr__FeatureEnableResp *message)
  3463. +{
  3464. + assert(message->base.descriptor == &sr__feature_enable_resp__descriptor);
  3465. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3466. +}
  3467. +size_t sr__feature_enable_resp__pack
  3468. + (const Sr__FeatureEnableResp *message,
  3469. + uint8_t *out)
  3470. +{
  3471. + assert(message->base.descriptor == &sr__feature_enable_resp__descriptor);
  3472. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3473. +}
  3474. +size_t sr__feature_enable_resp__pack_to_buffer
  3475. + (const Sr__FeatureEnableResp *message,
  3476. + ProtobufCBuffer *buffer)
  3477. +{
  3478. + assert(message->base.descriptor == &sr__feature_enable_resp__descriptor);
  3479. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3480. +}
  3481. +Sr__FeatureEnableResp *
  3482. + sr__feature_enable_resp__unpack
  3483. + (ProtobufCAllocator *allocator,
  3484. + size_t len,
  3485. + const uint8_t *data)
  3486. +{
  3487. + return (Sr__FeatureEnableResp *)
  3488. + protobuf_c_message_unpack (&sr__feature_enable_resp__descriptor,
  3489. + allocator, len, data);
  3490. +}
  3491. +void sr__feature_enable_resp__free_unpacked
  3492. + (Sr__FeatureEnableResp *message,
  3493. + ProtobufCAllocator *allocator)
  3494. +{
  3495. + assert(message->base.descriptor == &sr__feature_enable_resp__descriptor);
  3496. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3497. +}
  3498. +void sr__unsubscribe_destination_req__init
  3499. + (Sr__UnsubscribeDestinationReq *message)
  3500. +{
  3501. + static Sr__UnsubscribeDestinationReq init_value = SR__UNSUBSCRIBE_DESTINATION_REQ__INIT;
  3502. + *message = init_value;
  3503. +}
  3504. +size_t sr__unsubscribe_destination_req__get_packed_size
  3505. + (const Sr__UnsubscribeDestinationReq *message)
  3506. +{
  3507. + assert(message->base.descriptor == &sr__unsubscribe_destination_req__descriptor);
  3508. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3509. +}
  3510. +size_t sr__unsubscribe_destination_req__pack
  3511. + (const Sr__UnsubscribeDestinationReq *message,
  3512. + uint8_t *out)
  3513. +{
  3514. + assert(message->base.descriptor == &sr__unsubscribe_destination_req__descriptor);
  3515. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3516. +}
  3517. +size_t sr__unsubscribe_destination_req__pack_to_buffer
  3518. + (const Sr__UnsubscribeDestinationReq *message,
  3519. + ProtobufCBuffer *buffer)
  3520. +{
  3521. + assert(message->base.descriptor == &sr__unsubscribe_destination_req__descriptor);
  3522. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3523. +}
  3524. +Sr__UnsubscribeDestinationReq *
  3525. + sr__unsubscribe_destination_req__unpack
  3526. + (ProtobufCAllocator *allocator,
  3527. + size_t len,
  3528. + const uint8_t *data)
  3529. +{
  3530. + return (Sr__UnsubscribeDestinationReq *)
  3531. + protobuf_c_message_unpack (&sr__unsubscribe_destination_req__descriptor,
  3532. + allocator, len, data);
  3533. +}
  3534. +void sr__unsubscribe_destination_req__free_unpacked
  3535. + (Sr__UnsubscribeDestinationReq *message,
  3536. + ProtobufCAllocator *allocator)
  3537. +{
  3538. + assert(message->base.descriptor == &sr__unsubscribe_destination_req__descriptor);
  3539. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3540. +}
  3541. +void sr__commit_timeout_req__init
  3542. + (Sr__CommitTimeoutReq *message)
  3543. +{
  3544. + static Sr__CommitTimeoutReq init_value = SR__COMMIT_TIMEOUT_REQ__INIT;
  3545. + *message = init_value;
  3546. +}
  3547. +size_t sr__commit_timeout_req__get_packed_size
  3548. + (const Sr__CommitTimeoutReq *message)
  3549. +{
  3550. + assert(message->base.descriptor == &sr__commit_timeout_req__descriptor);
  3551. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3552. +}
  3553. +size_t sr__commit_timeout_req__pack
  3554. + (const Sr__CommitTimeoutReq *message,
  3555. + uint8_t *out)
  3556. +{
  3557. + assert(message->base.descriptor == &sr__commit_timeout_req__descriptor);
  3558. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3559. +}
  3560. +size_t sr__commit_timeout_req__pack_to_buffer
  3561. + (const Sr__CommitTimeoutReq *message,
  3562. + ProtobufCBuffer *buffer)
  3563. +{
  3564. + assert(message->base.descriptor == &sr__commit_timeout_req__descriptor);
  3565. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3566. +}
  3567. +Sr__CommitTimeoutReq *
  3568. + sr__commit_timeout_req__unpack
  3569. + (ProtobufCAllocator *allocator,
  3570. + size_t len,
  3571. + const uint8_t *data)
  3572. +{
  3573. + return (Sr__CommitTimeoutReq *)
  3574. + protobuf_c_message_unpack (&sr__commit_timeout_req__descriptor,
  3575. + allocator, len, data);
  3576. +}
  3577. +void sr__commit_timeout_req__free_unpacked
  3578. + (Sr__CommitTimeoutReq *message,
  3579. + ProtobufCAllocator *allocator)
  3580. +{
  3581. + assert(message->base.descriptor == &sr__commit_timeout_req__descriptor);
  3582. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3583. +}
  3584. +void sr__oper_data_timeout_req__init
  3585. + (Sr__OperDataTimeoutReq *message)
  3586. +{
  3587. + static Sr__OperDataTimeoutReq init_value = SR__OPER_DATA_TIMEOUT_REQ__INIT;
  3588. + *message = init_value;
  3589. +}
  3590. +size_t sr__oper_data_timeout_req__get_packed_size
  3591. + (const Sr__OperDataTimeoutReq *message)
  3592. +{
  3593. + assert(message->base.descriptor == &sr__oper_data_timeout_req__descriptor);
  3594. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3595. +}
  3596. +size_t sr__oper_data_timeout_req__pack
  3597. + (const Sr__OperDataTimeoutReq *message,
  3598. + uint8_t *out)
  3599. +{
  3600. + assert(message->base.descriptor == &sr__oper_data_timeout_req__descriptor);
  3601. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3602. +}
  3603. +size_t sr__oper_data_timeout_req__pack_to_buffer
  3604. + (const Sr__OperDataTimeoutReq *message,
  3605. + ProtobufCBuffer *buffer)
  3606. +{
  3607. + assert(message->base.descriptor == &sr__oper_data_timeout_req__descriptor);
  3608. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3609. +}
  3610. +Sr__OperDataTimeoutReq *
  3611. + sr__oper_data_timeout_req__unpack
  3612. + (ProtobufCAllocator *allocator,
  3613. + size_t len,
  3614. + const uint8_t *data)
  3615. +{
  3616. + return (Sr__OperDataTimeoutReq *)
  3617. + protobuf_c_message_unpack (&sr__oper_data_timeout_req__descriptor,
  3618. + allocator, len, data);
  3619. +}
  3620. +void sr__oper_data_timeout_req__free_unpacked
  3621. + (Sr__OperDataTimeoutReq *message,
  3622. + ProtobufCAllocator *allocator)
  3623. +{
  3624. + assert(message->base.descriptor == &sr__oper_data_timeout_req__descriptor);
  3625. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3626. +}
  3627. +void sr__internal_state_data_req__init
  3628. + (Sr__InternalStateDataReq *message)
  3629. +{
  3630. + static Sr__InternalStateDataReq init_value = SR__INTERNAL_STATE_DATA_REQ__INIT;
  3631. + *message = init_value;
  3632. +}
  3633. +size_t sr__internal_state_data_req__get_packed_size
  3634. + (const Sr__InternalStateDataReq *message)
  3635. +{
  3636. + assert(message->base.descriptor == &sr__internal_state_data_req__descriptor);
  3637. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3638. +}
  3639. +size_t sr__internal_state_data_req__pack
  3640. + (const Sr__InternalStateDataReq *message,
  3641. + uint8_t *out)
  3642. +{
  3643. + assert(message->base.descriptor == &sr__internal_state_data_req__descriptor);
  3644. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3645. +}
  3646. +size_t sr__internal_state_data_req__pack_to_buffer
  3647. + (const Sr__InternalStateDataReq *message,
  3648. + ProtobufCBuffer *buffer)
  3649. +{
  3650. + assert(message->base.descriptor == &sr__internal_state_data_req__descriptor);
  3651. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3652. +}
  3653. +Sr__InternalStateDataReq *
  3654. + sr__internal_state_data_req__unpack
  3655. + (ProtobufCAllocator *allocator,
  3656. + size_t len,
  3657. + const uint8_t *data)
  3658. +{
  3659. + return (Sr__InternalStateDataReq *)
  3660. + protobuf_c_message_unpack (&sr__internal_state_data_req__descriptor,
  3661. + allocator, len, data);
  3662. +}
  3663. +void sr__internal_state_data_req__free_unpacked
  3664. + (Sr__InternalStateDataReq *message,
  3665. + ProtobufCAllocator *allocator)
  3666. +{
  3667. + assert(message->base.descriptor == &sr__internal_state_data_req__descriptor);
  3668. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3669. +}
  3670. +void sr__notif_store_cleanup_req__init
  3671. + (Sr__NotifStoreCleanupReq *message)
  3672. +{
  3673. + static Sr__NotifStoreCleanupReq init_value = SR__NOTIF_STORE_CLEANUP_REQ__INIT;
  3674. + *message = init_value;
  3675. +}
  3676. +size_t sr__notif_store_cleanup_req__get_packed_size
  3677. + (const Sr__NotifStoreCleanupReq *message)
  3678. +{
  3679. + assert(message->base.descriptor == &sr__notif_store_cleanup_req__descriptor);
  3680. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3681. +}
  3682. +size_t sr__notif_store_cleanup_req__pack
  3683. + (const Sr__NotifStoreCleanupReq *message,
  3684. + uint8_t *out)
  3685. +{
  3686. + assert(message->base.descriptor == &sr__notif_store_cleanup_req__descriptor);
  3687. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3688. +}
  3689. +size_t sr__notif_store_cleanup_req__pack_to_buffer
  3690. + (const Sr__NotifStoreCleanupReq *message,
  3691. + ProtobufCBuffer *buffer)
  3692. +{
  3693. + assert(message->base.descriptor == &sr__notif_store_cleanup_req__descriptor);
  3694. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3695. +}
  3696. +Sr__NotifStoreCleanupReq *
  3697. + sr__notif_store_cleanup_req__unpack
  3698. + (ProtobufCAllocator *allocator,
  3699. + size_t len,
  3700. + const uint8_t *data)
  3701. +{
  3702. + return (Sr__NotifStoreCleanupReq *)
  3703. + protobuf_c_message_unpack (&sr__notif_store_cleanup_req__descriptor,
  3704. + allocator, len, data);
  3705. +}
  3706. +void sr__notif_store_cleanup_req__free_unpacked
  3707. + (Sr__NotifStoreCleanupReq *message,
  3708. + ProtobufCAllocator *allocator)
  3709. +{
  3710. + assert(message->base.descriptor == &sr__notif_store_cleanup_req__descriptor);
  3711. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3712. +}
  3713. +void sr__delayed_msg_req__init
  3714. + (Sr__DelayedMsgReq *message)
  3715. +{
  3716. + static Sr__DelayedMsgReq init_value = SR__DELAYED_MSG_REQ__INIT;
  3717. + *message = init_value;
  3718. +}
  3719. +size_t sr__delayed_msg_req__get_packed_size
  3720. + (const Sr__DelayedMsgReq *message)
  3721. +{
  3722. + assert(message->base.descriptor == &sr__delayed_msg_req__descriptor);
  3723. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3724. +}
  3725. +size_t sr__delayed_msg_req__pack
  3726. + (const Sr__DelayedMsgReq *message,
  3727. + uint8_t *out)
  3728. +{
  3729. + assert(message->base.descriptor == &sr__delayed_msg_req__descriptor);
  3730. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3731. +}
  3732. +size_t sr__delayed_msg_req__pack_to_buffer
  3733. + (const Sr__DelayedMsgReq *message,
  3734. + ProtobufCBuffer *buffer)
  3735. +{
  3736. + assert(message->base.descriptor == &sr__delayed_msg_req__descriptor);
  3737. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3738. +}
  3739. +Sr__DelayedMsgReq *
  3740. + sr__delayed_msg_req__unpack
  3741. + (ProtobufCAllocator *allocator,
  3742. + size_t len,
  3743. + const uint8_t *data)
  3744. +{
  3745. + return (Sr__DelayedMsgReq *)
  3746. + protobuf_c_message_unpack (&sr__delayed_msg_req__descriptor,
  3747. + allocator, len, data);
  3748. +}
  3749. +void sr__delayed_msg_req__free_unpacked
  3750. + (Sr__DelayedMsgReq *message,
  3751. + ProtobufCAllocator *allocator)
  3752. +{
  3753. + assert(message->base.descriptor == &sr__delayed_msg_req__descriptor);
  3754. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3755. +}
  3756. +void sr__nacm_reload_req__init
  3757. + (Sr__NacmReloadReq *message)
  3758. +{
  3759. + static Sr__NacmReloadReq init_value = SR__NACM_RELOAD_REQ__INIT;
  3760. + *message = init_value;
  3761. +}
  3762. +size_t sr__nacm_reload_req__get_packed_size
  3763. + (const Sr__NacmReloadReq *message)
  3764. +{
  3765. + assert(message->base.descriptor == &sr__nacm_reload_req__descriptor);
  3766. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3767. +}
  3768. +size_t sr__nacm_reload_req__pack
  3769. + (const Sr__NacmReloadReq *message,
  3770. + uint8_t *out)
  3771. +{
  3772. + assert(message->base.descriptor == &sr__nacm_reload_req__descriptor);
  3773. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3774. +}
  3775. +size_t sr__nacm_reload_req__pack_to_buffer
  3776. + (const Sr__NacmReloadReq *message,
  3777. + ProtobufCBuffer *buffer)
  3778. +{
  3779. + assert(message->base.descriptor == &sr__nacm_reload_req__descriptor);
  3780. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3781. +}
  3782. +Sr__NacmReloadReq *
  3783. + sr__nacm_reload_req__unpack
  3784. + (ProtobufCAllocator *allocator,
  3785. + size_t len,
  3786. + const uint8_t *data)
  3787. +{
  3788. + return (Sr__NacmReloadReq *)
  3789. + protobuf_c_message_unpack (&sr__nacm_reload_req__descriptor,
  3790. + allocator, len, data);
  3791. +}
  3792. +void sr__nacm_reload_req__free_unpacked
  3793. + (Sr__NacmReloadReq *message,
  3794. + ProtobufCAllocator *allocator)
  3795. +{
  3796. + assert(message->base.descriptor == &sr__nacm_reload_req__descriptor);
  3797. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3798. +}
  3799. +void sr__request__init
  3800. + (Sr__Request *message)
  3801. +{
  3802. + static Sr__Request init_value = SR__REQUEST__INIT;
  3803. + *message = init_value;
  3804. +}
  3805. +size_t sr__request__get_packed_size
  3806. + (const Sr__Request *message)
  3807. +{
  3808. + assert(message->base.descriptor == &sr__request__descriptor);
  3809. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3810. +}
  3811. +size_t sr__request__pack
  3812. + (const Sr__Request *message,
  3813. + uint8_t *out)
  3814. +{
  3815. + assert(message->base.descriptor == &sr__request__descriptor);
  3816. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3817. +}
  3818. +size_t sr__request__pack_to_buffer
  3819. + (const Sr__Request *message,
  3820. + ProtobufCBuffer *buffer)
  3821. +{
  3822. + assert(message->base.descriptor == &sr__request__descriptor);
  3823. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3824. +}
  3825. +Sr__Request *
  3826. + sr__request__unpack
  3827. + (ProtobufCAllocator *allocator,
  3828. + size_t len,
  3829. + const uint8_t *data)
  3830. +{
  3831. + return (Sr__Request *)
  3832. + protobuf_c_message_unpack (&sr__request__descriptor,
  3833. + allocator, len, data);
  3834. +}
  3835. +void sr__request__free_unpacked
  3836. + (Sr__Request *message,
  3837. + ProtobufCAllocator *allocator)
  3838. +{
  3839. + assert(message->base.descriptor == &sr__request__descriptor);
  3840. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3841. +}
  3842. +void sr__response__init
  3843. + (Sr__Response *message)
  3844. +{
  3845. + static Sr__Response init_value = SR__RESPONSE__INIT;
  3846. + *message = init_value;
  3847. +}
  3848. +size_t sr__response__get_packed_size
  3849. + (const Sr__Response *message)
  3850. +{
  3851. + assert(message->base.descriptor == &sr__response__descriptor);
  3852. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3853. +}
  3854. +size_t sr__response__pack
  3855. + (const Sr__Response *message,
  3856. + uint8_t *out)
  3857. +{
  3858. + assert(message->base.descriptor == &sr__response__descriptor);
  3859. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3860. +}
  3861. +size_t sr__response__pack_to_buffer
  3862. + (const Sr__Response *message,
  3863. + ProtobufCBuffer *buffer)
  3864. +{
  3865. + assert(message->base.descriptor == &sr__response__descriptor);
  3866. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3867. +}
  3868. +Sr__Response *
  3869. + sr__response__unpack
  3870. + (ProtobufCAllocator *allocator,
  3871. + size_t len,
  3872. + const uint8_t *data)
  3873. +{
  3874. + return (Sr__Response *)
  3875. + protobuf_c_message_unpack (&sr__response__descriptor,
  3876. + allocator, len, data);
  3877. +}
  3878. +void sr__response__free_unpacked
  3879. + (Sr__Response *message,
  3880. + ProtobufCAllocator *allocator)
  3881. +{
  3882. + assert(message->base.descriptor == &sr__response__descriptor);
  3883. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3884. +}
  3885. +void sr__notification__init
  3886. + (Sr__Notification *message)
  3887. +{
  3888. + static Sr__Notification init_value = SR__NOTIFICATION__INIT;
  3889. + *message = init_value;
  3890. +}
  3891. +size_t sr__notification__get_packed_size
  3892. + (const Sr__Notification *message)
  3893. +{
  3894. + assert(message->base.descriptor == &sr__notification__descriptor);
  3895. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3896. +}
  3897. +size_t sr__notification__pack
  3898. + (const Sr__Notification *message,
  3899. + uint8_t *out)
  3900. +{
  3901. + assert(message->base.descriptor == &sr__notification__descriptor);
  3902. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3903. +}
  3904. +size_t sr__notification__pack_to_buffer
  3905. + (const Sr__Notification *message,
  3906. + ProtobufCBuffer *buffer)
  3907. +{
  3908. + assert(message->base.descriptor == &sr__notification__descriptor);
  3909. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3910. +}
  3911. +Sr__Notification *
  3912. + sr__notification__unpack
  3913. + (ProtobufCAllocator *allocator,
  3914. + size_t len,
  3915. + const uint8_t *data)
  3916. +{
  3917. + return (Sr__Notification *)
  3918. + protobuf_c_message_unpack (&sr__notification__descriptor,
  3919. + allocator, len, data);
  3920. +}
  3921. +void sr__notification__free_unpacked
  3922. + (Sr__Notification *message,
  3923. + ProtobufCAllocator *allocator)
  3924. +{
  3925. + assert(message->base.descriptor == &sr__notification__descriptor);
  3926. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3927. +}
  3928. +void sr__notification_ack__init
  3929. + (Sr__NotificationAck *message)
  3930. +{
  3931. + static Sr__NotificationAck init_value = SR__NOTIFICATION_ACK__INIT;
  3932. + *message = init_value;
  3933. +}
  3934. +size_t sr__notification_ack__get_packed_size
  3935. + (const Sr__NotificationAck *message)
  3936. +{
  3937. + assert(message->base.descriptor == &sr__notification_ack__descriptor);
  3938. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3939. +}
  3940. +size_t sr__notification_ack__pack
  3941. + (const Sr__NotificationAck *message,
  3942. + uint8_t *out)
  3943. +{
  3944. + assert(message->base.descriptor == &sr__notification_ack__descriptor);
  3945. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3946. +}
  3947. +size_t sr__notification_ack__pack_to_buffer
  3948. + (const Sr__NotificationAck *message,
  3949. + ProtobufCBuffer *buffer)
  3950. +{
  3951. + assert(message->base.descriptor == &sr__notification_ack__descriptor);
  3952. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3953. +}
  3954. +Sr__NotificationAck *
  3955. + sr__notification_ack__unpack
  3956. + (ProtobufCAllocator *allocator,
  3957. + size_t len,
  3958. + const uint8_t *data)
  3959. +{
  3960. + return (Sr__NotificationAck *)
  3961. + protobuf_c_message_unpack (&sr__notification_ack__descriptor,
  3962. + allocator, len, data);
  3963. +}
  3964. +void sr__notification_ack__free_unpacked
  3965. + (Sr__NotificationAck *message,
  3966. + ProtobufCAllocator *allocator)
  3967. +{
  3968. + assert(message->base.descriptor == &sr__notification_ack__descriptor);
  3969. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  3970. +}
  3971. +void sr__internal_request__init
  3972. + (Sr__InternalRequest *message)
  3973. +{
  3974. + static Sr__InternalRequest init_value = SR__INTERNAL_REQUEST__INIT;
  3975. + *message = init_value;
  3976. +}
  3977. +size_t sr__internal_request__get_packed_size
  3978. + (const Sr__InternalRequest *message)
  3979. +{
  3980. + assert(message->base.descriptor == &sr__internal_request__descriptor);
  3981. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  3982. +}
  3983. +size_t sr__internal_request__pack
  3984. + (const Sr__InternalRequest *message,
  3985. + uint8_t *out)
  3986. +{
  3987. + assert(message->base.descriptor == &sr__internal_request__descriptor);
  3988. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  3989. +}
  3990. +size_t sr__internal_request__pack_to_buffer
  3991. + (const Sr__InternalRequest *message,
  3992. + ProtobufCBuffer *buffer)
  3993. +{
  3994. + assert(message->base.descriptor == &sr__internal_request__descriptor);
  3995. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  3996. +}
  3997. +Sr__InternalRequest *
  3998. + sr__internal_request__unpack
  3999. + (ProtobufCAllocator *allocator,
  4000. + size_t len,
  4001. + const uint8_t *data)
  4002. +{
  4003. + return (Sr__InternalRequest *)
  4004. + protobuf_c_message_unpack (&sr__internal_request__descriptor,
  4005. + allocator, len, data);
  4006. +}
  4007. +void sr__internal_request__free_unpacked
  4008. + (Sr__InternalRequest *message,
  4009. + ProtobufCAllocator *allocator)
  4010. +{
  4011. + assert(message->base.descriptor == &sr__internal_request__descriptor);
  4012. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  4013. +}
  4014. +void sr__msg__init
  4015. + (Sr__Msg *message)
  4016. +{
  4017. + static Sr__Msg init_value = SR__MSG__INIT;
  4018. + *message = init_value;
  4019. +}
  4020. +size_t sr__msg__get_packed_size
  4021. + (const Sr__Msg *message)
  4022. +{
  4023. + assert(message->base.descriptor == &sr__msg__descriptor);
  4024. + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
  4025. +}
  4026. +size_t sr__msg__pack
  4027. + (const Sr__Msg *message,
  4028. + uint8_t *out)
  4029. +{
  4030. + assert(message->base.descriptor == &sr__msg__descriptor);
  4031. + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
  4032. +}
  4033. +size_t sr__msg__pack_to_buffer
  4034. + (const Sr__Msg *message,
  4035. + ProtobufCBuffer *buffer)
  4036. +{
  4037. + assert(message->base.descriptor == &sr__msg__descriptor);
  4038. + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
  4039. +}
  4040. +Sr__Msg *
  4041. + sr__msg__unpack
  4042. + (ProtobufCAllocator *allocator,
  4043. + size_t len,
  4044. + const uint8_t *data)
  4045. +{
  4046. + return (Sr__Msg *)
  4047. + protobuf_c_message_unpack (&sr__msg__descriptor,
  4048. + allocator, len, data);
  4049. +}
  4050. +void sr__msg__free_unpacked
  4051. + (Sr__Msg *message,
  4052. + ProtobufCAllocator *allocator)
  4053. +{
  4054. + assert(message->base.descriptor == &sr__msg__descriptor);
  4055. + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
  4056. +}
  4057. +static const ProtobufCEnumValue sr__value__types__enum_values_by_number[22] =
  4058. +{
  4059. + { "LIST", "SR__VALUE__TYPES__LIST", 1 },
  4060. + { "CONTAINER", "SR__VALUE__TYPES__CONTAINER", 2 },
  4061. + { "CONTAINER_PRESENCE", "SR__VALUE__TYPES__CONTAINER_PRESENCE", 3 },
  4062. + { "LEAF_EMPTY", "SR__VALUE__TYPES__LEAF_EMPTY", 4 },
  4063. + { "BINARY", "SR__VALUE__TYPES__BINARY", 10 },
  4064. + { "BITS", "SR__VALUE__TYPES__BITS", 11 },
  4065. + { "BOOL", "SR__VALUE__TYPES__BOOL", 12 },
  4066. + { "DECIMAL64", "SR__VALUE__TYPES__DECIMAL64", 13 },
  4067. + { "ENUM", "SR__VALUE__TYPES__ENUM", 14 },
  4068. + { "IDENTITYREF", "SR__VALUE__TYPES__IDENTITYREF", 15 },
  4069. + { "INSTANCEID", "SR__VALUE__TYPES__INSTANCEID", 16 },
  4070. + { "INT8", "SR__VALUE__TYPES__INT8", 17 },
  4071. + { "INT16", "SR__VALUE__TYPES__INT16", 18 },
  4072. + { "INT32", "SR__VALUE__TYPES__INT32", 19 },
  4073. + { "INT64", "SR__VALUE__TYPES__INT64", 20 },
  4074. + { "STRING", "SR__VALUE__TYPES__STRING", 21 },
  4075. + { "UINT8", "SR__VALUE__TYPES__UINT8", 22 },
  4076. + { "UINT16", "SR__VALUE__TYPES__UINT16", 23 },
  4077. + { "UINT32", "SR__VALUE__TYPES__UINT32", 24 },
  4078. + { "UINT64", "SR__VALUE__TYPES__UINT64", 25 },
  4079. + { "ANYXML", "SR__VALUE__TYPES__ANYXML", 26 },
  4080. + { "ANYDATA", "SR__VALUE__TYPES__ANYDATA", 27 },
  4081. +};
  4082. +static const ProtobufCIntRange sr__value__types__value_ranges[] = {
  4083. +{1, 0},{10, 4},{0, 22}
  4084. +};
  4085. +static const ProtobufCEnumValueIndex sr__value__types__enum_values_by_name[22] =
  4086. +{
  4087. + { "ANYDATA", 21 },
  4088. + { "ANYXML", 20 },
  4089. + { "BINARY", 4 },
  4090. + { "BITS", 5 },
  4091. + { "BOOL", 6 },
  4092. + { "CONTAINER", 1 },
  4093. + { "CONTAINER_PRESENCE", 2 },
  4094. + { "DECIMAL64", 7 },
  4095. + { "ENUM", 8 },
  4096. + { "IDENTITYREF", 9 },
  4097. + { "INSTANCEID", 10 },
  4098. + { "INT16", 12 },
  4099. + { "INT32", 13 },
  4100. + { "INT64", 14 },
  4101. + { "INT8", 11 },
  4102. + { "LEAF_EMPTY", 3 },
  4103. + { "LIST", 0 },
  4104. + { "STRING", 15 },
  4105. + { "UINT16", 17 },
  4106. + { "UINT32", 18 },
  4107. + { "UINT64", 19 },
  4108. + { "UINT8", 16 },
  4109. +};
  4110. +const ProtobufCEnumDescriptor sr__value__types__descriptor =
  4111. +{
  4112. + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  4113. + "sr.Value.Types",
  4114. + "Types",
  4115. + "Sr__Value__Types",
  4116. + "sr",
  4117. + 22,
  4118. + sr__value__types__enum_values_by_number,
  4119. + 22,
  4120. + sr__value__types__enum_values_by_name,
  4121. + 2,
  4122. + sr__value__types__value_ranges,
  4123. + NULL,NULL,NULL,NULL /* reserved[1234] */
  4124. +};
  4125. +static const ProtobufCFieldDescriptor sr__value__field_descriptors[21] =
  4126. +{
  4127. + {
  4128. + "xpath",
  4129. + 1,
  4130. + PROTOBUF_C_LABEL_REQUIRED,
  4131. + PROTOBUF_C_TYPE_STRING,
  4132. + 0, /* quantifier_offset */
  4133. + offsetof(Sr__Value, xpath),
  4134. + NULL,
  4135. + NULL,
  4136. + 0, /* flags */
  4137. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4138. + },
  4139. + {
  4140. + "type",
  4141. + 2,
  4142. + PROTOBUF_C_LABEL_REQUIRED,
  4143. + PROTOBUF_C_TYPE_ENUM,
  4144. + 0, /* quantifier_offset */
  4145. + offsetof(Sr__Value, type),
  4146. + &sr__value__types__descriptor,
  4147. + NULL,
  4148. + 0, /* flags */
  4149. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4150. + },
  4151. + {
  4152. + "dflt",
  4153. + 3,
  4154. + PROTOBUF_C_LABEL_REQUIRED,
  4155. + PROTOBUF_C_TYPE_BOOL,
  4156. + 0, /* quantifier_offset */
  4157. + offsetof(Sr__Value, dflt),
  4158. + NULL,
  4159. + NULL,
  4160. + 0, /* flags */
  4161. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4162. + },
  4163. + {
  4164. + "binary_val",
  4165. + 10,
  4166. + PROTOBUF_C_LABEL_OPTIONAL,
  4167. + PROTOBUF_C_TYPE_STRING,
  4168. + 0, /* quantifier_offset */
  4169. + offsetof(Sr__Value, binary_val),
  4170. + NULL,
  4171. + NULL,
  4172. + 0, /* flags */
  4173. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4174. + },
  4175. + {
  4176. + "bits_val",
  4177. + 11,
  4178. + PROTOBUF_C_LABEL_OPTIONAL,
  4179. + PROTOBUF_C_TYPE_STRING,
  4180. + 0, /* quantifier_offset */
  4181. + offsetof(Sr__Value, bits_val),
  4182. + NULL,
  4183. + NULL,
  4184. + 0, /* flags */
  4185. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4186. + },
  4187. + {
  4188. + "bool_val",
  4189. + 12,
  4190. + PROTOBUF_C_LABEL_OPTIONAL,
  4191. + PROTOBUF_C_TYPE_BOOL,
  4192. + offsetof(Sr__Value, has_bool_val),
  4193. + offsetof(Sr__Value, bool_val),
  4194. + NULL,
  4195. + NULL,
  4196. + 0, /* flags */
  4197. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4198. + },
  4199. + {
  4200. + "decimal64_val",
  4201. + 13,
  4202. + PROTOBUF_C_LABEL_OPTIONAL,
  4203. + PROTOBUF_C_TYPE_DOUBLE,
  4204. + offsetof(Sr__Value, has_decimal64_val),
  4205. + offsetof(Sr__Value, decimal64_val),
  4206. + NULL,
  4207. + NULL,
  4208. + 0, /* flags */
  4209. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4210. + },
  4211. + {
  4212. + "enum_val",
  4213. + 14,
  4214. + PROTOBUF_C_LABEL_OPTIONAL,
  4215. + PROTOBUF_C_TYPE_STRING,
  4216. + 0, /* quantifier_offset */
  4217. + offsetof(Sr__Value, enum_val),
  4218. + NULL,
  4219. + NULL,
  4220. + 0, /* flags */
  4221. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4222. + },
  4223. + {
  4224. + "identityref_val",
  4225. + 15,
  4226. + PROTOBUF_C_LABEL_OPTIONAL,
  4227. + PROTOBUF_C_TYPE_STRING,
  4228. + 0, /* quantifier_offset */
  4229. + offsetof(Sr__Value, identityref_val),
  4230. + NULL,
  4231. + NULL,
  4232. + 0, /* flags */
  4233. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4234. + },
  4235. + {
  4236. + "instanceid_val",
  4237. + 16,
  4238. + PROTOBUF_C_LABEL_OPTIONAL,
  4239. + PROTOBUF_C_TYPE_STRING,
  4240. + 0, /* quantifier_offset */
  4241. + offsetof(Sr__Value, instanceid_val),
  4242. + NULL,
  4243. + NULL,
  4244. + 0, /* flags */
  4245. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4246. + },
  4247. + {
  4248. + "int8_val",
  4249. + 17,
  4250. + PROTOBUF_C_LABEL_OPTIONAL,
  4251. + PROTOBUF_C_TYPE_INT32,
  4252. + offsetof(Sr__Value, has_int8_val),
  4253. + offsetof(Sr__Value, int8_val),
  4254. + NULL,
  4255. + NULL,
  4256. + 0, /* flags */
  4257. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4258. + },
  4259. + {
  4260. + "int16_val",
  4261. + 18,
  4262. + PROTOBUF_C_LABEL_OPTIONAL,
  4263. + PROTOBUF_C_TYPE_INT32,
  4264. + offsetof(Sr__Value, has_int16_val),
  4265. + offsetof(Sr__Value, int16_val),
  4266. + NULL,
  4267. + NULL,
  4268. + 0, /* flags */
  4269. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4270. + },
  4271. + {
  4272. + "int32_val",
  4273. + 19,
  4274. + PROTOBUF_C_LABEL_OPTIONAL,
  4275. + PROTOBUF_C_TYPE_INT32,
  4276. + offsetof(Sr__Value, has_int32_val),
  4277. + offsetof(Sr__Value, int32_val),
  4278. + NULL,
  4279. + NULL,
  4280. + 0, /* flags */
  4281. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4282. + },
  4283. + {
  4284. + "int64_val",
  4285. + 20,
  4286. + PROTOBUF_C_LABEL_OPTIONAL,
  4287. + PROTOBUF_C_TYPE_INT64,
  4288. + offsetof(Sr__Value, has_int64_val),
  4289. + offsetof(Sr__Value, int64_val),
  4290. + NULL,
  4291. + NULL,
  4292. + 0, /* flags */
  4293. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4294. + },
  4295. + {
  4296. + "string_val",
  4297. + 21,
  4298. + PROTOBUF_C_LABEL_OPTIONAL,
  4299. + PROTOBUF_C_TYPE_STRING,
  4300. + 0, /* quantifier_offset */
  4301. + offsetof(Sr__Value, string_val),
  4302. + NULL,
  4303. + NULL,
  4304. + 0, /* flags */
  4305. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4306. + },
  4307. + {
  4308. + "uint8_val",
  4309. + 22,
  4310. + PROTOBUF_C_LABEL_OPTIONAL,
  4311. + PROTOBUF_C_TYPE_UINT32,
  4312. + offsetof(Sr__Value, has_uint8_val),
  4313. + offsetof(Sr__Value, uint8_val),
  4314. + NULL,
  4315. + NULL,
  4316. + 0, /* flags */
  4317. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4318. + },
  4319. + {
  4320. + "uint16_val",
  4321. + 23,
  4322. + PROTOBUF_C_LABEL_OPTIONAL,
  4323. + PROTOBUF_C_TYPE_UINT32,
  4324. + offsetof(Sr__Value, has_uint16_val),
  4325. + offsetof(Sr__Value, uint16_val),
  4326. + NULL,
  4327. + NULL,
  4328. + 0, /* flags */
  4329. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4330. + },
  4331. + {
  4332. + "uint32_val",
  4333. + 24,
  4334. + PROTOBUF_C_LABEL_OPTIONAL,
  4335. + PROTOBUF_C_TYPE_UINT32,
  4336. + offsetof(Sr__Value, has_uint32_val),
  4337. + offsetof(Sr__Value, uint32_val),
  4338. + NULL,
  4339. + NULL,
  4340. + 0, /* flags */
  4341. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4342. + },
  4343. + {
  4344. + "uint64_val",
  4345. + 25,
  4346. + PROTOBUF_C_LABEL_OPTIONAL,
  4347. + PROTOBUF_C_TYPE_UINT64,
  4348. + offsetof(Sr__Value, has_uint64_val),
  4349. + offsetof(Sr__Value, uint64_val),
  4350. + NULL,
  4351. + NULL,
  4352. + 0, /* flags */
  4353. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4354. + },
  4355. + {
  4356. + "anyxml_val",
  4357. + 26,
  4358. + PROTOBUF_C_LABEL_OPTIONAL,
  4359. + PROTOBUF_C_TYPE_STRING,
  4360. + 0, /* quantifier_offset */
  4361. + offsetof(Sr__Value, anyxml_val),
  4362. + NULL,
  4363. + NULL,
  4364. + 0, /* flags */
  4365. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4366. + },
  4367. + {
  4368. + "anydata_val",
  4369. + 27,
  4370. + PROTOBUF_C_LABEL_OPTIONAL,
  4371. + PROTOBUF_C_TYPE_STRING,
  4372. + 0, /* quantifier_offset */
  4373. + offsetof(Sr__Value, anydata_val),
  4374. + NULL,
  4375. + NULL,
  4376. + 0, /* flags */
  4377. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4378. + },
  4379. +};
  4380. +static const unsigned sr__value__field_indices_by_name[] = {
  4381. + 20, /* field[20] = anydata_val */
  4382. + 19, /* field[19] = anyxml_val */
  4383. + 3, /* field[3] = binary_val */
  4384. + 4, /* field[4] = bits_val */
  4385. + 5, /* field[5] = bool_val */
  4386. + 6, /* field[6] = decimal64_val */
  4387. + 2, /* field[2] = dflt */
  4388. + 7, /* field[7] = enum_val */
  4389. + 8, /* field[8] = identityref_val */
  4390. + 9, /* field[9] = instanceid_val */
  4391. + 11, /* field[11] = int16_val */
  4392. + 12, /* field[12] = int32_val */
  4393. + 13, /* field[13] = int64_val */
  4394. + 10, /* field[10] = int8_val */
  4395. + 14, /* field[14] = string_val */
  4396. + 1, /* field[1] = type */
  4397. + 16, /* field[16] = uint16_val */
  4398. + 17, /* field[17] = uint32_val */
  4399. + 18, /* field[18] = uint64_val */
  4400. + 15, /* field[15] = uint8_val */
  4401. + 0, /* field[0] = xpath */
  4402. +};
  4403. +static const ProtobufCIntRange sr__value__number_ranges[2 + 1] =
  4404. +{
  4405. + { 1, 0 },
  4406. + { 10, 3 },
  4407. + { 0, 21 }
  4408. +};
  4409. +const ProtobufCMessageDescriptor sr__value__descriptor =
  4410. +{
  4411. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  4412. + "sr.Value",
  4413. + "Value",
  4414. + "Sr__Value",
  4415. + "sr",
  4416. + sizeof(Sr__Value),
  4417. + 21,
  4418. + sr__value__field_descriptors,
  4419. + sr__value__field_indices_by_name,
  4420. + 2, sr__value__number_ranges,
  4421. + (ProtobufCMessageInit) sr__value__init,
  4422. + NULL,NULL,NULL /* reserved[123] */
  4423. +};
  4424. +static const ProtobufCFieldDescriptor sr__node__field_descriptors[3] =
  4425. +{
  4426. + {
  4427. + "value",
  4428. + 1,
  4429. + PROTOBUF_C_LABEL_REQUIRED,
  4430. + PROTOBUF_C_TYPE_MESSAGE,
  4431. + 0, /* quantifier_offset */
  4432. + offsetof(Sr__Node, value),
  4433. + &sr__value__descriptor,
  4434. + NULL,
  4435. + 0, /* flags */
  4436. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4437. + },
  4438. + {
  4439. + "module_name",
  4440. + 2,
  4441. + PROTOBUF_C_LABEL_REQUIRED,
  4442. + PROTOBUF_C_TYPE_STRING,
  4443. + 0, /* quantifier_offset */
  4444. + offsetof(Sr__Node, module_name),
  4445. + NULL,
  4446. + NULL,
  4447. + 0, /* flags */
  4448. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4449. + },
  4450. + {
  4451. + "children",
  4452. + 3,
  4453. + PROTOBUF_C_LABEL_REPEATED,
  4454. + PROTOBUF_C_TYPE_MESSAGE,
  4455. + offsetof(Sr__Node, n_children),
  4456. + offsetof(Sr__Node, children),
  4457. + &sr__node__descriptor,
  4458. + NULL,
  4459. + 0, /* flags */
  4460. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4461. + },
  4462. +};
  4463. +static const unsigned sr__node__field_indices_by_name[] = {
  4464. + 2, /* field[2] = children */
  4465. + 1, /* field[1] = module_name */
  4466. + 0, /* field[0] = value */
  4467. +};
  4468. +static const ProtobufCIntRange sr__node__number_ranges[1 + 1] =
  4469. +{
  4470. + { 1, 0 },
  4471. + { 0, 3 }
  4472. +};
  4473. +const ProtobufCMessageDescriptor sr__node__descriptor =
  4474. +{
  4475. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  4476. + "sr.Node",
  4477. + "Node",
  4478. + "Sr__Node",
  4479. + "sr",
  4480. + sizeof(Sr__Node),
  4481. + 3,
  4482. + sr__node__field_descriptors,
  4483. + sr__node__field_indices_by_name,
  4484. + 1, sr__node__number_ranges,
  4485. + (ProtobufCMessageInit) sr__node__init,
  4486. + NULL,NULL,NULL /* reserved[123] */
  4487. +};
  4488. +static const ProtobufCFieldDescriptor sr__error__field_descriptors[2] =
  4489. +{
  4490. + {
  4491. + "message",
  4492. + 1,
  4493. + PROTOBUF_C_LABEL_OPTIONAL,
  4494. + PROTOBUF_C_TYPE_STRING,
  4495. + 0, /* quantifier_offset */
  4496. + offsetof(Sr__Error, message),
  4497. + NULL,
  4498. + NULL,
  4499. + 0, /* flags */
  4500. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4501. + },
  4502. + {
  4503. + "xpath",
  4504. + 2,
  4505. + PROTOBUF_C_LABEL_OPTIONAL,
  4506. + PROTOBUF_C_TYPE_STRING,
  4507. + 0, /* quantifier_offset */
  4508. + offsetof(Sr__Error, xpath),
  4509. + NULL,
  4510. + NULL,
  4511. + 0, /* flags */
  4512. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4513. + },
  4514. +};
  4515. +static const unsigned sr__error__field_indices_by_name[] = {
  4516. + 0, /* field[0] = message */
  4517. + 1, /* field[1] = xpath */
  4518. +};
  4519. +static const ProtobufCIntRange sr__error__number_ranges[1 + 1] =
  4520. +{
  4521. + { 1, 0 },
  4522. + { 0, 2 }
  4523. +};
  4524. +const ProtobufCMessageDescriptor sr__error__descriptor =
  4525. +{
  4526. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  4527. + "sr.Error",
  4528. + "Error",
  4529. + "Sr__Error",
  4530. + "sr",
  4531. + sizeof(Sr__Error),
  4532. + 2,
  4533. + sr__error__field_descriptors,
  4534. + sr__error__field_indices_by_name,
  4535. + 1, sr__error__number_ranges,
  4536. + (ProtobufCMessageInit) sr__error__init,
  4537. + NULL,NULL,NULL /* reserved[123] */
  4538. +};
  4539. +static const ProtobufCFieldDescriptor sr__session_start_req__field_descriptors[4] =
  4540. +{
  4541. + {
  4542. + "datastore",
  4543. + 1,
  4544. + PROTOBUF_C_LABEL_REQUIRED,
  4545. + PROTOBUF_C_TYPE_ENUM,
  4546. + 0, /* quantifier_offset */
  4547. + offsetof(Sr__SessionStartReq, datastore),
  4548. + &sr__data_store__descriptor,
  4549. + NULL,
  4550. + 0, /* flags */
  4551. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4552. + },
  4553. + {
  4554. + "user_name",
  4555. + 2,
  4556. + PROTOBUF_C_LABEL_OPTIONAL,
  4557. + PROTOBUF_C_TYPE_STRING,
  4558. + 0, /* quantifier_offset */
  4559. + offsetof(Sr__SessionStartReq, user_name),
  4560. + NULL,
  4561. + NULL,
  4562. + 0, /* flags */
  4563. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4564. + },
  4565. + {
  4566. + "options",
  4567. + 3,
  4568. + PROTOBUF_C_LABEL_REQUIRED,
  4569. + PROTOBUF_C_TYPE_UINT32,
  4570. + 0, /* quantifier_offset */
  4571. + offsetof(Sr__SessionStartReq, options),
  4572. + NULL,
  4573. + NULL,
  4574. + 0, /* flags */
  4575. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4576. + },
  4577. + {
  4578. + "commit_id",
  4579. + 4,
  4580. + PROTOBUF_C_LABEL_OPTIONAL,
  4581. + PROTOBUF_C_TYPE_UINT32,
  4582. + offsetof(Sr__SessionStartReq, has_commit_id),
  4583. + offsetof(Sr__SessionStartReq, commit_id),
  4584. + NULL,
  4585. + NULL,
  4586. + 0, /* flags */
  4587. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4588. + },
  4589. +};
  4590. +static const unsigned sr__session_start_req__field_indices_by_name[] = {
  4591. + 3, /* field[3] = commit_id */
  4592. + 0, /* field[0] = datastore */
  4593. + 2, /* field[2] = options */
  4594. + 1, /* field[1] = user_name */
  4595. +};
  4596. +static const ProtobufCIntRange sr__session_start_req__number_ranges[1 + 1] =
  4597. +{
  4598. + { 1, 0 },
  4599. + { 0, 4 }
  4600. +};
  4601. +const ProtobufCMessageDescriptor sr__session_start_req__descriptor =
  4602. +{
  4603. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  4604. + "sr.SessionStartReq",
  4605. + "SessionStartReq",
  4606. + "Sr__SessionStartReq",
  4607. + "sr",
  4608. + sizeof(Sr__SessionStartReq),
  4609. + 4,
  4610. + sr__session_start_req__field_descriptors,
  4611. + sr__session_start_req__field_indices_by_name,
  4612. + 1, sr__session_start_req__number_ranges,
  4613. + (ProtobufCMessageInit) sr__session_start_req__init,
  4614. + NULL,NULL,NULL /* reserved[123] */
  4615. +};
  4616. +static const ProtobufCFieldDescriptor sr__session_start_resp__field_descriptors[1] =
  4617. +{
  4618. + {
  4619. + "session_id",
  4620. + 1,
  4621. + PROTOBUF_C_LABEL_REQUIRED,
  4622. + PROTOBUF_C_TYPE_UINT32,
  4623. + 0, /* quantifier_offset */
  4624. + offsetof(Sr__SessionStartResp, session_id),
  4625. + NULL,
  4626. + NULL,
  4627. + 0, /* flags */
  4628. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4629. + },
  4630. +};
  4631. +static const unsigned sr__session_start_resp__field_indices_by_name[] = {
  4632. + 0, /* field[0] = session_id */
  4633. +};
  4634. +static const ProtobufCIntRange sr__session_start_resp__number_ranges[1 + 1] =
  4635. +{
  4636. + { 1, 0 },
  4637. + { 0, 1 }
  4638. +};
  4639. +const ProtobufCMessageDescriptor sr__session_start_resp__descriptor =
  4640. +{
  4641. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  4642. + "sr.SessionStartResp",
  4643. + "SessionStartResp",
  4644. + "Sr__SessionStartResp",
  4645. + "sr",
  4646. + sizeof(Sr__SessionStartResp),
  4647. + 1,
  4648. + sr__session_start_resp__field_descriptors,
  4649. + sr__session_start_resp__field_indices_by_name,
  4650. + 1, sr__session_start_resp__number_ranges,
  4651. + (ProtobufCMessageInit) sr__session_start_resp__init,
  4652. + NULL,NULL,NULL /* reserved[123] */
  4653. +};
  4654. +static const ProtobufCFieldDescriptor sr__session_stop_req__field_descriptors[1] =
  4655. +{
  4656. + {
  4657. + "session_id",
  4658. + 1,
  4659. + PROTOBUF_C_LABEL_REQUIRED,
  4660. + PROTOBUF_C_TYPE_UINT32,
  4661. + 0, /* quantifier_offset */
  4662. + offsetof(Sr__SessionStopReq, session_id),
  4663. + NULL,
  4664. + NULL,
  4665. + 0, /* flags */
  4666. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4667. + },
  4668. +};
  4669. +static const unsigned sr__session_stop_req__field_indices_by_name[] = {
  4670. + 0, /* field[0] = session_id */
  4671. +};
  4672. +static const ProtobufCIntRange sr__session_stop_req__number_ranges[1 + 1] =
  4673. +{
  4674. + { 1, 0 },
  4675. + { 0, 1 }
  4676. +};
  4677. +const ProtobufCMessageDescriptor sr__session_stop_req__descriptor =
  4678. +{
  4679. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  4680. + "sr.SessionStopReq",
  4681. + "SessionStopReq",
  4682. + "Sr__SessionStopReq",
  4683. + "sr",
  4684. + sizeof(Sr__SessionStopReq),
  4685. + 1,
  4686. + sr__session_stop_req__field_descriptors,
  4687. + sr__session_stop_req__field_indices_by_name,
  4688. + 1, sr__session_stop_req__number_ranges,
  4689. + (ProtobufCMessageInit) sr__session_stop_req__init,
  4690. + NULL,NULL,NULL /* reserved[123] */
  4691. +};
  4692. +static const ProtobufCFieldDescriptor sr__session_stop_resp__field_descriptors[1] =
  4693. +{
  4694. + {
  4695. + "session_id",
  4696. + 1,
  4697. + PROTOBUF_C_LABEL_REQUIRED,
  4698. + PROTOBUF_C_TYPE_UINT32,
  4699. + 0, /* quantifier_offset */
  4700. + offsetof(Sr__SessionStopResp, session_id),
  4701. + NULL,
  4702. + NULL,
  4703. + 0, /* flags */
  4704. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4705. + },
  4706. +};
  4707. +static const unsigned sr__session_stop_resp__field_indices_by_name[] = {
  4708. + 0, /* field[0] = session_id */
  4709. +};
  4710. +static const ProtobufCIntRange sr__session_stop_resp__number_ranges[1 + 1] =
  4711. +{
  4712. + { 1, 0 },
  4713. + { 0, 1 }
  4714. +};
  4715. +const ProtobufCMessageDescriptor sr__session_stop_resp__descriptor =
  4716. +{
  4717. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  4718. + "sr.SessionStopResp",
  4719. + "SessionStopResp",
  4720. + "Sr__SessionStopResp",
  4721. + "sr",
  4722. + sizeof(Sr__SessionStopResp),
  4723. + 1,
  4724. + sr__session_stop_resp__field_descriptors,
  4725. + sr__session_stop_resp__field_indices_by_name,
  4726. + 1, sr__session_stop_resp__number_ranges,
  4727. + (ProtobufCMessageInit) sr__session_stop_resp__init,
  4728. + NULL,NULL,NULL /* reserved[123] */
  4729. +};
  4730. +#define sr__session_refresh_req__field_descriptors NULL
  4731. +#define sr__session_refresh_req__field_indices_by_name NULL
  4732. +#define sr__session_refresh_req__number_ranges NULL
  4733. +const ProtobufCMessageDescriptor sr__session_refresh_req__descriptor =
  4734. +{
  4735. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  4736. + "sr.SessionRefreshReq",
  4737. + "SessionRefreshReq",
  4738. + "Sr__SessionRefreshReq",
  4739. + "sr",
  4740. + sizeof(Sr__SessionRefreshReq),
  4741. + 0,
  4742. + sr__session_refresh_req__field_descriptors,
  4743. + sr__session_refresh_req__field_indices_by_name,
  4744. + 0, sr__session_refresh_req__number_ranges,
  4745. + (ProtobufCMessageInit) sr__session_refresh_req__init,
  4746. + NULL,NULL,NULL /* reserved[123] */
  4747. +};
  4748. +static const ProtobufCFieldDescriptor sr__session_refresh_resp__field_descriptors[1] =
  4749. +{
  4750. + {
  4751. + "errors",
  4752. + 1,
  4753. + PROTOBUF_C_LABEL_REPEATED,
  4754. + PROTOBUF_C_TYPE_MESSAGE,
  4755. + offsetof(Sr__SessionRefreshResp, n_errors),
  4756. + offsetof(Sr__SessionRefreshResp, errors),
  4757. + &sr__error__descriptor,
  4758. + NULL,
  4759. + 0, /* flags */
  4760. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4761. + },
  4762. +};
  4763. +static const unsigned sr__session_refresh_resp__field_indices_by_name[] = {
  4764. + 0, /* field[0] = errors */
  4765. +};
  4766. +static const ProtobufCIntRange sr__session_refresh_resp__number_ranges[1 + 1] =
  4767. +{
  4768. + { 1, 0 },
  4769. + { 0, 1 }
  4770. +};
  4771. +const ProtobufCMessageDescriptor sr__session_refresh_resp__descriptor =
  4772. +{
  4773. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  4774. + "sr.SessionRefreshResp",
  4775. + "SessionRefreshResp",
  4776. + "Sr__SessionRefreshResp",
  4777. + "sr",
  4778. + sizeof(Sr__SessionRefreshResp),
  4779. + 1,
  4780. + sr__session_refresh_resp__field_descriptors,
  4781. + sr__session_refresh_resp__field_indices_by_name,
  4782. + 1, sr__session_refresh_resp__number_ranges,
  4783. + (ProtobufCMessageInit) sr__session_refresh_resp__init,
  4784. + NULL,NULL,NULL /* reserved[123] */
  4785. +};
  4786. +#define sr__session_check_req__field_descriptors NULL
  4787. +#define sr__session_check_req__field_indices_by_name NULL
  4788. +#define sr__session_check_req__number_ranges NULL
  4789. +const ProtobufCMessageDescriptor sr__session_check_req__descriptor =
  4790. +{
  4791. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  4792. + "sr.SessionCheckReq",
  4793. + "SessionCheckReq",
  4794. + "Sr__SessionCheckReq",
  4795. + "sr",
  4796. + sizeof(Sr__SessionCheckReq),
  4797. + 0,
  4798. + sr__session_check_req__field_descriptors,
  4799. + sr__session_check_req__field_indices_by_name,
  4800. + 0, sr__session_check_req__number_ranges,
  4801. + (ProtobufCMessageInit) sr__session_check_req__init,
  4802. + NULL,NULL,NULL /* reserved[123] */
  4803. +};
  4804. +static const ProtobufCFieldDescriptor sr__session_check_resp__field_descriptors[1] =
  4805. +{
  4806. + {
  4807. + "errors",
  4808. + 1,
  4809. + PROTOBUF_C_LABEL_REPEATED,
  4810. + PROTOBUF_C_TYPE_MESSAGE,
  4811. + offsetof(Sr__SessionCheckResp, n_errors),
  4812. + offsetof(Sr__SessionCheckResp, errors),
  4813. + &sr__error__descriptor,
  4814. + NULL,
  4815. + 0, /* flags */
  4816. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4817. + },
  4818. +};
  4819. +static const unsigned sr__session_check_resp__field_indices_by_name[] = {
  4820. + 0, /* field[0] = errors */
  4821. +};
  4822. +static const ProtobufCIntRange sr__session_check_resp__number_ranges[1 + 1] =
  4823. +{
  4824. + { 1, 0 },
  4825. + { 0, 1 }
  4826. +};
  4827. +const ProtobufCMessageDescriptor sr__session_check_resp__descriptor =
  4828. +{
  4829. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  4830. + "sr.SessionCheckResp",
  4831. + "SessionCheckResp",
  4832. + "Sr__SessionCheckResp",
  4833. + "sr",
  4834. + sizeof(Sr__SessionCheckResp),
  4835. + 1,
  4836. + sr__session_check_resp__field_descriptors,
  4837. + sr__session_check_resp__field_indices_by_name,
  4838. + 1, sr__session_check_resp__number_ranges,
  4839. + (ProtobufCMessageInit) sr__session_check_resp__init,
  4840. + NULL,NULL,NULL /* reserved[123] */
  4841. +};
  4842. +static const ProtobufCFieldDescriptor sr__session_switch_ds_req__field_descriptors[1] =
  4843. +{
  4844. + {
  4845. + "datastore",
  4846. + 1,
  4847. + PROTOBUF_C_LABEL_REQUIRED,
  4848. + PROTOBUF_C_TYPE_ENUM,
  4849. + 0, /* quantifier_offset */
  4850. + offsetof(Sr__SessionSwitchDsReq, datastore),
  4851. + &sr__data_store__descriptor,
  4852. + NULL,
  4853. + 0, /* flags */
  4854. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4855. + },
  4856. +};
  4857. +static const unsigned sr__session_switch_ds_req__field_indices_by_name[] = {
  4858. + 0, /* field[0] = datastore */
  4859. +};
  4860. +static const ProtobufCIntRange sr__session_switch_ds_req__number_ranges[1 + 1] =
  4861. +{
  4862. + { 1, 0 },
  4863. + { 0, 1 }
  4864. +};
  4865. +const ProtobufCMessageDescriptor sr__session_switch_ds_req__descriptor =
  4866. +{
  4867. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  4868. + "sr.SessionSwitchDsReq",
  4869. + "SessionSwitchDsReq",
  4870. + "Sr__SessionSwitchDsReq",
  4871. + "sr",
  4872. + sizeof(Sr__SessionSwitchDsReq),
  4873. + 1,
  4874. + sr__session_switch_ds_req__field_descriptors,
  4875. + sr__session_switch_ds_req__field_indices_by_name,
  4876. + 1, sr__session_switch_ds_req__number_ranges,
  4877. + (ProtobufCMessageInit) sr__session_switch_ds_req__init,
  4878. + NULL,NULL,NULL /* reserved[123] */
  4879. +};
  4880. +#define sr__session_switch_ds_resp__field_descriptors NULL
  4881. +#define sr__session_switch_ds_resp__field_indices_by_name NULL
  4882. +#define sr__session_switch_ds_resp__number_ranges NULL
  4883. +const ProtobufCMessageDescriptor sr__session_switch_ds_resp__descriptor =
  4884. +{
  4885. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  4886. + "sr.SessionSwitchDsResp",
  4887. + "SessionSwitchDsResp",
  4888. + "Sr__SessionSwitchDsResp",
  4889. + "sr",
  4890. + sizeof(Sr__SessionSwitchDsResp),
  4891. + 0,
  4892. + sr__session_switch_ds_resp__field_descriptors,
  4893. + sr__session_switch_ds_resp__field_indices_by_name,
  4894. + 0, sr__session_switch_ds_resp__number_ranges,
  4895. + (ProtobufCMessageInit) sr__session_switch_ds_resp__init,
  4896. + NULL,NULL,NULL /* reserved[123] */
  4897. +};
  4898. +static const ProtobufCFieldDescriptor sr__session_set_opts_req__field_descriptors[1] =
  4899. +{
  4900. + {
  4901. + "options",
  4902. + 1,
  4903. + PROTOBUF_C_LABEL_REQUIRED,
  4904. + PROTOBUF_C_TYPE_UINT32,
  4905. + 0, /* quantifier_offset */
  4906. + offsetof(Sr__SessionSetOptsReq, options),
  4907. + NULL,
  4908. + NULL,
  4909. + 0, /* flags */
  4910. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4911. + },
  4912. +};
  4913. +static const unsigned sr__session_set_opts_req__field_indices_by_name[] = {
  4914. + 0, /* field[0] = options */
  4915. +};
  4916. +static const ProtobufCIntRange sr__session_set_opts_req__number_ranges[1 + 1] =
  4917. +{
  4918. + { 1, 0 },
  4919. + { 0, 1 }
  4920. +};
  4921. +const ProtobufCMessageDescriptor sr__session_set_opts_req__descriptor =
  4922. +{
  4923. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  4924. + "sr.SessionSetOptsReq",
  4925. + "SessionSetOptsReq",
  4926. + "Sr__SessionSetOptsReq",
  4927. + "sr",
  4928. + sizeof(Sr__SessionSetOptsReq),
  4929. + 1,
  4930. + sr__session_set_opts_req__field_descriptors,
  4931. + sr__session_set_opts_req__field_indices_by_name,
  4932. + 1, sr__session_set_opts_req__number_ranges,
  4933. + (ProtobufCMessageInit) sr__session_set_opts_req__init,
  4934. + NULL,NULL,NULL /* reserved[123] */
  4935. +};
  4936. +#define sr__session_set_opts_resp__field_descriptors NULL
  4937. +#define sr__session_set_opts_resp__field_indices_by_name NULL
  4938. +#define sr__session_set_opts_resp__number_ranges NULL
  4939. +const ProtobufCMessageDescriptor sr__session_set_opts_resp__descriptor =
  4940. +{
  4941. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  4942. + "sr.SessionSetOptsResp",
  4943. + "SessionSetOptsResp",
  4944. + "Sr__SessionSetOptsResp",
  4945. + "sr",
  4946. + sizeof(Sr__SessionSetOptsResp),
  4947. + 0,
  4948. + sr__session_set_opts_resp__field_descriptors,
  4949. + sr__session_set_opts_resp__field_indices_by_name,
  4950. + 0, sr__session_set_opts_resp__number_ranges,
  4951. + (ProtobufCMessageInit) sr__session_set_opts_resp__init,
  4952. + NULL,NULL,NULL /* reserved[123] */
  4953. +};
  4954. +static const ProtobufCFieldDescriptor sr__version_verify_req__field_descriptors[1] =
  4955. +{
  4956. + {
  4957. + "soname",
  4958. + 1,
  4959. + PROTOBUF_C_LABEL_REQUIRED,
  4960. + PROTOBUF_C_TYPE_STRING,
  4961. + 0, /* quantifier_offset */
  4962. + offsetof(Sr__VersionVerifyReq, soname),
  4963. + NULL,
  4964. + NULL,
  4965. + 0, /* flags */
  4966. + 0,NULL,NULL /* reserved1,reserved2, etc */
  4967. + },
  4968. +};
  4969. +static const unsigned sr__version_verify_req__field_indices_by_name[] = {
  4970. + 0, /* field[0] = soname */
  4971. +};
  4972. +static const ProtobufCIntRange sr__version_verify_req__number_ranges[1 + 1] =
  4973. +{
  4974. + { 1, 0 },
  4975. + { 0, 1 }
  4976. +};
  4977. +const ProtobufCMessageDescriptor sr__version_verify_req__descriptor =
  4978. +{
  4979. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  4980. + "sr.VersionVerifyReq",
  4981. + "VersionVerifyReq",
  4982. + "Sr__VersionVerifyReq",
  4983. + "sr",
  4984. + sizeof(Sr__VersionVerifyReq),
  4985. + 1,
  4986. + sr__version_verify_req__field_descriptors,
  4987. + sr__version_verify_req__field_indices_by_name,
  4988. + 1, sr__version_verify_req__number_ranges,
  4989. + (ProtobufCMessageInit) sr__version_verify_req__init,
  4990. + NULL,NULL,NULL /* reserved[123] */
  4991. +};
  4992. +static const ProtobufCFieldDescriptor sr__version_verify_resp__field_descriptors[1] =
  4993. +{
  4994. + {
  4995. + "soname",
  4996. + 1,
  4997. + PROTOBUF_C_LABEL_OPTIONAL,
  4998. + PROTOBUF_C_TYPE_STRING,
  4999. + 0, /* quantifier_offset */
  5000. + offsetof(Sr__VersionVerifyResp, soname),
  5001. + NULL,
  5002. + NULL,
  5003. + 0, /* flags */
  5004. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5005. + },
  5006. +};
  5007. +static const unsigned sr__version_verify_resp__field_indices_by_name[] = {
  5008. + 0, /* field[0] = soname */
  5009. +};
  5010. +static const ProtobufCIntRange sr__version_verify_resp__number_ranges[1 + 1] =
  5011. +{
  5012. + { 1, 0 },
  5013. + { 0, 1 }
  5014. +};
  5015. +const ProtobufCMessageDescriptor sr__version_verify_resp__descriptor =
  5016. +{
  5017. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5018. + "sr.VersionVerifyResp",
  5019. + "VersionVerifyResp",
  5020. + "Sr__VersionVerifyResp",
  5021. + "sr",
  5022. + sizeof(Sr__VersionVerifyResp),
  5023. + 1,
  5024. + sr__version_verify_resp__field_descriptors,
  5025. + sr__version_verify_resp__field_indices_by_name,
  5026. + 1, sr__version_verify_resp__number_ranges,
  5027. + (ProtobufCMessageInit) sr__version_verify_resp__init,
  5028. + NULL,NULL,NULL /* reserved[123] */
  5029. +};
  5030. +static const ProtobufCFieldDescriptor sr__schema_revision__field_descriptors[3] =
  5031. +{
  5032. + {
  5033. + "revision",
  5034. + 1,
  5035. + PROTOBUF_C_LABEL_OPTIONAL,
  5036. + PROTOBUF_C_TYPE_STRING,
  5037. + 0, /* quantifier_offset */
  5038. + offsetof(Sr__SchemaRevision, revision),
  5039. + NULL,
  5040. + NULL,
  5041. + 0, /* flags */
  5042. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5043. + },
  5044. + {
  5045. + "file_path_yang",
  5046. + 2,
  5047. + PROTOBUF_C_LABEL_OPTIONAL,
  5048. + PROTOBUF_C_TYPE_STRING,
  5049. + 0, /* quantifier_offset */
  5050. + offsetof(Sr__SchemaRevision, file_path_yang),
  5051. + NULL,
  5052. + NULL,
  5053. + 0, /* flags */
  5054. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5055. + },
  5056. + {
  5057. + "file_path_yin",
  5058. + 3,
  5059. + PROTOBUF_C_LABEL_OPTIONAL,
  5060. + PROTOBUF_C_TYPE_STRING,
  5061. + 0, /* quantifier_offset */
  5062. + offsetof(Sr__SchemaRevision, file_path_yin),
  5063. + NULL,
  5064. + NULL,
  5065. + 0, /* flags */
  5066. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5067. + },
  5068. +};
  5069. +static const unsigned sr__schema_revision__field_indices_by_name[] = {
  5070. + 1, /* field[1] = file_path_yang */
  5071. + 2, /* field[2] = file_path_yin */
  5072. + 0, /* field[0] = revision */
  5073. +};
  5074. +static const ProtobufCIntRange sr__schema_revision__number_ranges[1 + 1] =
  5075. +{
  5076. + { 1, 0 },
  5077. + { 0, 3 }
  5078. +};
  5079. +const ProtobufCMessageDescriptor sr__schema_revision__descriptor =
  5080. +{
  5081. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5082. + "sr.SchemaRevision",
  5083. + "SchemaRevision",
  5084. + "Sr__SchemaRevision",
  5085. + "sr",
  5086. + sizeof(Sr__SchemaRevision),
  5087. + 3,
  5088. + sr__schema_revision__field_descriptors,
  5089. + sr__schema_revision__field_indices_by_name,
  5090. + 1, sr__schema_revision__number_ranges,
  5091. + (ProtobufCMessageInit) sr__schema_revision__init,
  5092. + NULL,NULL,NULL /* reserved[123] */
  5093. +};
  5094. +static const ProtobufCFieldDescriptor sr__schema_submodule__field_descriptors[2] =
  5095. +{
  5096. + {
  5097. + "submodule_name",
  5098. + 1,
  5099. + PROTOBUF_C_LABEL_REQUIRED,
  5100. + PROTOBUF_C_TYPE_STRING,
  5101. + 0, /* quantifier_offset */
  5102. + offsetof(Sr__SchemaSubmodule, submodule_name),
  5103. + NULL,
  5104. + NULL,
  5105. + 0, /* flags */
  5106. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5107. + },
  5108. + {
  5109. + "revision",
  5110. + 2,
  5111. + PROTOBUF_C_LABEL_REQUIRED,
  5112. + PROTOBUF_C_TYPE_MESSAGE,
  5113. + 0, /* quantifier_offset */
  5114. + offsetof(Sr__SchemaSubmodule, revision),
  5115. + &sr__schema_revision__descriptor,
  5116. + NULL,
  5117. + 0, /* flags */
  5118. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5119. + },
  5120. +};
  5121. +static const unsigned sr__schema_submodule__field_indices_by_name[] = {
  5122. + 1, /* field[1] = revision */
  5123. + 0, /* field[0] = submodule_name */
  5124. +};
  5125. +static const ProtobufCIntRange sr__schema_submodule__number_ranges[1 + 1] =
  5126. +{
  5127. + { 1, 0 },
  5128. + { 0, 2 }
  5129. +};
  5130. +const ProtobufCMessageDescriptor sr__schema_submodule__descriptor =
  5131. +{
  5132. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5133. + "sr.SchemaSubmodule",
  5134. + "SchemaSubmodule",
  5135. + "Sr__SchemaSubmodule",
  5136. + "sr",
  5137. + sizeof(Sr__SchemaSubmodule),
  5138. + 2,
  5139. + sr__schema_submodule__field_descriptors,
  5140. + sr__schema_submodule__field_indices_by_name,
  5141. + 1, sr__schema_submodule__number_ranges,
  5142. + (ProtobufCMessageInit) sr__schema_submodule__init,
  5143. + NULL,NULL,NULL /* reserved[123] */
  5144. +};
  5145. +static const ProtobufCFieldDescriptor sr__schema__field_descriptors[8] =
  5146. +{
  5147. + {
  5148. + "module_name",
  5149. + 1,
  5150. + PROTOBUF_C_LABEL_REQUIRED,
  5151. + PROTOBUF_C_TYPE_STRING,
  5152. + 0, /* quantifier_offset */
  5153. + offsetof(Sr__Schema, module_name),
  5154. + NULL,
  5155. + NULL,
  5156. + 0, /* flags */
  5157. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5158. + },
  5159. + {
  5160. + "ns",
  5161. + 2,
  5162. + PROTOBUF_C_LABEL_REQUIRED,
  5163. + PROTOBUF_C_TYPE_STRING,
  5164. + 0, /* quantifier_offset */
  5165. + offsetof(Sr__Schema, ns),
  5166. + NULL,
  5167. + NULL,
  5168. + 0, /* flags */
  5169. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5170. + },
  5171. + {
  5172. + "prefix",
  5173. + 3,
  5174. + PROTOBUF_C_LABEL_REQUIRED,
  5175. + PROTOBUF_C_TYPE_STRING,
  5176. + 0, /* quantifier_offset */
  5177. + offsetof(Sr__Schema, prefix),
  5178. + NULL,
  5179. + NULL,
  5180. + 0, /* flags */
  5181. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5182. + },
  5183. + {
  5184. + "installed",
  5185. + 4,
  5186. + PROTOBUF_C_LABEL_REQUIRED,
  5187. + PROTOBUF_C_TYPE_BOOL,
  5188. + 0, /* quantifier_offset */
  5189. + offsetof(Sr__Schema, installed),
  5190. + NULL,
  5191. + NULL,
  5192. + 0, /* flags */
  5193. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5194. + },
  5195. + {
  5196. + "implemented",
  5197. + 5,
  5198. + PROTOBUF_C_LABEL_REQUIRED,
  5199. + PROTOBUF_C_TYPE_BOOL,
  5200. + 0, /* quantifier_offset */
  5201. + offsetof(Sr__Schema, implemented),
  5202. + NULL,
  5203. + NULL,
  5204. + 0, /* flags */
  5205. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5206. + },
  5207. + {
  5208. + "revision",
  5209. + 6,
  5210. + PROTOBUF_C_LABEL_REQUIRED,
  5211. + PROTOBUF_C_TYPE_MESSAGE,
  5212. + 0, /* quantifier_offset */
  5213. + offsetof(Sr__Schema, revision),
  5214. + &sr__schema_revision__descriptor,
  5215. + NULL,
  5216. + 0, /* flags */
  5217. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5218. + },
  5219. + {
  5220. + "submodules",
  5221. + 7,
  5222. + PROTOBUF_C_LABEL_REPEATED,
  5223. + PROTOBUF_C_TYPE_MESSAGE,
  5224. + offsetof(Sr__Schema, n_submodules),
  5225. + offsetof(Sr__Schema, submodules),
  5226. + &sr__schema_submodule__descriptor,
  5227. + NULL,
  5228. + 0, /* flags */
  5229. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5230. + },
  5231. + {
  5232. + "enabled_features",
  5233. + 8,
  5234. + PROTOBUF_C_LABEL_REPEATED,
  5235. + PROTOBUF_C_TYPE_STRING,
  5236. + offsetof(Sr__Schema, n_enabled_features),
  5237. + offsetof(Sr__Schema, enabled_features),
  5238. + NULL,
  5239. + NULL,
  5240. + 0, /* flags */
  5241. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5242. + },
  5243. +};
  5244. +static const unsigned sr__schema__field_indices_by_name[] = {
  5245. + 7, /* field[7] = enabled_features */
  5246. + 4, /* field[4] = implemented */
  5247. + 3, /* field[3] = installed */
  5248. + 0, /* field[0] = module_name */
  5249. + 1, /* field[1] = ns */
  5250. + 2, /* field[2] = prefix */
  5251. + 5, /* field[5] = revision */
  5252. + 6, /* field[6] = submodules */
  5253. +};
  5254. +static const ProtobufCIntRange sr__schema__number_ranges[1 + 1] =
  5255. +{
  5256. + { 1, 0 },
  5257. + { 0, 8 }
  5258. +};
  5259. +const ProtobufCMessageDescriptor sr__schema__descriptor =
  5260. +{
  5261. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5262. + "sr.Schema",
  5263. + "Schema",
  5264. + "Sr__Schema",
  5265. + "sr",
  5266. + sizeof(Sr__Schema),
  5267. + 8,
  5268. + sr__schema__field_descriptors,
  5269. + sr__schema__field_indices_by_name,
  5270. + 1, sr__schema__number_ranges,
  5271. + (ProtobufCMessageInit) sr__schema__init,
  5272. + NULL,NULL,NULL /* reserved[123] */
  5273. +};
  5274. +#define sr__list_schemas_req__field_descriptors NULL
  5275. +#define sr__list_schemas_req__field_indices_by_name NULL
  5276. +#define sr__list_schemas_req__number_ranges NULL
  5277. +const ProtobufCMessageDescriptor sr__list_schemas_req__descriptor =
  5278. +{
  5279. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5280. + "sr.ListSchemasReq",
  5281. + "ListSchemasReq",
  5282. + "Sr__ListSchemasReq",
  5283. + "sr",
  5284. + sizeof(Sr__ListSchemasReq),
  5285. + 0,
  5286. + sr__list_schemas_req__field_descriptors,
  5287. + sr__list_schemas_req__field_indices_by_name,
  5288. + 0, sr__list_schemas_req__number_ranges,
  5289. + (ProtobufCMessageInit) sr__list_schemas_req__init,
  5290. + NULL,NULL,NULL /* reserved[123] */
  5291. +};
  5292. +static const ProtobufCFieldDescriptor sr__list_schemas_resp__field_descriptors[1] =
  5293. +{
  5294. + {
  5295. + "schemas",
  5296. + 1,
  5297. + PROTOBUF_C_LABEL_REPEATED,
  5298. + PROTOBUF_C_TYPE_MESSAGE,
  5299. + offsetof(Sr__ListSchemasResp, n_schemas),
  5300. + offsetof(Sr__ListSchemasResp, schemas),
  5301. + &sr__schema__descriptor,
  5302. + NULL,
  5303. + 0, /* flags */
  5304. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5305. + },
  5306. +};
  5307. +static const unsigned sr__list_schemas_resp__field_indices_by_name[] = {
  5308. + 0, /* field[0] = schemas */
  5309. +};
  5310. +static const ProtobufCIntRange sr__list_schemas_resp__number_ranges[1 + 1] =
  5311. +{
  5312. + { 1, 0 },
  5313. + { 0, 1 }
  5314. +};
  5315. +const ProtobufCMessageDescriptor sr__list_schemas_resp__descriptor =
  5316. +{
  5317. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5318. + "sr.ListSchemasResp",
  5319. + "ListSchemasResp",
  5320. + "Sr__ListSchemasResp",
  5321. + "sr",
  5322. + sizeof(Sr__ListSchemasResp),
  5323. + 1,
  5324. + sr__list_schemas_resp__field_descriptors,
  5325. + sr__list_schemas_resp__field_indices_by_name,
  5326. + 1, sr__list_schemas_resp__number_ranges,
  5327. + (ProtobufCMessageInit) sr__list_schemas_resp__init,
  5328. + NULL,NULL,NULL /* reserved[123] */
  5329. +};
  5330. +static const ProtobufCFieldDescriptor sr__get_schema_req__field_descriptors[5] =
  5331. +{
  5332. + {
  5333. + "module_name",
  5334. + 1,
  5335. + PROTOBUF_C_LABEL_OPTIONAL,
  5336. + PROTOBUF_C_TYPE_STRING,
  5337. + 0, /* quantifier_offset */
  5338. + offsetof(Sr__GetSchemaReq, module_name),
  5339. + NULL,
  5340. + NULL,
  5341. + 0, /* flags */
  5342. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5343. + },
  5344. + {
  5345. + "revision",
  5346. + 2,
  5347. + PROTOBUF_C_LABEL_OPTIONAL,
  5348. + PROTOBUF_C_TYPE_STRING,
  5349. + 0, /* quantifier_offset */
  5350. + offsetof(Sr__GetSchemaReq, revision),
  5351. + NULL,
  5352. + NULL,
  5353. + 0, /* flags */
  5354. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5355. + },
  5356. + {
  5357. + "submodule_name",
  5358. + 3,
  5359. + PROTOBUF_C_LABEL_OPTIONAL,
  5360. + PROTOBUF_C_TYPE_STRING,
  5361. + 0, /* quantifier_offset */
  5362. + offsetof(Sr__GetSchemaReq, submodule_name),
  5363. + NULL,
  5364. + NULL,
  5365. + 0, /* flags */
  5366. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5367. + },
  5368. + {
  5369. + "submodule_revision",
  5370. + 4,
  5371. + PROTOBUF_C_LABEL_OPTIONAL,
  5372. + PROTOBUF_C_TYPE_STRING,
  5373. + 0, /* quantifier_offset */
  5374. + offsetof(Sr__GetSchemaReq, submodule_revision),
  5375. + NULL,
  5376. + NULL,
  5377. + 0, /* flags */
  5378. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5379. + },
  5380. + {
  5381. + "yang_format",
  5382. + 5,
  5383. + PROTOBUF_C_LABEL_REQUIRED,
  5384. + PROTOBUF_C_TYPE_BOOL,
  5385. + 0, /* quantifier_offset */
  5386. + offsetof(Sr__GetSchemaReq, yang_format),
  5387. + NULL,
  5388. + NULL,
  5389. + 0, /* flags */
  5390. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5391. + },
  5392. +};
  5393. +static const unsigned sr__get_schema_req__field_indices_by_name[] = {
  5394. + 0, /* field[0] = module_name */
  5395. + 1, /* field[1] = revision */
  5396. + 2, /* field[2] = submodule_name */
  5397. + 3, /* field[3] = submodule_revision */
  5398. + 4, /* field[4] = yang_format */
  5399. +};
  5400. +static const ProtobufCIntRange sr__get_schema_req__number_ranges[1 + 1] =
  5401. +{
  5402. + { 1, 0 },
  5403. + { 0, 5 }
  5404. +};
  5405. +const ProtobufCMessageDescriptor sr__get_schema_req__descriptor =
  5406. +{
  5407. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5408. + "sr.GetSchemaReq",
  5409. + "GetSchemaReq",
  5410. + "Sr__GetSchemaReq",
  5411. + "sr",
  5412. + sizeof(Sr__GetSchemaReq),
  5413. + 5,
  5414. + sr__get_schema_req__field_descriptors,
  5415. + sr__get_schema_req__field_indices_by_name,
  5416. + 1, sr__get_schema_req__number_ranges,
  5417. + (ProtobufCMessageInit) sr__get_schema_req__init,
  5418. + NULL,NULL,NULL /* reserved[123] */
  5419. +};
  5420. +static const ProtobufCFieldDescriptor sr__get_schema_resp__field_descriptors[1] =
  5421. +{
  5422. + {
  5423. + "schema_content",
  5424. + 1,
  5425. + PROTOBUF_C_LABEL_REQUIRED,
  5426. + PROTOBUF_C_TYPE_STRING,
  5427. + 0, /* quantifier_offset */
  5428. + offsetof(Sr__GetSchemaResp, schema_content),
  5429. + NULL,
  5430. + NULL,
  5431. + 0, /* flags */
  5432. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5433. + },
  5434. +};
  5435. +static const unsigned sr__get_schema_resp__field_indices_by_name[] = {
  5436. + 0, /* field[0] = schema_content */
  5437. +};
  5438. +static const ProtobufCIntRange sr__get_schema_resp__number_ranges[1 + 1] =
  5439. +{
  5440. + { 1, 0 },
  5441. + { 0, 1 }
  5442. +};
  5443. +const ProtobufCMessageDescriptor sr__get_schema_resp__descriptor =
  5444. +{
  5445. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5446. + "sr.GetSchemaResp",
  5447. + "GetSchemaResp",
  5448. + "Sr__GetSchemaResp",
  5449. + "sr",
  5450. + sizeof(Sr__GetSchemaResp),
  5451. + 1,
  5452. + sr__get_schema_resp__field_descriptors,
  5453. + sr__get_schema_resp__field_indices_by_name,
  5454. + 1, sr__get_schema_resp__number_ranges,
  5455. + (ProtobufCMessageInit) sr__get_schema_resp__init,
  5456. + NULL,NULL,NULL /* reserved[123] */
  5457. +};
  5458. +static const ProtobufCFieldDescriptor sr__get_item_req__field_descriptors[1] =
  5459. +{
  5460. + {
  5461. + "xpath",
  5462. + 1,
  5463. + PROTOBUF_C_LABEL_REQUIRED,
  5464. + PROTOBUF_C_TYPE_STRING,
  5465. + 0, /* quantifier_offset */
  5466. + offsetof(Sr__GetItemReq, xpath),
  5467. + NULL,
  5468. + NULL,
  5469. + 0, /* flags */
  5470. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5471. + },
  5472. +};
  5473. +static const unsigned sr__get_item_req__field_indices_by_name[] = {
  5474. + 0, /* field[0] = xpath */
  5475. +};
  5476. +static const ProtobufCIntRange sr__get_item_req__number_ranges[1 + 1] =
  5477. +{
  5478. + { 1, 0 },
  5479. + { 0, 1 }
  5480. +};
  5481. +const ProtobufCMessageDescriptor sr__get_item_req__descriptor =
  5482. +{
  5483. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5484. + "sr.GetItemReq",
  5485. + "GetItemReq",
  5486. + "Sr__GetItemReq",
  5487. + "sr",
  5488. + sizeof(Sr__GetItemReq),
  5489. + 1,
  5490. + sr__get_item_req__field_descriptors,
  5491. + sr__get_item_req__field_indices_by_name,
  5492. + 1, sr__get_item_req__number_ranges,
  5493. + (ProtobufCMessageInit) sr__get_item_req__init,
  5494. + NULL,NULL,NULL /* reserved[123] */
  5495. +};
  5496. +static const ProtobufCFieldDescriptor sr__get_item_resp__field_descriptors[1] =
  5497. +{
  5498. + {
  5499. + "value",
  5500. + 1,
  5501. + PROTOBUF_C_LABEL_OPTIONAL,
  5502. + PROTOBUF_C_TYPE_MESSAGE,
  5503. + 0, /* quantifier_offset */
  5504. + offsetof(Sr__GetItemResp, value),
  5505. + &sr__value__descriptor,
  5506. + NULL,
  5507. + 0, /* flags */
  5508. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5509. + },
  5510. +};
  5511. +static const unsigned sr__get_item_resp__field_indices_by_name[] = {
  5512. + 0, /* field[0] = value */
  5513. +};
  5514. +static const ProtobufCIntRange sr__get_item_resp__number_ranges[1 + 1] =
  5515. +{
  5516. + { 1, 0 },
  5517. + { 0, 1 }
  5518. +};
  5519. +const ProtobufCMessageDescriptor sr__get_item_resp__descriptor =
  5520. +{
  5521. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5522. + "sr.GetItemResp",
  5523. + "GetItemResp",
  5524. + "Sr__GetItemResp",
  5525. + "sr",
  5526. + sizeof(Sr__GetItemResp),
  5527. + 1,
  5528. + sr__get_item_resp__field_descriptors,
  5529. + sr__get_item_resp__field_indices_by_name,
  5530. + 1, sr__get_item_resp__number_ranges,
  5531. + (ProtobufCMessageInit) sr__get_item_resp__init,
  5532. + NULL,NULL,NULL /* reserved[123] */
  5533. +};
  5534. +static const ProtobufCFieldDescriptor sr__get_items_req__field_descriptors[3] =
  5535. +{
  5536. + {
  5537. + "xpath",
  5538. + 1,
  5539. + PROTOBUF_C_LABEL_REQUIRED,
  5540. + PROTOBUF_C_TYPE_STRING,
  5541. + 0, /* quantifier_offset */
  5542. + offsetof(Sr__GetItemsReq, xpath),
  5543. + NULL,
  5544. + NULL,
  5545. + 0, /* flags */
  5546. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5547. + },
  5548. + {
  5549. + "limit",
  5550. + 2,
  5551. + PROTOBUF_C_LABEL_OPTIONAL,
  5552. + PROTOBUF_C_TYPE_UINT32,
  5553. + offsetof(Sr__GetItemsReq, has_limit),
  5554. + offsetof(Sr__GetItemsReq, limit),
  5555. + NULL,
  5556. + NULL,
  5557. + 0, /* flags */
  5558. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5559. + },
  5560. + {
  5561. + "offset",
  5562. + 3,
  5563. + PROTOBUF_C_LABEL_OPTIONAL,
  5564. + PROTOBUF_C_TYPE_UINT32,
  5565. + offsetof(Sr__GetItemsReq, has_offset),
  5566. + offsetof(Sr__GetItemsReq, offset),
  5567. + NULL,
  5568. + NULL,
  5569. + 0, /* flags */
  5570. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5571. + },
  5572. +};
  5573. +static const unsigned sr__get_items_req__field_indices_by_name[] = {
  5574. + 1, /* field[1] = limit */
  5575. + 2, /* field[2] = offset */
  5576. + 0, /* field[0] = xpath */
  5577. +};
  5578. +static const ProtobufCIntRange sr__get_items_req__number_ranges[1 + 1] =
  5579. +{
  5580. + { 1, 0 },
  5581. + { 0, 3 }
  5582. +};
  5583. +const ProtobufCMessageDescriptor sr__get_items_req__descriptor =
  5584. +{
  5585. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5586. + "sr.GetItemsReq",
  5587. + "GetItemsReq",
  5588. + "Sr__GetItemsReq",
  5589. + "sr",
  5590. + sizeof(Sr__GetItemsReq),
  5591. + 3,
  5592. + sr__get_items_req__field_descriptors,
  5593. + sr__get_items_req__field_indices_by_name,
  5594. + 1, sr__get_items_req__number_ranges,
  5595. + (ProtobufCMessageInit) sr__get_items_req__init,
  5596. + NULL,NULL,NULL /* reserved[123] */
  5597. +};
  5598. +static const ProtobufCFieldDescriptor sr__get_items_resp__field_descriptors[1] =
  5599. +{
  5600. + {
  5601. + "values",
  5602. + 1,
  5603. + PROTOBUF_C_LABEL_REPEATED,
  5604. + PROTOBUF_C_TYPE_MESSAGE,
  5605. + offsetof(Sr__GetItemsResp, n_values),
  5606. + offsetof(Sr__GetItemsResp, values),
  5607. + &sr__value__descriptor,
  5608. + NULL,
  5609. + 0, /* flags */
  5610. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5611. + },
  5612. +};
  5613. +static const unsigned sr__get_items_resp__field_indices_by_name[] = {
  5614. + 0, /* field[0] = values */
  5615. +};
  5616. +static const ProtobufCIntRange sr__get_items_resp__number_ranges[1 + 1] =
  5617. +{
  5618. + { 1, 0 },
  5619. + { 0, 1 }
  5620. +};
  5621. +const ProtobufCMessageDescriptor sr__get_items_resp__descriptor =
  5622. +{
  5623. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5624. + "sr.GetItemsResp",
  5625. + "GetItemsResp",
  5626. + "Sr__GetItemsResp",
  5627. + "sr",
  5628. + sizeof(Sr__GetItemsResp),
  5629. + 1,
  5630. + sr__get_items_resp__field_descriptors,
  5631. + sr__get_items_resp__field_indices_by_name,
  5632. + 1, sr__get_items_resp__number_ranges,
  5633. + (ProtobufCMessageInit) sr__get_items_resp__init,
  5634. + NULL,NULL,NULL /* reserved[123] */
  5635. +};
  5636. +static const ProtobufCFieldDescriptor sr__get_subtree_req__field_descriptors[1] =
  5637. +{
  5638. + {
  5639. + "xpath",
  5640. + 1,
  5641. + PROTOBUF_C_LABEL_REQUIRED,
  5642. + PROTOBUF_C_TYPE_STRING,
  5643. + 0, /* quantifier_offset */
  5644. + offsetof(Sr__GetSubtreeReq, xpath),
  5645. + NULL,
  5646. + NULL,
  5647. + 0, /* flags */
  5648. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5649. + },
  5650. +};
  5651. +static const unsigned sr__get_subtree_req__field_indices_by_name[] = {
  5652. + 0, /* field[0] = xpath */
  5653. +};
  5654. +static const ProtobufCIntRange sr__get_subtree_req__number_ranges[1 + 1] =
  5655. +{
  5656. + { 1, 0 },
  5657. + { 0, 1 }
  5658. +};
  5659. +const ProtobufCMessageDescriptor sr__get_subtree_req__descriptor =
  5660. +{
  5661. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5662. + "sr.GetSubtreeReq",
  5663. + "GetSubtreeReq",
  5664. + "Sr__GetSubtreeReq",
  5665. + "sr",
  5666. + sizeof(Sr__GetSubtreeReq),
  5667. + 1,
  5668. + sr__get_subtree_req__field_descriptors,
  5669. + sr__get_subtree_req__field_indices_by_name,
  5670. + 1, sr__get_subtree_req__number_ranges,
  5671. + (ProtobufCMessageInit) sr__get_subtree_req__init,
  5672. + NULL,NULL,NULL /* reserved[123] */
  5673. +};
  5674. +static const ProtobufCFieldDescriptor sr__get_subtree_resp__field_descriptors[1] =
  5675. +{
  5676. + {
  5677. + "tree",
  5678. + 1,
  5679. + PROTOBUF_C_LABEL_OPTIONAL,
  5680. + PROTOBUF_C_TYPE_MESSAGE,
  5681. + 0, /* quantifier_offset */
  5682. + offsetof(Sr__GetSubtreeResp, tree),
  5683. + &sr__node__descriptor,
  5684. + NULL,
  5685. + 0, /* flags */
  5686. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5687. + },
  5688. +};
  5689. +static const unsigned sr__get_subtree_resp__field_indices_by_name[] = {
  5690. + 0, /* field[0] = tree */
  5691. +};
  5692. +static const ProtobufCIntRange sr__get_subtree_resp__number_ranges[1 + 1] =
  5693. +{
  5694. + { 1, 0 },
  5695. + { 0, 1 }
  5696. +};
  5697. +const ProtobufCMessageDescriptor sr__get_subtree_resp__descriptor =
  5698. +{
  5699. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5700. + "sr.GetSubtreeResp",
  5701. + "GetSubtreeResp",
  5702. + "Sr__GetSubtreeResp",
  5703. + "sr",
  5704. + sizeof(Sr__GetSubtreeResp),
  5705. + 1,
  5706. + sr__get_subtree_resp__field_descriptors,
  5707. + sr__get_subtree_resp__field_indices_by_name,
  5708. + 1, sr__get_subtree_resp__number_ranges,
  5709. + (ProtobufCMessageInit) sr__get_subtree_resp__init,
  5710. + NULL,NULL,NULL /* reserved[123] */
  5711. +};
  5712. +static const ProtobufCFieldDescriptor sr__get_subtrees_req__field_descriptors[1] =
  5713. +{
  5714. + {
  5715. + "xpath",
  5716. + 1,
  5717. + PROTOBUF_C_LABEL_REQUIRED,
  5718. + PROTOBUF_C_TYPE_STRING,
  5719. + 0, /* quantifier_offset */
  5720. + offsetof(Sr__GetSubtreesReq, xpath),
  5721. + NULL,
  5722. + NULL,
  5723. + 0, /* flags */
  5724. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5725. + },
  5726. +};
  5727. +static const unsigned sr__get_subtrees_req__field_indices_by_name[] = {
  5728. + 0, /* field[0] = xpath */
  5729. +};
  5730. +static const ProtobufCIntRange sr__get_subtrees_req__number_ranges[1 + 1] =
  5731. +{
  5732. + { 1, 0 },
  5733. + { 0, 1 }
  5734. +};
  5735. +const ProtobufCMessageDescriptor sr__get_subtrees_req__descriptor =
  5736. +{
  5737. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5738. + "sr.GetSubtreesReq",
  5739. + "GetSubtreesReq",
  5740. + "Sr__GetSubtreesReq",
  5741. + "sr",
  5742. + sizeof(Sr__GetSubtreesReq),
  5743. + 1,
  5744. + sr__get_subtrees_req__field_descriptors,
  5745. + sr__get_subtrees_req__field_indices_by_name,
  5746. + 1, sr__get_subtrees_req__number_ranges,
  5747. + (ProtobufCMessageInit) sr__get_subtrees_req__init,
  5748. + NULL,NULL,NULL /* reserved[123] */
  5749. +};
  5750. +static const ProtobufCFieldDescriptor sr__get_subtrees_resp__field_descriptors[1] =
  5751. +{
  5752. + {
  5753. + "trees",
  5754. + 1,
  5755. + PROTOBUF_C_LABEL_REPEATED,
  5756. + PROTOBUF_C_TYPE_MESSAGE,
  5757. + offsetof(Sr__GetSubtreesResp, n_trees),
  5758. + offsetof(Sr__GetSubtreesResp, trees),
  5759. + &sr__node__descriptor,
  5760. + NULL,
  5761. + 0, /* flags */
  5762. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5763. + },
  5764. +};
  5765. +static const unsigned sr__get_subtrees_resp__field_indices_by_name[] = {
  5766. + 0, /* field[0] = trees */
  5767. +};
  5768. +static const ProtobufCIntRange sr__get_subtrees_resp__number_ranges[1 + 1] =
  5769. +{
  5770. + { 1, 0 },
  5771. + { 0, 1 }
  5772. +};
  5773. +const ProtobufCMessageDescriptor sr__get_subtrees_resp__descriptor =
  5774. +{
  5775. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5776. + "sr.GetSubtreesResp",
  5777. + "GetSubtreesResp",
  5778. + "Sr__GetSubtreesResp",
  5779. + "sr",
  5780. + sizeof(Sr__GetSubtreesResp),
  5781. + 1,
  5782. + sr__get_subtrees_resp__field_descriptors,
  5783. + sr__get_subtrees_resp__field_indices_by_name,
  5784. + 1, sr__get_subtrees_resp__number_ranges,
  5785. + (ProtobufCMessageInit) sr__get_subtrees_resp__init,
  5786. + NULL,NULL,NULL /* reserved[123] */
  5787. +};
  5788. +static const ProtobufCFieldDescriptor sr__get_subtree_chunk_req__field_descriptors[6] =
  5789. +{
  5790. + {
  5791. + "xpath",
  5792. + 1,
  5793. + PROTOBUF_C_LABEL_REQUIRED,
  5794. + PROTOBUF_C_TYPE_STRING,
  5795. + 0, /* quantifier_offset */
  5796. + offsetof(Sr__GetSubtreeChunkReq, xpath),
  5797. + NULL,
  5798. + NULL,
  5799. + 0, /* flags */
  5800. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5801. + },
  5802. + {
  5803. + "single",
  5804. + 2,
  5805. + PROTOBUF_C_LABEL_REQUIRED,
  5806. + PROTOBUF_C_TYPE_BOOL,
  5807. + 0, /* quantifier_offset */
  5808. + offsetof(Sr__GetSubtreeChunkReq, single),
  5809. + NULL,
  5810. + NULL,
  5811. + 0, /* flags */
  5812. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5813. + },
  5814. + {
  5815. + "slice_offset",
  5816. + 3,
  5817. + PROTOBUF_C_LABEL_REQUIRED,
  5818. + PROTOBUF_C_TYPE_UINT32,
  5819. + 0, /* quantifier_offset */
  5820. + offsetof(Sr__GetSubtreeChunkReq, slice_offset),
  5821. + NULL,
  5822. + NULL,
  5823. + 0, /* flags */
  5824. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5825. + },
  5826. + {
  5827. + "slice_width",
  5828. + 4,
  5829. + PROTOBUF_C_LABEL_REQUIRED,
  5830. + PROTOBUF_C_TYPE_UINT32,
  5831. + 0, /* quantifier_offset */
  5832. + offsetof(Sr__GetSubtreeChunkReq, slice_width),
  5833. + NULL,
  5834. + NULL,
  5835. + 0, /* flags */
  5836. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5837. + },
  5838. + {
  5839. + "child_limit",
  5840. + 5,
  5841. + PROTOBUF_C_LABEL_REQUIRED,
  5842. + PROTOBUF_C_TYPE_UINT32,
  5843. + 0, /* quantifier_offset */
  5844. + offsetof(Sr__GetSubtreeChunkReq, child_limit),
  5845. + NULL,
  5846. + NULL,
  5847. + 0, /* flags */
  5848. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5849. + },
  5850. + {
  5851. + "depth_limit",
  5852. + 6,
  5853. + PROTOBUF_C_LABEL_REQUIRED,
  5854. + PROTOBUF_C_TYPE_UINT32,
  5855. + 0, /* quantifier_offset */
  5856. + offsetof(Sr__GetSubtreeChunkReq, depth_limit),
  5857. + NULL,
  5858. + NULL,
  5859. + 0, /* flags */
  5860. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5861. + },
  5862. +};
  5863. +static const unsigned sr__get_subtree_chunk_req__field_indices_by_name[] = {
  5864. + 4, /* field[4] = child_limit */
  5865. + 5, /* field[5] = depth_limit */
  5866. + 1, /* field[1] = single */
  5867. + 2, /* field[2] = slice_offset */
  5868. + 3, /* field[3] = slice_width */
  5869. + 0, /* field[0] = xpath */
  5870. +};
  5871. +static const ProtobufCIntRange sr__get_subtree_chunk_req__number_ranges[1 + 1] =
  5872. +{
  5873. + { 1, 0 },
  5874. + { 0, 6 }
  5875. +};
  5876. +const ProtobufCMessageDescriptor sr__get_subtree_chunk_req__descriptor =
  5877. +{
  5878. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5879. + "sr.GetSubtreeChunkReq",
  5880. + "GetSubtreeChunkReq",
  5881. + "Sr__GetSubtreeChunkReq",
  5882. + "sr",
  5883. + sizeof(Sr__GetSubtreeChunkReq),
  5884. + 6,
  5885. + sr__get_subtree_chunk_req__field_descriptors,
  5886. + sr__get_subtree_chunk_req__field_indices_by_name,
  5887. + 1, sr__get_subtree_chunk_req__number_ranges,
  5888. + (ProtobufCMessageInit) sr__get_subtree_chunk_req__init,
  5889. + NULL,NULL,NULL /* reserved[123] */
  5890. +};
  5891. +static const ProtobufCFieldDescriptor sr__get_subtree_chunk_resp__field_descriptors[2] =
  5892. +{
  5893. + {
  5894. + "xpath",
  5895. + 1,
  5896. + PROTOBUF_C_LABEL_REPEATED,
  5897. + PROTOBUF_C_TYPE_STRING,
  5898. + offsetof(Sr__GetSubtreeChunkResp, n_xpath),
  5899. + offsetof(Sr__GetSubtreeChunkResp, xpath),
  5900. + NULL,
  5901. + NULL,
  5902. + 0, /* flags */
  5903. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5904. + },
  5905. + {
  5906. + "chunk",
  5907. + 2,
  5908. + PROTOBUF_C_LABEL_REPEATED,
  5909. + PROTOBUF_C_TYPE_MESSAGE,
  5910. + offsetof(Sr__GetSubtreeChunkResp, n_chunk),
  5911. + offsetof(Sr__GetSubtreeChunkResp, chunk),
  5912. + &sr__node__descriptor,
  5913. + NULL,
  5914. + 0, /* flags */
  5915. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5916. + },
  5917. +};
  5918. +static const unsigned sr__get_subtree_chunk_resp__field_indices_by_name[] = {
  5919. + 1, /* field[1] = chunk */
  5920. + 0, /* field[0] = xpath */
  5921. +};
  5922. +static const ProtobufCIntRange sr__get_subtree_chunk_resp__number_ranges[1 + 1] =
  5923. +{
  5924. + { 1, 0 },
  5925. + { 0, 2 }
  5926. +};
  5927. +const ProtobufCMessageDescriptor sr__get_subtree_chunk_resp__descriptor =
  5928. +{
  5929. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5930. + "sr.GetSubtreeChunkResp",
  5931. + "GetSubtreeChunkResp",
  5932. + "Sr__GetSubtreeChunkResp",
  5933. + "sr",
  5934. + sizeof(Sr__GetSubtreeChunkResp),
  5935. + 2,
  5936. + sr__get_subtree_chunk_resp__field_descriptors,
  5937. + sr__get_subtree_chunk_resp__field_indices_by_name,
  5938. + 1, sr__get_subtree_chunk_resp__number_ranges,
  5939. + (ProtobufCMessageInit) sr__get_subtree_chunk_resp__init,
  5940. + NULL,NULL,NULL /* reserved[123] */
  5941. +};
  5942. +static const ProtobufCFieldDescriptor sr__set_item_req__field_descriptors[3] =
  5943. +{
  5944. + {
  5945. + "xpath",
  5946. + 1,
  5947. + PROTOBUF_C_LABEL_REQUIRED,
  5948. + PROTOBUF_C_TYPE_STRING,
  5949. + 0, /* quantifier_offset */
  5950. + offsetof(Sr__SetItemReq, xpath),
  5951. + NULL,
  5952. + NULL,
  5953. + 0, /* flags */
  5954. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5955. + },
  5956. + {
  5957. + "value",
  5958. + 2,
  5959. + PROTOBUF_C_LABEL_OPTIONAL,
  5960. + PROTOBUF_C_TYPE_MESSAGE,
  5961. + 0, /* quantifier_offset */
  5962. + offsetof(Sr__SetItemReq, value),
  5963. + &sr__value__descriptor,
  5964. + NULL,
  5965. + 0, /* flags */
  5966. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5967. + },
  5968. + {
  5969. + "options",
  5970. + 3,
  5971. + PROTOBUF_C_LABEL_REQUIRED,
  5972. + PROTOBUF_C_TYPE_UINT32,
  5973. + 0, /* quantifier_offset */
  5974. + offsetof(Sr__SetItemReq, options),
  5975. + NULL,
  5976. + NULL,
  5977. + 0, /* flags */
  5978. + 0,NULL,NULL /* reserved1,reserved2, etc */
  5979. + },
  5980. +};
  5981. +static const unsigned sr__set_item_req__field_indices_by_name[] = {
  5982. + 2, /* field[2] = options */
  5983. + 1, /* field[1] = value */
  5984. + 0, /* field[0] = xpath */
  5985. +};
  5986. +static const ProtobufCIntRange sr__set_item_req__number_ranges[1 + 1] =
  5987. +{
  5988. + { 1, 0 },
  5989. + { 0, 3 }
  5990. +};
  5991. +const ProtobufCMessageDescriptor sr__set_item_req__descriptor =
  5992. +{
  5993. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  5994. + "sr.SetItemReq",
  5995. + "SetItemReq",
  5996. + "Sr__SetItemReq",
  5997. + "sr",
  5998. + sizeof(Sr__SetItemReq),
  5999. + 3,
  6000. + sr__set_item_req__field_descriptors,
  6001. + sr__set_item_req__field_indices_by_name,
  6002. + 1, sr__set_item_req__number_ranges,
  6003. + (ProtobufCMessageInit) sr__set_item_req__init,
  6004. + NULL,NULL,NULL /* reserved[123] */
  6005. +};
  6006. +#define sr__set_item_resp__field_descriptors NULL
  6007. +#define sr__set_item_resp__field_indices_by_name NULL
  6008. +#define sr__set_item_resp__number_ranges NULL
  6009. +const ProtobufCMessageDescriptor sr__set_item_resp__descriptor =
  6010. +{
  6011. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6012. + "sr.SetItemResp",
  6013. + "SetItemResp",
  6014. + "Sr__SetItemResp",
  6015. + "sr",
  6016. + sizeof(Sr__SetItemResp),
  6017. + 0,
  6018. + sr__set_item_resp__field_descriptors,
  6019. + sr__set_item_resp__field_indices_by_name,
  6020. + 0, sr__set_item_resp__number_ranges,
  6021. + (ProtobufCMessageInit) sr__set_item_resp__init,
  6022. + NULL,NULL,NULL /* reserved[123] */
  6023. +};
  6024. +static const ProtobufCFieldDescriptor sr__set_item_str_req__field_descriptors[3] =
  6025. +{
  6026. + {
  6027. + "xpath",
  6028. + 1,
  6029. + PROTOBUF_C_LABEL_REQUIRED,
  6030. + PROTOBUF_C_TYPE_STRING,
  6031. + 0, /* quantifier_offset */
  6032. + offsetof(Sr__SetItemStrReq, xpath),
  6033. + NULL,
  6034. + NULL,
  6035. + 0, /* flags */
  6036. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6037. + },
  6038. + {
  6039. + "value",
  6040. + 2,
  6041. + PROTOBUF_C_LABEL_OPTIONAL,
  6042. + PROTOBUF_C_TYPE_STRING,
  6043. + 0, /* quantifier_offset */
  6044. + offsetof(Sr__SetItemStrReq, value),
  6045. + NULL,
  6046. + NULL,
  6047. + 0, /* flags */
  6048. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6049. + },
  6050. + {
  6051. + "options",
  6052. + 3,
  6053. + PROTOBUF_C_LABEL_REQUIRED,
  6054. + PROTOBUF_C_TYPE_UINT32,
  6055. + 0, /* quantifier_offset */
  6056. + offsetof(Sr__SetItemStrReq, options),
  6057. + NULL,
  6058. + NULL,
  6059. + 0, /* flags */
  6060. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6061. + },
  6062. +};
  6063. +static const unsigned sr__set_item_str_req__field_indices_by_name[] = {
  6064. + 2, /* field[2] = options */
  6065. + 1, /* field[1] = value */
  6066. + 0, /* field[0] = xpath */
  6067. +};
  6068. +static const ProtobufCIntRange sr__set_item_str_req__number_ranges[1 + 1] =
  6069. +{
  6070. + { 1, 0 },
  6071. + { 0, 3 }
  6072. +};
  6073. +const ProtobufCMessageDescriptor sr__set_item_str_req__descriptor =
  6074. +{
  6075. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6076. + "sr.SetItemStrReq",
  6077. + "SetItemStrReq",
  6078. + "Sr__SetItemStrReq",
  6079. + "sr",
  6080. + sizeof(Sr__SetItemStrReq),
  6081. + 3,
  6082. + sr__set_item_str_req__field_descriptors,
  6083. + sr__set_item_str_req__field_indices_by_name,
  6084. + 1, sr__set_item_str_req__number_ranges,
  6085. + (ProtobufCMessageInit) sr__set_item_str_req__init,
  6086. + NULL,NULL,NULL /* reserved[123] */
  6087. +};
  6088. +#define sr__set_item_str_resp__field_descriptors NULL
  6089. +#define sr__set_item_str_resp__field_indices_by_name NULL
  6090. +#define sr__set_item_str_resp__number_ranges NULL
  6091. +const ProtobufCMessageDescriptor sr__set_item_str_resp__descriptor =
  6092. +{
  6093. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6094. + "sr.SetItemStrResp",
  6095. + "SetItemStrResp",
  6096. + "Sr__SetItemStrResp",
  6097. + "sr",
  6098. + sizeof(Sr__SetItemStrResp),
  6099. + 0,
  6100. + sr__set_item_str_resp__field_descriptors,
  6101. + sr__set_item_str_resp__field_indices_by_name,
  6102. + 0, sr__set_item_str_resp__number_ranges,
  6103. + (ProtobufCMessageInit) sr__set_item_str_resp__init,
  6104. + NULL,NULL,NULL /* reserved[123] */
  6105. +};
  6106. +static const ProtobufCFieldDescriptor sr__delete_item_req__field_descriptors[2] =
  6107. +{
  6108. + {
  6109. + "xpath",
  6110. + 1,
  6111. + PROTOBUF_C_LABEL_REQUIRED,
  6112. + PROTOBUF_C_TYPE_STRING,
  6113. + 0, /* quantifier_offset */
  6114. + offsetof(Sr__DeleteItemReq, xpath),
  6115. + NULL,
  6116. + NULL,
  6117. + 0, /* flags */
  6118. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6119. + },
  6120. + {
  6121. + "options",
  6122. + 3,
  6123. + PROTOBUF_C_LABEL_REQUIRED,
  6124. + PROTOBUF_C_TYPE_UINT32,
  6125. + 0, /* quantifier_offset */
  6126. + offsetof(Sr__DeleteItemReq, options),
  6127. + NULL,
  6128. + NULL,
  6129. + 0, /* flags */
  6130. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6131. + },
  6132. +};
  6133. +static const unsigned sr__delete_item_req__field_indices_by_name[] = {
  6134. + 1, /* field[1] = options */
  6135. + 0, /* field[0] = xpath */
  6136. +};
  6137. +static const ProtobufCIntRange sr__delete_item_req__number_ranges[2 + 1] =
  6138. +{
  6139. + { 1, 0 },
  6140. + { 3, 1 },
  6141. + { 0, 2 }
  6142. +};
  6143. +const ProtobufCMessageDescriptor sr__delete_item_req__descriptor =
  6144. +{
  6145. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6146. + "sr.DeleteItemReq",
  6147. + "DeleteItemReq",
  6148. + "Sr__DeleteItemReq",
  6149. + "sr",
  6150. + sizeof(Sr__DeleteItemReq),
  6151. + 2,
  6152. + sr__delete_item_req__field_descriptors,
  6153. + sr__delete_item_req__field_indices_by_name,
  6154. + 2, sr__delete_item_req__number_ranges,
  6155. + (ProtobufCMessageInit) sr__delete_item_req__init,
  6156. + NULL,NULL,NULL /* reserved[123] */
  6157. +};
  6158. +#define sr__delete_item_resp__field_descriptors NULL
  6159. +#define sr__delete_item_resp__field_indices_by_name NULL
  6160. +#define sr__delete_item_resp__number_ranges NULL
  6161. +const ProtobufCMessageDescriptor sr__delete_item_resp__descriptor =
  6162. +{
  6163. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6164. + "sr.DeleteItemResp",
  6165. + "DeleteItemResp",
  6166. + "Sr__DeleteItemResp",
  6167. + "sr",
  6168. + sizeof(Sr__DeleteItemResp),
  6169. + 0,
  6170. + sr__delete_item_resp__field_descriptors,
  6171. + sr__delete_item_resp__field_indices_by_name,
  6172. + 0, sr__delete_item_resp__number_ranges,
  6173. + (ProtobufCMessageInit) sr__delete_item_resp__init,
  6174. + NULL,NULL,NULL /* reserved[123] */
  6175. +};
  6176. +static const ProtobufCEnumValue sr__move_item_req__move_position__enum_values_by_number[4] =
  6177. +{
  6178. + { "BEFORE", "SR__MOVE_ITEM_REQ__MOVE_POSITION__BEFORE", 1 },
  6179. + { "AFTER", "SR__MOVE_ITEM_REQ__MOVE_POSITION__AFTER", 2 },
  6180. + { "FIRST", "SR__MOVE_ITEM_REQ__MOVE_POSITION__FIRST", 3 },
  6181. + { "LAST", "SR__MOVE_ITEM_REQ__MOVE_POSITION__LAST", 4 },
  6182. +};
  6183. +static const ProtobufCIntRange sr__move_item_req__move_position__value_ranges[] = {
  6184. +{1, 0},{0, 4}
  6185. +};
  6186. +static const ProtobufCEnumValueIndex sr__move_item_req__move_position__enum_values_by_name[4] =
  6187. +{
  6188. + { "AFTER", 1 },
  6189. + { "BEFORE", 0 },
  6190. + { "FIRST", 2 },
  6191. + { "LAST", 3 },
  6192. +};
  6193. +const ProtobufCEnumDescriptor sr__move_item_req__move_position__descriptor =
  6194. +{
  6195. + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  6196. + "sr.MoveItemReq.MovePosition",
  6197. + "MovePosition",
  6198. + "Sr__MoveItemReq__MovePosition",
  6199. + "sr",
  6200. + 4,
  6201. + sr__move_item_req__move_position__enum_values_by_number,
  6202. + 4,
  6203. + sr__move_item_req__move_position__enum_values_by_name,
  6204. + 1,
  6205. + sr__move_item_req__move_position__value_ranges,
  6206. + NULL,NULL,NULL,NULL /* reserved[1234] */
  6207. +};
  6208. +static const ProtobufCFieldDescriptor sr__move_item_req__field_descriptors[3] =
  6209. +{
  6210. + {
  6211. + "xpath",
  6212. + 1,
  6213. + PROTOBUF_C_LABEL_REQUIRED,
  6214. + PROTOBUF_C_TYPE_STRING,
  6215. + 0, /* quantifier_offset */
  6216. + offsetof(Sr__MoveItemReq, xpath),
  6217. + NULL,
  6218. + NULL,
  6219. + 0, /* flags */
  6220. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6221. + },
  6222. + {
  6223. + "position",
  6224. + 2,
  6225. + PROTOBUF_C_LABEL_REQUIRED,
  6226. + PROTOBUF_C_TYPE_ENUM,
  6227. + 0, /* quantifier_offset */
  6228. + offsetof(Sr__MoveItemReq, position),
  6229. + &sr__move_item_req__move_position__descriptor,
  6230. + NULL,
  6231. + 0, /* flags */
  6232. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6233. + },
  6234. + {
  6235. + "relative_item",
  6236. + 3,
  6237. + PROTOBUF_C_LABEL_OPTIONAL,
  6238. + PROTOBUF_C_TYPE_STRING,
  6239. + 0, /* quantifier_offset */
  6240. + offsetof(Sr__MoveItemReq, relative_item),
  6241. + NULL,
  6242. + NULL,
  6243. + 0, /* flags */
  6244. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6245. + },
  6246. +};
  6247. +static const unsigned sr__move_item_req__field_indices_by_name[] = {
  6248. + 1, /* field[1] = position */
  6249. + 2, /* field[2] = relative_item */
  6250. + 0, /* field[0] = xpath */
  6251. +};
  6252. +static const ProtobufCIntRange sr__move_item_req__number_ranges[1 + 1] =
  6253. +{
  6254. + { 1, 0 },
  6255. + { 0, 3 }
  6256. +};
  6257. +const ProtobufCMessageDescriptor sr__move_item_req__descriptor =
  6258. +{
  6259. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6260. + "sr.MoveItemReq",
  6261. + "MoveItemReq",
  6262. + "Sr__MoveItemReq",
  6263. + "sr",
  6264. + sizeof(Sr__MoveItemReq),
  6265. + 3,
  6266. + sr__move_item_req__field_descriptors,
  6267. + sr__move_item_req__field_indices_by_name,
  6268. + 1, sr__move_item_req__number_ranges,
  6269. + (ProtobufCMessageInit) sr__move_item_req__init,
  6270. + NULL,NULL,NULL /* reserved[123] */
  6271. +};
  6272. +#define sr__move_item_resp__field_descriptors NULL
  6273. +#define sr__move_item_resp__field_indices_by_name NULL
  6274. +#define sr__move_item_resp__number_ranges NULL
  6275. +const ProtobufCMessageDescriptor sr__move_item_resp__descriptor =
  6276. +{
  6277. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6278. + "sr.MoveItemResp",
  6279. + "MoveItemResp",
  6280. + "Sr__MoveItemResp",
  6281. + "sr",
  6282. + sizeof(Sr__MoveItemResp),
  6283. + 0,
  6284. + sr__move_item_resp__field_descriptors,
  6285. + sr__move_item_resp__field_indices_by_name,
  6286. + 0, sr__move_item_resp__number_ranges,
  6287. + (ProtobufCMessageInit) sr__move_item_resp__init,
  6288. + NULL,NULL,NULL /* reserved[123] */
  6289. +};
  6290. +#define sr__validate_req__field_descriptors NULL
  6291. +#define sr__validate_req__field_indices_by_name NULL
  6292. +#define sr__validate_req__number_ranges NULL
  6293. +const ProtobufCMessageDescriptor sr__validate_req__descriptor =
  6294. +{
  6295. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6296. + "sr.ValidateReq",
  6297. + "ValidateReq",
  6298. + "Sr__ValidateReq",
  6299. + "sr",
  6300. + sizeof(Sr__ValidateReq),
  6301. + 0,
  6302. + sr__validate_req__field_descriptors,
  6303. + sr__validate_req__field_indices_by_name,
  6304. + 0, sr__validate_req__number_ranges,
  6305. + (ProtobufCMessageInit) sr__validate_req__init,
  6306. + NULL,NULL,NULL /* reserved[123] */
  6307. +};
  6308. +static const ProtobufCFieldDescriptor sr__validate_resp__field_descriptors[1] =
  6309. +{
  6310. + {
  6311. + "errors",
  6312. + 1,
  6313. + PROTOBUF_C_LABEL_REPEATED,
  6314. + PROTOBUF_C_TYPE_MESSAGE,
  6315. + offsetof(Sr__ValidateResp, n_errors),
  6316. + offsetof(Sr__ValidateResp, errors),
  6317. + &sr__error__descriptor,
  6318. + NULL,
  6319. + 0, /* flags */
  6320. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6321. + },
  6322. +};
  6323. +static const unsigned sr__validate_resp__field_indices_by_name[] = {
  6324. + 0, /* field[0] = errors */
  6325. +};
  6326. +static const ProtobufCIntRange sr__validate_resp__number_ranges[1 + 1] =
  6327. +{
  6328. + { 1, 0 },
  6329. + { 0, 1 }
  6330. +};
  6331. +const ProtobufCMessageDescriptor sr__validate_resp__descriptor =
  6332. +{
  6333. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6334. + "sr.ValidateResp",
  6335. + "ValidateResp",
  6336. + "Sr__ValidateResp",
  6337. + "sr",
  6338. + sizeof(Sr__ValidateResp),
  6339. + 1,
  6340. + sr__validate_resp__field_descriptors,
  6341. + sr__validate_resp__field_indices_by_name,
  6342. + 1, sr__validate_resp__number_ranges,
  6343. + (ProtobufCMessageInit) sr__validate_resp__init,
  6344. + NULL,NULL,NULL /* reserved[123] */
  6345. +};
  6346. +#define sr__commit_req__field_descriptors NULL
  6347. +#define sr__commit_req__field_indices_by_name NULL
  6348. +#define sr__commit_req__number_ranges NULL
  6349. +const ProtobufCMessageDescriptor sr__commit_req__descriptor =
  6350. +{
  6351. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6352. + "sr.CommitReq",
  6353. + "CommitReq",
  6354. + "Sr__CommitReq",
  6355. + "sr",
  6356. + sizeof(Sr__CommitReq),
  6357. + 0,
  6358. + sr__commit_req__field_descriptors,
  6359. + sr__commit_req__field_indices_by_name,
  6360. + 0, sr__commit_req__number_ranges,
  6361. + (ProtobufCMessageInit) sr__commit_req__init,
  6362. + NULL,NULL,NULL /* reserved[123] */
  6363. +};
  6364. +static const ProtobufCFieldDescriptor sr__commit_resp__field_descriptors[1] =
  6365. +{
  6366. + {
  6367. + "errors",
  6368. + 1,
  6369. + PROTOBUF_C_LABEL_REPEATED,
  6370. + PROTOBUF_C_TYPE_MESSAGE,
  6371. + offsetof(Sr__CommitResp, n_errors),
  6372. + offsetof(Sr__CommitResp, errors),
  6373. + &sr__error__descriptor,
  6374. + NULL,
  6375. + 0, /* flags */
  6376. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6377. + },
  6378. +};
  6379. +static const unsigned sr__commit_resp__field_indices_by_name[] = {
  6380. + 0, /* field[0] = errors */
  6381. +};
  6382. +static const ProtobufCIntRange sr__commit_resp__number_ranges[1 + 1] =
  6383. +{
  6384. + { 1, 0 },
  6385. + { 0, 1 }
  6386. +};
  6387. +const ProtobufCMessageDescriptor sr__commit_resp__descriptor =
  6388. +{
  6389. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6390. + "sr.CommitResp",
  6391. + "CommitResp",
  6392. + "Sr__CommitResp",
  6393. + "sr",
  6394. + sizeof(Sr__CommitResp),
  6395. + 1,
  6396. + sr__commit_resp__field_descriptors,
  6397. + sr__commit_resp__field_indices_by_name,
  6398. + 1, sr__commit_resp__number_ranges,
  6399. + (ProtobufCMessageInit) sr__commit_resp__init,
  6400. + NULL,NULL,NULL /* reserved[123] */
  6401. +};
  6402. +#define sr__discard_changes_req__field_descriptors NULL
  6403. +#define sr__discard_changes_req__field_indices_by_name NULL
  6404. +#define sr__discard_changes_req__number_ranges NULL
  6405. +const ProtobufCMessageDescriptor sr__discard_changes_req__descriptor =
  6406. +{
  6407. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6408. + "sr.DiscardChangesReq",
  6409. + "DiscardChangesReq",
  6410. + "Sr__DiscardChangesReq",
  6411. + "sr",
  6412. + sizeof(Sr__DiscardChangesReq),
  6413. + 0,
  6414. + sr__discard_changes_req__field_descriptors,
  6415. + sr__discard_changes_req__field_indices_by_name,
  6416. + 0, sr__discard_changes_req__number_ranges,
  6417. + (ProtobufCMessageInit) sr__discard_changes_req__init,
  6418. + NULL,NULL,NULL /* reserved[123] */
  6419. +};
  6420. +#define sr__discard_changes_resp__field_descriptors NULL
  6421. +#define sr__discard_changes_resp__field_indices_by_name NULL
  6422. +#define sr__discard_changes_resp__number_ranges NULL
  6423. +const ProtobufCMessageDescriptor sr__discard_changes_resp__descriptor =
  6424. +{
  6425. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6426. + "sr.DiscardChangesResp",
  6427. + "DiscardChangesResp",
  6428. + "Sr__DiscardChangesResp",
  6429. + "sr",
  6430. + sizeof(Sr__DiscardChangesResp),
  6431. + 0,
  6432. + sr__discard_changes_resp__field_descriptors,
  6433. + sr__discard_changes_resp__field_indices_by_name,
  6434. + 0, sr__discard_changes_resp__number_ranges,
  6435. + (ProtobufCMessageInit) sr__discard_changes_resp__init,
  6436. + NULL,NULL,NULL /* reserved[123] */
  6437. +};
  6438. +static const ProtobufCFieldDescriptor sr__copy_config_req__field_descriptors[3] =
  6439. +{
  6440. + {
  6441. + "src_datastore",
  6442. + 1,
  6443. + PROTOBUF_C_LABEL_REQUIRED,
  6444. + PROTOBUF_C_TYPE_ENUM,
  6445. + 0, /* quantifier_offset */
  6446. + offsetof(Sr__CopyConfigReq, src_datastore),
  6447. + &sr__data_store__descriptor,
  6448. + NULL,
  6449. + 0, /* flags */
  6450. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6451. + },
  6452. + {
  6453. + "dst_datastore",
  6454. + 2,
  6455. + PROTOBUF_C_LABEL_REQUIRED,
  6456. + PROTOBUF_C_TYPE_ENUM,
  6457. + 0, /* quantifier_offset */
  6458. + offsetof(Sr__CopyConfigReq, dst_datastore),
  6459. + &sr__data_store__descriptor,
  6460. + NULL,
  6461. + 0, /* flags */
  6462. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6463. + },
  6464. + {
  6465. + "module_name",
  6466. + 3,
  6467. + PROTOBUF_C_LABEL_OPTIONAL,
  6468. + PROTOBUF_C_TYPE_STRING,
  6469. + 0, /* quantifier_offset */
  6470. + offsetof(Sr__CopyConfigReq, module_name),
  6471. + NULL,
  6472. + NULL,
  6473. + 0, /* flags */
  6474. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6475. + },
  6476. +};
  6477. +static const unsigned sr__copy_config_req__field_indices_by_name[] = {
  6478. + 1, /* field[1] = dst_datastore */
  6479. + 2, /* field[2] = module_name */
  6480. + 0, /* field[0] = src_datastore */
  6481. +};
  6482. +static const ProtobufCIntRange sr__copy_config_req__number_ranges[1 + 1] =
  6483. +{
  6484. + { 1, 0 },
  6485. + { 0, 3 }
  6486. +};
  6487. +const ProtobufCMessageDescriptor sr__copy_config_req__descriptor =
  6488. +{
  6489. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6490. + "sr.CopyConfigReq",
  6491. + "CopyConfigReq",
  6492. + "Sr__CopyConfigReq",
  6493. + "sr",
  6494. + sizeof(Sr__CopyConfigReq),
  6495. + 3,
  6496. + sr__copy_config_req__field_descriptors,
  6497. + sr__copy_config_req__field_indices_by_name,
  6498. + 1, sr__copy_config_req__number_ranges,
  6499. + (ProtobufCMessageInit) sr__copy_config_req__init,
  6500. + NULL,NULL,NULL /* reserved[123] */
  6501. +};
  6502. +static const ProtobufCFieldDescriptor sr__copy_config_resp__field_descriptors[1] =
  6503. +{
  6504. + {
  6505. + "errors",
  6506. + 1,
  6507. + PROTOBUF_C_LABEL_REPEATED,
  6508. + PROTOBUF_C_TYPE_MESSAGE,
  6509. + offsetof(Sr__CopyConfigResp, n_errors),
  6510. + offsetof(Sr__CopyConfigResp, errors),
  6511. + &sr__error__descriptor,
  6512. + NULL,
  6513. + 0, /* flags */
  6514. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6515. + },
  6516. +};
  6517. +static const unsigned sr__copy_config_resp__field_indices_by_name[] = {
  6518. + 0, /* field[0] = errors */
  6519. +};
  6520. +static const ProtobufCIntRange sr__copy_config_resp__number_ranges[1 + 1] =
  6521. +{
  6522. + { 1, 0 },
  6523. + { 0, 1 }
  6524. +};
  6525. +const ProtobufCMessageDescriptor sr__copy_config_resp__descriptor =
  6526. +{
  6527. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6528. + "sr.CopyConfigResp",
  6529. + "CopyConfigResp",
  6530. + "Sr__CopyConfigResp",
  6531. + "sr",
  6532. + sizeof(Sr__CopyConfigResp),
  6533. + 1,
  6534. + sr__copy_config_resp__field_descriptors,
  6535. + sr__copy_config_resp__field_indices_by_name,
  6536. + 1, sr__copy_config_resp__number_ranges,
  6537. + (ProtobufCMessageInit) sr__copy_config_resp__init,
  6538. + NULL,NULL,NULL /* reserved[123] */
  6539. +};
  6540. +static const ProtobufCFieldDescriptor sr__lock_req__field_descriptors[1] =
  6541. +{
  6542. + {
  6543. + "module_name",
  6544. + 1,
  6545. + PROTOBUF_C_LABEL_OPTIONAL,
  6546. + PROTOBUF_C_TYPE_STRING,
  6547. + 0, /* quantifier_offset */
  6548. + offsetof(Sr__LockReq, module_name),
  6549. + NULL,
  6550. + NULL,
  6551. + 0, /* flags */
  6552. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6553. + },
  6554. +};
  6555. +static const unsigned sr__lock_req__field_indices_by_name[] = {
  6556. + 0, /* field[0] = module_name */
  6557. +};
  6558. +static const ProtobufCIntRange sr__lock_req__number_ranges[1 + 1] =
  6559. +{
  6560. + { 1, 0 },
  6561. + { 0, 1 }
  6562. +};
  6563. +const ProtobufCMessageDescriptor sr__lock_req__descriptor =
  6564. +{
  6565. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6566. + "sr.LockReq",
  6567. + "LockReq",
  6568. + "Sr__LockReq",
  6569. + "sr",
  6570. + sizeof(Sr__LockReq),
  6571. + 1,
  6572. + sr__lock_req__field_descriptors,
  6573. + sr__lock_req__field_indices_by_name,
  6574. + 1, sr__lock_req__number_ranges,
  6575. + (ProtobufCMessageInit) sr__lock_req__init,
  6576. + NULL,NULL,NULL /* reserved[123] */
  6577. +};
  6578. +#define sr__lock_resp__field_descriptors NULL
  6579. +#define sr__lock_resp__field_indices_by_name NULL
  6580. +#define sr__lock_resp__number_ranges NULL
  6581. +const ProtobufCMessageDescriptor sr__lock_resp__descriptor =
  6582. +{
  6583. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6584. + "sr.LockResp",
  6585. + "LockResp",
  6586. + "Sr__LockResp",
  6587. + "sr",
  6588. + sizeof(Sr__LockResp),
  6589. + 0,
  6590. + sr__lock_resp__field_descriptors,
  6591. + sr__lock_resp__field_indices_by_name,
  6592. + 0, sr__lock_resp__number_ranges,
  6593. + (ProtobufCMessageInit) sr__lock_resp__init,
  6594. + NULL,NULL,NULL /* reserved[123] */
  6595. +};
  6596. +static const ProtobufCFieldDescriptor sr__unlock_req__field_descriptors[1] =
  6597. +{
  6598. + {
  6599. + "module_name",
  6600. + 1,
  6601. + PROTOBUF_C_LABEL_OPTIONAL,
  6602. + PROTOBUF_C_TYPE_STRING,
  6603. + 0, /* quantifier_offset */
  6604. + offsetof(Sr__UnlockReq, module_name),
  6605. + NULL,
  6606. + NULL,
  6607. + 0, /* flags */
  6608. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6609. + },
  6610. +};
  6611. +static const unsigned sr__unlock_req__field_indices_by_name[] = {
  6612. + 0, /* field[0] = module_name */
  6613. +};
  6614. +static const ProtobufCIntRange sr__unlock_req__number_ranges[1 + 1] =
  6615. +{
  6616. + { 1, 0 },
  6617. + { 0, 1 }
  6618. +};
  6619. +const ProtobufCMessageDescriptor sr__unlock_req__descriptor =
  6620. +{
  6621. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6622. + "sr.UnlockReq",
  6623. + "UnlockReq",
  6624. + "Sr__UnlockReq",
  6625. + "sr",
  6626. + sizeof(Sr__UnlockReq),
  6627. + 1,
  6628. + sr__unlock_req__field_descriptors,
  6629. + sr__unlock_req__field_indices_by_name,
  6630. + 1, sr__unlock_req__number_ranges,
  6631. + (ProtobufCMessageInit) sr__unlock_req__init,
  6632. + NULL,NULL,NULL /* reserved[123] */
  6633. +};
  6634. +#define sr__unlock_resp__field_descriptors NULL
  6635. +#define sr__unlock_resp__field_indices_by_name NULL
  6636. +#define sr__unlock_resp__number_ranges NULL
  6637. +const ProtobufCMessageDescriptor sr__unlock_resp__descriptor =
  6638. +{
  6639. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6640. + "sr.UnlockResp",
  6641. + "UnlockResp",
  6642. + "Sr__UnlockResp",
  6643. + "sr",
  6644. + sizeof(Sr__UnlockResp),
  6645. + 0,
  6646. + sr__unlock_resp__field_descriptors,
  6647. + sr__unlock_resp__field_indices_by_name,
  6648. + 0, sr__unlock_resp__number_ranges,
  6649. + (ProtobufCMessageInit) sr__unlock_resp__init,
  6650. + NULL,NULL,NULL /* reserved[123] */
  6651. +};
  6652. +static const ProtobufCFieldDescriptor sr__subscribe_req__field_descriptors[10] =
  6653. +{
  6654. + {
  6655. + "type",
  6656. + 1,
  6657. + PROTOBUF_C_LABEL_REQUIRED,
  6658. + PROTOBUF_C_TYPE_ENUM,
  6659. + 0, /* quantifier_offset */
  6660. + offsetof(Sr__SubscribeReq, type),
  6661. + &sr__subscription_type__descriptor,
  6662. + NULL,
  6663. + 0, /* flags */
  6664. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6665. + },
  6666. + {
  6667. + "destination",
  6668. + 2,
  6669. + PROTOBUF_C_LABEL_REQUIRED,
  6670. + PROTOBUF_C_TYPE_STRING,
  6671. + 0, /* quantifier_offset */
  6672. + offsetof(Sr__SubscribeReq, destination),
  6673. + NULL,
  6674. + NULL,
  6675. + 0, /* flags */
  6676. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6677. + },
  6678. + {
  6679. + "subscription_id",
  6680. + 3,
  6681. + PROTOBUF_C_LABEL_REQUIRED,
  6682. + PROTOBUF_C_TYPE_UINT32,
  6683. + 0, /* quantifier_offset */
  6684. + offsetof(Sr__SubscribeReq, subscription_id),
  6685. + NULL,
  6686. + NULL,
  6687. + 0, /* flags */
  6688. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6689. + },
  6690. + {
  6691. + "module_name",
  6692. + 4,
  6693. + PROTOBUF_C_LABEL_OPTIONAL,
  6694. + PROTOBUF_C_TYPE_STRING,
  6695. + 0, /* quantifier_offset */
  6696. + offsetof(Sr__SubscribeReq, module_name),
  6697. + NULL,
  6698. + NULL,
  6699. + 0, /* flags */
  6700. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6701. + },
  6702. + {
  6703. + "xpath",
  6704. + 5,
  6705. + PROTOBUF_C_LABEL_OPTIONAL,
  6706. + PROTOBUF_C_TYPE_STRING,
  6707. + 0, /* quantifier_offset */
  6708. + offsetof(Sr__SubscribeReq, xpath),
  6709. + NULL,
  6710. + NULL,
  6711. + 0, /* flags */
  6712. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6713. + },
  6714. + {
  6715. + "notif_event",
  6716. + 10,
  6717. + PROTOBUF_C_LABEL_OPTIONAL,
  6718. + PROTOBUF_C_TYPE_ENUM,
  6719. + offsetof(Sr__SubscribeReq, has_notif_event),
  6720. + offsetof(Sr__SubscribeReq, notif_event),
  6721. + &sr__notification_event__descriptor,
  6722. + NULL,
  6723. + 0, /* flags */
  6724. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6725. + },
  6726. + {
  6727. + "priority",
  6728. + 11,
  6729. + PROTOBUF_C_LABEL_OPTIONAL,
  6730. + PROTOBUF_C_TYPE_UINT32,
  6731. + offsetof(Sr__SubscribeReq, has_priority),
  6732. + offsetof(Sr__SubscribeReq, priority),
  6733. + NULL,
  6734. + NULL,
  6735. + 0, /* flags */
  6736. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6737. + },
  6738. + {
  6739. + "enable_running",
  6740. + 12,
  6741. + PROTOBUF_C_LABEL_OPTIONAL,
  6742. + PROTOBUF_C_TYPE_BOOL,
  6743. + offsetof(Sr__SubscribeReq, has_enable_running),
  6744. + offsetof(Sr__SubscribeReq, enable_running),
  6745. + NULL,
  6746. + NULL,
  6747. + 0, /* flags */
  6748. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6749. + },
  6750. + {
  6751. + "enable_event",
  6752. + 13,
  6753. + PROTOBUF_C_LABEL_OPTIONAL,
  6754. + PROTOBUF_C_TYPE_BOOL,
  6755. + offsetof(Sr__SubscribeReq, has_enable_event),
  6756. + offsetof(Sr__SubscribeReq, enable_event),
  6757. + NULL,
  6758. + NULL,
  6759. + 0, /* flags */
  6760. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6761. + },
  6762. + {
  6763. + "api_variant",
  6764. + 20,
  6765. + PROTOBUF_C_LABEL_REQUIRED,
  6766. + PROTOBUF_C_TYPE_ENUM,
  6767. + 0, /* quantifier_offset */
  6768. + offsetof(Sr__SubscribeReq, api_variant),
  6769. + &sr__api_variant__descriptor,
  6770. + NULL,
  6771. + 0, /* flags */
  6772. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6773. + },
  6774. +};
  6775. +static const unsigned sr__subscribe_req__field_indices_by_name[] = {
  6776. + 9, /* field[9] = api_variant */
  6777. + 1, /* field[1] = destination */
  6778. + 8, /* field[8] = enable_event */
  6779. + 7, /* field[7] = enable_running */
  6780. + 3, /* field[3] = module_name */
  6781. + 5, /* field[5] = notif_event */
  6782. + 6, /* field[6] = priority */
  6783. + 2, /* field[2] = subscription_id */
  6784. + 0, /* field[0] = type */
  6785. + 4, /* field[4] = xpath */
  6786. +};
  6787. +static const ProtobufCIntRange sr__subscribe_req__number_ranges[3 + 1] =
  6788. +{
  6789. + { 1, 0 },
  6790. + { 10, 5 },
  6791. + { 20, 9 },
  6792. + { 0, 10 }
  6793. +};
  6794. +const ProtobufCMessageDescriptor sr__subscribe_req__descriptor =
  6795. +{
  6796. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6797. + "sr.SubscribeReq",
  6798. + "SubscribeReq",
  6799. + "Sr__SubscribeReq",
  6800. + "sr",
  6801. + sizeof(Sr__SubscribeReq),
  6802. + 10,
  6803. + sr__subscribe_req__field_descriptors,
  6804. + sr__subscribe_req__field_indices_by_name,
  6805. + 3, sr__subscribe_req__number_ranges,
  6806. + (ProtobufCMessageInit) sr__subscribe_req__init,
  6807. + NULL,NULL,NULL /* reserved[123] */
  6808. +};
  6809. +#define sr__subscribe_resp__field_descriptors NULL
  6810. +#define sr__subscribe_resp__field_indices_by_name NULL
  6811. +#define sr__subscribe_resp__number_ranges NULL
  6812. +const ProtobufCMessageDescriptor sr__subscribe_resp__descriptor =
  6813. +{
  6814. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6815. + "sr.SubscribeResp",
  6816. + "SubscribeResp",
  6817. + "Sr__SubscribeResp",
  6818. + "sr",
  6819. + sizeof(Sr__SubscribeResp),
  6820. + 0,
  6821. + sr__subscribe_resp__field_descriptors,
  6822. + sr__subscribe_resp__field_indices_by_name,
  6823. + 0, sr__subscribe_resp__number_ranges,
  6824. + (ProtobufCMessageInit) sr__subscribe_resp__init,
  6825. + NULL,NULL,NULL /* reserved[123] */
  6826. +};
  6827. +static const ProtobufCFieldDescriptor sr__unsubscribe_req__field_descriptors[4] =
  6828. +{
  6829. + {
  6830. + "type",
  6831. + 1,
  6832. + PROTOBUF_C_LABEL_REQUIRED,
  6833. + PROTOBUF_C_TYPE_ENUM,
  6834. + 0, /* quantifier_offset */
  6835. + offsetof(Sr__UnsubscribeReq, type),
  6836. + &sr__subscription_type__descriptor,
  6837. + NULL,
  6838. + 0, /* flags */
  6839. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6840. + },
  6841. + {
  6842. + "destination",
  6843. + 2,
  6844. + PROTOBUF_C_LABEL_REQUIRED,
  6845. + PROTOBUF_C_TYPE_STRING,
  6846. + 0, /* quantifier_offset */
  6847. + offsetof(Sr__UnsubscribeReq, destination),
  6848. + NULL,
  6849. + NULL,
  6850. + 0, /* flags */
  6851. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6852. + },
  6853. + {
  6854. + "subscription_id",
  6855. + 3,
  6856. + PROTOBUF_C_LABEL_REQUIRED,
  6857. + PROTOBUF_C_TYPE_UINT32,
  6858. + 0, /* quantifier_offset */
  6859. + offsetof(Sr__UnsubscribeReq, subscription_id),
  6860. + NULL,
  6861. + NULL,
  6862. + 0, /* flags */
  6863. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6864. + },
  6865. + {
  6866. + "module_name",
  6867. + 4,
  6868. + PROTOBUF_C_LABEL_OPTIONAL,
  6869. + PROTOBUF_C_TYPE_STRING,
  6870. + 0, /* quantifier_offset */
  6871. + offsetof(Sr__UnsubscribeReq, module_name),
  6872. + NULL,
  6873. + NULL,
  6874. + 0, /* flags */
  6875. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6876. + },
  6877. +};
  6878. +static const unsigned sr__unsubscribe_req__field_indices_by_name[] = {
  6879. + 1, /* field[1] = destination */
  6880. + 3, /* field[3] = module_name */
  6881. + 2, /* field[2] = subscription_id */
  6882. + 0, /* field[0] = type */
  6883. +};
  6884. +static const ProtobufCIntRange sr__unsubscribe_req__number_ranges[1 + 1] =
  6885. +{
  6886. + { 1, 0 },
  6887. + { 0, 4 }
  6888. +};
  6889. +const ProtobufCMessageDescriptor sr__unsubscribe_req__descriptor =
  6890. +{
  6891. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6892. + "sr.UnsubscribeReq",
  6893. + "UnsubscribeReq",
  6894. + "Sr__UnsubscribeReq",
  6895. + "sr",
  6896. + sizeof(Sr__UnsubscribeReq),
  6897. + 4,
  6898. + sr__unsubscribe_req__field_descriptors,
  6899. + sr__unsubscribe_req__field_indices_by_name,
  6900. + 1, sr__unsubscribe_req__number_ranges,
  6901. + (ProtobufCMessageInit) sr__unsubscribe_req__init,
  6902. + NULL,NULL,NULL /* reserved[123] */
  6903. +};
  6904. +#define sr__unsubscribe_resp__field_descriptors NULL
  6905. +#define sr__unsubscribe_resp__field_indices_by_name NULL
  6906. +#define sr__unsubscribe_resp__number_ranges NULL
  6907. +const ProtobufCMessageDescriptor sr__unsubscribe_resp__descriptor =
  6908. +{
  6909. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6910. + "sr.UnsubscribeResp",
  6911. + "UnsubscribeResp",
  6912. + "Sr__UnsubscribeResp",
  6913. + "sr",
  6914. + sizeof(Sr__UnsubscribeResp),
  6915. + 0,
  6916. + sr__unsubscribe_resp__field_descriptors,
  6917. + sr__unsubscribe_resp__field_indices_by_name,
  6918. + 0, sr__unsubscribe_resp__number_ranges,
  6919. + (ProtobufCMessageInit) sr__unsubscribe_resp__init,
  6920. + NULL,NULL,NULL /* reserved[123] */
  6921. +};
  6922. +static const ProtobufCFieldDescriptor sr__check_enabled_running_req__field_descriptors[1] =
  6923. +{
  6924. + {
  6925. + "module_name",
  6926. + 1,
  6927. + PROTOBUF_C_LABEL_REQUIRED,
  6928. + PROTOBUF_C_TYPE_STRING,
  6929. + 0, /* quantifier_offset */
  6930. + offsetof(Sr__CheckEnabledRunningReq, module_name),
  6931. + NULL,
  6932. + NULL,
  6933. + 0, /* flags */
  6934. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6935. + },
  6936. +};
  6937. +static const unsigned sr__check_enabled_running_req__field_indices_by_name[] = {
  6938. + 0, /* field[0] = module_name */
  6939. +};
  6940. +static const ProtobufCIntRange sr__check_enabled_running_req__number_ranges[1 + 1] =
  6941. +{
  6942. + { 1, 0 },
  6943. + { 0, 1 }
  6944. +};
  6945. +const ProtobufCMessageDescriptor sr__check_enabled_running_req__descriptor =
  6946. +{
  6947. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6948. + "sr.CheckEnabledRunningReq",
  6949. + "CheckEnabledRunningReq",
  6950. + "Sr__CheckEnabledRunningReq",
  6951. + "sr",
  6952. + sizeof(Sr__CheckEnabledRunningReq),
  6953. + 1,
  6954. + sr__check_enabled_running_req__field_descriptors,
  6955. + sr__check_enabled_running_req__field_indices_by_name,
  6956. + 1, sr__check_enabled_running_req__number_ranges,
  6957. + (ProtobufCMessageInit) sr__check_enabled_running_req__init,
  6958. + NULL,NULL,NULL /* reserved[123] */
  6959. +};
  6960. +static const ProtobufCFieldDescriptor sr__check_enabled_running_resp__field_descriptors[1] =
  6961. +{
  6962. + {
  6963. + "enabled",
  6964. + 1,
  6965. + PROTOBUF_C_LABEL_REQUIRED,
  6966. + PROTOBUF_C_TYPE_BOOL,
  6967. + 0, /* quantifier_offset */
  6968. + offsetof(Sr__CheckEnabledRunningResp, enabled),
  6969. + NULL,
  6970. + NULL,
  6971. + 0, /* flags */
  6972. + 0,NULL,NULL /* reserved1,reserved2, etc */
  6973. + },
  6974. +};
  6975. +static const unsigned sr__check_enabled_running_resp__field_indices_by_name[] = {
  6976. + 0, /* field[0] = enabled */
  6977. +};
  6978. +static const ProtobufCIntRange sr__check_enabled_running_resp__number_ranges[1 + 1] =
  6979. +{
  6980. + { 1, 0 },
  6981. + { 0, 1 }
  6982. +};
  6983. +const ProtobufCMessageDescriptor sr__check_enabled_running_resp__descriptor =
  6984. +{
  6985. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  6986. + "sr.CheckEnabledRunningResp",
  6987. + "CheckEnabledRunningResp",
  6988. + "Sr__CheckEnabledRunningResp",
  6989. + "sr",
  6990. + sizeof(Sr__CheckEnabledRunningResp),
  6991. + 1,
  6992. + sr__check_enabled_running_resp__field_descriptors,
  6993. + sr__check_enabled_running_resp__field_indices_by_name,
  6994. + 1, sr__check_enabled_running_resp__number_ranges,
  6995. + (ProtobufCMessageInit) sr__check_enabled_running_resp__init,
  6996. + NULL,NULL,NULL /* reserved[123] */
  6997. +};
  6998. +static const ProtobufCFieldDescriptor sr__module_install_notification__field_descriptors[3] =
  6999. +{
  7000. + {
  7001. + "module_name",
  7002. + 1,
  7003. + PROTOBUF_C_LABEL_OPTIONAL,
  7004. + PROTOBUF_C_TYPE_STRING,
  7005. + 0, /* quantifier_offset */
  7006. + offsetof(Sr__ModuleInstallNotification, module_name),
  7007. + NULL,
  7008. + NULL,
  7009. + 0, /* flags */
  7010. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7011. + },
  7012. + {
  7013. + "revision",
  7014. + 2,
  7015. + PROTOBUF_C_LABEL_OPTIONAL,
  7016. + PROTOBUF_C_TYPE_STRING,
  7017. + 0, /* quantifier_offset */
  7018. + offsetof(Sr__ModuleInstallNotification, revision),
  7019. + NULL,
  7020. + NULL,
  7021. + 0, /* flags */
  7022. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7023. + },
  7024. + {
  7025. + "state",
  7026. + 3,
  7027. + PROTOBUF_C_LABEL_REQUIRED,
  7028. + PROTOBUF_C_TYPE_ENUM,
  7029. + 0, /* quantifier_offset */
  7030. + offsetof(Sr__ModuleInstallNotification, state),
  7031. + &sr__module_state__descriptor,
  7032. + NULL,
  7033. + 0, /* flags */
  7034. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7035. + },
  7036. +};
  7037. +static const unsigned sr__module_install_notification__field_indices_by_name[] = {
  7038. + 0, /* field[0] = module_name */
  7039. + 1, /* field[1] = revision */
  7040. + 2, /* field[2] = state */
  7041. +};
  7042. +static const ProtobufCIntRange sr__module_install_notification__number_ranges[1 + 1] =
  7043. +{
  7044. + { 1, 0 },
  7045. + { 0, 3 }
  7046. +};
  7047. +const ProtobufCMessageDescriptor sr__module_install_notification__descriptor =
  7048. +{
  7049. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  7050. + "sr.ModuleInstallNotification",
  7051. + "ModuleInstallNotification",
  7052. + "Sr__ModuleInstallNotification",
  7053. + "sr",
  7054. + sizeof(Sr__ModuleInstallNotification),
  7055. + 3,
  7056. + sr__module_install_notification__field_descriptors,
  7057. + sr__module_install_notification__field_indices_by_name,
  7058. + 1, sr__module_install_notification__number_ranges,
  7059. + (ProtobufCMessageInit) sr__module_install_notification__init,
  7060. + NULL,NULL,NULL /* reserved[123] */
  7061. +};
  7062. +static const ProtobufCFieldDescriptor sr__feature_enable_notification__field_descriptors[3] =
  7063. +{
  7064. + {
  7065. + "module_name",
  7066. + 1,
  7067. + PROTOBUF_C_LABEL_REQUIRED,
  7068. + PROTOBUF_C_TYPE_STRING,
  7069. + 0, /* quantifier_offset */
  7070. + offsetof(Sr__FeatureEnableNotification, module_name),
  7071. + NULL,
  7072. + NULL,
  7073. + 0, /* flags */
  7074. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7075. + },
  7076. + {
  7077. + "feature_name",
  7078. + 2,
  7079. + PROTOBUF_C_LABEL_REQUIRED,
  7080. + PROTOBUF_C_TYPE_STRING,
  7081. + 0, /* quantifier_offset */
  7082. + offsetof(Sr__FeatureEnableNotification, feature_name),
  7083. + NULL,
  7084. + NULL,
  7085. + 0, /* flags */
  7086. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7087. + },
  7088. + {
  7089. + "enabled",
  7090. + 3,
  7091. + PROTOBUF_C_LABEL_REQUIRED,
  7092. + PROTOBUF_C_TYPE_BOOL,
  7093. + 0, /* quantifier_offset */
  7094. + offsetof(Sr__FeatureEnableNotification, enabled),
  7095. + NULL,
  7096. + NULL,
  7097. + 0, /* flags */
  7098. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7099. + },
  7100. +};
  7101. +static const unsigned sr__feature_enable_notification__field_indices_by_name[] = {
  7102. + 2, /* field[2] = enabled */
  7103. + 1, /* field[1] = feature_name */
  7104. + 0, /* field[0] = module_name */
  7105. +};
  7106. +static const ProtobufCIntRange sr__feature_enable_notification__number_ranges[1 + 1] =
  7107. +{
  7108. + { 1, 0 },
  7109. + { 0, 3 }
  7110. +};
  7111. +const ProtobufCMessageDescriptor sr__feature_enable_notification__descriptor =
  7112. +{
  7113. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  7114. + "sr.FeatureEnableNotification",
  7115. + "FeatureEnableNotification",
  7116. + "Sr__FeatureEnableNotification",
  7117. + "sr",
  7118. + sizeof(Sr__FeatureEnableNotification),
  7119. + 3,
  7120. + sr__feature_enable_notification__field_descriptors,
  7121. + sr__feature_enable_notification__field_indices_by_name,
  7122. + 1, sr__feature_enable_notification__number_ranges,
  7123. + (ProtobufCMessageInit) sr__feature_enable_notification__init,
  7124. + NULL,NULL,NULL /* reserved[123] */
  7125. +};
  7126. +static const ProtobufCFieldDescriptor sr__module_change_notification__field_descriptors[2] =
  7127. +{
  7128. + {
  7129. + "event",
  7130. + 1,
  7131. + PROTOBUF_C_LABEL_REQUIRED,
  7132. + PROTOBUF_C_TYPE_ENUM,
  7133. + 0, /* quantifier_offset */
  7134. + offsetof(Sr__ModuleChangeNotification, event),
  7135. + &sr__notification_event__descriptor,
  7136. + NULL,
  7137. + 0, /* flags */
  7138. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7139. + },
  7140. + {
  7141. + "module_name",
  7142. + 2,
  7143. + PROTOBUF_C_LABEL_REQUIRED,
  7144. + PROTOBUF_C_TYPE_STRING,
  7145. + 0, /* quantifier_offset */
  7146. + offsetof(Sr__ModuleChangeNotification, module_name),
  7147. + NULL,
  7148. + NULL,
  7149. + 0, /* flags */
  7150. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7151. + },
  7152. +};
  7153. +static const unsigned sr__module_change_notification__field_indices_by_name[] = {
  7154. + 0, /* field[0] = event */
  7155. + 1, /* field[1] = module_name */
  7156. +};
  7157. +static const ProtobufCIntRange sr__module_change_notification__number_ranges[1 + 1] =
  7158. +{
  7159. + { 1, 0 },
  7160. + { 0, 2 }
  7161. +};
  7162. +const ProtobufCMessageDescriptor sr__module_change_notification__descriptor =
  7163. +{
  7164. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  7165. + "sr.ModuleChangeNotification",
  7166. + "ModuleChangeNotification",
  7167. + "Sr__ModuleChangeNotification",
  7168. + "sr",
  7169. + sizeof(Sr__ModuleChangeNotification),
  7170. + 2,
  7171. + sr__module_change_notification__field_descriptors,
  7172. + sr__module_change_notification__field_indices_by_name,
  7173. + 1, sr__module_change_notification__number_ranges,
  7174. + (ProtobufCMessageInit) sr__module_change_notification__init,
  7175. + NULL,NULL,NULL /* reserved[123] */
  7176. +};
  7177. +static const ProtobufCFieldDescriptor sr__subtree_change_notification__field_descriptors[2] =
  7178. +{
  7179. + {
  7180. + "event",
  7181. + 1,
  7182. + PROTOBUF_C_LABEL_REQUIRED,
  7183. + PROTOBUF_C_TYPE_ENUM,
  7184. + 0, /* quantifier_offset */
  7185. + offsetof(Sr__SubtreeChangeNotification, event),
  7186. + &sr__notification_event__descriptor,
  7187. + NULL,
  7188. + 0, /* flags */
  7189. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7190. + },
  7191. + {
  7192. + "xpath",
  7193. + 2,
  7194. + PROTOBUF_C_LABEL_REQUIRED,
  7195. + PROTOBUF_C_TYPE_STRING,
  7196. + 0, /* quantifier_offset */
  7197. + offsetof(Sr__SubtreeChangeNotification, xpath),
  7198. + NULL,
  7199. + NULL,
  7200. + 0, /* flags */
  7201. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7202. + },
  7203. +};
  7204. +static const unsigned sr__subtree_change_notification__field_indices_by_name[] = {
  7205. + 0, /* field[0] = event */
  7206. + 1, /* field[1] = xpath */
  7207. +};
  7208. +static const ProtobufCIntRange sr__subtree_change_notification__number_ranges[1 + 1] =
  7209. +{
  7210. + { 1, 0 },
  7211. + { 0, 2 }
  7212. +};
  7213. +const ProtobufCMessageDescriptor sr__subtree_change_notification__descriptor =
  7214. +{
  7215. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  7216. + "sr.SubtreeChangeNotification",
  7217. + "SubtreeChangeNotification",
  7218. + "Sr__SubtreeChangeNotification",
  7219. + "sr",
  7220. + sizeof(Sr__SubtreeChangeNotification),
  7221. + 2,
  7222. + sr__subtree_change_notification__field_descriptors,
  7223. + sr__subtree_change_notification__field_indices_by_name,
  7224. + 1, sr__subtree_change_notification__number_ranges,
  7225. + (ProtobufCMessageInit) sr__subtree_change_notification__init,
  7226. + NULL,NULL,NULL /* reserved[123] */
  7227. +};
  7228. +static const ProtobufCFieldDescriptor sr__change__field_descriptors[3] =
  7229. +{
  7230. + {
  7231. + "changeOperation",
  7232. + 1,
  7233. + PROTOBUF_C_LABEL_REQUIRED,
  7234. + PROTOBUF_C_TYPE_ENUM,
  7235. + 0, /* quantifier_offset */
  7236. + offsetof(Sr__Change, changeoperation),
  7237. + &sr__change_operation__descriptor,
  7238. + NULL,
  7239. + 0, /* flags */
  7240. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7241. + },
  7242. + {
  7243. + "new_value",
  7244. + 2,
  7245. + PROTOBUF_C_LABEL_OPTIONAL,
  7246. + PROTOBUF_C_TYPE_MESSAGE,
  7247. + 0, /* quantifier_offset */
  7248. + offsetof(Sr__Change, new_value),
  7249. + &sr__value__descriptor,
  7250. + NULL,
  7251. + 0, /* flags */
  7252. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7253. + },
  7254. + {
  7255. + "old_value",
  7256. + 3,
  7257. + PROTOBUF_C_LABEL_OPTIONAL,
  7258. + PROTOBUF_C_TYPE_MESSAGE,
  7259. + 0, /* quantifier_offset */
  7260. + offsetof(Sr__Change, old_value),
  7261. + &sr__value__descriptor,
  7262. + NULL,
  7263. + 0, /* flags */
  7264. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7265. + },
  7266. +};
  7267. +static const unsigned sr__change__field_indices_by_name[] = {
  7268. + 0, /* field[0] = changeOperation */
  7269. + 1, /* field[1] = new_value */
  7270. + 2, /* field[2] = old_value */
  7271. +};
  7272. +static const ProtobufCIntRange sr__change__number_ranges[1 + 1] =
  7273. +{
  7274. + { 1, 0 },
  7275. + { 0, 3 }
  7276. +};
  7277. +const ProtobufCMessageDescriptor sr__change__descriptor =
  7278. +{
  7279. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  7280. + "sr.Change",
  7281. + "Change",
  7282. + "Sr__Change",
  7283. + "sr",
  7284. + sizeof(Sr__Change),
  7285. + 3,
  7286. + sr__change__field_descriptors,
  7287. + sr__change__field_indices_by_name,
  7288. + 1, sr__change__number_ranges,
  7289. + (ProtobufCMessageInit) sr__change__init,
  7290. + NULL,NULL,NULL /* reserved[123] */
  7291. +};
  7292. +static const ProtobufCFieldDescriptor sr__get_changes_req__field_descriptors[3] =
  7293. +{
  7294. + {
  7295. + "xpath",
  7296. + 1,
  7297. + PROTOBUF_C_LABEL_REQUIRED,
  7298. + PROTOBUF_C_TYPE_STRING,
  7299. + 0, /* quantifier_offset */
  7300. + offsetof(Sr__GetChangesReq, xpath),
  7301. + NULL,
  7302. + NULL,
  7303. + 0, /* flags */
  7304. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7305. + },
  7306. + {
  7307. + "limit",
  7308. + 2,
  7309. + PROTOBUF_C_LABEL_REQUIRED,
  7310. + PROTOBUF_C_TYPE_UINT32,
  7311. + 0, /* quantifier_offset */
  7312. + offsetof(Sr__GetChangesReq, limit),
  7313. + NULL,
  7314. + NULL,
  7315. + 0, /* flags */
  7316. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7317. + },
  7318. + {
  7319. + "offset",
  7320. + 3,
  7321. + PROTOBUF_C_LABEL_REQUIRED,
  7322. + PROTOBUF_C_TYPE_UINT32,
  7323. + 0, /* quantifier_offset */
  7324. + offsetof(Sr__GetChangesReq, offset),
  7325. + NULL,
  7326. + NULL,
  7327. + 0, /* flags */
  7328. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7329. + },
  7330. +};
  7331. +static const unsigned sr__get_changes_req__field_indices_by_name[] = {
  7332. + 1, /* field[1] = limit */
  7333. + 2, /* field[2] = offset */
  7334. + 0, /* field[0] = xpath */
  7335. +};
  7336. +static const ProtobufCIntRange sr__get_changes_req__number_ranges[1 + 1] =
  7337. +{
  7338. + { 1, 0 },
  7339. + { 0, 3 }
  7340. +};
  7341. +const ProtobufCMessageDescriptor sr__get_changes_req__descriptor =
  7342. +{
  7343. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  7344. + "sr.GetChangesReq",
  7345. + "GetChangesReq",
  7346. + "Sr__GetChangesReq",
  7347. + "sr",
  7348. + sizeof(Sr__GetChangesReq),
  7349. + 3,
  7350. + sr__get_changes_req__field_descriptors,
  7351. + sr__get_changes_req__field_indices_by_name,
  7352. + 1, sr__get_changes_req__number_ranges,
  7353. + (ProtobufCMessageInit) sr__get_changes_req__init,
  7354. + NULL,NULL,NULL /* reserved[123] */
  7355. +};
  7356. +static const ProtobufCFieldDescriptor sr__get_changes_resp__field_descriptors[1] =
  7357. +{
  7358. + {
  7359. + "changes",
  7360. + 1,
  7361. + PROTOBUF_C_LABEL_REPEATED,
  7362. + PROTOBUF_C_TYPE_MESSAGE,
  7363. + offsetof(Sr__GetChangesResp, n_changes),
  7364. + offsetof(Sr__GetChangesResp, changes),
  7365. + &sr__change__descriptor,
  7366. + NULL,
  7367. + 0, /* flags */
  7368. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7369. + },
  7370. +};
  7371. +static const unsigned sr__get_changes_resp__field_indices_by_name[] = {
  7372. + 0, /* field[0] = changes */
  7373. +};
  7374. +static const ProtobufCIntRange sr__get_changes_resp__number_ranges[1 + 1] =
  7375. +{
  7376. + { 1, 0 },
  7377. + { 0, 1 }
  7378. +};
  7379. +const ProtobufCMessageDescriptor sr__get_changes_resp__descriptor =
  7380. +{
  7381. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  7382. + "sr.GetChangesResp",
  7383. + "GetChangesResp",
  7384. + "Sr__GetChangesResp",
  7385. + "sr",
  7386. + sizeof(Sr__GetChangesResp),
  7387. + 1,
  7388. + sr__get_changes_resp__field_descriptors,
  7389. + sr__get_changes_resp__field_indices_by_name,
  7390. + 1, sr__get_changes_resp__number_ranges,
  7391. + (ProtobufCMessageInit) sr__get_changes_resp__init,
  7392. + NULL,NULL,NULL /* reserved[123] */
  7393. +};
  7394. +static const ProtobufCFieldDescriptor sr__check_exec_perm_req__field_descriptors[1] =
  7395. +{
  7396. + {
  7397. + "xpath",
  7398. + 1,
  7399. + PROTOBUF_C_LABEL_REQUIRED,
  7400. + PROTOBUF_C_TYPE_STRING,
  7401. + 0, /* quantifier_offset */
  7402. + offsetof(Sr__CheckExecPermReq, xpath),
  7403. + NULL,
  7404. + NULL,
  7405. + 0, /* flags */
  7406. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7407. + },
  7408. +};
  7409. +static const unsigned sr__check_exec_perm_req__field_indices_by_name[] = {
  7410. + 0, /* field[0] = xpath */
  7411. +};
  7412. +static const ProtobufCIntRange sr__check_exec_perm_req__number_ranges[1 + 1] =
  7413. +{
  7414. + { 1, 0 },
  7415. + { 0, 1 }
  7416. +};
  7417. +const ProtobufCMessageDescriptor sr__check_exec_perm_req__descriptor =
  7418. +{
  7419. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  7420. + "sr.CheckExecPermReq",
  7421. + "CheckExecPermReq",
  7422. + "Sr__CheckExecPermReq",
  7423. + "sr",
  7424. + sizeof(Sr__CheckExecPermReq),
  7425. + 1,
  7426. + sr__check_exec_perm_req__field_descriptors,
  7427. + sr__check_exec_perm_req__field_indices_by_name,
  7428. + 1, sr__check_exec_perm_req__number_ranges,
  7429. + (ProtobufCMessageInit) sr__check_exec_perm_req__init,
  7430. + NULL,NULL,NULL /* reserved[123] */
  7431. +};
  7432. +static const ProtobufCFieldDescriptor sr__check_exec_perm_resp__field_descriptors[1] =
  7433. +{
  7434. + {
  7435. + "permitted",
  7436. + 1,
  7437. + PROTOBUF_C_LABEL_REQUIRED,
  7438. + PROTOBUF_C_TYPE_BOOL,
  7439. + 0, /* quantifier_offset */
  7440. + offsetof(Sr__CheckExecPermResp, permitted),
  7441. + NULL,
  7442. + NULL,
  7443. + 0, /* flags */
  7444. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7445. + },
  7446. +};
  7447. +static const unsigned sr__check_exec_perm_resp__field_indices_by_name[] = {
  7448. + 0, /* field[0] = permitted */
  7449. +};
  7450. +static const ProtobufCIntRange sr__check_exec_perm_resp__number_ranges[1 + 1] =
  7451. +{
  7452. + { 1, 0 },
  7453. + { 0, 1 }
  7454. +};
  7455. +const ProtobufCMessageDescriptor sr__check_exec_perm_resp__descriptor =
  7456. +{
  7457. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  7458. + "sr.CheckExecPermResp",
  7459. + "CheckExecPermResp",
  7460. + "Sr__CheckExecPermResp",
  7461. + "sr",
  7462. + sizeof(Sr__CheckExecPermResp),
  7463. + 1,
  7464. + sr__check_exec_perm_resp__field_descriptors,
  7465. + sr__check_exec_perm_resp__field_indices_by_name,
  7466. + 1, sr__check_exec_perm_resp__number_ranges,
  7467. + (ProtobufCMessageInit) sr__check_exec_perm_resp__init,
  7468. + NULL,NULL,NULL /* reserved[123] */
  7469. +};
  7470. +static const ProtobufCFieldDescriptor sr__rpcreq__field_descriptors[7] =
  7471. +{
  7472. + {
  7473. + "action",
  7474. + 1,
  7475. + PROTOBUF_C_LABEL_REQUIRED,
  7476. + PROTOBUF_C_TYPE_BOOL,
  7477. + 0, /* quantifier_offset */
  7478. + offsetof(Sr__RPCReq, action),
  7479. + NULL,
  7480. + NULL,
  7481. + 0, /* flags */
  7482. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7483. + },
  7484. + {
  7485. + "xpath",
  7486. + 2,
  7487. + PROTOBUF_C_LABEL_REQUIRED,
  7488. + PROTOBUF_C_TYPE_STRING,
  7489. + 0, /* quantifier_offset */
  7490. + offsetof(Sr__RPCReq, xpath),
  7491. + NULL,
  7492. + NULL,
  7493. + 0, /* flags */
  7494. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7495. + },
  7496. + {
  7497. + "orig_api_variant",
  7498. + 3,
  7499. + PROTOBUF_C_LABEL_REQUIRED,
  7500. + PROTOBUF_C_TYPE_ENUM,
  7501. + 0, /* quantifier_offset */
  7502. + offsetof(Sr__RPCReq, orig_api_variant),
  7503. + &sr__api_variant__descriptor,
  7504. + NULL,
  7505. + 0, /* flags */
  7506. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7507. + },
  7508. + {
  7509. + "input",
  7510. + 4,
  7511. + PROTOBUF_C_LABEL_REPEATED,
  7512. + PROTOBUF_C_TYPE_MESSAGE,
  7513. + offsetof(Sr__RPCReq, n_input),
  7514. + offsetof(Sr__RPCReq, input),
  7515. + &sr__value__descriptor,
  7516. + NULL,
  7517. + 0, /* flags */
  7518. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7519. + },
  7520. + {
  7521. + "input_tree",
  7522. + 5,
  7523. + PROTOBUF_C_LABEL_REPEATED,
  7524. + PROTOBUF_C_TYPE_MESSAGE,
  7525. + offsetof(Sr__RPCReq, n_input_tree),
  7526. + offsetof(Sr__RPCReq, input_tree),
  7527. + &sr__node__descriptor,
  7528. + NULL,
  7529. + 0, /* flags */
  7530. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7531. + },
  7532. + {
  7533. + "subscriber_address",
  7534. + 10,
  7535. + PROTOBUF_C_LABEL_OPTIONAL,
  7536. + PROTOBUF_C_TYPE_STRING,
  7537. + 0, /* quantifier_offset */
  7538. + offsetof(Sr__RPCReq, subscriber_address),
  7539. + NULL,
  7540. + NULL,
  7541. + 0, /* flags */
  7542. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7543. + },
  7544. + {
  7545. + "subscription_id",
  7546. + 11,
  7547. + PROTOBUF_C_LABEL_OPTIONAL,
  7548. + PROTOBUF_C_TYPE_UINT32,
  7549. + offsetof(Sr__RPCReq, has_subscription_id),
  7550. + offsetof(Sr__RPCReq, subscription_id),
  7551. + NULL,
  7552. + NULL,
  7553. + 0, /* flags */
  7554. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7555. + },
  7556. +};
  7557. +static const unsigned sr__rpcreq__field_indices_by_name[] = {
  7558. + 0, /* field[0] = action */
  7559. + 3, /* field[3] = input */
  7560. + 4, /* field[4] = input_tree */
  7561. + 2, /* field[2] = orig_api_variant */
  7562. + 5, /* field[5] = subscriber_address */
  7563. + 6, /* field[6] = subscription_id */
  7564. + 1, /* field[1] = xpath */
  7565. +};
  7566. +static const ProtobufCIntRange sr__rpcreq__number_ranges[2 + 1] =
  7567. +{
  7568. + { 1, 0 },
  7569. + { 10, 5 },
  7570. + { 0, 7 }
  7571. +};
  7572. +const ProtobufCMessageDescriptor sr__rpcreq__descriptor =
  7573. +{
  7574. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  7575. + "sr.RPCReq",
  7576. + "RPCReq",
  7577. + "Sr__RPCReq",
  7578. + "sr",
  7579. + sizeof(Sr__RPCReq),
  7580. + 7,
  7581. + sr__rpcreq__field_descriptors,
  7582. + sr__rpcreq__field_indices_by_name,
  7583. + 2, sr__rpcreq__number_ranges,
  7584. + (ProtobufCMessageInit) sr__rpcreq__init,
  7585. + NULL,NULL,NULL /* reserved[123] */
  7586. +};
  7587. +static const ProtobufCFieldDescriptor sr__rpcresp__field_descriptors[5] =
  7588. +{
  7589. + {
  7590. + "action",
  7591. + 1,
  7592. + PROTOBUF_C_LABEL_REQUIRED,
  7593. + PROTOBUF_C_TYPE_BOOL,
  7594. + 0, /* quantifier_offset */
  7595. + offsetof(Sr__RPCResp, action),
  7596. + NULL,
  7597. + NULL,
  7598. + 0, /* flags */
  7599. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7600. + },
  7601. + {
  7602. + "xpath",
  7603. + 2,
  7604. + PROTOBUF_C_LABEL_REQUIRED,
  7605. + PROTOBUF_C_TYPE_STRING,
  7606. + 0, /* quantifier_offset */
  7607. + offsetof(Sr__RPCResp, xpath),
  7608. + NULL,
  7609. + NULL,
  7610. + 0, /* flags */
  7611. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7612. + },
  7613. + {
  7614. + "orig_api_variant",
  7615. + 3,
  7616. + PROTOBUF_C_LABEL_REQUIRED,
  7617. + PROTOBUF_C_TYPE_ENUM,
  7618. + 0, /* quantifier_offset */
  7619. + offsetof(Sr__RPCResp, orig_api_variant),
  7620. + &sr__api_variant__descriptor,
  7621. + NULL,
  7622. + 0, /* flags */
  7623. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7624. + },
  7625. + {
  7626. + "output",
  7627. + 4,
  7628. + PROTOBUF_C_LABEL_REPEATED,
  7629. + PROTOBUF_C_TYPE_MESSAGE,
  7630. + offsetof(Sr__RPCResp, n_output),
  7631. + offsetof(Sr__RPCResp, output),
  7632. + &sr__value__descriptor,
  7633. + NULL,
  7634. + 0, /* flags */
  7635. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7636. + },
  7637. + {
  7638. + "output_tree",
  7639. + 5,
  7640. + PROTOBUF_C_LABEL_REPEATED,
  7641. + PROTOBUF_C_TYPE_MESSAGE,
  7642. + offsetof(Sr__RPCResp, n_output_tree),
  7643. + offsetof(Sr__RPCResp, output_tree),
  7644. + &sr__node__descriptor,
  7645. + NULL,
  7646. + 0, /* flags */
  7647. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7648. + },
  7649. +};
  7650. +static const unsigned sr__rpcresp__field_indices_by_name[] = {
  7651. + 0, /* field[0] = action */
  7652. + 2, /* field[2] = orig_api_variant */
  7653. + 3, /* field[3] = output */
  7654. + 4, /* field[4] = output_tree */
  7655. + 1, /* field[1] = xpath */
  7656. +};
  7657. +static const ProtobufCIntRange sr__rpcresp__number_ranges[1 + 1] =
  7658. +{
  7659. + { 1, 0 },
  7660. + { 0, 5 }
  7661. +};
  7662. +const ProtobufCMessageDescriptor sr__rpcresp__descriptor =
  7663. +{
  7664. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  7665. + "sr.RPCResp",
  7666. + "RPCResp",
  7667. + "Sr__RPCResp",
  7668. + "sr",
  7669. + sizeof(Sr__RPCResp),
  7670. + 5,
  7671. + sr__rpcresp__field_descriptors,
  7672. + sr__rpcresp__field_indices_by_name,
  7673. + 1, sr__rpcresp__number_ranges,
  7674. + (ProtobufCMessageInit) sr__rpcresp__init,
  7675. + NULL,NULL,NULL /* reserved[123] */
  7676. +};
  7677. +static const ProtobufCEnumValue sr__event_notif_req__notif_type__enum_values_by_number[4] =
  7678. +{
  7679. + { "REALTIME", "SR__EVENT_NOTIF_REQ__NOTIF_TYPE__REALTIME", 1 },
  7680. + { "REPLAY", "SR__EVENT_NOTIF_REQ__NOTIF_TYPE__REPLAY", 2 },
  7681. + { "REPLAY_COMPLETE", "SR__EVENT_NOTIF_REQ__NOTIF_TYPE__REPLAY_COMPLETE", 3 },
  7682. + { "REPLAY_STOP", "SR__EVENT_NOTIF_REQ__NOTIF_TYPE__REPLAY_STOP", 4 },
  7683. +};
  7684. +static const ProtobufCIntRange sr__event_notif_req__notif_type__value_ranges[] = {
  7685. +{1, 0},{0, 4}
  7686. +};
  7687. +static const ProtobufCEnumValueIndex sr__event_notif_req__notif_type__enum_values_by_name[4] =
  7688. +{
  7689. + { "REALTIME", 0 },
  7690. + { "REPLAY", 1 },
  7691. + { "REPLAY_COMPLETE", 2 },
  7692. + { "REPLAY_STOP", 3 },
  7693. +};
  7694. +const ProtobufCEnumDescriptor sr__event_notif_req__notif_type__descriptor =
  7695. +{
  7696. + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  7697. + "sr.EventNotifReq.NotifType",
  7698. + "NotifType",
  7699. + "Sr__EventNotifReq__NotifType",
  7700. + "sr",
  7701. + 4,
  7702. + sr__event_notif_req__notif_type__enum_values_by_number,
  7703. + 4,
  7704. + sr__event_notif_req__notif_type__enum_values_by_name,
  7705. + 1,
  7706. + sr__event_notif_req__notif_type__value_ranges,
  7707. + NULL,NULL,NULL,NULL /* reserved[1234] */
  7708. +};
  7709. +static const ProtobufCEnumValue sr__event_notif_req__notif_flags__enum_values_by_number[2] =
  7710. +{
  7711. + { "DEFAULT", "SR__EVENT_NOTIF_REQ__NOTIF_FLAGS__DEFAULT", 0 },
  7712. + { "EPHEMERAL", "SR__EVENT_NOTIF_REQ__NOTIF_FLAGS__EPHEMERAL", 1 },
  7713. +};
  7714. +static const ProtobufCIntRange sr__event_notif_req__notif_flags__value_ranges[] = {
  7715. +{0, 0},{0, 2}
  7716. +};
  7717. +static const ProtobufCEnumValueIndex sr__event_notif_req__notif_flags__enum_values_by_name[2] =
  7718. +{
  7719. + { "DEFAULT", 0 },
  7720. + { "EPHEMERAL", 1 },
  7721. +};
  7722. +const ProtobufCEnumDescriptor sr__event_notif_req__notif_flags__descriptor =
  7723. +{
  7724. + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  7725. + "sr.EventNotifReq.NotifFlags",
  7726. + "NotifFlags",
  7727. + "Sr__EventNotifReq__NotifFlags",
  7728. + "sr",
  7729. + 2,
  7730. + sr__event_notif_req__notif_flags__enum_values_by_number,
  7731. + 2,
  7732. + sr__event_notif_req__notif_flags__enum_values_by_name,
  7733. + 1,
  7734. + sr__event_notif_req__notif_flags__value_ranges,
  7735. + NULL,NULL,NULL,NULL /* reserved[1234] */
  7736. +};
  7737. +static const ProtobufCFieldDescriptor sr__event_notif_req__field_descriptors[9] =
  7738. +{
  7739. + {
  7740. + "type",
  7741. + 1,
  7742. + PROTOBUF_C_LABEL_REQUIRED,
  7743. + PROTOBUF_C_TYPE_ENUM,
  7744. + 0, /* quantifier_offset */
  7745. + offsetof(Sr__EventNotifReq, type),
  7746. + &sr__event_notif_req__notif_type__descriptor,
  7747. + NULL,
  7748. + 0, /* flags */
  7749. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7750. + },
  7751. + {
  7752. + "options",
  7753. + 2,
  7754. + PROTOBUF_C_LABEL_REQUIRED,
  7755. + PROTOBUF_C_TYPE_UINT32,
  7756. + 0, /* quantifier_offset */
  7757. + offsetof(Sr__EventNotifReq, options),
  7758. + NULL,
  7759. + NULL,
  7760. + 0, /* flags */
  7761. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7762. + },
  7763. + {
  7764. + "xpath",
  7765. + 3,
  7766. + PROTOBUF_C_LABEL_REQUIRED,
  7767. + PROTOBUF_C_TYPE_STRING,
  7768. + 0, /* quantifier_offset */
  7769. + offsetof(Sr__EventNotifReq, xpath),
  7770. + NULL,
  7771. + NULL,
  7772. + 0, /* flags */
  7773. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7774. + },
  7775. + {
  7776. + "values",
  7777. + 4,
  7778. + PROTOBUF_C_LABEL_REPEATED,
  7779. + PROTOBUF_C_TYPE_MESSAGE,
  7780. + offsetof(Sr__EventNotifReq, n_values),
  7781. + offsetof(Sr__EventNotifReq, values),
  7782. + &sr__value__descriptor,
  7783. + NULL,
  7784. + 0, /* flags */
  7785. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7786. + },
  7787. + {
  7788. + "trees",
  7789. + 5,
  7790. + PROTOBUF_C_LABEL_REPEATED,
  7791. + PROTOBUF_C_TYPE_MESSAGE,
  7792. + offsetof(Sr__EventNotifReq, n_trees),
  7793. + offsetof(Sr__EventNotifReq, trees),
  7794. + &sr__node__descriptor,
  7795. + NULL,
  7796. + 0, /* flags */
  7797. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7798. + },
  7799. + {
  7800. + "timestamp",
  7801. + 6,
  7802. + PROTOBUF_C_LABEL_REQUIRED,
  7803. + PROTOBUF_C_TYPE_UINT64,
  7804. + 0, /* quantifier_offset */
  7805. + offsetof(Sr__EventNotifReq, timestamp),
  7806. + NULL,
  7807. + NULL,
  7808. + 0, /* flags */
  7809. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7810. + },
  7811. + {
  7812. + "subscriber_address",
  7813. + 10,
  7814. + PROTOBUF_C_LABEL_OPTIONAL,
  7815. + PROTOBUF_C_TYPE_STRING,
  7816. + 0, /* quantifier_offset */
  7817. + offsetof(Sr__EventNotifReq, subscriber_address),
  7818. + NULL,
  7819. + NULL,
  7820. + 0, /* flags */
  7821. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7822. + },
  7823. + {
  7824. + "subscription_id",
  7825. + 11,
  7826. + PROTOBUF_C_LABEL_OPTIONAL,
  7827. + PROTOBUF_C_TYPE_UINT32,
  7828. + offsetof(Sr__EventNotifReq, has_subscription_id),
  7829. + offsetof(Sr__EventNotifReq, subscription_id),
  7830. + NULL,
  7831. + NULL,
  7832. + 0, /* flags */
  7833. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7834. + },
  7835. + {
  7836. + "do_not_send_reply",
  7837. + 20,
  7838. + PROTOBUF_C_LABEL_REQUIRED,
  7839. + PROTOBUF_C_TYPE_BOOL,
  7840. + 0, /* quantifier_offset */
  7841. + offsetof(Sr__EventNotifReq, do_not_send_reply),
  7842. + NULL,
  7843. + NULL,
  7844. + 0, /* flags */
  7845. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7846. + },
  7847. +};
  7848. +static const unsigned sr__event_notif_req__field_indices_by_name[] = {
  7849. + 8, /* field[8] = do_not_send_reply */
  7850. + 1, /* field[1] = options */
  7851. + 6, /* field[6] = subscriber_address */
  7852. + 7, /* field[7] = subscription_id */
  7853. + 5, /* field[5] = timestamp */
  7854. + 4, /* field[4] = trees */
  7855. + 0, /* field[0] = type */
  7856. + 3, /* field[3] = values */
  7857. + 2, /* field[2] = xpath */
  7858. +};
  7859. +static const ProtobufCIntRange sr__event_notif_req__number_ranges[3 + 1] =
  7860. +{
  7861. + { 1, 0 },
  7862. + { 10, 6 },
  7863. + { 20, 8 },
  7864. + { 0, 9 }
  7865. +};
  7866. +const ProtobufCMessageDescriptor sr__event_notif_req__descriptor =
  7867. +{
  7868. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  7869. + "sr.EventNotifReq",
  7870. + "EventNotifReq",
  7871. + "Sr__EventNotifReq",
  7872. + "sr",
  7873. + sizeof(Sr__EventNotifReq),
  7874. + 9,
  7875. + sr__event_notif_req__field_descriptors,
  7876. + sr__event_notif_req__field_indices_by_name,
  7877. + 3, sr__event_notif_req__number_ranges,
  7878. + (ProtobufCMessageInit) sr__event_notif_req__init,
  7879. + NULL,NULL,NULL /* reserved[123] */
  7880. +};
  7881. +#define sr__event_notif_resp__field_descriptors NULL
  7882. +#define sr__event_notif_resp__field_indices_by_name NULL
  7883. +#define sr__event_notif_resp__number_ranges NULL
  7884. +const ProtobufCMessageDescriptor sr__event_notif_resp__descriptor =
  7885. +{
  7886. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  7887. + "sr.EventNotifResp",
  7888. + "EventNotifResp",
  7889. + "Sr__EventNotifResp",
  7890. + "sr",
  7891. + sizeof(Sr__EventNotifResp),
  7892. + 0,
  7893. + sr__event_notif_resp__field_descriptors,
  7894. + sr__event_notif_resp__field_indices_by_name,
  7895. + 0, sr__event_notif_resp__number_ranges,
  7896. + (ProtobufCMessageInit) sr__event_notif_resp__init,
  7897. + NULL,NULL,NULL /* reserved[123] */
  7898. +};
  7899. +static const ProtobufCFieldDescriptor sr__event_notif_replay_req__field_descriptors[6] =
  7900. +{
  7901. + {
  7902. + "xpath",
  7903. + 1,
  7904. + PROTOBUF_C_LABEL_REQUIRED,
  7905. + PROTOBUF_C_TYPE_STRING,
  7906. + 0, /* quantifier_offset */
  7907. + offsetof(Sr__EventNotifReplayReq, xpath),
  7908. + NULL,
  7909. + NULL,
  7910. + 0, /* flags */
  7911. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7912. + },
  7913. + {
  7914. + "start_time",
  7915. + 2,
  7916. + PROTOBUF_C_LABEL_REQUIRED,
  7917. + PROTOBUF_C_TYPE_UINT64,
  7918. + 0, /* quantifier_offset */
  7919. + offsetof(Sr__EventNotifReplayReq, start_time),
  7920. + NULL,
  7921. + NULL,
  7922. + 0, /* flags */
  7923. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7924. + },
  7925. + {
  7926. + "stop_time",
  7927. + 3,
  7928. + PROTOBUF_C_LABEL_REQUIRED,
  7929. + PROTOBUF_C_TYPE_UINT64,
  7930. + 0, /* quantifier_offset */
  7931. + offsetof(Sr__EventNotifReplayReq, stop_time),
  7932. + NULL,
  7933. + NULL,
  7934. + 0, /* flags */
  7935. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7936. + },
  7937. + {
  7938. + "subscriber_address",
  7939. + 10,
  7940. + PROTOBUF_C_LABEL_REQUIRED,
  7941. + PROTOBUF_C_TYPE_STRING,
  7942. + 0, /* quantifier_offset */
  7943. + offsetof(Sr__EventNotifReplayReq, subscriber_address),
  7944. + NULL,
  7945. + NULL,
  7946. + 0, /* flags */
  7947. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7948. + },
  7949. + {
  7950. + "subscription_id",
  7951. + 11,
  7952. + PROTOBUF_C_LABEL_REQUIRED,
  7953. + PROTOBUF_C_TYPE_UINT32,
  7954. + 0, /* quantifier_offset */
  7955. + offsetof(Sr__EventNotifReplayReq, subscription_id),
  7956. + NULL,
  7957. + NULL,
  7958. + 0, /* flags */
  7959. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7960. + },
  7961. + {
  7962. + "api_variant",
  7963. + 12,
  7964. + PROTOBUF_C_LABEL_REQUIRED,
  7965. + PROTOBUF_C_TYPE_ENUM,
  7966. + 0, /* quantifier_offset */
  7967. + offsetof(Sr__EventNotifReplayReq, api_variant),
  7968. + &sr__api_variant__descriptor,
  7969. + NULL,
  7970. + 0, /* flags */
  7971. + 0,NULL,NULL /* reserved1,reserved2, etc */
  7972. + },
  7973. +};
  7974. +static const unsigned sr__event_notif_replay_req__field_indices_by_name[] = {
  7975. + 5, /* field[5] = api_variant */
  7976. + 1, /* field[1] = start_time */
  7977. + 2, /* field[2] = stop_time */
  7978. + 3, /* field[3] = subscriber_address */
  7979. + 4, /* field[4] = subscription_id */
  7980. + 0, /* field[0] = xpath */
  7981. +};
  7982. +static const ProtobufCIntRange sr__event_notif_replay_req__number_ranges[2 + 1] =
  7983. +{
  7984. + { 1, 0 },
  7985. + { 10, 3 },
  7986. + { 0, 6 }
  7987. +};
  7988. +const ProtobufCMessageDescriptor sr__event_notif_replay_req__descriptor =
  7989. +{
  7990. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  7991. + "sr.EventNotifReplayReq",
  7992. + "EventNotifReplayReq",
  7993. + "Sr__EventNotifReplayReq",
  7994. + "sr",
  7995. + sizeof(Sr__EventNotifReplayReq),
  7996. + 6,
  7997. + sr__event_notif_replay_req__field_descriptors,
  7998. + sr__event_notif_replay_req__field_indices_by_name,
  7999. + 2, sr__event_notif_replay_req__number_ranges,
  8000. + (ProtobufCMessageInit) sr__event_notif_replay_req__init,
  8001. + NULL,NULL,NULL /* reserved[123] */
  8002. +};
  8003. +#define sr__event_notif_replay_resp__field_descriptors NULL
  8004. +#define sr__event_notif_replay_resp__field_indices_by_name NULL
  8005. +#define sr__event_notif_replay_resp__number_ranges NULL
  8006. +const ProtobufCMessageDescriptor sr__event_notif_replay_resp__descriptor =
  8007. +{
  8008. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  8009. + "sr.EventNotifReplayResp",
  8010. + "EventNotifReplayResp",
  8011. + "Sr__EventNotifReplayResp",
  8012. + "sr",
  8013. + sizeof(Sr__EventNotifReplayResp),
  8014. + 0,
  8015. + sr__event_notif_replay_resp__field_descriptors,
  8016. + sr__event_notif_replay_resp__field_indices_by_name,
  8017. + 0, sr__event_notif_replay_resp__number_ranges,
  8018. + (ProtobufCMessageInit) sr__event_notif_replay_resp__init,
  8019. + NULL,NULL,NULL /* reserved[123] */
  8020. +};
  8021. +static const ProtobufCFieldDescriptor sr__data_provide_req__field_descriptors[4] =
  8022. +{
  8023. + {
  8024. + "xpath",
  8025. + 1,
  8026. + PROTOBUF_C_LABEL_REQUIRED,
  8027. + PROTOBUF_C_TYPE_STRING,
  8028. + 0, /* quantifier_offset */
  8029. + offsetof(Sr__DataProvideReq, xpath),
  8030. + NULL,
  8031. + NULL,
  8032. + 0, /* flags */
  8033. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8034. + },
  8035. + {
  8036. + "subscriber_address",
  8037. + 10,
  8038. + PROTOBUF_C_LABEL_REQUIRED,
  8039. + PROTOBUF_C_TYPE_STRING,
  8040. + 0, /* quantifier_offset */
  8041. + offsetof(Sr__DataProvideReq, subscriber_address),
  8042. + NULL,
  8043. + NULL,
  8044. + 0, /* flags */
  8045. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8046. + },
  8047. + {
  8048. + "subscription_id",
  8049. + 11,
  8050. + PROTOBUF_C_LABEL_REQUIRED,
  8051. + PROTOBUF_C_TYPE_UINT32,
  8052. + 0, /* quantifier_offset */
  8053. + offsetof(Sr__DataProvideReq, subscription_id),
  8054. + NULL,
  8055. + NULL,
  8056. + 0, /* flags */
  8057. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8058. + },
  8059. + {
  8060. + "request_id",
  8061. + 20,
  8062. + PROTOBUF_C_LABEL_REQUIRED,
  8063. + PROTOBUF_C_TYPE_UINT64,
  8064. + 0, /* quantifier_offset */
  8065. + offsetof(Sr__DataProvideReq, request_id),
  8066. + NULL,
  8067. + NULL,
  8068. + 0, /* flags */
  8069. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8070. + },
  8071. +};
  8072. +static const unsigned sr__data_provide_req__field_indices_by_name[] = {
  8073. + 3, /* field[3] = request_id */
  8074. + 1, /* field[1] = subscriber_address */
  8075. + 2, /* field[2] = subscription_id */
  8076. + 0, /* field[0] = xpath */
  8077. +};
  8078. +static const ProtobufCIntRange sr__data_provide_req__number_ranges[3 + 1] =
  8079. +{
  8080. + { 1, 0 },
  8081. + { 10, 1 },
  8082. + { 20, 3 },
  8083. + { 0, 4 }
  8084. +};
  8085. +const ProtobufCMessageDescriptor sr__data_provide_req__descriptor =
  8086. +{
  8087. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  8088. + "sr.DataProvideReq",
  8089. + "DataProvideReq",
  8090. + "Sr__DataProvideReq",
  8091. + "sr",
  8092. + sizeof(Sr__DataProvideReq),
  8093. + 4,
  8094. + sr__data_provide_req__field_descriptors,
  8095. + sr__data_provide_req__field_indices_by_name,
  8096. + 3, sr__data_provide_req__number_ranges,
  8097. + (ProtobufCMessageInit) sr__data_provide_req__init,
  8098. + NULL,NULL,NULL /* reserved[123] */
  8099. +};
  8100. +static const ProtobufCFieldDescriptor sr__data_provide_resp__field_descriptors[3] =
  8101. +{
  8102. + {
  8103. + "xpath",
  8104. + 1,
  8105. + PROTOBUF_C_LABEL_REQUIRED,
  8106. + PROTOBUF_C_TYPE_STRING,
  8107. + 0, /* quantifier_offset */
  8108. + offsetof(Sr__DataProvideResp, xpath),
  8109. + NULL,
  8110. + NULL,
  8111. + 0, /* flags */
  8112. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8113. + },
  8114. + {
  8115. + "values",
  8116. + 2,
  8117. + PROTOBUF_C_LABEL_REPEATED,
  8118. + PROTOBUF_C_TYPE_MESSAGE,
  8119. + offsetof(Sr__DataProvideResp, n_values),
  8120. + offsetof(Sr__DataProvideResp, values),
  8121. + &sr__value__descriptor,
  8122. + NULL,
  8123. + 0, /* flags */
  8124. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8125. + },
  8126. + {
  8127. + "request_id",
  8128. + 10,
  8129. + PROTOBUF_C_LABEL_REQUIRED,
  8130. + PROTOBUF_C_TYPE_UINT64,
  8131. + 0, /* quantifier_offset */
  8132. + offsetof(Sr__DataProvideResp, request_id),
  8133. + NULL,
  8134. + NULL,
  8135. + 0, /* flags */
  8136. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8137. + },
  8138. +};
  8139. +static const unsigned sr__data_provide_resp__field_indices_by_name[] = {
  8140. + 2, /* field[2] = request_id */
  8141. + 1, /* field[1] = values */
  8142. + 0, /* field[0] = xpath */
  8143. +};
  8144. +static const ProtobufCIntRange sr__data_provide_resp__number_ranges[2 + 1] =
  8145. +{
  8146. + { 1, 0 },
  8147. + { 10, 2 },
  8148. + { 0, 3 }
  8149. +};
  8150. +const ProtobufCMessageDescriptor sr__data_provide_resp__descriptor =
  8151. +{
  8152. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  8153. + "sr.DataProvideResp",
  8154. + "DataProvideResp",
  8155. + "Sr__DataProvideResp",
  8156. + "sr",
  8157. + sizeof(Sr__DataProvideResp),
  8158. + 3,
  8159. + sr__data_provide_resp__field_descriptors,
  8160. + sr__data_provide_resp__field_indices_by_name,
  8161. + 2, sr__data_provide_resp__number_ranges,
  8162. + (ProtobufCMessageInit) sr__data_provide_resp__init,
  8163. + NULL,NULL,NULL /* reserved[123] */
  8164. +};
  8165. +static const ProtobufCFieldDescriptor sr__module_install_req__field_descriptors[4] =
  8166. +{
  8167. + {
  8168. + "module_name",
  8169. + 1,
  8170. + PROTOBUF_C_LABEL_REQUIRED,
  8171. + PROTOBUF_C_TYPE_STRING,
  8172. + 0, /* quantifier_offset */
  8173. + offsetof(Sr__ModuleInstallReq, module_name),
  8174. + NULL,
  8175. + NULL,
  8176. + 0, /* flags */
  8177. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8178. + },
  8179. + {
  8180. + "revision",
  8181. + 2,
  8182. + PROTOBUF_C_LABEL_OPTIONAL,
  8183. + PROTOBUF_C_TYPE_STRING,
  8184. + 0, /* quantifier_offset */
  8185. + offsetof(Sr__ModuleInstallReq, revision),
  8186. + NULL,
  8187. + NULL,
  8188. + 0, /* flags */
  8189. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8190. + },
  8191. + {
  8192. + "file_name",
  8193. + 3,
  8194. + PROTOBUF_C_LABEL_OPTIONAL,
  8195. + PROTOBUF_C_TYPE_STRING,
  8196. + 0, /* quantifier_offset */
  8197. + offsetof(Sr__ModuleInstallReq, file_name),
  8198. + NULL,
  8199. + NULL,
  8200. + 0, /* flags */
  8201. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8202. + },
  8203. + {
  8204. + "installed",
  8205. + 4,
  8206. + PROTOBUF_C_LABEL_REQUIRED,
  8207. + PROTOBUF_C_TYPE_BOOL,
  8208. + 0, /* quantifier_offset */
  8209. + offsetof(Sr__ModuleInstallReq, installed),
  8210. + NULL,
  8211. + NULL,
  8212. + 0, /* flags */
  8213. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8214. + },
  8215. +};
  8216. +static const unsigned sr__module_install_req__field_indices_by_name[] = {
  8217. + 2, /* field[2] = file_name */
  8218. + 3, /* field[3] = installed */
  8219. + 0, /* field[0] = module_name */
  8220. + 1, /* field[1] = revision */
  8221. +};
  8222. +static const ProtobufCIntRange sr__module_install_req__number_ranges[1 + 1] =
  8223. +{
  8224. + { 1, 0 },
  8225. + { 0, 4 }
  8226. +};
  8227. +const ProtobufCMessageDescriptor sr__module_install_req__descriptor =
  8228. +{
  8229. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  8230. + "sr.ModuleInstallReq",
  8231. + "ModuleInstallReq",
  8232. + "Sr__ModuleInstallReq",
  8233. + "sr",
  8234. + sizeof(Sr__ModuleInstallReq),
  8235. + 4,
  8236. + sr__module_install_req__field_descriptors,
  8237. + sr__module_install_req__field_indices_by_name,
  8238. + 1, sr__module_install_req__number_ranges,
  8239. + (ProtobufCMessageInit) sr__module_install_req__init,
  8240. + NULL,NULL,NULL /* reserved[123] */
  8241. +};
  8242. +#define sr__module_install_resp__field_descriptors NULL
  8243. +#define sr__module_install_resp__field_indices_by_name NULL
  8244. +#define sr__module_install_resp__number_ranges NULL
  8245. +const ProtobufCMessageDescriptor sr__module_install_resp__descriptor =
  8246. +{
  8247. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  8248. + "sr.ModuleInstallResp",
  8249. + "ModuleInstallResp",
  8250. + "Sr__ModuleInstallResp",
  8251. + "sr",
  8252. + sizeof(Sr__ModuleInstallResp),
  8253. + 0,
  8254. + sr__module_install_resp__field_descriptors,
  8255. + sr__module_install_resp__field_indices_by_name,
  8256. + 0, sr__module_install_resp__number_ranges,
  8257. + (ProtobufCMessageInit) sr__module_install_resp__init,
  8258. + NULL,NULL,NULL /* reserved[123] */
  8259. +};
  8260. +static const ProtobufCFieldDescriptor sr__feature_enable_req__field_descriptors[3] =
  8261. +{
  8262. + {
  8263. + "module_name",
  8264. + 1,
  8265. + PROTOBUF_C_LABEL_REQUIRED,
  8266. + PROTOBUF_C_TYPE_STRING,
  8267. + 0, /* quantifier_offset */
  8268. + offsetof(Sr__FeatureEnableReq, module_name),
  8269. + NULL,
  8270. + NULL,
  8271. + 0, /* flags */
  8272. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8273. + },
  8274. + {
  8275. + "feature_name",
  8276. + 2,
  8277. + PROTOBUF_C_LABEL_REQUIRED,
  8278. + PROTOBUF_C_TYPE_STRING,
  8279. + 0, /* quantifier_offset */
  8280. + offsetof(Sr__FeatureEnableReq, feature_name),
  8281. + NULL,
  8282. + NULL,
  8283. + 0, /* flags */
  8284. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8285. + },
  8286. + {
  8287. + "enabled",
  8288. + 3,
  8289. + PROTOBUF_C_LABEL_REQUIRED,
  8290. + PROTOBUF_C_TYPE_BOOL,
  8291. + 0, /* quantifier_offset */
  8292. + offsetof(Sr__FeatureEnableReq, enabled),
  8293. + NULL,
  8294. + NULL,
  8295. + 0, /* flags */
  8296. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8297. + },
  8298. +};
  8299. +static const unsigned sr__feature_enable_req__field_indices_by_name[] = {
  8300. + 2, /* field[2] = enabled */
  8301. + 1, /* field[1] = feature_name */
  8302. + 0, /* field[0] = module_name */
  8303. +};
  8304. +static const ProtobufCIntRange sr__feature_enable_req__number_ranges[1 + 1] =
  8305. +{
  8306. + { 1, 0 },
  8307. + { 0, 3 }
  8308. +};
  8309. +const ProtobufCMessageDescriptor sr__feature_enable_req__descriptor =
  8310. +{
  8311. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  8312. + "sr.FeatureEnableReq",
  8313. + "FeatureEnableReq",
  8314. + "Sr__FeatureEnableReq",
  8315. + "sr",
  8316. + sizeof(Sr__FeatureEnableReq),
  8317. + 3,
  8318. + sr__feature_enable_req__field_descriptors,
  8319. + sr__feature_enable_req__field_indices_by_name,
  8320. + 1, sr__feature_enable_req__number_ranges,
  8321. + (ProtobufCMessageInit) sr__feature_enable_req__init,
  8322. + NULL,NULL,NULL /* reserved[123] */
  8323. +};
  8324. +#define sr__feature_enable_resp__field_descriptors NULL
  8325. +#define sr__feature_enable_resp__field_indices_by_name NULL
  8326. +#define sr__feature_enable_resp__number_ranges NULL
  8327. +const ProtobufCMessageDescriptor sr__feature_enable_resp__descriptor =
  8328. +{
  8329. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  8330. + "sr.FeatureEnableResp",
  8331. + "FeatureEnableResp",
  8332. + "Sr__FeatureEnableResp",
  8333. + "sr",
  8334. + sizeof(Sr__FeatureEnableResp),
  8335. + 0,
  8336. + sr__feature_enable_resp__field_descriptors,
  8337. + sr__feature_enable_resp__field_indices_by_name,
  8338. + 0, sr__feature_enable_resp__number_ranges,
  8339. + (ProtobufCMessageInit) sr__feature_enable_resp__init,
  8340. + NULL,NULL,NULL /* reserved[123] */
  8341. +};
  8342. +static const ProtobufCFieldDescriptor sr__unsubscribe_destination_req__field_descriptors[1] =
  8343. +{
  8344. + {
  8345. + "destination",
  8346. + 1,
  8347. + PROTOBUF_C_LABEL_REQUIRED,
  8348. + PROTOBUF_C_TYPE_STRING,
  8349. + 0, /* quantifier_offset */
  8350. + offsetof(Sr__UnsubscribeDestinationReq, destination),
  8351. + NULL,
  8352. + NULL,
  8353. + 0, /* flags */
  8354. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8355. + },
  8356. +};
  8357. +static const unsigned sr__unsubscribe_destination_req__field_indices_by_name[] = {
  8358. + 0, /* field[0] = destination */
  8359. +};
  8360. +static const ProtobufCIntRange sr__unsubscribe_destination_req__number_ranges[1 + 1] =
  8361. +{
  8362. + { 1, 0 },
  8363. + { 0, 1 }
  8364. +};
  8365. +const ProtobufCMessageDescriptor sr__unsubscribe_destination_req__descriptor =
  8366. +{
  8367. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  8368. + "sr.UnsubscribeDestinationReq",
  8369. + "UnsubscribeDestinationReq",
  8370. + "Sr__UnsubscribeDestinationReq",
  8371. + "sr",
  8372. + sizeof(Sr__UnsubscribeDestinationReq),
  8373. + 1,
  8374. + sr__unsubscribe_destination_req__field_descriptors,
  8375. + sr__unsubscribe_destination_req__field_indices_by_name,
  8376. + 1, sr__unsubscribe_destination_req__number_ranges,
  8377. + (ProtobufCMessageInit) sr__unsubscribe_destination_req__init,
  8378. + NULL,NULL,NULL /* reserved[123] */
  8379. +};
  8380. +static const ProtobufCFieldDescriptor sr__commit_timeout_req__field_descriptors[2] =
  8381. +{
  8382. + {
  8383. + "commit_id",
  8384. + 1,
  8385. + PROTOBUF_C_LABEL_REQUIRED,
  8386. + PROTOBUF_C_TYPE_UINT32,
  8387. + 0, /* quantifier_offset */
  8388. + offsetof(Sr__CommitTimeoutReq, commit_id),
  8389. + NULL,
  8390. + NULL,
  8391. + 0, /* flags */
  8392. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8393. + },
  8394. + {
  8395. + "expired",
  8396. + 2,
  8397. + PROTOBUF_C_LABEL_REQUIRED,
  8398. + PROTOBUF_C_TYPE_BOOL,
  8399. + 0, /* quantifier_offset */
  8400. + offsetof(Sr__CommitTimeoutReq, expired),
  8401. + NULL,
  8402. + NULL,
  8403. + 0, /* flags */
  8404. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8405. + },
  8406. +};
  8407. +static const unsigned sr__commit_timeout_req__field_indices_by_name[] = {
  8408. + 0, /* field[0] = commit_id */
  8409. + 1, /* field[1] = expired */
  8410. +};
  8411. +static const ProtobufCIntRange sr__commit_timeout_req__number_ranges[1 + 1] =
  8412. +{
  8413. + { 1, 0 },
  8414. + { 0, 2 }
  8415. +};
  8416. +const ProtobufCMessageDescriptor sr__commit_timeout_req__descriptor =
  8417. +{
  8418. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  8419. + "sr.CommitTimeoutReq",
  8420. + "CommitTimeoutReq",
  8421. + "Sr__CommitTimeoutReq",
  8422. + "sr",
  8423. + sizeof(Sr__CommitTimeoutReq),
  8424. + 2,
  8425. + sr__commit_timeout_req__field_descriptors,
  8426. + sr__commit_timeout_req__field_indices_by_name,
  8427. + 1, sr__commit_timeout_req__number_ranges,
  8428. + (ProtobufCMessageInit) sr__commit_timeout_req__init,
  8429. + NULL,NULL,NULL /* reserved[123] */
  8430. +};
  8431. +static const ProtobufCFieldDescriptor sr__oper_data_timeout_req__field_descriptors[1] =
  8432. +{
  8433. + {
  8434. + "request_id",
  8435. + 1,
  8436. + PROTOBUF_C_LABEL_REQUIRED,
  8437. + PROTOBUF_C_TYPE_UINT64,
  8438. + 0, /* quantifier_offset */
  8439. + offsetof(Sr__OperDataTimeoutReq, request_id),
  8440. + NULL,
  8441. + NULL,
  8442. + 0, /* flags */
  8443. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8444. + },
  8445. +};
  8446. +static const unsigned sr__oper_data_timeout_req__field_indices_by_name[] = {
  8447. + 0, /* field[0] = request_id */
  8448. +};
  8449. +static const ProtobufCIntRange sr__oper_data_timeout_req__number_ranges[1 + 1] =
  8450. +{
  8451. + { 1, 0 },
  8452. + { 0, 1 }
  8453. +};
  8454. +const ProtobufCMessageDescriptor sr__oper_data_timeout_req__descriptor =
  8455. +{
  8456. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  8457. + "sr.OperDataTimeoutReq",
  8458. + "OperDataTimeoutReq",
  8459. + "Sr__OperDataTimeoutReq",
  8460. + "sr",
  8461. + sizeof(Sr__OperDataTimeoutReq),
  8462. + 1,
  8463. + sr__oper_data_timeout_req__field_descriptors,
  8464. + sr__oper_data_timeout_req__field_indices_by_name,
  8465. + 1, sr__oper_data_timeout_req__number_ranges,
  8466. + (ProtobufCMessageInit) sr__oper_data_timeout_req__init,
  8467. + NULL,NULL,NULL /* reserved[123] */
  8468. +};
  8469. +static const ProtobufCFieldDescriptor sr__internal_state_data_req__field_descriptors[2] =
  8470. +{
  8471. + {
  8472. + "request_id",
  8473. + 1,
  8474. + PROTOBUF_C_LABEL_REQUIRED,
  8475. + PROTOBUF_C_TYPE_UINT64,
  8476. + 0, /* quantifier_offset */
  8477. + offsetof(Sr__InternalStateDataReq, request_id),
  8478. + NULL,
  8479. + NULL,
  8480. + 0, /* flags */
  8481. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8482. + },
  8483. + {
  8484. + "xpath",
  8485. + 2,
  8486. + PROTOBUF_C_LABEL_REQUIRED,
  8487. + PROTOBUF_C_TYPE_STRING,
  8488. + 0, /* quantifier_offset */
  8489. + offsetof(Sr__InternalStateDataReq, xpath),
  8490. + NULL,
  8491. + NULL,
  8492. + 0, /* flags */
  8493. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8494. + },
  8495. +};
  8496. +static const unsigned sr__internal_state_data_req__field_indices_by_name[] = {
  8497. + 0, /* field[0] = request_id */
  8498. + 1, /* field[1] = xpath */
  8499. +};
  8500. +static const ProtobufCIntRange sr__internal_state_data_req__number_ranges[1 + 1] =
  8501. +{
  8502. + { 1, 0 },
  8503. + { 0, 2 }
  8504. +};
  8505. +const ProtobufCMessageDescriptor sr__internal_state_data_req__descriptor =
  8506. +{
  8507. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  8508. + "sr.InternalStateDataReq",
  8509. + "InternalStateDataReq",
  8510. + "Sr__InternalStateDataReq",
  8511. + "sr",
  8512. + sizeof(Sr__InternalStateDataReq),
  8513. + 2,
  8514. + sr__internal_state_data_req__field_descriptors,
  8515. + sr__internal_state_data_req__field_indices_by_name,
  8516. + 1, sr__internal_state_data_req__number_ranges,
  8517. + (ProtobufCMessageInit) sr__internal_state_data_req__init,
  8518. + NULL,NULL,NULL /* reserved[123] */
  8519. +};
  8520. +#define sr__notif_store_cleanup_req__field_descriptors NULL
  8521. +#define sr__notif_store_cleanup_req__field_indices_by_name NULL
  8522. +#define sr__notif_store_cleanup_req__number_ranges NULL
  8523. +const ProtobufCMessageDescriptor sr__notif_store_cleanup_req__descriptor =
  8524. +{
  8525. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  8526. + "sr.NotifStoreCleanupReq",
  8527. + "NotifStoreCleanupReq",
  8528. + "Sr__NotifStoreCleanupReq",
  8529. + "sr",
  8530. + sizeof(Sr__NotifStoreCleanupReq),
  8531. + 0,
  8532. + sr__notif_store_cleanup_req__field_descriptors,
  8533. + sr__notif_store_cleanup_req__field_indices_by_name,
  8534. + 0, sr__notif_store_cleanup_req__number_ranges,
  8535. + (ProtobufCMessageInit) sr__notif_store_cleanup_req__init,
  8536. + NULL,NULL,NULL /* reserved[123] */
  8537. +};
  8538. +static const ProtobufCFieldDescriptor sr__delayed_msg_req__field_descriptors[1] =
  8539. +{
  8540. + {
  8541. + "message",
  8542. + 1,
  8543. + PROTOBUF_C_LABEL_REQUIRED,
  8544. + PROTOBUF_C_TYPE_MESSAGE,
  8545. + 0, /* quantifier_offset */
  8546. + offsetof(Sr__DelayedMsgReq, message),
  8547. + &sr__msg__descriptor,
  8548. + NULL,
  8549. + 0, /* flags */
  8550. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8551. + },
  8552. +};
  8553. +static const unsigned sr__delayed_msg_req__field_indices_by_name[] = {
  8554. + 0, /* field[0] = message */
  8555. +};
  8556. +static const ProtobufCIntRange sr__delayed_msg_req__number_ranges[1 + 1] =
  8557. +{
  8558. + { 1, 0 },
  8559. + { 0, 1 }
  8560. +};
  8561. +const ProtobufCMessageDescriptor sr__delayed_msg_req__descriptor =
  8562. +{
  8563. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  8564. + "sr.DelayedMsgReq",
  8565. + "DelayedMsgReq",
  8566. + "Sr__DelayedMsgReq",
  8567. + "sr",
  8568. + sizeof(Sr__DelayedMsgReq),
  8569. + 1,
  8570. + sr__delayed_msg_req__field_descriptors,
  8571. + sr__delayed_msg_req__field_indices_by_name,
  8572. + 1, sr__delayed_msg_req__number_ranges,
  8573. + (ProtobufCMessageInit) sr__delayed_msg_req__init,
  8574. + NULL,NULL,NULL /* reserved[123] */
  8575. +};
  8576. +#define sr__nacm_reload_req__field_descriptors NULL
  8577. +#define sr__nacm_reload_req__field_indices_by_name NULL
  8578. +#define sr__nacm_reload_req__number_ranges NULL
  8579. +const ProtobufCMessageDescriptor sr__nacm_reload_req__descriptor =
  8580. +{
  8581. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  8582. + "sr.NacmReloadReq",
  8583. + "NacmReloadReq",
  8584. + "Sr__NacmReloadReq",
  8585. + "sr",
  8586. + sizeof(Sr__NacmReloadReq),
  8587. + 0,
  8588. + sr__nacm_reload_req__field_descriptors,
  8589. + sr__nacm_reload_req__field_indices_by_name,
  8590. + 0, sr__nacm_reload_req__number_ranges,
  8591. + (ProtobufCMessageInit) sr__nacm_reload_req__init,
  8592. + NULL,NULL,NULL /* reserved[123] */
  8593. +};
  8594. +static const ProtobufCFieldDescriptor sr__request__field_descriptors[37] =
  8595. +{
  8596. + {
  8597. + "_id",
  8598. + 1,
  8599. + PROTOBUF_C_LABEL_REQUIRED,
  8600. + PROTOBUF_C_TYPE_UINT64,
  8601. + 0, /* quantifier_offset */
  8602. + offsetof(Sr__Request, _id),
  8603. + NULL,
  8604. + NULL,
  8605. + 0, /* flags */
  8606. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8607. + },
  8608. + {
  8609. + "operation",
  8610. + 2,
  8611. + PROTOBUF_C_LABEL_REQUIRED,
  8612. + PROTOBUF_C_TYPE_ENUM,
  8613. + 0, /* quantifier_offset */
  8614. + offsetof(Sr__Request, operation),
  8615. + &sr__operation__descriptor,
  8616. + NULL,
  8617. + 0, /* flags */
  8618. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8619. + },
  8620. + {
  8621. + "session_start_req",
  8622. + 10,
  8623. + PROTOBUF_C_LABEL_OPTIONAL,
  8624. + PROTOBUF_C_TYPE_MESSAGE,
  8625. + 0, /* quantifier_offset */
  8626. + offsetof(Sr__Request, session_start_req),
  8627. + &sr__session_start_req__descriptor,
  8628. + NULL,
  8629. + 0, /* flags */
  8630. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8631. + },
  8632. + {
  8633. + "session_stop_req",
  8634. + 11,
  8635. + PROTOBUF_C_LABEL_OPTIONAL,
  8636. + PROTOBUF_C_TYPE_MESSAGE,
  8637. + 0, /* quantifier_offset */
  8638. + offsetof(Sr__Request, session_stop_req),
  8639. + &sr__session_stop_req__descriptor,
  8640. + NULL,
  8641. + 0, /* flags */
  8642. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8643. + },
  8644. + {
  8645. + "session_refresh_req",
  8646. + 12,
  8647. + PROTOBUF_C_LABEL_OPTIONAL,
  8648. + PROTOBUF_C_TYPE_MESSAGE,
  8649. + 0, /* quantifier_offset */
  8650. + offsetof(Sr__Request, session_refresh_req),
  8651. + &sr__session_refresh_req__descriptor,
  8652. + NULL,
  8653. + 0, /* flags */
  8654. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8655. + },
  8656. + {
  8657. + "session_check_req",
  8658. + 13,
  8659. + PROTOBUF_C_LABEL_OPTIONAL,
  8660. + PROTOBUF_C_TYPE_MESSAGE,
  8661. + 0, /* quantifier_offset */
  8662. + offsetof(Sr__Request, session_check_req),
  8663. + &sr__session_check_req__descriptor,
  8664. + NULL,
  8665. + 0, /* flags */
  8666. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8667. + },
  8668. + {
  8669. + "session_switch_ds_req",
  8670. + 14,
  8671. + PROTOBUF_C_LABEL_OPTIONAL,
  8672. + PROTOBUF_C_TYPE_MESSAGE,
  8673. + 0, /* quantifier_offset */
  8674. + offsetof(Sr__Request, session_switch_ds_req),
  8675. + &sr__session_switch_ds_req__descriptor,
  8676. + NULL,
  8677. + 0, /* flags */
  8678. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8679. + },
  8680. + {
  8681. + "session_set_opts_req",
  8682. + 15,
  8683. + PROTOBUF_C_LABEL_OPTIONAL,
  8684. + PROTOBUF_C_TYPE_MESSAGE,
  8685. + 0, /* quantifier_offset */
  8686. + offsetof(Sr__Request, session_set_opts_req),
  8687. + &sr__session_set_opts_req__descriptor,
  8688. + NULL,
  8689. + 0, /* flags */
  8690. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8691. + },
  8692. + {
  8693. + "version_verify_req",
  8694. + 16,
  8695. + PROTOBUF_C_LABEL_OPTIONAL,
  8696. + PROTOBUF_C_TYPE_MESSAGE,
  8697. + 0, /* quantifier_offset */
  8698. + offsetof(Sr__Request, version_verify_req),
  8699. + &sr__version_verify_req__descriptor,
  8700. + NULL,
  8701. + 0, /* flags */
  8702. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8703. + },
  8704. + {
  8705. + "list_schemas_req",
  8706. + 20,
  8707. + PROTOBUF_C_LABEL_OPTIONAL,
  8708. + PROTOBUF_C_TYPE_MESSAGE,
  8709. + 0, /* quantifier_offset */
  8710. + offsetof(Sr__Request, list_schemas_req),
  8711. + &sr__list_schemas_req__descriptor,
  8712. + NULL,
  8713. + 0, /* flags */
  8714. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8715. + },
  8716. + {
  8717. + "get_schema_req",
  8718. + 21,
  8719. + PROTOBUF_C_LABEL_OPTIONAL,
  8720. + PROTOBUF_C_TYPE_MESSAGE,
  8721. + 0, /* quantifier_offset */
  8722. + offsetof(Sr__Request, get_schema_req),
  8723. + &sr__get_schema_req__descriptor,
  8724. + NULL,
  8725. + 0, /* flags */
  8726. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8727. + },
  8728. + {
  8729. + "module_install_req",
  8730. + 22,
  8731. + PROTOBUF_C_LABEL_OPTIONAL,
  8732. + PROTOBUF_C_TYPE_MESSAGE,
  8733. + 0, /* quantifier_offset */
  8734. + offsetof(Sr__Request, module_install_req),
  8735. + &sr__module_install_req__descriptor,
  8736. + NULL,
  8737. + 0, /* flags */
  8738. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8739. + },
  8740. + {
  8741. + "feature_enable_req",
  8742. + 23,
  8743. + PROTOBUF_C_LABEL_OPTIONAL,
  8744. + PROTOBUF_C_TYPE_MESSAGE,
  8745. + 0, /* quantifier_offset */
  8746. + offsetof(Sr__Request, feature_enable_req),
  8747. + &sr__feature_enable_req__descriptor,
  8748. + NULL,
  8749. + 0, /* flags */
  8750. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8751. + },
  8752. + {
  8753. + "get_item_req",
  8754. + 30,
  8755. + PROTOBUF_C_LABEL_OPTIONAL,
  8756. + PROTOBUF_C_TYPE_MESSAGE,
  8757. + 0, /* quantifier_offset */
  8758. + offsetof(Sr__Request, get_item_req),
  8759. + &sr__get_item_req__descriptor,
  8760. + NULL,
  8761. + 0, /* flags */
  8762. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8763. + },
  8764. + {
  8765. + "get_items_req",
  8766. + 31,
  8767. + PROTOBUF_C_LABEL_OPTIONAL,
  8768. + PROTOBUF_C_TYPE_MESSAGE,
  8769. + 0, /* quantifier_offset */
  8770. + offsetof(Sr__Request, get_items_req),
  8771. + &sr__get_items_req__descriptor,
  8772. + NULL,
  8773. + 0, /* flags */
  8774. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8775. + },
  8776. + {
  8777. + "get_subtree_req",
  8778. + 32,
  8779. + PROTOBUF_C_LABEL_OPTIONAL,
  8780. + PROTOBUF_C_TYPE_MESSAGE,
  8781. + 0, /* quantifier_offset */
  8782. + offsetof(Sr__Request, get_subtree_req),
  8783. + &sr__get_subtree_req__descriptor,
  8784. + NULL,
  8785. + 0, /* flags */
  8786. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8787. + },
  8788. + {
  8789. + "get_subtrees_req",
  8790. + 33,
  8791. + PROTOBUF_C_LABEL_OPTIONAL,
  8792. + PROTOBUF_C_TYPE_MESSAGE,
  8793. + 0, /* quantifier_offset */
  8794. + offsetof(Sr__Request, get_subtrees_req),
  8795. + &sr__get_subtrees_req__descriptor,
  8796. + NULL,
  8797. + 0, /* flags */
  8798. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8799. + },
  8800. + {
  8801. + "get_subtree_chunk_req",
  8802. + 34,
  8803. + PROTOBUF_C_LABEL_OPTIONAL,
  8804. + PROTOBUF_C_TYPE_MESSAGE,
  8805. + 0, /* quantifier_offset */
  8806. + offsetof(Sr__Request, get_subtree_chunk_req),
  8807. + &sr__get_subtree_chunk_req__descriptor,
  8808. + NULL,
  8809. + 0, /* flags */
  8810. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8811. + },
  8812. + {
  8813. + "set_item_req",
  8814. + 40,
  8815. + PROTOBUF_C_LABEL_OPTIONAL,
  8816. + PROTOBUF_C_TYPE_MESSAGE,
  8817. + 0, /* quantifier_offset */
  8818. + offsetof(Sr__Request, set_item_req),
  8819. + &sr__set_item_req__descriptor,
  8820. + NULL,
  8821. + 0, /* flags */
  8822. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8823. + },
  8824. + {
  8825. + "delete_item_req",
  8826. + 41,
  8827. + PROTOBUF_C_LABEL_OPTIONAL,
  8828. + PROTOBUF_C_TYPE_MESSAGE,
  8829. + 0, /* quantifier_offset */
  8830. + offsetof(Sr__Request, delete_item_req),
  8831. + &sr__delete_item_req__descriptor,
  8832. + NULL,
  8833. + 0, /* flags */
  8834. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8835. + },
  8836. + {
  8837. + "move_item_req",
  8838. + 42,
  8839. + PROTOBUF_C_LABEL_OPTIONAL,
  8840. + PROTOBUF_C_TYPE_MESSAGE,
  8841. + 0, /* quantifier_offset */
  8842. + offsetof(Sr__Request, move_item_req),
  8843. + &sr__move_item_req__descriptor,
  8844. + NULL,
  8845. + 0, /* flags */
  8846. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8847. + },
  8848. + {
  8849. + "set_item_str_req",
  8850. + 43,
  8851. + PROTOBUF_C_LABEL_OPTIONAL,
  8852. + PROTOBUF_C_TYPE_MESSAGE,
  8853. + 0, /* quantifier_offset */
  8854. + offsetof(Sr__Request, set_item_str_req),
  8855. + &sr__set_item_str_req__descriptor,
  8856. + NULL,
  8857. + 0, /* flags */
  8858. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8859. + },
  8860. + {
  8861. + "validate_req",
  8862. + 50,
  8863. + PROTOBUF_C_LABEL_OPTIONAL,
  8864. + PROTOBUF_C_TYPE_MESSAGE,
  8865. + 0, /* quantifier_offset */
  8866. + offsetof(Sr__Request, validate_req),
  8867. + &sr__validate_req__descriptor,
  8868. + NULL,
  8869. + 0, /* flags */
  8870. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8871. + },
  8872. + {
  8873. + "commit_req",
  8874. + 51,
  8875. + PROTOBUF_C_LABEL_OPTIONAL,
  8876. + PROTOBUF_C_TYPE_MESSAGE,
  8877. + 0, /* quantifier_offset */
  8878. + offsetof(Sr__Request, commit_req),
  8879. + &sr__commit_req__descriptor,
  8880. + NULL,
  8881. + 0, /* flags */
  8882. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8883. + },
  8884. + {
  8885. + "discard_changes_req",
  8886. + 52,
  8887. + PROTOBUF_C_LABEL_OPTIONAL,
  8888. + PROTOBUF_C_TYPE_MESSAGE,
  8889. + 0, /* quantifier_offset */
  8890. + offsetof(Sr__Request, discard_changes_req),
  8891. + &sr__discard_changes_req__descriptor,
  8892. + NULL,
  8893. + 0, /* flags */
  8894. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8895. + },
  8896. + {
  8897. + "copy_config_req",
  8898. + 53,
  8899. + PROTOBUF_C_LABEL_OPTIONAL,
  8900. + PROTOBUF_C_TYPE_MESSAGE,
  8901. + 0, /* quantifier_offset */
  8902. + offsetof(Sr__Request, copy_config_req),
  8903. + &sr__copy_config_req__descriptor,
  8904. + NULL,
  8905. + 0, /* flags */
  8906. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8907. + },
  8908. + {
  8909. + "lock_req",
  8910. + 60,
  8911. + PROTOBUF_C_LABEL_OPTIONAL,
  8912. + PROTOBUF_C_TYPE_MESSAGE,
  8913. + 0, /* quantifier_offset */
  8914. + offsetof(Sr__Request, lock_req),
  8915. + &sr__lock_req__descriptor,
  8916. + NULL,
  8917. + 0, /* flags */
  8918. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8919. + },
  8920. + {
  8921. + "unlock_req",
  8922. + 61,
  8923. + PROTOBUF_C_LABEL_OPTIONAL,
  8924. + PROTOBUF_C_TYPE_MESSAGE,
  8925. + 0, /* quantifier_offset */
  8926. + offsetof(Sr__Request, unlock_req),
  8927. + &sr__unlock_req__descriptor,
  8928. + NULL,
  8929. + 0, /* flags */
  8930. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8931. + },
  8932. + {
  8933. + "subscribe_req",
  8934. + 70,
  8935. + PROTOBUF_C_LABEL_OPTIONAL,
  8936. + PROTOBUF_C_TYPE_MESSAGE,
  8937. + 0, /* quantifier_offset */
  8938. + offsetof(Sr__Request, subscribe_req),
  8939. + &sr__subscribe_req__descriptor,
  8940. + NULL,
  8941. + 0, /* flags */
  8942. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8943. + },
  8944. + {
  8945. + "unsubscribe_req",
  8946. + 71,
  8947. + PROTOBUF_C_LABEL_OPTIONAL,
  8948. + PROTOBUF_C_TYPE_MESSAGE,
  8949. + 0, /* quantifier_offset */
  8950. + offsetof(Sr__Request, unsubscribe_req),
  8951. + &sr__unsubscribe_req__descriptor,
  8952. + NULL,
  8953. + 0, /* flags */
  8954. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8955. + },
  8956. + {
  8957. + "check_enabled_running_req",
  8958. + 72,
  8959. + PROTOBUF_C_LABEL_OPTIONAL,
  8960. + PROTOBUF_C_TYPE_MESSAGE,
  8961. + 0, /* quantifier_offset */
  8962. + offsetof(Sr__Request, check_enabled_running_req),
  8963. + &sr__check_enabled_running_req__descriptor,
  8964. + NULL,
  8965. + 0, /* flags */
  8966. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8967. + },
  8968. + {
  8969. + "get_changes_req",
  8970. + 73,
  8971. + PROTOBUF_C_LABEL_OPTIONAL,
  8972. + PROTOBUF_C_TYPE_MESSAGE,
  8973. + 0, /* quantifier_offset */
  8974. + offsetof(Sr__Request, get_changes_req),
  8975. + &sr__get_changes_req__descriptor,
  8976. + NULL,
  8977. + 0, /* flags */
  8978. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8979. + },
  8980. + {
  8981. + "data_provide_req",
  8982. + 80,
  8983. + PROTOBUF_C_LABEL_OPTIONAL,
  8984. + PROTOBUF_C_TYPE_MESSAGE,
  8985. + 0, /* quantifier_offset */
  8986. + offsetof(Sr__Request, data_provide_req),
  8987. + &sr__data_provide_req__descriptor,
  8988. + NULL,
  8989. + 0, /* flags */
  8990. + 0,NULL,NULL /* reserved1,reserved2, etc */
  8991. + },
  8992. + {
  8993. + "check_exec_perm_req",
  8994. + 81,
  8995. + PROTOBUF_C_LABEL_OPTIONAL,
  8996. + PROTOBUF_C_TYPE_MESSAGE,
  8997. + 0, /* quantifier_offset */
  8998. + offsetof(Sr__Request, check_exec_perm_req),
  8999. + &sr__check_exec_perm_req__descriptor,
  9000. + NULL,
  9001. + 0, /* flags */
  9002. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9003. + },
  9004. + {
  9005. + "rpc_req",
  9006. + 82,
  9007. + PROTOBUF_C_LABEL_OPTIONAL,
  9008. + PROTOBUF_C_TYPE_MESSAGE,
  9009. + 0, /* quantifier_offset */
  9010. + offsetof(Sr__Request, rpc_req),
  9011. + &sr__rpcreq__descriptor,
  9012. + NULL,
  9013. + 0, /* flags */
  9014. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9015. + },
  9016. + {
  9017. + "event_notif_req",
  9018. + 83,
  9019. + PROTOBUF_C_LABEL_OPTIONAL,
  9020. + PROTOBUF_C_TYPE_MESSAGE,
  9021. + 0, /* quantifier_offset */
  9022. + offsetof(Sr__Request, event_notif_req),
  9023. + &sr__event_notif_req__descriptor,
  9024. + NULL,
  9025. + 0, /* flags */
  9026. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9027. + },
  9028. + {
  9029. + "event_notif_replay_req",
  9030. + 84,
  9031. + PROTOBUF_C_LABEL_OPTIONAL,
  9032. + PROTOBUF_C_TYPE_MESSAGE,
  9033. + 0, /* quantifier_offset */
  9034. + offsetof(Sr__Request, event_notif_replay_req),
  9035. + &sr__event_notif_replay_req__descriptor,
  9036. + NULL,
  9037. + 0, /* flags */
  9038. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9039. + },
  9040. +};
  9041. +static const unsigned sr__request__field_indices_by_name[] = {
  9042. + 0, /* field[0] = _id */
  9043. + 30, /* field[30] = check_enabled_running_req */
  9044. + 33, /* field[33] = check_exec_perm_req */
  9045. + 23, /* field[23] = commit_req */
  9046. + 25, /* field[25] = copy_config_req */
  9047. + 32, /* field[32] = data_provide_req */
  9048. + 19, /* field[19] = delete_item_req */
  9049. + 24, /* field[24] = discard_changes_req */
  9050. + 36, /* field[36] = event_notif_replay_req */
  9051. + 35, /* field[35] = event_notif_req */
  9052. + 12, /* field[12] = feature_enable_req */
  9053. + 31, /* field[31] = get_changes_req */
  9054. + 13, /* field[13] = get_item_req */
  9055. + 14, /* field[14] = get_items_req */
  9056. + 10, /* field[10] = get_schema_req */
  9057. + 17, /* field[17] = get_subtree_chunk_req */
  9058. + 15, /* field[15] = get_subtree_req */
  9059. + 16, /* field[16] = get_subtrees_req */
  9060. + 9, /* field[9] = list_schemas_req */
  9061. + 26, /* field[26] = lock_req */
  9062. + 11, /* field[11] = module_install_req */
  9063. + 20, /* field[20] = move_item_req */
  9064. + 1, /* field[1] = operation */
  9065. + 34, /* field[34] = rpc_req */
  9066. + 5, /* field[5] = session_check_req */
  9067. + 4, /* field[4] = session_refresh_req */
  9068. + 7, /* field[7] = session_set_opts_req */
  9069. + 2, /* field[2] = session_start_req */
  9070. + 3, /* field[3] = session_stop_req */
  9071. + 6, /* field[6] = session_switch_ds_req */
  9072. + 18, /* field[18] = set_item_req */
  9073. + 21, /* field[21] = set_item_str_req */
  9074. + 28, /* field[28] = subscribe_req */
  9075. + 27, /* field[27] = unlock_req */
  9076. + 29, /* field[29] = unsubscribe_req */
  9077. + 22, /* field[22] = validate_req */
  9078. + 8, /* field[8] = version_verify_req */
  9079. +};
  9080. +static const ProtobufCIntRange sr__request__number_ranges[9 + 1] =
  9081. +{
  9082. + { 1, 0 },
  9083. + { 10, 2 },
  9084. + { 20, 9 },
  9085. + { 30, 13 },
  9086. + { 40, 18 },
  9087. + { 50, 22 },
  9088. + { 60, 26 },
  9089. + { 70, 28 },
  9090. + { 80, 32 },
  9091. + { 0, 37 }
  9092. +};
  9093. +const ProtobufCMessageDescriptor sr__request__descriptor =
  9094. +{
  9095. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  9096. + "sr.Request",
  9097. + "Request",
  9098. + "Sr__Request",
  9099. + "sr",
  9100. + sizeof(Sr__Request),
  9101. + 37,
  9102. + sr__request__field_descriptors,
  9103. + sr__request__field_indices_by_name,
  9104. + 9, sr__request__number_ranges,
  9105. + (ProtobufCMessageInit) sr__request__init,
  9106. + NULL,NULL,NULL /* reserved[123] */
  9107. +};
  9108. +static const ProtobufCFieldDescriptor sr__response__field_descriptors[38] =
  9109. +{
  9110. + {
  9111. + "operation",
  9112. + 1,
  9113. + PROTOBUF_C_LABEL_REQUIRED,
  9114. + PROTOBUF_C_TYPE_ENUM,
  9115. + 0, /* quantifier_offset */
  9116. + offsetof(Sr__Response, operation),
  9117. + &sr__operation__descriptor,
  9118. + NULL,
  9119. + 0, /* flags */
  9120. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9121. + },
  9122. + {
  9123. + "result",
  9124. + 2,
  9125. + PROTOBUF_C_LABEL_REQUIRED,
  9126. + PROTOBUF_C_TYPE_UINT32,
  9127. + 0, /* quantifier_offset */
  9128. + offsetof(Sr__Response, result),
  9129. + NULL,
  9130. + NULL,
  9131. + 0, /* flags */
  9132. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9133. + },
  9134. + {
  9135. + "error",
  9136. + 3,
  9137. + PROTOBUF_C_LABEL_OPTIONAL,
  9138. + PROTOBUF_C_TYPE_MESSAGE,
  9139. + 0, /* quantifier_offset */
  9140. + offsetof(Sr__Response, error),
  9141. + &sr__error__descriptor,
  9142. + NULL,
  9143. + 0, /* flags */
  9144. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9145. + },
  9146. + {
  9147. + "session_start_resp",
  9148. + 10,
  9149. + PROTOBUF_C_LABEL_OPTIONAL,
  9150. + PROTOBUF_C_TYPE_MESSAGE,
  9151. + 0, /* quantifier_offset */
  9152. + offsetof(Sr__Response, session_start_resp),
  9153. + &sr__session_start_resp__descriptor,
  9154. + NULL,
  9155. + 0, /* flags */
  9156. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9157. + },
  9158. + {
  9159. + "session_stop_resp",
  9160. + 11,
  9161. + PROTOBUF_C_LABEL_OPTIONAL,
  9162. + PROTOBUF_C_TYPE_MESSAGE,
  9163. + 0, /* quantifier_offset */
  9164. + offsetof(Sr__Response, session_stop_resp),
  9165. + &sr__session_stop_resp__descriptor,
  9166. + NULL,
  9167. + 0, /* flags */
  9168. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9169. + },
  9170. + {
  9171. + "session_refresh_resp",
  9172. + 12,
  9173. + PROTOBUF_C_LABEL_OPTIONAL,
  9174. + PROTOBUF_C_TYPE_MESSAGE,
  9175. + 0, /* quantifier_offset */
  9176. + offsetof(Sr__Response, session_refresh_resp),
  9177. + &sr__session_refresh_resp__descriptor,
  9178. + NULL,
  9179. + 0, /* flags */
  9180. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9181. + },
  9182. + {
  9183. + "session_check_resp",
  9184. + 13,
  9185. + PROTOBUF_C_LABEL_OPTIONAL,
  9186. + PROTOBUF_C_TYPE_MESSAGE,
  9187. + 0, /* quantifier_offset */
  9188. + offsetof(Sr__Response, session_check_resp),
  9189. + &sr__session_check_resp__descriptor,
  9190. + NULL,
  9191. + 0, /* flags */
  9192. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9193. + },
  9194. + {
  9195. + "session_switch_ds_resp",
  9196. + 14,
  9197. + PROTOBUF_C_LABEL_OPTIONAL,
  9198. + PROTOBUF_C_TYPE_MESSAGE,
  9199. + 0, /* quantifier_offset */
  9200. + offsetof(Sr__Response, session_switch_ds_resp),
  9201. + &sr__session_switch_ds_resp__descriptor,
  9202. + NULL,
  9203. + 0, /* flags */
  9204. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9205. + },
  9206. + {
  9207. + "session_set_opts_resp",
  9208. + 15,
  9209. + PROTOBUF_C_LABEL_OPTIONAL,
  9210. + PROTOBUF_C_TYPE_MESSAGE,
  9211. + 0, /* quantifier_offset */
  9212. + offsetof(Sr__Response, session_set_opts_resp),
  9213. + &sr__session_set_opts_resp__descriptor,
  9214. + NULL,
  9215. + 0, /* flags */
  9216. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9217. + },
  9218. + {
  9219. + "version_verify_resp",
  9220. + 16,
  9221. + PROTOBUF_C_LABEL_OPTIONAL,
  9222. + PROTOBUF_C_TYPE_MESSAGE,
  9223. + 0, /* quantifier_offset */
  9224. + offsetof(Sr__Response, version_verify_resp),
  9225. + &sr__version_verify_resp__descriptor,
  9226. + NULL,
  9227. + 0, /* flags */
  9228. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9229. + },
  9230. + {
  9231. + "list_schemas_resp",
  9232. + 20,
  9233. + PROTOBUF_C_LABEL_OPTIONAL,
  9234. + PROTOBUF_C_TYPE_MESSAGE,
  9235. + 0, /* quantifier_offset */
  9236. + offsetof(Sr__Response, list_schemas_resp),
  9237. + &sr__list_schemas_resp__descriptor,
  9238. + NULL,
  9239. + 0, /* flags */
  9240. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9241. + },
  9242. + {
  9243. + "get_schema_resp",
  9244. + 21,
  9245. + PROTOBUF_C_LABEL_OPTIONAL,
  9246. + PROTOBUF_C_TYPE_MESSAGE,
  9247. + 0, /* quantifier_offset */
  9248. + offsetof(Sr__Response, get_schema_resp),
  9249. + &sr__get_schema_resp__descriptor,
  9250. + NULL,
  9251. + 0, /* flags */
  9252. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9253. + },
  9254. + {
  9255. + "module_install_resp",
  9256. + 22,
  9257. + PROTOBUF_C_LABEL_OPTIONAL,
  9258. + PROTOBUF_C_TYPE_MESSAGE,
  9259. + 0, /* quantifier_offset */
  9260. + offsetof(Sr__Response, module_install_resp),
  9261. + &sr__module_install_resp__descriptor,
  9262. + NULL,
  9263. + 0, /* flags */
  9264. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9265. + },
  9266. + {
  9267. + "feature_enable_resp",
  9268. + 23,
  9269. + PROTOBUF_C_LABEL_OPTIONAL,
  9270. + PROTOBUF_C_TYPE_MESSAGE,
  9271. + 0, /* quantifier_offset */
  9272. + offsetof(Sr__Response, feature_enable_resp),
  9273. + &sr__feature_enable_resp__descriptor,
  9274. + NULL,
  9275. + 0, /* flags */
  9276. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9277. + },
  9278. + {
  9279. + "get_item_resp",
  9280. + 30,
  9281. + PROTOBUF_C_LABEL_OPTIONAL,
  9282. + PROTOBUF_C_TYPE_MESSAGE,
  9283. + 0, /* quantifier_offset */
  9284. + offsetof(Sr__Response, get_item_resp),
  9285. + &sr__get_item_resp__descriptor,
  9286. + NULL,
  9287. + 0, /* flags */
  9288. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9289. + },
  9290. + {
  9291. + "get_items_resp",
  9292. + 31,
  9293. + PROTOBUF_C_LABEL_OPTIONAL,
  9294. + PROTOBUF_C_TYPE_MESSAGE,
  9295. + 0, /* quantifier_offset */
  9296. + offsetof(Sr__Response, get_items_resp),
  9297. + &sr__get_items_resp__descriptor,
  9298. + NULL,
  9299. + 0, /* flags */
  9300. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9301. + },
  9302. + {
  9303. + "get_subtree_resp",
  9304. + 32,
  9305. + PROTOBUF_C_LABEL_OPTIONAL,
  9306. + PROTOBUF_C_TYPE_MESSAGE,
  9307. + 0, /* quantifier_offset */
  9308. + offsetof(Sr__Response, get_subtree_resp),
  9309. + &sr__get_subtree_resp__descriptor,
  9310. + NULL,
  9311. + 0, /* flags */
  9312. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9313. + },
  9314. + {
  9315. + "get_subtrees_resp",
  9316. + 33,
  9317. + PROTOBUF_C_LABEL_OPTIONAL,
  9318. + PROTOBUF_C_TYPE_MESSAGE,
  9319. + 0, /* quantifier_offset */
  9320. + offsetof(Sr__Response, get_subtrees_resp),
  9321. + &sr__get_subtrees_resp__descriptor,
  9322. + NULL,
  9323. + 0, /* flags */
  9324. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9325. + },
  9326. + {
  9327. + "get_subtree_chunk_resp",
  9328. + 34,
  9329. + PROTOBUF_C_LABEL_OPTIONAL,
  9330. + PROTOBUF_C_TYPE_MESSAGE,
  9331. + 0, /* quantifier_offset */
  9332. + offsetof(Sr__Response, get_subtree_chunk_resp),
  9333. + &sr__get_subtree_chunk_resp__descriptor,
  9334. + NULL,
  9335. + 0, /* flags */
  9336. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9337. + },
  9338. + {
  9339. + "set_item_resp",
  9340. + 40,
  9341. + PROTOBUF_C_LABEL_OPTIONAL,
  9342. + PROTOBUF_C_TYPE_MESSAGE,
  9343. + 0, /* quantifier_offset */
  9344. + offsetof(Sr__Response, set_item_resp),
  9345. + &sr__set_item_resp__descriptor,
  9346. + NULL,
  9347. + 0, /* flags */
  9348. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9349. + },
  9350. + {
  9351. + "delete_item_resp",
  9352. + 41,
  9353. + PROTOBUF_C_LABEL_OPTIONAL,
  9354. + PROTOBUF_C_TYPE_MESSAGE,
  9355. + 0, /* quantifier_offset */
  9356. + offsetof(Sr__Response, delete_item_resp),
  9357. + &sr__delete_item_resp__descriptor,
  9358. + NULL,
  9359. + 0, /* flags */
  9360. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9361. + },
  9362. + {
  9363. + "move_item_resp",
  9364. + 42,
  9365. + PROTOBUF_C_LABEL_OPTIONAL,
  9366. + PROTOBUF_C_TYPE_MESSAGE,
  9367. + 0, /* quantifier_offset */
  9368. + offsetof(Sr__Response, move_item_resp),
  9369. + &sr__move_item_resp__descriptor,
  9370. + NULL,
  9371. + 0, /* flags */
  9372. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9373. + },
  9374. + {
  9375. + "set_item_str_resp",
  9376. + 43,
  9377. + PROTOBUF_C_LABEL_OPTIONAL,
  9378. + PROTOBUF_C_TYPE_MESSAGE,
  9379. + 0, /* quantifier_offset */
  9380. + offsetof(Sr__Response, set_item_str_resp),
  9381. + &sr__set_item_str_resp__descriptor,
  9382. + NULL,
  9383. + 0, /* flags */
  9384. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9385. + },
  9386. + {
  9387. + "validate_resp",
  9388. + 50,
  9389. + PROTOBUF_C_LABEL_OPTIONAL,
  9390. + PROTOBUF_C_TYPE_MESSAGE,
  9391. + 0, /* quantifier_offset */
  9392. + offsetof(Sr__Response, validate_resp),
  9393. + &sr__validate_resp__descriptor,
  9394. + NULL,
  9395. + 0, /* flags */
  9396. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9397. + },
  9398. + {
  9399. + "commit_resp",
  9400. + 51,
  9401. + PROTOBUF_C_LABEL_OPTIONAL,
  9402. + PROTOBUF_C_TYPE_MESSAGE,
  9403. + 0, /* quantifier_offset */
  9404. + offsetof(Sr__Response, commit_resp),
  9405. + &sr__commit_resp__descriptor,
  9406. + NULL,
  9407. + 0, /* flags */
  9408. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9409. + },
  9410. + {
  9411. + "discard_changes_resp",
  9412. + 52,
  9413. + PROTOBUF_C_LABEL_OPTIONAL,
  9414. + PROTOBUF_C_TYPE_MESSAGE,
  9415. + 0, /* quantifier_offset */
  9416. + offsetof(Sr__Response, discard_changes_resp),
  9417. + &sr__discard_changes_resp__descriptor,
  9418. + NULL,
  9419. + 0, /* flags */
  9420. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9421. + },
  9422. + {
  9423. + "copy_config_resp",
  9424. + 53,
  9425. + PROTOBUF_C_LABEL_OPTIONAL,
  9426. + PROTOBUF_C_TYPE_MESSAGE,
  9427. + 0, /* quantifier_offset */
  9428. + offsetof(Sr__Response, copy_config_resp),
  9429. + &sr__copy_config_resp__descriptor,
  9430. + NULL,
  9431. + 0, /* flags */
  9432. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9433. + },
  9434. + {
  9435. + "lock_resp",
  9436. + 60,
  9437. + PROTOBUF_C_LABEL_OPTIONAL,
  9438. + PROTOBUF_C_TYPE_MESSAGE,
  9439. + 0, /* quantifier_offset */
  9440. + offsetof(Sr__Response, lock_resp),
  9441. + &sr__lock_resp__descriptor,
  9442. + NULL,
  9443. + 0, /* flags */
  9444. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9445. + },
  9446. + {
  9447. + "unlock_resp",
  9448. + 61,
  9449. + PROTOBUF_C_LABEL_OPTIONAL,
  9450. + PROTOBUF_C_TYPE_MESSAGE,
  9451. + 0, /* quantifier_offset */
  9452. + offsetof(Sr__Response, unlock_resp),
  9453. + &sr__unlock_resp__descriptor,
  9454. + NULL,
  9455. + 0, /* flags */
  9456. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9457. + },
  9458. + {
  9459. + "subscribe_resp",
  9460. + 70,
  9461. + PROTOBUF_C_LABEL_OPTIONAL,
  9462. + PROTOBUF_C_TYPE_MESSAGE,
  9463. + 0, /* quantifier_offset */
  9464. + offsetof(Sr__Response, subscribe_resp),
  9465. + &sr__subscribe_resp__descriptor,
  9466. + NULL,
  9467. + 0, /* flags */
  9468. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9469. + },
  9470. + {
  9471. + "unsubscribe_resp",
  9472. + 71,
  9473. + PROTOBUF_C_LABEL_OPTIONAL,
  9474. + PROTOBUF_C_TYPE_MESSAGE,
  9475. + 0, /* quantifier_offset */
  9476. + offsetof(Sr__Response, unsubscribe_resp),
  9477. + &sr__unsubscribe_resp__descriptor,
  9478. + NULL,
  9479. + 0, /* flags */
  9480. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9481. + },
  9482. + {
  9483. + "check_enabled_running_resp",
  9484. + 72,
  9485. + PROTOBUF_C_LABEL_OPTIONAL,
  9486. + PROTOBUF_C_TYPE_MESSAGE,
  9487. + 0, /* quantifier_offset */
  9488. + offsetof(Sr__Response, check_enabled_running_resp),
  9489. + &sr__check_enabled_running_resp__descriptor,
  9490. + NULL,
  9491. + 0, /* flags */
  9492. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9493. + },
  9494. + {
  9495. + "get_changes_resp",
  9496. + 73,
  9497. + PROTOBUF_C_LABEL_OPTIONAL,
  9498. + PROTOBUF_C_TYPE_MESSAGE,
  9499. + 0, /* quantifier_offset */
  9500. + offsetof(Sr__Response, get_changes_resp),
  9501. + &sr__get_changes_resp__descriptor,
  9502. + NULL,
  9503. + 0, /* flags */
  9504. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9505. + },
  9506. + {
  9507. + "data_provide_resp",
  9508. + 80,
  9509. + PROTOBUF_C_LABEL_OPTIONAL,
  9510. + PROTOBUF_C_TYPE_MESSAGE,
  9511. + 0, /* quantifier_offset */
  9512. + offsetof(Sr__Response, data_provide_resp),
  9513. + &sr__data_provide_resp__descriptor,
  9514. + NULL,
  9515. + 0, /* flags */
  9516. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9517. + },
  9518. + {
  9519. + "check_exec_perm_resp",
  9520. + 81,
  9521. + PROTOBUF_C_LABEL_OPTIONAL,
  9522. + PROTOBUF_C_TYPE_MESSAGE,
  9523. + 0, /* quantifier_offset */
  9524. + offsetof(Sr__Response, check_exec_perm_resp),
  9525. + &sr__check_exec_perm_resp__descriptor,
  9526. + NULL,
  9527. + 0, /* flags */
  9528. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9529. + },
  9530. + {
  9531. + "rpc_resp",
  9532. + 82,
  9533. + PROTOBUF_C_LABEL_OPTIONAL,
  9534. + PROTOBUF_C_TYPE_MESSAGE,
  9535. + 0, /* quantifier_offset */
  9536. + offsetof(Sr__Response, rpc_resp),
  9537. + &sr__rpcresp__descriptor,
  9538. + NULL,
  9539. + 0, /* flags */
  9540. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9541. + },
  9542. + {
  9543. + "event_notif_resp",
  9544. + 83,
  9545. + PROTOBUF_C_LABEL_OPTIONAL,
  9546. + PROTOBUF_C_TYPE_MESSAGE,
  9547. + 0, /* quantifier_offset */
  9548. + offsetof(Sr__Response, event_notif_resp),
  9549. + &sr__event_notif_resp__descriptor,
  9550. + NULL,
  9551. + 0, /* flags */
  9552. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9553. + },
  9554. + {
  9555. + "event_notif_replay_resp",
  9556. + 84,
  9557. + PROTOBUF_C_LABEL_OPTIONAL,
  9558. + PROTOBUF_C_TYPE_MESSAGE,
  9559. + 0, /* quantifier_offset */
  9560. + offsetof(Sr__Response, event_notif_replay_resp),
  9561. + &sr__event_notif_replay_resp__descriptor,
  9562. + NULL,
  9563. + 0, /* flags */
  9564. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9565. + },
  9566. +};
  9567. +static const unsigned sr__response__field_indices_by_name[] = {
  9568. + 31, /* field[31] = check_enabled_running_resp */
  9569. + 34, /* field[34] = check_exec_perm_resp */
  9570. + 24, /* field[24] = commit_resp */
  9571. + 26, /* field[26] = copy_config_resp */
  9572. + 33, /* field[33] = data_provide_resp */
  9573. + 20, /* field[20] = delete_item_resp */
  9574. + 25, /* field[25] = discard_changes_resp */
  9575. + 2, /* field[2] = error */
  9576. + 37, /* field[37] = event_notif_replay_resp */
  9577. + 36, /* field[36] = event_notif_resp */
  9578. + 13, /* field[13] = feature_enable_resp */
  9579. + 32, /* field[32] = get_changes_resp */
  9580. + 14, /* field[14] = get_item_resp */
  9581. + 15, /* field[15] = get_items_resp */
  9582. + 11, /* field[11] = get_schema_resp */
  9583. + 18, /* field[18] = get_subtree_chunk_resp */
  9584. + 16, /* field[16] = get_subtree_resp */
  9585. + 17, /* field[17] = get_subtrees_resp */
  9586. + 10, /* field[10] = list_schemas_resp */
  9587. + 27, /* field[27] = lock_resp */
  9588. + 12, /* field[12] = module_install_resp */
  9589. + 21, /* field[21] = move_item_resp */
  9590. + 0, /* field[0] = operation */
  9591. + 1, /* field[1] = result */
  9592. + 35, /* field[35] = rpc_resp */
  9593. + 6, /* field[6] = session_check_resp */
  9594. + 5, /* field[5] = session_refresh_resp */
  9595. + 8, /* field[8] = session_set_opts_resp */
  9596. + 3, /* field[3] = session_start_resp */
  9597. + 4, /* field[4] = session_stop_resp */
  9598. + 7, /* field[7] = session_switch_ds_resp */
  9599. + 19, /* field[19] = set_item_resp */
  9600. + 22, /* field[22] = set_item_str_resp */
  9601. + 29, /* field[29] = subscribe_resp */
  9602. + 28, /* field[28] = unlock_resp */
  9603. + 30, /* field[30] = unsubscribe_resp */
  9604. + 23, /* field[23] = validate_resp */
  9605. + 9, /* field[9] = version_verify_resp */
  9606. +};
  9607. +static const ProtobufCIntRange sr__response__number_ranges[9 + 1] =
  9608. +{
  9609. + { 1, 0 },
  9610. + { 10, 3 },
  9611. + { 20, 10 },
  9612. + { 30, 14 },
  9613. + { 40, 19 },
  9614. + { 50, 23 },
  9615. + { 60, 27 },
  9616. + { 70, 29 },
  9617. + { 80, 33 },
  9618. + { 0, 38 }
  9619. +};
  9620. +const ProtobufCMessageDescriptor sr__response__descriptor =
  9621. +{
  9622. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  9623. + "sr.Response",
  9624. + "Response",
  9625. + "Sr__Response",
  9626. + "sr",
  9627. + sizeof(Sr__Response),
  9628. + 38,
  9629. + sr__response__field_descriptors,
  9630. + sr__response__field_indices_by_name,
  9631. + 9, sr__response__number_ranges,
  9632. + (ProtobufCMessageInit) sr__response__init,
  9633. + NULL,NULL,NULL /* reserved[123] */
  9634. +};
  9635. +static const ProtobufCFieldDescriptor sr__notification__field_descriptors[10] =
  9636. +{
  9637. + {
  9638. + "type",
  9639. + 1,
  9640. + PROTOBUF_C_LABEL_REQUIRED,
  9641. + PROTOBUF_C_TYPE_ENUM,
  9642. + 0, /* quantifier_offset */
  9643. + offsetof(Sr__Notification, type),
  9644. + &sr__subscription_type__descriptor,
  9645. + NULL,
  9646. + 0, /* flags */
  9647. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9648. + },
  9649. + {
  9650. + "destination_address",
  9651. + 2,
  9652. + PROTOBUF_C_LABEL_REQUIRED,
  9653. + PROTOBUF_C_TYPE_STRING,
  9654. + 0, /* quantifier_offset */
  9655. + offsetof(Sr__Notification, destination_address),
  9656. + NULL,
  9657. + NULL,
  9658. + 0, /* flags */
  9659. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9660. + },
  9661. + {
  9662. + "source_address",
  9663. + 3,
  9664. + PROTOBUF_C_LABEL_REQUIRED,
  9665. + PROTOBUF_C_TYPE_STRING,
  9666. + 0, /* quantifier_offset */
  9667. + offsetof(Sr__Notification, source_address),
  9668. + NULL,
  9669. + NULL,
  9670. + 0, /* flags */
  9671. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9672. + },
  9673. + {
  9674. + "source_pid",
  9675. + 4,
  9676. + PROTOBUF_C_LABEL_REQUIRED,
  9677. + PROTOBUF_C_TYPE_UINT32,
  9678. + 0, /* quantifier_offset */
  9679. + offsetof(Sr__Notification, source_pid),
  9680. + NULL,
  9681. + NULL,
  9682. + 0, /* flags */
  9683. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9684. + },
  9685. + {
  9686. + "subscription_id",
  9687. + 5,
  9688. + PROTOBUF_C_LABEL_REQUIRED,
  9689. + PROTOBUF_C_TYPE_UINT32,
  9690. + 0, /* quantifier_offset */
  9691. + offsetof(Sr__Notification, subscription_id),
  9692. + NULL,
  9693. + NULL,
  9694. + 0, /* flags */
  9695. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9696. + },
  9697. + {
  9698. + "commit_id",
  9699. + 6,
  9700. + PROTOBUF_C_LABEL_OPTIONAL,
  9701. + PROTOBUF_C_TYPE_UINT32,
  9702. + offsetof(Sr__Notification, has_commit_id),
  9703. + offsetof(Sr__Notification, commit_id),
  9704. + NULL,
  9705. + NULL,
  9706. + 0, /* flags */
  9707. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9708. + },
  9709. + {
  9710. + "module_install_notif",
  9711. + 10,
  9712. + PROTOBUF_C_LABEL_OPTIONAL,
  9713. + PROTOBUF_C_TYPE_MESSAGE,
  9714. + 0, /* quantifier_offset */
  9715. + offsetof(Sr__Notification, module_install_notif),
  9716. + &sr__module_install_notification__descriptor,
  9717. + NULL,
  9718. + 0, /* flags */
  9719. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9720. + },
  9721. + {
  9722. + "feature_enable_notif",
  9723. + 11,
  9724. + PROTOBUF_C_LABEL_OPTIONAL,
  9725. + PROTOBUF_C_TYPE_MESSAGE,
  9726. + 0, /* quantifier_offset */
  9727. + offsetof(Sr__Notification, feature_enable_notif),
  9728. + &sr__feature_enable_notification__descriptor,
  9729. + NULL,
  9730. + 0, /* flags */
  9731. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9732. + },
  9733. + {
  9734. + "module_change_notif",
  9735. + 12,
  9736. + PROTOBUF_C_LABEL_OPTIONAL,
  9737. + PROTOBUF_C_TYPE_MESSAGE,
  9738. + 0, /* quantifier_offset */
  9739. + offsetof(Sr__Notification, module_change_notif),
  9740. + &sr__module_change_notification__descriptor,
  9741. + NULL,
  9742. + 0, /* flags */
  9743. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9744. + },
  9745. + {
  9746. + "subtree_change_notif",
  9747. + 13,
  9748. + PROTOBUF_C_LABEL_OPTIONAL,
  9749. + PROTOBUF_C_TYPE_MESSAGE,
  9750. + 0, /* quantifier_offset */
  9751. + offsetof(Sr__Notification, subtree_change_notif),
  9752. + &sr__subtree_change_notification__descriptor,
  9753. + NULL,
  9754. + 0, /* flags */
  9755. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9756. + },
  9757. +};
  9758. +static const unsigned sr__notification__field_indices_by_name[] = {
  9759. + 5, /* field[5] = commit_id */
  9760. + 1, /* field[1] = destination_address */
  9761. + 7, /* field[7] = feature_enable_notif */
  9762. + 8, /* field[8] = module_change_notif */
  9763. + 6, /* field[6] = module_install_notif */
  9764. + 2, /* field[2] = source_address */
  9765. + 3, /* field[3] = source_pid */
  9766. + 4, /* field[4] = subscription_id */
  9767. + 9, /* field[9] = subtree_change_notif */
  9768. + 0, /* field[0] = type */
  9769. +};
  9770. +static const ProtobufCIntRange sr__notification__number_ranges[2 + 1] =
  9771. +{
  9772. + { 1, 0 },
  9773. + { 10, 6 },
  9774. + { 0, 10 }
  9775. +};
  9776. +const ProtobufCMessageDescriptor sr__notification__descriptor =
  9777. +{
  9778. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  9779. + "sr.Notification",
  9780. + "Notification",
  9781. + "Sr__Notification",
  9782. + "sr",
  9783. + sizeof(Sr__Notification),
  9784. + 10,
  9785. + sr__notification__field_descriptors,
  9786. + sr__notification__field_indices_by_name,
  9787. + 2, sr__notification__number_ranges,
  9788. + (ProtobufCMessageInit) sr__notification__init,
  9789. + NULL,NULL,NULL /* reserved[123] */
  9790. +};
  9791. +static const ProtobufCFieldDescriptor sr__notification_ack__field_descriptors[4] =
  9792. +{
  9793. + {
  9794. + "notif",
  9795. + 1,
  9796. + PROTOBUF_C_LABEL_REQUIRED,
  9797. + PROTOBUF_C_TYPE_MESSAGE,
  9798. + 0, /* quantifier_offset */
  9799. + offsetof(Sr__NotificationAck, notif),
  9800. + &sr__notification__descriptor,
  9801. + NULL,
  9802. + 0, /* flags */
  9803. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9804. + },
  9805. + {
  9806. + "result",
  9807. + 2,
  9808. + PROTOBUF_C_LABEL_REQUIRED,
  9809. + PROTOBUF_C_TYPE_UINT32,
  9810. + 0, /* quantifier_offset */
  9811. + offsetof(Sr__NotificationAck, result),
  9812. + NULL,
  9813. + NULL,
  9814. + 0, /* flags */
  9815. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9816. + },
  9817. + {
  9818. + "error",
  9819. + 3,
  9820. + PROTOBUF_C_LABEL_OPTIONAL,
  9821. + PROTOBUF_C_TYPE_MESSAGE,
  9822. + 0, /* quantifier_offset */
  9823. + offsetof(Sr__NotificationAck, error),
  9824. + &sr__error__descriptor,
  9825. + NULL,
  9826. + 0, /* flags */
  9827. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9828. + },
  9829. + {
  9830. + "do_not_send_abort",
  9831. + 4,
  9832. + PROTOBUF_C_LABEL_REQUIRED,
  9833. + PROTOBUF_C_TYPE_BOOL,
  9834. + 0, /* quantifier_offset */
  9835. + offsetof(Sr__NotificationAck, do_not_send_abort),
  9836. + NULL,
  9837. + NULL,
  9838. + 0, /* flags */
  9839. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9840. + },
  9841. +};
  9842. +static const unsigned sr__notification_ack__field_indices_by_name[] = {
  9843. + 3, /* field[3] = do_not_send_abort */
  9844. + 2, /* field[2] = error */
  9845. + 0, /* field[0] = notif */
  9846. + 1, /* field[1] = result */
  9847. +};
  9848. +static const ProtobufCIntRange sr__notification_ack__number_ranges[1 + 1] =
  9849. +{
  9850. + { 1, 0 },
  9851. + { 0, 4 }
  9852. +};
  9853. +const ProtobufCMessageDescriptor sr__notification_ack__descriptor =
  9854. +{
  9855. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  9856. + "sr.NotificationAck",
  9857. + "NotificationAck",
  9858. + "Sr__NotificationAck",
  9859. + "sr",
  9860. + sizeof(Sr__NotificationAck),
  9861. + 4,
  9862. + sr__notification_ack__field_descriptors,
  9863. + sr__notification_ack__field_indices_by_name,
  9864. + 1, sr__notification_ack__number_ranges,
  9865. + (ProtobufCMessageInit) sr__notification_ack__init,
  9866. + NULL,NULL,NULL /* reserved[123] */
  9867. +};
  9868. +static const ProtobufCFieldDescriptor sr__internal_request__field_descriptors[9] =
  9869. +{
  9870. + {
  9871. + "operation",
  9872. + 1,
  9873. + PROTOBUF_C_LABEL_REQUIRED,
  9874. + PROTOBUF_C_TYPE_ENUM,
  9875. + 0, /* quantifier_offset */
  9876. + offsetof(Sr__InternalRequest, operation),
  9877. + &sr__operation__descriptor,
  9878. + NULL,
  9879. + 0, /* flags */
  9880. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9881. + },
  9882. + {
  9883. + "postpone_timeout",
  9884. + 2,
  9885. + PROTOBUF_C_LABEL_OPTIONAL,
  9886. + PROTOBUF_C_TYPE_UINT32,
  9887. + offsetof(Sr__InternalRequest, has_postpone_timeout),
  9888. + offsetof(Sr__InternalRequest, postpone_timeout),
  9889. + NULL,
  9890. + NULL,
  9891. + 0, /* flags */
  9892. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9893. + },
  9894. + {
  9895. + "unsubscribe_dst_req",
  9896. + 10,
  9897. + PROTOBUF_C_LABEL_OPTIONAL,
  9898. + PROTOBUF_C_TYPE_MESSAGE,
  9899. + 0, /* quantifier_offset */
  9900. + offsetof(Sr__InternalRequest, unsubscribe_dst_req),
  9901. + &sr__unsubscribe_destination_req__descriptor,
  9902. + NULL,
  9903. + 0, /* flags */
  9904. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9905. + },
  9906. + {
  9907. + "commit_timeout_req",
  9908. + 11,
  9909. + PROTOBUF_C_LABEL_OPTIONAL,
  9910. + PROTOBUF_C_TYPE_MESSAGE,
  9911. + 0, /* quantifier_offset */
  9912. + offsetof(Sr__InternalRequest, commit_timeout_req),
  9913. + &sr__commit_timeout_req__descriptor,
  9914. + NULL,
  9915. + 0, /* flags */
  9916. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9917. + },
  9918. + {
  9919. + "oper_data_timeout_req",
  9920. + 12,
  9921. + PROTOBUF_C_LABEL_OPTIONAL,
  9922. + PROTOBUF_C_TYPE_MESSAGE,
  9923. + 0, /* quantifier_offset */
  9924. + offsetof(Sr__InternalRequest, oper_data_timeout_req),
  9925. + &sr__oper_data_timeout_req__descriptor,
  9926. + NULL,
  9927. + 0, /* flags */
  9928. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9929. + },
  9930. + {
  9931. + "internal_state_data_req",
  9932. + 13,
  9933. + PROTOBUF_C_LABEL_OPTIONAL,
  9934. + PROTOBUF_C_TYPE_MESSAGE,
  9935. + 0, /* quantifier_offset */
  9936. + offsetof(Sr__InternalRequest, internal_state_data_req),
  9937. + &sr__internal_state_data_req__descriptor,
  9938. + NULL,
  9939. + 0, /* flags */
  9940. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9941. + },
  9942. + {
  9943. + "notif_store_cleanup_req",
  9944. + 14,
  9945. + PROTOBUF_C_LABEL_OPTIONAL,
  9946. + PROTOBUF_C_TYPE_MESSAGE,
  9947. + 0, /* quantifier_offset */
  9948. + offsetof(Sr__InternalRequest, notif_store_cleanup_req),
  9949. + &sr__notif_store_cleanup_req__descriptor,
  9950. + NULL,
  9951. + 0, /* flags */
  9952. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9953. + },
  9954. + {
  9955. + "delayed_msg_req",
  9956. + 15,
  9957. + PROTOBUF_C_LABEL_OPTIONAL,
  9958. + PROTOBUF_C_TYPE_MESSAGE,
  9959. + 0, /* quantifier_offset */
  9960. + offsetof(Sr__InternalRequest, delayed_msg_req),
  9961. + &sr__delayed_msg_req__descriptor,
  9962. + NULL,
  9963. + 0, /* flags */
  9964. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9965. + },
  9966. + {
  9967. + "nacm_reload_req",
  9968. + 16,
  9969. + PROTOBUF_C_LABEL_OPTIONAL,
  9970. + PROTOBUF_C_TYPE_MESSAGE,
  9971. + 0, /* quantifier_offset */
  9972. + offsetof(Sr__InternalRequest, nacm_reload_req),
  9973. + &sr__nacm_reload_req__descriptor,
  9974. + NULL,
  9975. + 0, /* flags */
  9976. + 0,NULL,NULL /* reserved1,reserved2, etc */
  9977. + },
  9978. +};
  9979. +static const unsigned sr__internal_request__field_indices_by_name[] = {
  9980. + 3, /* field[3] = commit_timeout_req */
  9981. + 7, /* field[7] = delayed_msg_req */
  9982. + 5, /* field[5] = internal_state_data_req */
  9983. + 8, /* field[8] = nacm_reload_req */
  9984. + 6, /* field[6] = notif_store_cleanup_req */
  9985. + 4, /* field[4] = oper_data_timeout_req */
  9986. + 0, /* field[0] = operation */
  9987. + 1, /* field[1] = postpone_timeout */
  9988. + 2, /* field[2] = unsubscribe_dst_req */
  9989. +};
  9990. +static const ProtobufCIntRange sr__internal_request__number_ranges[2 + 1] =
  9991. +{
  9992. + { 1, 0 },
  9993. + { 10, 2 },
  9994. + { 0, 9 }
  9995. +};
  9996. +const ProtobufCMessageDescriptor sr__internal_request__descriptor =
  9997. +{
  9998. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  9999. + "sr.InternalRequest",
  10000. + "InternalRequest",
  10001. + "Sr__InternalRequest",
  10002. + "sr",
  10003. + sizeof(Sr__InternalRequest),
  10004. + 9,
  10005. + sr__internal_request__field_descriptors,
  10006. + sr__internal_request__field_indices_by_name,
  10007. + 2, sr__internal_request__number_ranges,
  10008. + (ProtobufCMessageInit) sr__internal_request__init,
  10009. + NULL,NULL,NULL /* reserved[123] */
  10010. +};
  10011. +static const ProtobufCEnumValue sr__msg__msg_type__enum_values_by_number[5] =
  10012. +{
  10013. + { "REQUEST", "SR__MSG__MSG_TYPE__REQUEST", 1 },
  10014. + { "RESPONSE", "SR__MSG__MSG_TYPE__RESPONSE", 2 },
  10015. + { "NOTIFICATION", "SR__MSG__MSG_TYPE__NOTIFICATION", 3 },
  10016. + { "NOTIFICATION_ACK", "SR__MSG__MSG_TYPE__NOTIFICATION_ACK", 4 },
  10017. + { "INTERNAL_REQUEST", "SR__MSG__MSG_TYPE__INTERNAL_REQUEST", 5 },
  10018. +};
  10019. +static const ProtobufCIntRange sr__msg__msg_type__value_ranges[] = {
  10020. +{1, 0},{0, 5}
  10021. +};
  10022. +static const ProtobufCEnumValueIndex sr__msg__msg_type__enum_values_by_name[5] =
  10023. +{
  10024. + { "INTERNAL_REQUEST", 4 },
  10025. + { "NOTIFICATION", 2 },
  10026. + { "NOTIFICATION_ACK", 3 },
  10027. + { "REQUEST", 0 },
  10028. + { "RESPONSE", 1 },
  10029. +};
  10030. +const ProtobufCEnumDescriptor sr__msg__msg_type__descriptor =
  10031. +{
  10032. + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  10033. + "sr.Msg.MsgType",
  10034. + "MsgType",
  10035. + "Sr__Msg__MsgType",
  10036. + "sr",
  10037. + 5,
  10038. + sr__msg__msg_type__enum_values_by_number,
  10039. + 5,
  10040. + sr__msg__msg_type__enum_values_by_name,
  10041. + 1,
  10042. + sr__msg__msg_type__value_ranges,
  10043. + NULL,NULL,NULL,NULL /* reserved[1234] */
  10044. +};
  10045. +static const ProtobufCFieldDescriptor sr__msg__field_descriptors[8] =
  10046. +{
  10047. + {
  10048. + "type",
  10049. + 1,
  10050. + PROTOBUF_C_LABEL_REQUIRED,
  10051. + PROTOBUF_C_TYPE_ENUM,
  10052. + 0, /* quantifier_offset */
  10053. + offsetof(Sr__Msg, type),
  10054. + &sr__msg__msg_type__descriptor,
  10055. + NULL,
  10056. + 0, /* flags */
  10057. + 0,NULL,NULL /* reserved1,reserved2, etc */
  10058. + },
  10059. + {
  10060. + "session_id",
  10061. + 2,
  10062. + PROTOBUF_C_LABEL_REQUIRED,
  10063. + PROTOBUF_C_TYPE_UINT32,
  10064. + 0, /* quantifier_offset */
  10065. + offsetof(Sr__Msg, session_id),
  10066. + NULL,
  10067. + NULL,
  10068. + 0, /* flags */
  10069. + 0,NULL,NULL /* reserved1,reserved2, etc */
  10070. + },
  10071. + {
  10072. + "request",
  10073. + 3,
  10074. + PROTOBUF_C_LABEL_OPTIONAL,
  10075. + PROTOBUF_C_TYPE_MESSAGE,
  10076. + 0, /* quantifier_offset */
  10077. + offsetof(Sr__Msg, request),
  10078. + &sr__request__descriptor,
  10079. + NULL,
  10080. + 0, /* flags */
  10081. + 0,NULL,NULL /* reserved1,reserved2, etc */
  10082. + },
  10083. + {
  10084. + "response",
  10085. + 4,
  10086. + PROTOBUF_C_LABEL_OPTIONAL,
  10087. + PROTOBUF_C_TYPE_MESSAGE,
  10088. + 0, /* quantifier_offset */
  10089. + offsetof(Sr__Msg, response),
  10090. + &sr__response__descriptor,
  10091. + NULL,
  10092. + 0, /* flags */
  10093. + 0,NULL,NULL /* reserved1,reserved2, etc */
  10094. + },
  10095. + {
  10096. + "notification",
  10097. + 5,
  10098. + PROTOBUF_C_LABEL_OPTIONAL,
  10099. + PROTOBUF_C_TYPE_MESSAGE,
  10100. + 0, /* quantifier_offset */
  10101. + offsetof(Sr__Msg, notification),
  10102. + &sr__notification__descriptor,
  10103. + NULL,
  10104. + 0, /* flags */
  10105. + 0,NULL,NULL /* reserved1,reserved2, etc */
  10106. + },
  10107. + {
  10108. + "notification_ack",
  10109. + 6,
  10110. + PROTOBUF_C_LABEL_OPTIONAL,
  10111. + PROTOBUF_C_TYPE_MESSAGE,
  10112. + 0, /* quantifier_offset */
  10113. + offsetof(Sr__Msg, notification_ack),
  10114. + &sr__notification_ack__descriptor,
  10115. + NULL,
  10116. + 0, /* flags */
  10117. + 0,NULL,NULL /* reserved1,reserved2, etc */
  10118. + },
  10119. + {
  10120. + "internal_request",
  10121. + 7,
  10122. + PROTOBUF_C_LABEL_OPTIONAL,
  10123. + PROTOBUF_C_TYPE_MESSAGE,
  10124. + 0, /* quantifier_offset */
  10125. + offsetof(Sr__Msg, internal_request),
  10126. + &sr__internal_request__descriptor,
  10127. + NULL,
  10128. + 0, /* flags */
  10129. + 0,NULL,NULL /* reserved1,reserved2, etc */
  10130. + },
  10131. + {
  10132. + "_sysrepo_mem_ctx",
  10133. + 20,
  10134. + PROTOBUF_C_LABEL_REQUIRED,
  10135. + PROTOBUF_C_TYPE_UINT64,
  10136. + 0, /* quantifier_offset */
  10137. + offsetof(Sr__Msg, _sysrepo_mem_ctx),
  10138. + NULL,
  10139. + NULL,
  10140. + 0, /* flags */
  10141. + 0,NULL,NULL /* reserved1,reserved2, etc */
  10142. + },
  10143. +};
  10144. +static const unsigned sr__msg__field_indices_by_name[] = {
  10145. + 7, /* field[7] = _sysrepo_mem_ctx */
  10146. + 6, /* field[6] = internal_request */
  10147. + 4, /* field[4] = notification */
  10148. + 5, /* field[5] = notification_ack */
  10149. + 2, /* field[2] = request */
  10150. + 3, /* field[3] = response */
  10151. + 1, /* field[1] = session_id */
  10152. + 0, /* field[0] = type */
  10153. +};
  10154. +static const ProtobufCIntRange sr__msg__number_ranges[2 + 1] =
  10155. +{
  10156. + { 1, 0 },
  10157. + { 20, 7 },
  10158. + { 0, 8 }
  10159. +};
  10160. +const ProtobufCMessageDescriptor sr__msg__descriptor =
  10161. +{
  10162. + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  10163. + "sr.Msg",
  10164. + "Msg",
  10165. + "Sr__Msg",
  10166. + "sr",
  10167. + sizeof(Sr__Msg),
  10168. + 8,
  10169. + sr__msg__field_descriptors,
  10170. + sr__msg__field_indices_by_name,
  10171. + 2, sr__msg__number_ranges,
  10172. + (ProtobufCMessageInit) sr__msg__init,
  10173. + NULL,NULL,NULL /* reserved[123] */
  10174. +};
  10175. +static const ProtobufCEnumValue sr__api_variant__enum_values_by_number[2] =
  10176. +{
  10177. + { "VALUES", "SR__API_VARIANT__VALUES", 1 },
  10178. + { "TREES", "SR__API_VARIANT__TREES", 2 },
  10179. +};
  10180. +static const ProtobufCIntRange sr__api_variant__value_ranges[] = {
  10181. +{1, 0},{0, 2}
  10182. +};
  10183. +static const ProtobufCEnumValueIndex sr__api_variant__enum_values_by_name[2] =
  10184. +{
  10185. + { "TREES", 1 },
  10186. + { "VALUES", 0 },
  10187. +};
  10188. +const ProtobufCEnumDescriptor sr__api_variant__descriptor =
  10189. +{
  10190. + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  10191. + "sr.ApiVariant",
  10192. + "ApiVariant",
  10193. + "Sr__ApiVariant",
  10194. + "sr",
  10195. + 2,
  10196. + sr__api_variant__enum_values_by_number,
  10197. + 2,
  10198. + sr__api_variant__enum_values_by_name,
  10199. + 1,
  10200. + sr__api_variant__value_ranges,
  10201. + NULL,NULL,NULL,NULL /* reserved[1234] */
  10202. +};
  10203. +static const ProtobufCEnumValue sr__data_store__enum_values_by_number[3] =
  10204. +{
  10205. + { "STARTUP", "SR__DATA_STORE__STARTUP", 1 },
  10206. + { "RUNNING", "SR__DATA_STORE__RUNNING", 2 },
  10207. + { "CANDIDATE", "SR__DATA_STORE__CANDIDATE", 3 },
  10208. +};
  10209. +static const ProtobufCIntRange sr__data_store__value_ranges[] = {
  10210. +{1, 0},{0, 3}
  10211. +};
  10212. +static const ProtobufCEnumValueIndex sr__data_store__enum_values_by_name[3] =
  10213. +{
  10214. + { "CANDIDATE", 2 },
  10215. + { "RUNNING", 1 },
  10216. + { "STARTUP", 0 },
  10217. +};
  10218. +const ProtobufCEnumDescriptor sr__data_store__descriptor =
  10219. +{
  10220. + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  10221. + "sr.DataStore",
  10222. + "DataStore",
  10223. + "Sr__DataStore",
  10224. + "sr",
  10225. + 3,
  10226. + sr__data_store__enum_values_by_number,
  10227. + 3,
  10228. + sr__data_store__enum_values_by_name,
  10229. + 1,
  10230. + sr__data_store__value_ranges,
  10231. + NULL,NULL,NULL,NULL /* reserved[1234] */
  10232. +};
  10233. +static const ProtobufCEnumValue sr__session_flags__enum_values_by_number[4] =
  10234. +{
  10235. + { "SESS_DEFAULT", "SR__SESSION_FLAGS__SESS_DEFAULT", 0 },
  10236. + { "SESS_CONFIG_ONLY", "SR__SESSION_FLAGS__SESS_CONFIG_ONLY", 1 },
  10237. + { "SESS_ENABLE_NACM", "SR__SESSION_FLAGS__SESS_ENABLE_NACM", 2 },
  10238. + { "SESS_NOTIFICATION", "SR__SESSION_FLAGS__SESS_NOTIFICATION", 1024 },
  10239. +};
  10240. +static const ProtobufCIntRange sr__session_flags__value_ranges[] = {
  10241. +{0, 0},{1024, 3},{0, 4}
  10242. +};
  10243. +static const ProtobufCEnumValueIndex sr__session_flags__enum_values_by_name[4] =
  10244. +{
  10245. + { "SESS_CONFIG_ONLY", 1 },
  10246. + { "SESS_DEFAULT", 0 },
  10247. + { "SESS_ENABLE_NACM", 2 },
  10248. + { "SESS_NOTIFICATION", 3 },
  10249. +};
  10250. +const ProtobufCEnumDescriptor sr__session_flags__descriptor =
  10251. +{
  10252. + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  10253. + "sr.SessionFlags",
  10254. + "SessionFlags",
  10255. + "Sr__SessionFlags",
  10256. + "sr",
  10257. + 4,
  10258. + sr__session_flags__enum_values_by_number,
  10259. + 4,
  10260. + sr__session_flags__enum_values_by_name,
  10261. + 2,
  10262. + sr__session_flags__value_ranges,
  10263. + NULL,NULL,NULL,NULL /* reserved[1234] */
  10264. +};
  10265. +static const ProtobufCEnumValue sr__edit_flags__enum_values_by_number[3] =
  10266. +{
  10267. + { "EDIT_DEFAULT", "SR__EDIT_FLAGS__EDIT_DEFAULT", 0 },
  10268. + { "EDIT_NON_RECURSIVE", "SR__EDIT_FLAGS__EDIT_NON_RECURSIVE", 1 },
  10269. + { "EDIT_STRICT", "SR__EDIT_FLAGS__EDIT_STRICT", 2 },
  10270. +};
  10271. +static const ProtobufCIntRange sr__edit_flags__value_ranges[] = {
  10272. +{0, 0},{0, 3}
  10273. +};
  10274. +static const ProtobufCEnumValueIndex sr__edit_flags__enum_values_by_name[3] =
  10275. +{
  10276. + { "EDIT_DEFAULT", 0 },
  10277. + { "EDIT_NON_RECURSIVE", 1 },
  10278. + { "EDIT_STRICT", 2 },
  10279. +};
  10280. +const ProtobufCEnumDescriptor sr__edit_flags__descriptor =
  10281. +{
  10282. + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  10283. + "sr.EditFlags",
  10284. + "EditFlags",
  10285. + "Sr__EditFlags",
  10286. + "sr",
  10287. + 3,
  10288. + sr__edit_flags__enum_values_by_number,
  10289. + 3,
  10290. + sr__edit_flags__enum_values_by_name,
  10291. + 1,
  10292. + sr__edit_flags__value_ranges,
  10293. + NULL,NULL,NULL,NULL /* reserved[1234] */
  10294. +};
  10295. +static const ProtobufCEnumValue sr__subscription_type__enum_values_by_number[10] =
  10296. +{
  10297. + { "MODULE_INSTALL_SUBS", "SR__SUBSCRIPTION_TYPE__MODULE_INSTALL_SUBS", 1 },
  10298. + { "FEATURE_ENABLE_SUBS", "SR__SUBSCRIPTION_TYPE__FEATURE_ENABLE_SUBS", 2 },
  10299. + { "MODULE_CHANGE_SUBS", "SR__SUBSCRIPTION_TYPE__MODULE_CHANGE_SUBS", 10 },
  10300. + { "SUBTREE_CHANGE_SUBS", "SR__SUBSCRIPTION_TYPE__SUBTREE_CHANGE_SUBS", 11 },
  10301. + { "DP_GET_ITEMS_SUBS", "SR__SUBSCRIPTION_TYPE__DP_GET_ITEMS_SUBS", 20 },
  10302. + { "RPC_SUBS", "SR__SUBSCRIPTION_TYPE__RPC_SUBS", 30 },
  10303. + { "ACTION_SUBS", "SR__SUBSCRIPTION_TYPE__ACTION_SUBS", 31 },
  10304. + { "EVENT_NOTIF_SUBS", "SR__SUBSCRIPTION_TYPE__EVENT_NOTIF_SUBS", 40 },
  10305. + { "HELLO_SUBS", "SR__SUBSCRIPTION_TYPE__HELLO_SUBS", 50 },
  10306. + { "COMMIT_END_SUBS", "SR__SUBSCRIPTION_TYPE__COMMIT_END_SUBS", 51 },
  10307. +};
  10308. +static const ProtobufCIntRange sr__subscription_type__value_ranges[] = {
  10309. +{1, 0},{10, 2},{20, 4},{30, 5},{40, 7},{50, 8},{0, 10}
  10310. +};
  10311. +static const ProtobufCEnumValueIndex sr__subscription_type__enum_values_by_name[10] =
  10312. +{
  10313. + { "ACTION_SUBS", 6 },
  10314. + { "COMMIT_END_SUBS", 9 },
  10315. + { "DP_GET_ITEMS_SUBS", 4 },
  10316. + { "EVENT_NOTIF_SUBS", 7 },
  10317. + { "FEATURE_ENABLE_SUBS", 1 },
  10318. + { "HELLO_SUBS", 8 },
  10319. + { "MODULE_CHANGE_SUBS", 2 },
  10320. + { "MODULE_INSTALL_SUBS", 0 },
  10321. + { "RPC_SUBS", 5 },
  10322. + { "SUBTREE_CHANGE_SUBS", 3 },
  10323. +};
  10324. +const ProtobufCEnumDescriptor sr__subscription_type__descriptor =
  10325. +{
  10326. + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  10327. + "sr.SubscriptionType",
  10328. + "SubscriptionType",
  10329. + "Sr__SubscriptionType",
  10330. + "sr",
  10331. + 10,
  10332. + sr__subscription_type__enum_values_by_number,
  10333. + 10,
  10334. + sr__subscription_type__enum_values_by_name,
  10335. + 6,
  10336. + sr__subscription_type__value_ranges,
  10337. + NULL,NULL,NULL,NULL /* reserved[1234] */
  10338. +};
  10339. +static const ProtobufCEnumValue sr__notification_event__enum_values_by_number[4] =
  10340. +{
  10341. + { "VERIFY_EV", "SR__NOTIFICATION_EVENT__VERIFY_EV", 1 },
  10342. + { "APPLY_EV", "SR__NOTIFICATION_EVENT__APPLY_EV", 2 },
  10343. + { "ABORT_EV", "SR__NOTIFICATION_EVENT__ABORT_EV", 3 },
  10344. + { "ENABLED_EV", "SR__NOTIFICATION_EVENT__ENABLED_EV", 4 },
  10345. +};
  10346. +static const ProtobufCIntRange sr__notification_event__value_ranges[] = {
  10347. +{1, 0},{0, 4}
  10348. +};
  10349. +static const ProtobufCEnumValueIndex sr__notification_event__enum_values_by_name[4] =
  10350. +{
  10351. + { "ABORT_EV", 2 },
  10352. + { "APPLY_EV", 1 },
  10353. + { "ENABLED_EV", 3 },
  10354. + { "VERIFY_EV", 0 },
  10355. +};
  10356. +const ProtobufCEnumDescriptor sr__notification_event__descriptor =
  10357. +{
  10358. + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  10359. + "sr.NotificationEvent",
  10360. + "NotificationEvent",
  10361. + "Sr__NotificationEvent",
  10362. + "sr",
  10363. + 4,
  10364. + sr__notification_event__enum_values_by_number,
  10365. + 4,
  10366. + sr__notification_event__enum_values_by_name,
  10367. + 1,
  10368. + sr__notification_event__value_ranges,
  10369. + NULL,NULL,NULL,NULL /* reserved[1234] */
  10370. +};
  10371. +static const ProtobufCEnumValue sr__module_state__enum_values_by_number[3] =
  10372. +{
  10373. + { "UNINSTALLED", "SR__MODULE_STATE__UNINSTALLED", 1 },
  10374. + { "IMPORTED", "SR__MODULE_STATE__IMPORTED", 2 },
  10375. + { "IMPLEMENTED", "SR__MODULE_STATE__IMPLEMENTED", 3 },
  10376. +};
  10377. +static const ProtobufCIntRange sr__module_state__value_ranges[] = {
  10378. +{1, 0},{0, 3}
  10379. +};
  10380. +static const ProtobufCEnumValueIndex sr__module_state__enum_values_by_name[3] =
  10381. +{
  10382. + { "IMPLEMENTED", 2 },
  10383. + { "IMPORTED", 1 },
  10384. + { "UNINSTALLED", 0 },
  10385. +};
  10386. +const ProtobufCEnumDescriptor sr__module_state__descriptor =
  10387. +{
  10388. + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  10389. + "sr.ModuleState",
  10390. + "ModuleState",
  10391. + "Sr__ModuleState",
  10392. + "sr",
  10393. + 3,
  10394. + sr__module_state__enum_values_by_number,
  10395. + 3,
  10396. + sr__module_state__enum_values_by_name,
  10397. + 1,
  10398. + sr__module_state__value_ranges,
  10399. + NULL,NULL,NULL,NULL /* reserved[1234] */
  10400. +};
  10401. +static const ProtobufCEnumValue sr__change_operation__enum_values_by_number[4] =
  10402. +{
  10403. + { "CREATED", "SR__CHANGE_OPERATION__CREATED", 1 },
  10404. + { "MODIFIED", "SR__CHANGE_OPERATION__MODIFIED", 2 },
  10405. + { "DELETED", "SR__CHANGE_OPERATION__DELETED", 3 },
  10406. + { "MOVED", "SR__CHANGE_OPERATION__MOVED", 4 },
  10407. +};
  10408. +static const ProtobufCIntRange sr__change_operation__value_ranges[] = {
  10409. +{1, 0},{0, 4}
  10410. +};
  10411. +static const ProtobufCEnumValueIndex sr__change_operation__enum_values_by_name[4] =
  10412. +{
  10413. + { "CREATED", 0 },
  10414. + { "DELETED", 2 },
  10415. + { "MODIFIED", 1 },
  10416. + { "MOVED", 3 },
  10417. +};
  10418. +const ProtobufCEnumDescriptor sr__change_operation__descriptor =
  10419. +{
  10420. + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  10421. + "sr.ChangeOperation",
  10422. + "ChangeOperation",
  10423. + "Sr__ChangeOperation",
  10424. + "sr",
  10425. + 4,
  10426. + sr__change_operation__enum_values_by_number,
  10427. + 4,
  10428. + sr__change_operation__enum_values_by_name,
  10429. + 1,
  10430. + sr__change_operation__value_ranges,
  10431. + NULL,NULL,NULL,NULL /* reserved[1234] */
  10432. +};
  10433. +static const ProtobufCEnumValue sr__operation__enum_values_by_number[43] =
  10434. +{
  10435. + { "SESSION_START", "SR__OPERATION__SESSION_START", 10 },
  10436. + { "SESSION_STOP", "SR__OPERATION__SESSION_STOP", 11 },
  10437. + { "SESSION_REFRESH", "SR__OPERATION__SESSION_REFRESH", 12 },
  10438. + { "SESSION_CHECK", "SR__OPERATION__SESSION_CHECK", 13 },
  10439. + { "SESSION_SWITCH_DS", "SR__OPERATION__SESSION_SWITCH_DS", 14 },
  10440. + { "SESSION_SET_OPTS", "SR__OPERATION__SESSION_SET_OPTS", 15 },
  10441. + { "VERSION_VERIFY", "SR__OPERATION__VERSION_VERIFY", 16 },
  10442. + { "LIST_SCHEMAS", "SR__OPERATION__LIST_SCHEMAS", 20 },
  10443. + { "GET_SCHEMA", "SR__OPERATION__GET_SCHEMA", 21 },
  10444. + { "MODULE_INSTALL", "SR__OPERATION__MODULE_INSTALL", 22 },
  10445. + { "FEATURE_ENABLE", "SR__OPERATION__FEATURE_ENABLE", 23 },
  10446. + { "GET_ITEM", "SR__OPERATION__GET_ITEM", 30 },
  10447. + { "GET_ITEMS", "SR__OPERATION__GET_ITEMS", 31 },
  10448. + { "GET_SUBTREE", "SR__OPERATION__GET_SUBTREE", 32 },
  10449. + { "GET_SUBTREES", "SR__OPERATION__GET_SUBTREES", 33 },
  10450. + { "GET_SUBTREE_CHUNK", "SR__OPERATION__GET_SUBTREE_CHUNK", 34 },
  10451. + { "SET_ITEM", "SR__OPERATION__SET_ITEM", 40 },
  10452. + { "DELETE_ITEM", "SR__OPERATION__DELETE_ITEM", 41 },
  10453. + { "MOVE_ITEM", "SR__OPERATION__MOVE_ITEM", 42 },
  10454. + { "SET_ITEM_STR", "SR__OPERATION__SET_ITEM_STR", 43 },
  10455. + { "VALIDATE", "SR__OPERATION__VALIDATE", 50 },
  10456. + { "COMMIT", "SR__OPERATION__COMMIT", 51 },
  10457. + { "DISCARD_CHANGES", "SR__OPERATION__DISCARD_CHANGES", 52 },
  10458. + { "COPY_CONFIG", "SR__OPERATION__COPY_CONFIG", 53 },
  10459. + { "LOCK", "SR__OPERATION__LOCK", 60 },
  10460. + { "UNLOCK", "SR__OPERATION__UNLOCK", 61 },
  10461. + { "SUBSCRIBE", "SR__OPERATION__SUBSCRIBE", 70 },
  10462. + { "UNSUBSCRIBE", "SR__OPERATION__UNSUBSCRIBE", 71 },
  10463. + { "CHECK_ENABLED_RUNNING", "SR__OPERATION__CHECK_ENABLED_RUNNING", 72 },
  10464. + { "GET_CHANGES", "SR__OPERATION__GET_CHANGES", 73 },
  10465. + { "DATA_PROVIDE", "SR__OPERATION__DATA_PROVIDE", 80 },
  10466. + { "CHECK_EXEC_PERMISSION", "SR__OPERATION__CHECK_EXEC_PERMISSION", 81 },
  10467. + { "RPC", "SR__OPERATION__RPC", 82 },
  10468. + { "ACTION", "SR__OPERATION__ACTION", 83 },
  10469. + { "EVENT_NOTIF", "SR__OPERATION__EVENT_NOTIF", 84 },
  10470. + { "EVENT_NOTIF_REPLAY", "SR__OPERATION__EVENT_NOTIF_REPLAY", 85 },
  10471. + { "UNSUBSCRIBE_DESTINATION", "SR__OPERATION__UNSUBSCRIBE_DESTINATION", 101 },
  10472. + { "COMMIT_TIMEOUT", "SR__OPERATION__COMMIT_TIMEOUT", 102 },
  10473. + { "OPER_DATA_TIMEOUT", "SR__OPERATION__OPER_DATA_TIMEOUT", 103 },
  10474. + { "INTERNAL_STATE_DATA", "SR__OPERATION__INTERNAL_STATE_DATA", 104 },
  10475. + { "NOTIF_STORE_CLEANUP", "SR__OPERATION__NOTIF_STORE_CLEANUP", 105 },
  10476. + { "DELAYED_MSG", "SR__OPERATION__DELAYED_MSG", 106 },
  10477. + { "NACM_RELOAD", "SR__OPERATION__NACM_RELOAD", 107 },
  10478. +};
  10479. +static const ProtobufCIntRange sr__operation__value_ranges[] = {
  10480. +{10, 0},{20, 7},{30, 11},{40, 16},{50, 20},{60, 24},{70, 26},{80, 30},{101, 36},{0, 43}
  10481. +};
  10482. +static const ProtobufCEnumValueIndex sr__operation__enum_values_by_name[43] =
  10483. +{
  10484. + { "ACTION", 33 },
  10485. + { "CHECK_ENABLED_RUNNING", 28 },
  10486. + { "CHECK_EXEC_PERMISSION", 31 },
  10487. + { "COMMIT", 21 },
  10488. + { "COMMIT_TIMEOUT", 37 },
  10489. + { "COPY_CONFIG", 23 },
  10490. + { "DATA_PROVIDE", 30 },
  10491. + { "DELAYED_MSG", 41 },
  10492. + { "DELETE_ITEM", 17 },
  10493. + { "DISCARD_CHANGES", 22 },
  10494. + { "EVENT_NOTIF", 34 },
  10495. + { "EVENT_NOTIF_REPLAY", 35 },
  10496. + { "FEATURE_ENABLE", 10 },
  10497. + { "GET_CHANGES", 29 },
  10498. + { "GET_ITEM", 11 },
  10499. + { "GET_ITEMS", 12 },
  10500. + { "GET_SCHEMA", 8 },
  10501. + { "GET_SUBTREE", 13 },
  10502. + { "GET_SUBTREES", 14 },
  10503. + { "GET_SUBTREE_CHUNK", 15 },
  10504. + { "INTERNAL_STATE_DATA", 39 },
  10505. + { "LIST_SCHEMAS", 7 },
  10506. + { "LOCK", 24 },
  10507. + { "MODULE_INSTALL", 9 },
  10508. + { "MOVE_ITEM", 18 },
  10509. + { "NACM_RELOAD", 42 },
  10510. + { "NOTIF_STORE_CLEANUP", 40 },
  10511. + { "OPER_DATA_TIMEOUT", 38 },
  10512. + { "RPC", 32 },
  10513. + { "SESSION_CHECK", 3 },
  10514. + { "SESSION_REFRESH", 2 },
  10515. + { "SESSION_SET_OPTS", 5 },
  10516. + { "SESSION_START", 0 },
  10517. + { "SESSION_STOP", 1 },
  10518. + { "SESSION_SWITCH_DS", 4 },
  10519. + { "SET_ITEM", 16 },
  10520. + { "SET_ITEM_STR", 19 },
  10521. + { "SUBSCRIBE", 26 },
  10522. + { "UNLOCK", 25 },
  10523. + { "UNSUBSCRIBE", 27 },
  10524. + { "UNSUBSCRIBE_DESTINATION", 36 },
  10525. + { "VALIDATE", 20 },
  10526. + { "VERSION_VERIFY", 6 },
  10527. +};
  10528. +const ProtobufCEnumDescriptor sr__operation__descriptor =
  10529. +{
  10530. + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  10531. + "sr.Operation",
  10532. + "Operation",
  10533. + "Sr__Operation",
  10534. + "sr",
  10535. + 43,
  10536. + sr__operation__enum_values_by_number,
  10537. + 43,
  10538. + sr__operation__enum_values_by_name,
  10539. + 9,
  10540. + sr__operation__value_ranges,
  10541. + NULL,NULL,NULL,NULL /* reserved[1234] */
  10542. +};
  10543. Index: sysrepo-0.7.5/src/common/sysrepo.pb-c.h
  10544. ===================================================================
  10545. --- /dev/null
  10546. +++ sysrepo-0.7.5/src/common/sysrepo.pb-c.h
  10547. @@ -0,0 +1,4238 @@
  10548. +/* Generated by the protocol buffer compiler. DO NOT EDIT! */
  10549. +/* Generated from: sysrepo.proto */
  10550. +
  10551. +#ifndef PROTOBUF_C_sysrepo_2eproto__INCLUDED
  10552. +#define PROTOBUF_C_sysrepo_2eproto__INCLUDED
  10553. +
  10554. +#include <protobuf-c/protobuf-c.h>
  10555. +
  10556. +PROTOBUF_C__BEGIN_DECLS
  10557. +
  10558. +#if PROTOBUF_C_VERSION_NUMBER < 1000000
  10559. +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
  10560. +#elif 1002001 < PROTOBUF_C_MIN_COMPILER_VERSION
  10561. +# 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.
  10562. +#endif
  10563. +
  10564. +
  10565. +typedef struct _Sr__Value Sr__Value;
  10566. +typedef struct _Sr__Node Sr__Node;
  10567. +typedef struct _Sr__Error Sr__Error;
  10568. +typedef struct _Sr__SessionStartReq Sr__SessionStartReq;
  10569. +typedef struct _Sr__SessionStartResp Sr__SessionStartResp;
  10570. +typedef struct _Sr__SessionStopReq Sr__SessionStopReq;
  10571. +typedef struct _Sr__SessionStopResp Sr__SessionStopResp;
  10572. +typedef struct _Sr__SessionRefreshReq Sr__SessionRefreshReq;
  10573. +typedef struct _Sr__SessionRefreshResp Sr__SessionRefreshResp;
  10574. +typedef struct _Sr__SessionCheckReq Sr__SessionCheckReq;
  10575. +typedef struct _Sr__SessionCheckResp Sr__SessionCheckResp;
  10576. +typedef struct _Sr__SessionSwitchDsReq Sr__SessionSwitchDsReq;
  10577. +typedef struct _Sr__SessionSwitchDsResp Sr__SessionSwitchDsResp;
  10578. +typedef struct _Sr__SessionSetOptsReq Sr__SessionSetOptsReq;
  10579. +typedef struct _Sr__SessionSetOptsResp Sr__SessionSetOptsResp;
  10580. +typedef struct _Sr__VersionVerifyReq Sr__VersionVerifyReq;
  10581. +typedef struct _Sr__VersionVerifyResp Sr__VersionVerifyResp;
  10582. +typedef struct _Sr__SchemaRevision Sr__SchemaRevision;
  10583. +typedef struct _Sr__SchemaSubmodule Sr__SchemaSubmodule;
  10584. +typedef struct _Sr__Schema Sr__Schema;
  10585. +typedef struct _Sr__ListSchemasReq Sr__ListSchemasReq;
  10586. +typedef struct _Sr__ListSchemasResp Sr__ListSchemasResp;
  10587. +typedef struct _Sr__GetSchemaReq Sr__GetSchemaReq;
  10588. +typedef struct _Sr__GetSchemaResp Sr__GetSchemaResp;
  10589. +typedef struct _Sr__GetItemReq Sr__GetItemReq;
  10590. +typedef struct _Sr__GetItemResp Sr__GetItemResp;
  10591. +typedef struct _Sr__GetItemsReq Sr__GetItemsReq;
  10592. +typedef struct _Sr__GetItemsResp Sr__GetItemsResp;
  10593. +typedef struct _Sr__GetSubtreeReq Sr__GetSubtreeReq;
  10594. +typedef struct _Sr__GetSubtreeResp Sr__GetSubtreeResp;
  10595. +typedef struct _Sr__GetSubtreesReq Sr__GetSubtreesReq;
  10596. +typedef struct _Sr__GetSubtreesResp Sr__GetSubtreesResp;
  10597. +typedef struct _Sr__GetSubtreeChunkReq Sr__GetSubtreeChunkReq;
  10598. +typedef struct _Sr__GetSubtreeChunkResp Sr__GetSubtreeChunkResp;
  10599. +typedef struct _Sr__SetItemReq Sr__SetItemReq;
  10600. +typedef struct _Sr__SetItemResp Sr__SetItemResp;
  10601. +typedef struct _Sr__SetItemStrReq Sr__SetItemStrReq;
  10602. +typedef struct _Sr__SetItemStrResp Sr__SetItemStrResp;
  10603. +typedef struct _Sr__DeleteItemReq Sr__DeleteItemReq;
  10604. +typedef struct _Sr__DeleteItemResp Sr__DeleteItemResp;
  10605. +typedef struct _Sr__MoveItemReq Sr__MoveItemReq;
  10606. +typedef struct _Sr__MoveItemResp Sr__MoveItemResp;
  10607. +typedef struct _Sr__ValidateReq Sr__ValidateReq;
  10608. +typedef struct _Sr__ValidateResp Sr__ValidateResp;
  10609. +typedef struct _Sr__CommitReq Sr__CommitReq;
  10610. +typedef struct _Sr__CommitResp Sr__CommitResp;
  10611. +typedef struct _Sr__DiscardChangesReq Sr__DiscardChangesReq;
  10612. +typedef struct _Sr__DiscardChangesResp Sr__DiscardChangesResp;
  10613. +typedef struct _Sr__CopyConfigReq Sr__CopyConfigReq;
  10614. +typedef struct _Sr__CopyConfigResp Sr__CopyConfigResp;
  10615. +typedef struct _Sr__LockReq Sr__LockReq;
  10616. +typedef struct _Sr__LockResp Sr__LockResp;
  10617. +typedef struct _Sr__UnlockReq Sr__UnlockReq;
  10618. +typedef struct _Sr__UnlockResp Sr__UnlockResp;
  10619. +typedef struct _Sr__SubscribeReq Sr__SubscribeReq;
  10620. +typedef struct _Sr__SubscribeResp Sr__SubscribeResp;
  10621. +typedef struct _Sr__UnsubscribeReq Sr__UnsubscribeReq;
  10622. +typedef struct _Sr__UnsubscribeResp Sr__UnsubscribeResp;
  10623. +typedef struct _Sr__CheckEnabledRunningReq Sr__CheckEnabledRunningReq;
  10624. +typedef struct _Sr__CheckEnabledRunningResp Sr__CheckEnabledRunningResp;
  10625. +typedef struct _Sr__ModuleInstallNotification Sr__ModuleInstallNotification;
  10626. +typedef struct _Sr__FeatureEnableNotification Sr__FeatureEnableNotification;
  10627. +typedef struct _Sr__ModuleChangeNotification Sr__ModuleChangeNotification;
  10628. +typedef struct _Sr__SubtreeChangeNotification Sr__SubtreeChangeNotification;
  10629. +typedef struct _Sr__Change Sr__Change;
  10630. +typedef struct _Sr__GetChangesReq Sr__GetChangesReq;
  10631. +typedef struct _Sr__GetChangesResp Sr__GetChangesResp;
  10632. +typedef struct _Sr__CheckExecPermReq Sr__CheckExecPermReq;
  10633. +typedef struct _Sr__CheckExecPermResp Sr__CheckExecPermResp;
  10634. +typedef struct _Sr__RPCReq Sr__RPCReq;
  10635. +typedef struct _Sr__RPCResp Sr__RPCResp;
  10636. +typedef struct _Sr__EventNotifReq Sr__EventNotifReq;
  10637. +typedef struct _Sr__EventNotifResp Sr__EventNotifResp;
  10638. +typedef struct _Sr__EventNotifReplayReq Sr__EventNotifReplayReq;
  10639. +typedef struct _Sr__EventNotifReplayResp Sr__EventNotifReplayResp;
  10640. +typedef struct _Sr__DataProvideReq Sr__DataProvideReq;
  10641. +typedef struct _Sr__DataProvideResp Sr__DataProvideResp;
  10642. +typedef struct _Sr__ModuleInstallReq Sr__ModuleInstallReq;
  10643. +typedef struct _Sr__ModuleInstallResp Sr__ModuleInstallResp;
  10644. +typedef struct _Sr__FeatureEnableReq Sr__FeatureEnableReq;
  10645. +typedef struct _Sr__FeatureEnableResp Sr__FeatureEnableResp;
  10646. +typedef struct _Sr__UnsubscribeDestinationReq Sr__UnsubscribeDestinationReq;
  10647. +typedef struct _Sr__CommitTimeoutReq Sr__CommitTimeoutReq;
  10648. +typedef struct _Sr__OperDataTimeoutReq Sr__OperDataTimeoutReq;
  10649. +typedef struct _Sr__InternalStateDataReq Sr__InternalStateDataReq;
  10650. +typedef struct _Sr__NotifStoreCleanupReq Sr__NotifStoreCleanupReq;
  10651. +typedef struct _Sr__DelayedMsgReq Sr__DelayedMsgReq;
  10652. +typedef struct _Sr__NacmReloadReq Sr__NacmReloadReq;
  10653. +typedef struct _Sr__Request Sr__Request;
  10654. +typedef struct _Sr__Response Sr__Response;
  10655. +typedef struct _Sr__Notification Sr__Notification;
  10656. +typedef struct _Sr__NotificationAck Sr__NotificationAck;
  10657. +typedef struct _Sr__InternalRequest Sr__InternalRequest;
  10658. +typedef struct _Sr__Msg Sr__Msg;
  10659. +
  10660. +
  10661. +/* --- enums --- */
  10662. +
  10663. +typedef enum _Sr__Value__Types {
  10664. + SR__VALUE__TYPES__LIST = 1,
  10665. + SR__VALUE__TYPES__CONTAINER = 2,
  10666. + SR__VALUE__TYPES__CONTAINER_PRESENCE = 3,
  10667. + SR__VALUE__TYPES__LEAF_EMPTY = 4,
  10668. + SR__VALUE__TYPES__BINARY = 10,
  10669. + SR__VALUE__TYPES__BITS = 11,
  10670. + SR__VALUE__TYPES__BOOL = 12,
  10671. + SR__VALUE__TYPES__DECIMAL64 = 13,
  10672. + SR__VALUE__TYPES__ENUM = 14,
  10673. + SR__VALUE__TYPES__IDENTITYREF = 15,
  10674. + SR__VALUE__TYPES__INSTANCEID = 16,
  10675. + SR__VALUE__TYPES__INT8 = 17,
  10676. + SR__VALUE__TYPES__INT16 = 18,
  10677. + SR__VALUE__TYPES__INT32 = 19,
  10678. + SR__VALUE__TYPES__INT64 = 20,
  10679. + SR__VALUE__TYPES__STRING = 21,
  10680. + SR__VALUE__TYPES__UINT8 = 22,
  10681. + SR__VALUE__TYPES__UINT16 = 23,
  10682. + SR__VALUE__TYPES__UINT32 = 24,
  10683. + SR__VALUE__TYPES__UINT64 = 25,
  10684. + SR__VALUE__TYPES__ANYXML = 26,
  10685. + SR__VALUE__TYPES__ANYDATA = 27
  10686. + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__VALUE__TYPES)
  10687. +} Sr__Value__Types;
  10688. +typedef enum _Sr__MoveItemReq__MovePosition {
  10689. + SR__MOVE_ITEM_REQ__MOVE_POSITION__BEFORE = 1,
  10690. + SR__MOVE_ITEM_REQ__MOVE_POSITION__AFTER = 2,
  10691. + SR__MOVE_ITEM_REQ__MOVE_POSITION__FIRST = 3,
  10692. + SR__MOVE_ITEM_REQ__MOVE_POSITION__LAST = 4
  10693. + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__MOVE_ITEM_REQ__MOVE_POSITION)
  10694. +} Sr__MoveItemReq__MovePosition;
  10695. +/*
  10696. + **
  10697. + * @brief Type of the event notification.
  10698. + */
  10699. +typedef enum _Sr__EventNotifReq__NotifType {
  10700. + SR__EVENT_NOTIF_REQ__NOTIF_TYPE__REALTIME = 1,
  10701. + SR__EVENT_NOTIF_REQ__NOTIF_TYPE__REPLAY = 2,
  10702. + SR__EVENT_NOTIF_REQ__NOTIF_TYPE__REPLAY_COMPLETE = 3,
  10703. + SR__EVENT_NOTIF_REQ__NOTIF_TYPE__REPLAY_STOP = 4
  10704. + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__EVENT_NOTIF_REQ__NOTIF_TYPE)
  10705. +} Sr__EventNotifReq__NotifType;
  10706. +/*
  10707. + **
  10708. + * @brief Flags used to override default session handling.
  10709. + */
  10710. +typedef enum _Sr__EventNotifReq__NotifFlags {
  10711. + /*
  10712. + **< Notification will be handled normally.
  10713. + */
  10714. + SR__EVENT_NOTIF_REQ__NOTIF_FLAGS__DEFAULT = 0,
  10715. + /*
  10716. + **< Notification will not be stored in the notification store.
  10717. + */
  10718. + SR__EVENT_NOTIF_REQ__NOTIF_FLAGS__EPHEMERAL = 1
  10719. + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__EVENT_NOTIF_REQ__NOTIF_FLAGS)
  10720. +} Sr__EventNotifReq__NotifFlags;
  10721. +/*
  10722. + **
  10723. + * @brief Type of the message.
  10724. + */
  10725. +typedef enum _Sr__Msg__MsgType {
  10726. + /*
  10727. + **< The message is a request.
  10728. + */
  10729. + SR__MSG__MSG_TYPE__REQUEST = 1,
  10730. + /*
  10731. + **< The message is a response to the request.
  10732. + */
  10733. + SR__MSG__MSG_TYPE__RESPONSE = 2,
  10734. + /*
  10735. + **< The message is a notification.
  10736. + */
  10737. + SR__MSG__MSG_TYPE__NOTIFICATION = 3,
  10738. + /*
  10739. + **< The message is a notification acknowledgment.
  10740. + */
  10741. + SR__MSG__MSG_TYPE__NOTIFICATION_ACK = 4,
  10742. + /*
  10743. + **< The message is an internal request, should not be used from the public API.
  10744. + */
  10745. + SR__MSG__MSG_TYPE__INTERNAL_REQUEST = 5
  10746. + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__MSG__MSG_TYPE)
  10747. +} Sr__Msg__MsgType;
  10748. +/*
  10749. + **
  10750. + * @brief Variant of the API. Currently only values (sr_val_t) vs. trees (sr_node_t).
  10751. + */
  10752. +typedef enum _Sr__ApiVariant {
  10753. + SR__API_VARIANT__VALUES = 1,
  10754. + SR__API_VARIANT__TREES = 2
  10755. + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__API_VARIANT)
  10756. +} Sr__ApiVariant;
  10757. +/*
  10758. + **
  10759. + * @brief Datastore on which the configuration session will operate.
  10760. + */
  10761. +typedef enum _Sr__DataStore {
  10762. + SR__DATA_STORE__STARTUP = 1,
  10763. + SR__DATA_STORE__RUNNING = 2,
  10764. + SR__DATA_STORE__CANDIDATE = 3
  10765. + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__DATA_STORE)
  10766. +} Sr__DataStore;
  10767. +/*
  10768. + **
  10769. + * @brief Flags used to override default session handling.
  10770. + */
  10771. +typedef enum _Sr__SessionFlags {
  10772. + /*
  10773. + **< Default (normal) session behavior.
  10774. + */
  10775. + SR__SESSION_FLAGS__SESS_DEFAULT = 0,
  10776. + /*
  10777. + **< Session will process only configuration data (e.g. sysrepo won't
  10778. + *return any state data by ::sr_get_items / ::sr_get_items_iter calls).
  10779. + */
  10780. + SR__SESSION_FLAGS__SESS_CONFIG_ONLY = 1,
  10781. + /*
  10782. + **< Enable NETCONF access control for this session.
  10783. + */
  10784. + SR__SESSION_FLAGS__SESS_ENABLE_NACM = 2,
  10785. + /*
  10786. + **< Notification session (internal type of session).
  10787. + */
  10788. + SR__SESSION_FLAGS__SESS_NOTIFICATION = 1024
  10789. + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__SESSION_FLAGS)
  10790. +} Sr__SessionFlags;
  10791. +/*
  10792. + **
  10793. + * @brief Flags used to override default behavior of data manipulation calls.
  10794. + */
  10795. +typedef enum _Sr__EditFlags {
  10796. + /*
  10797. + **< Default behavior - recursive and non-strict.
  10798. + */
  10799. + SR__EDIT_FLAGS__EDIT_DEFAULT = 0,
  10800. + /*
  10801. + **< Non-recursive behavior:
  10802. + *by ::SetItemReq, all preceding nodes (parents) of the identified element must exist,
  10803. + *by ::DeleteItemReq xpath must not identify an non-empty list or non-empty container.
  10804. + */
  10805. + SR__EDIT_FLAGS__EDIT_NON_RECURSIVE = 1,
  10806. + /*
  10807. + **< Strict behavior:
  10808. + *by ::SetItemReq the identified element must not exist (similar to netconf create operation),
  10809. + *by ::DeleteItemReq the identified element must exist (similar to netconf delete operation).
  10810. + */
  10811. + SR__EDIT_FLAGS__EDIT_STRICT = 2
  10812. + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__EDIT_FLAGS)
  10813. +} Sr__EditFlags;
  10814. +typedef enum _Sr__SubscriptionType {
  10815. + SR__SUBSCRIPTION_TYPE__MODULE_INSTALL_SUBS = 1,
  10816. + SR__SUBSCRIPTION_TYPE__FEATURE_ENABLE_SUBS = 2,
  10817. + SR__SUBSCRIPTION_TYPE__MODULE_CHANGE_SUBS = 10,
  10818. + SR__SUBSCRIPTION_TYPE__SUBTREE_CHANGE_SUBS = 11,
  10819. + SR__SUBSCRIPTION_TYPE__DP_GET_ITEMS_SUBS = 20,
  10820. + SR__SUBSCRIPTION_TYPE__RPC_SUBS = 30,
  10821. + SR__SUBSCRIPTION_TYPE__ACTION_SUBS = 31,
  10822. + SR__SUBSCRIPTION_TYPE__EVENT_NOTIF_SUBS = 40,
  10823. + /*
  10824. + **< Used only internally to test for inactive notification subscriptions.
  10825. + */
  10826. + SR__SUBSCRIPTION_TYPE__HELLO_SUBS = 50,
  10827. + /*
  10828. + **< Used only internally to notify about the end of the commit process.
  10829. + */
  10830. + SR__SUBSCRIPTION_TYPE__COMMIT_END_SUBS = 51
  10831. + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__SUBSCRIPTION_TYPE)
  10832. +} Sr__SubscriptionType;
  10833. +typedef enum _Sr__NotificationEvent {
  10834. + SR__NOTIFICATION_EVENT__VERIFY_EV = 1,
  10835. + SR__NOTIFICATION_EVENT__APPLY_EV = 2,
  10836. + SR__NOTIFICATION_EVENT__ABORT_EV = 3,
  10837. + SR__NOTIFICATION_EVENT__ENABLED_EV = 4
  10838. + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__NOTIFICATION_EVENT)
  10839. +} Sr__NotificationEvent;
  10840. +typedef enum _Sr__ModuleState {
  10841. + SR__MODULE_STATE__UNINSTALLED = 1,
  10842. + SR__MODULE_STATE__IMPORTED = 2,
  10843. + SR__MODULE_STATE__IMPLEMENTED = 3
  10844. + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__MODULE_STATE)
  10845. +} Sr__ModuleState;
  10846. +typedef enum _Sr__ChangeOperation {
  10847. + SR__CHANGE_OPERATION__CREATED = 1,
  10848. + SR__CHANGE_OPERATION__MODIFIED = 2,
  10849. + SR__CHANGE_OPERATION__DELETED = 3,
  10850. + SR__CHANGE_OPERATION__MOVED = 4
  10851. + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__CHANGE_OPERATION)
  10852. +} Sr__ChangeOperation;
  10853. +/*
  10854. + **
  10855. + * @brief Requested operation.
  10856. + */
  10857. +typedef enum _Sr__Operation {
  10858. + SR__OPERATION__SESSION_START = 10,
  10859. + SR__OPERATION__SESSION_STOP = 11,
  10860. + SR__OPERATION__SESSION_REFRESH = 12,
  10861. + SR__OPERATION__SESSION_CHECK = 13,
  10862. + SR__OPERATION__SESSION_SWITCH_DS = 14,
  10863. + SR__OPERATION__SESSION_SET_OPTS = 15,
  10864. + SR__OPERATION__VERSION_VERIFY = 16,
  10865. + SR__OPERATION__LIST_SCHEMAS = 20,
  10866. + SR__OPERATION__GET_SCHEMA = 21,
  10867. + SR__OPERATION__MODULE_INSTALL = 22,
  10868. + SR__OPERATION__FEATURE_ENABLE = 23,
  10869. + SR__OPERATION__GET_ITEM = 30,
  10870. + SR__OPERATION__GET_ITEMS = 31,
  10871. + SR__OPERATION__GET_SUBTREE = 32,
  10872. + SR__OPERATION__GET_SUBTREES = 33,
  10873. + SR__OPERATION__GET_SUBTREE_CHUNK = 34,
  10874. + SR__OPERATION__SET_ITEM = 40,
  10875. + SR__OPERATION__DELETE_ITEM = 41,
  10876. + SR__OPERATION__MOVE_ITEM = 42,
  10877. + SR__OPERATION__SET_ITEM_STR = 43,
  10878. + SR__OPERATION__VALIDATE = 50,
  10879. + SR__OPERATION__COMMIT = 51,
  10880. + SR__OPERATION__DISCARD_CHANGES = 52,
  10881. + SR__OPERATION__COPY_CONFIG = 53,
  10882. + SR__OPERATION__LOCK = 60,
  10883. + SR__OPERATION__UNLOCK = 61,
  10884. + SR__OPERATION__SUBSCRIBE = 70,
  10885. + SR__OPERATION__UNSUBSCRIBE = 71,
  10886. + SR__OPERATION__CHECK_ENABLED_RUNNING = 72,
  10887. + SR__OPERATION__GET_CHANGES = 73,
  10888. + SR__OPERATION__DATA_PROVIDE = 80,
  10889. + SR__OPERATION__CHECK_EXEC_PERMISSION = 81,
  10890. + SR__OPERATION__RPC = 82,
  10891. + SR__OPERATION__ACTION = 83,
  10892. + SR__OPERATION__EVENT_NOTIF = 84,
  10893. + SR__OPERATION__EVENT_NOTIF_REPLAY = 85,
  10894. + SR__OPERATION__UNSUBSCRIBE_DESTINATION = 101,
  10895. + SR__OPERATION__COMMIT_TIMEOUT = 102,
  10896. + SR__OPERATION__OPER_DATA_TIMEOUT = 103,
  10897. + SR__OPERATION__INTERNAL_STATE_DATA = 104,
  10898. + SR__OPERATION__NOTIF_STORE_CLEANUP = 105,
  10899. + SR__OPERATION__DELAYED_MSG = 106,
  10900. + SR__OPERATION__NACM_RELOAD = 107
  10901. + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SR__OPERATION)
  10902. +} Sr__Operation;
  10903. +
  10904. +/* --- messages --- */
  10905. +
  10906. +/*
  10907. + **
  10908. + * @brief Value of an item stored (or to be stored) in the datastore.
  10909. + * Can be mapped to sr_val_t data structure from sysrepo library API.
  10910. + */
  10911. +struct _Sr__Value
  10912. +{
  10913. + ProtobufCMessage base;
  10914. + char *xpath;
  10915. + Sr__Value__Types type;
  10916. + protobuf_c_boolean dflt;
  10917. + char *binary_val;
  10918. + char *bits_val;
  10919. + protobuf_c_boolean has_bool_val;
  10920. + protobuf_c_boolean bool_val;
  10921. + protobuf_c_boolean has_decimal64_val;
  10922. + double decimal64_val;
  10923. + char *enum_val;
  10924. + char *identityref_val;
  10925. + char *instanceid_val;
  10926. + protobuf_c_boolean has_int8_val;
  10927. + int32_t int8_val;
  10928. + protobuf_c_boolean has_int16_val;
  10929. + int32_t int16_val;
  10930. + protobuf_c_boolean has_int32_val;
  10931. + int32_t int32_val;
  10932. + protobuf_c_boolean has_int64_val;
  10933. + int64_t int64_val;
  10934. + char *string_val;
  10935. + protobuf_c_boolean has_uint8_val;
  10936. + uint32_t uint8_val;
  10937. + protobuf_c_boolean has_uint16_val;
  10938. + uint32_t uint16_val;
  10939. + protobuf_c_boolean has_uint32_val;
  10940. + uint32_t uint32_val;
  10941. + protobuf_c_boolean has_uint64_val;
  10942. + uint64_t uint64_val;
  10943. + char *anyxml_val;
  10944. + char *anydata_val;
  10945. +};
  10946. +#define SR__VALUE__INIT \
  10947. + { PROTOBUF_C_MESSAGE_INIT (&sr__value__descriptor) \
  10948. + , 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 }
  10949. +
  10950. +
  10951. +/*
  10952. + **
  10953. + * @brief Item stored (or to be stored) in the datastore represented as a tree node
  10954. + * reflecting module schema. Can be mapped to sr_node_t data structure from sysrepo library API.
  10955. + */
  10956. +struct _Sr__Node
  10957. +{
  10958. + ProtobufCMessage base;
  10959. + /*
  10960. + **< Value of the node; member *xpath* is used to store node's name.
  10961. + */
  10962. + Sr__Value *value;
  10963. + /*
  10964. + **< Name of the module that defines scheme of this node.
  10965. + */
  10966. + char *module_name;
  10967. + /*
  10968. + **< Direct descendands of this node.
  10969. + */
  10970. + size_t n_children;
  10971. + Sr__Node **children;
  10972. +};
  10973. +#define SR__NODE__INIT \
  10974. + { PROTOBUF_C_MESSAGE_INIT (&sr__node__descriptor) \
  10975. + , NULL, NULL, 0,NULL }
  10976. +
  10977. +
  10978. +/*
  10979. + **
  10980. + * @brief Error message retuned from the Sysrepo Engine.
  10981. + */
  10982. +struct _Sr__Error
  10983. +{
  10984. + ProtobufCMessage base;
  10985. + char *message;
  10986. + char *xpath;
  10987. +};
  10988. +#define SR__ERROR__INIT \
  10989. + { PROTOBUF_C_MESSAGE_INIT (&sr__error__descriptor) \
  10990. + , NULL, NULL }
  10991. +
  10992. +
  10993. +/*
  10994. + **
  10995. + * @brief Request for starting a session. Sent by sr_session_start API call.
  10996. + */
  10997. +struct _Sr__SessionStartReq
  10998. +{
  10999. + ProtobufCMessage base;
  11000. + Sr__DataStore datastore;
  11001. + char *user_name;
  11002. + /*
  11003. + **< Bitwise OR of SessionFlags.
  11004. + */
  11005. + uint32_t options;
  11006. + /*
  11007. + **< Applicable if SESS_NOTIFICATION was specified.
  11008. + */
  11009. + protobuf_c_boolean has_commit_id;
  11010. + uint32_t commit_id;
  11011. +};
  11012. +#define SR__SESSION_START_REQ__INIT \
  11013. + { PROTOBUF_C_MESSAGE_INIT (&sr__session_start_req__descriptor) \
  11014. + , 0, NULL, 0, 0,0 }
  11015. +
  11016. +
  11017. +/*
  11018. + **
  11019. + * @brief Response to session_start request.
  11020. + */
  11021. +struct _Sr__SessionStartResp
  11022. +{
  11023. + ProtobufCMessage base;
  11024. + uint32_t session_id;
  11025. +};
  11026. +#define SR__SESSION_START_RESP__INIT \
  11027. + { PROTOBUF_C_MESSAGE_INIT (&sr__session_start_resp__descriptor) \
  11028. + , 0 }
  11029. +
  11030. +
  11031. +/*
  11032. + **
  11033. + * @brief Request for stopping the session. Sent by sr_session_stop API call.
  11034. + */
  11035. +struct _Sr__SessionStopReq
  11036. +{
  11037. + ProtobufCMessage base;
  11038. + uint32_t session_id;
  11039. +};
  11040. +#define SR__SESSION_STOP_REQ__INIT \
  11041. + { PROTOBUF_C_MESSAGE_INIT (&sr__session_stop_req__descriptor) \
  11042. + , 0 }
  11043. +
  11044. +
  11045. +/*
  11046. + **
  11047. + * @brief Response to session_stop request.
  11048. + */
  11049. +struct _Sr__SessionStopResp
  11050. +{
  11051. + ProtobufCMessage base;
  11052. + uint32_t session_id;
  11053. +};
  11054. +#define SR__SESSION_STOP_RESP__INIT \
  11055. + { PROTOBUF_C_MESSAGE_INIT (&sr__session_stop_resp__descriptor) \
  11056. + , 0 }
  11057. +
  11058. +
  11059. +/*
  11060. + **
  11061. + * @brief Refreshes configuration data cached within the session.
  11062. + * Sent by sr_session_refresh API call.
  11063. + */
  11064. +struct _Sr__SessionRefreshReq
  11065. +{
  11066. + ProtobufCMessage base;
  11067. +};
  11068. +#define SR__SESSION_REFRESH_REQ__INIT \
  11069. + { PROTOBUF_C_MESSAGE_INIT (&sr__session_refresh_req__descriptor) \
  11070. + }
  11071. +
  11072. +
  11073. +/*
  11074. + **
  11075. + * @brief Response to sr_session_refresh request.
  11076. + */
  11077. +struct _Sr__SessionRefreshResp
  11078. +{
  11079. + ProtobufCMessage base;
  11080. + size_t n_errors;
  11081. + Sr__Error **errors;
  11082. +};
  11083. +#define SR__SESSION_REFRESH_RESP__INIT \
  11084. + { PROTOBUF_C_MESSAGE_INIT (&sr__session_refresh_resp__descriptor) \
  11085. + , 0,NULL }
  11086. +
  11087. +
  11088. +/*
  11089. + **
  11090. + * @brief Checks aliveness and validity of the session & connection tied to it.
  11091. + * Sent by sr_session_check API call.
  11092. + */
  11093. +struct _Sr__SessionCheckReq
  11094. +{
  11095. + ProtobufCMessage base;
  11096. +};
  11097. +#define SR__SESSION_CHECK_REQ__INIT \
  11098. + { PROTOBUF_C_MESSAGE_INIT (&sr__session_check_req__descriptor) \
  11099. + }
  11100. +
  11101. +
  11102. +/*
  11103. + **
  11104. + * @brief Response to sr_session_check request.
  11105. + */
  11106. +struct _Sr__SessionCheckResp
  11107. +{
  11108. + ProtobufCMessage base;
  11109. + size_t n_errors;
  11110. + Sr__Error **errors;
  11111. +};
  11112. +#define SR__SESSION_CHECK_RESP__INIT \
  11113. + { PROTOBUF_C_MESSAGE_INIT (&sr__session_check_resp__descriptor) \
  11114. + , 0,NULL }
  11115. +
  11116. +
  11117. +/*
  11118. + **
  11119. + * @brief Changes the datastore to which the session is tied to.
  11120. + */
  11121. +struct _Sr__SessionSwitchDsReq
  11122. +{
  11123. + ProtobufCMessage base;
  11124. + Sr__DataStore datastore;
  11125. +};
  11126. +#define SR__SESSION_SWITCH_DS_REQ__INIT \
  11127. + { PROTOBUF_C_MESSAGE_INIT (&sr__session_switch_ds_req__descriptor) \
  11128. + , 0 }
  11129. +
  11130. +
  11131. +/*
  11132. + **
  11133. + * @brief Response to sr_session_switch_ds request.
  11134. + */
  11135. +struct _Sr__SessionSwitchDsResp
  11136. +{
  11137. + ProtobufCMessage base;
  11138. +};
  11139. +#define SR__SESSION_SWITCH_DS_RESP__INIT \
  11140. + { PROTOBUF_C_MESSAGE_INIT (&sr__session_switch_ds_resp__descriptor) \
  11141. + }
  11142. +
  11143. +
  11144. +/*
  11145. + **
  11146. + * @brief Request for modification of session options.
  11147. + */
  11148. +struct _Sr__SessionSetOptsReq
  11149. +{
  11150. + ProtobufCMessage base;
  11151. + uint32_t options;
  11152. +};
  11153. +#define SR__SESSION_SET_OPTS_REQ__INIT \
  11154. + { PROTOBUF_C_MESSAGE_INIT (&sr__session_set_opts_req__descriptor) \
  11155. + , 0 }
  11156. +
  11157. +
  11158. +/*
  11159. + **
  11160. + * @brief Response to sr_session_set_options.
  11161. + */
  11162. +struct _Sr__SessionSetOptsResp
  11163. +{
  11164. + ProtobufCMessage base;
  11165. +};
  11166. +#define SR__SESSION_SET_OPTS_RESP__INIT \
  11167. + { PROTOBUF_C_MESSAGE_INIT (&sr__session_set_opts_resp__descriptor) \
  11168. + }
  11169. +
  11170. +
  11171. +/*
  11172. + **
  11173. + * @brief Request to verify version compatibility.
  11174. + */
  11175. +struct _Sr__VersionVerifyReq
  11176. +{
  11177. + ProtobufCMessage base;
  11178. + char *soname;
  11179. +};
  11180. +#define SR__VERSION_VERIFY_REQ__INIT \
  11181. + { PROTOBUF_C_MESSAGE_INIT (&sr__version_verify_req__descriptor) \
  11182. + , NULL }
  11183. +
  11184. +
  11185. +/*
  11186. + **
  11187. + * @brief Response to version verification.
  11188. + */
  11189. +struct _Sr__VersionVerifyResp
  11190. +{
  11191. + ProtobufCMessage base;
  11192. + /*
  11193. + **< server-side SONAME version in case of versions incompatibility.
  11194. + */
  11195. + char *soname;
  11196. +};
  11197. +#define SR__VERSION_VERIFY_RESP__INIT \
  11198. + { PROTOBUF_C_MESSAGE_INIT (&sr__version_verify_resp__descriptor) \
  11199. + , NULL }
  11200. +
  11201. +
  11202. +/*
  11203. + **
  11204. + * @brief Schema revision details.
  11205. + */
  11206. +struct _Sr__SchemaRevision
  11207. +{
  11208. + ProtobufCMessage base;
  11209. + /*
  11210. + **< Latest revision date of the module.
  11211. + */
  11212. + char *revision;
  11213. + /*
  11214. + **< Absolute path to file where the schema is stored (YANG format).
  11215. + */
  11216. + char *file_path_yang;
  11217. + /*
  11218. + **< Absolute path to file where the schema is stored (.yin format).
  11219. + */
  11220. + char *file_path_yin;
  11221. +};
  11222. +#define SR__SCHEMA_REVISION__INIT \
  11223. + { PROTOBUF_C_MESSAGE_INIT (&sr__schema_revision__descriptor) \
  11224. + , NULL, NULL, NULL }
  11225. +
  11226. +
  11227. +/*
  11228. + **
  11229. + * @brief Schema submodule information.
  11230. + */
  11231. +struct _Sr__SchemaSubmodule
  11232. +{
  11233. + ProtobufCMessage base;
  11234. + /*
  11235. + **< Submodule name
  11236. + */
  11237. + char *submodule_name;
  11238. + /*
  11239. + **< Revision of the submodule
  11240. + */
  11241. + Sr__SchemaRevision *revision;
  11242. +};
  11243. +#define SR__SCHEMA_SUBMODULE__INIT \
  11244. + { PROTOBUF_C_MESSAGE_INIT (&sr__schema_submodule__descriptor) \
  11245. + , NULL, NULL }
  11246. +
  11247. +
  11248. +/*
  11249. + **
  11250. + * @brief Information about a schema installed in sysrepo datastore.
  11251. + */
  11252. +struct _Sr__Schema
  11253. +{
  11254. + ProtobufCMessage base;
  11255. + /*
  11256. + **< Name of the module.
  11257. + */
  11258. + char *module_name;
  11259. + /*
  11260. + **< Namespace of the module.
  11261. + */
  11262. + char *ns;
  11263. + /*
  11264. + **< Prefix of he module.
  11265. + */
  11266. + char *prefix;
  11267. + /*
  11268. + **< TRUE only for explicitly installed modules (those are always implemented).
  11269. + */
  11270. + protobuf_c_boolean installed;
  11271. + /*
  11272. + **< TRUE for implemented modules (do not have to be installed if they have augments,
  11273. + *deviations or are targets for leafrefs of other implemented modules).
  11274. + */
  11275. + protobuf_c_boolean implemented;
  11276. + /*
  11277. + **< Revision of the module
  11278. + */
  11279. + Sr__SchemaRevision *revision;
  11280. + /*
  11281. + **< Submodules
  11282. + */
  11283. + size_t n_submodules;
  11284. + Sr__SchemaSubmodule **submodules;
  11285. + /*
  11286. + **< Features enabled for the module
  11287. + */
  11288. + size_t n_enabled_features;
  11289. + char **enabled_features;
  11290. +};
  11291. +#define SR__SCHEMA__INIT \
  11292. + { PROTOBUF_C_MESSAGE_INIT (&sr__schema__descriptor) \
  11293. + , NULL, NULL, NULL, 0, 0, NULL, 0,NULL, 0,NULL }
  11294. +
  11295. +
  11296. +/*
  11297. + **
  11298. + * @brief Retrieves an array of schemas installed in the sysrepo datastore.
  11299. + * Sent by sr_list_schemas API call.
  11300. + */
  11301. +struct _Sr__ListSchemasReq
  11302. +{
  11303. + ProtobufCMessage base;
  11304. +};
  11305. +#define SR__LIST_SCHEMAS_REQ__INIT \
  11306. + { PROTOBUF_C_MESSAGE_INIT (&sr__list_schemas_req__descriptor) \
  11307. + }
  11308. +
  11309. +
  11310. +/*
  11311. + **
  11312. + * @brief Response to sr_list_schemas request.
  11313. + */
  11314. +struct _Sr__ListSchemasResp
  11315. +{
  11316. + ProtobufCMessage base;
  11317. + size_t n_schemas;
  11318. + Sr__Schema **schemas;
  11319. +};
  11320. +#define SR__LIST_SCHEMAS_RESP__INIT \
  11321. + { PROTOBUF_C_MESSAGE_INIT (&sr__list_schemas_resp__descriptor) \
  11322. + , 0,NULL }
  11323. +
  11324. +
  11325. +/*
  11326. + **
  11327. + * @brief Retrieves the content of specified schema file.
  11328. + * Sent by sr_get_schema API call.
  11329. + */
  11330. +struct _Sr__GetSchemaReq
  11331. +{
  11332. + ProtobufCMessage base;
  11333. + char *module_name;
  11334. + char *revision;
  11335. + char *submodule_name;
  11336. + char *submodule_revision;
  11337. + protobuf_c_boolean yang_format;
  11338. +};
  11339. +#define SR__GET_SCHEMA_REQ__INIT \
  11340. + { PROTOBUF_C_MESSAGE_INIT (&sr__get_schema_req__descriptor) \
  11341. + , NULL, NULL, NULL, NULL, 0 }
  11342. +
  11343. +
  11344. +/*
  11345. + **
  11346. + * @brief Response to sr_get_schema request.
  11347. + */
  11348. +struct _Sr__GetSchemaResp
  11349. +{
  11350. + ProtobufCMessage base;
  11351. + char *schema_content;
  11352. +};
  11353. +#define SR__GET_SCHEMA_RESP__INIT \
  11354. + { PROTOBUF_C_MESSAGE_INIT (&sr__get_schema_resp__descriptor) \
  11355. + , NULL }
  11356. +
  11357. +
  11358. +/*
  11359. + **
  11360. + * @brief Retrieves a single data element stored under provided path.
  11361. + * Sent by sr_get_item API call.
  11362. + */
  11363. +struct _Sr__GetItemReq
  11364. +{
  11365. + ProtobufCMessage base;
  11366. + char *xpath;
  11367. +};
  11368. +#define SR__GET_ITEM_REQ__INIT \
  11369. + { PROTOBUF_C_MESSAGE_INIT (&sr__get_item_req__descriptor) \
  11370. + , NULL }
  11371. +
  11372. +
  11373. +/*
  11374. + **
  11375. + * @brief Response to get_item request.
  11376. + */
  11377. +struct _Sr__GetItemResp
  11378. +{
  11379. + ProtobufCMessage base;
  11380. + Sr__Value *value;
  11381. +};
  11382. +#define SR__GET_ITEM_RESP__INIT \
  11383. + { PROTOBUF_C_MESSAGE_INIT (&sr__get_item_resp__descriptor) \
  11384. + , NULL }
  11385. +
  11386. +
  11387. +/*
  11388. + **
  11389. + * @brief Retrieves an array of data elements stored under provided path.
  11390. + * Sent by sr_get_items and sr_get_items_iter API calls.
  11391. + */
  11392. +struct _Sr__GetItemsReq
  11393. +{
  11394. + ProtobufCMessage base;
  11395. + char *xpath;
  11396. + /*
  11397. + * The options below are applicable only for sr_get_items_iter
  11398. + * (not set by sr_get_items).
  11399. + */
  11400. + protobuf_c_boolean has_limit;
  11401. + uint32_t limit;
  11402. + protobuf_c_boolean has_offset;
  11403. + uint32_t offset;
  11404. +};
  11405. +#define SR__GET_ITEMS_REQ__INIT \
  11406. + { PROTOBUF_C_MESSAGE_INIT (&sr__get_items_req__descriptor) \
  11407. + , NULL, 0,0, 0,0 }
  11408. +
  11409. +
  11410. +/*
  11411. + **
  11412. + * @brief Response to get_items / sr_get_items_iter request.
  11413. + */
  11414. +struct _Sr__GetItemsResp
  11415. +{
  11416. + ProtobufCMessage base;
  11417. + size_t n_values;
  11418. + Sr__Value **values;
  11419. +};
  11420. +#define SR__GET_ITEMS_RESP__INIT \
  11421. + { PROTOBUF_C_MESSAGE_INIT (&sr__get_items_resp__descriptor) \
  11422. + , 0,NULL }
  11423. +
  11424. +
  11425. +/*
  11426. + **
  11427. + * @brief Retrieves a single subtree whose root is stored under provided path.
  11428. + * Sent by sr_get_subtree API call.
  11429. + */
  11430. +struct _Sr__GetSubtreeReq
  11431. +{
  11432. + ProtobufCMessage base;
  11433. + char *xpath;
  11434. +};
  11435. +#define SR__GET_SUBTREE_REQ__INIT \
  11436. + { PROTOBUF_C_MESSAGE_INIT (&sr__get_subtree_req__descriptor) \
  11437. + , NULL }
  11438. +
  11439. +
  11440. +/*
  11441. + **
  11442. + * @brief Response to sr_get_subtree request.
  11443. + */
  11444. +struct _Sr__GetSubtreeResp
  11445. +{
  11446. + ProtobufCMessage base;
  11447. + Sr__Node *tree;
  11448. +};
  11449. +#define SR__GET_SUBTREE_RESP__INIT \
  11450. + { PROTOBUF_C_MESSAGE_INIT (&sr__get_subtree_resp__descriptor) \
  11451. + , NULL }
  11452. +
  11453. +
  11454. +/*
  11455. + **
  11456. + * @brief Retrieves an array of subtrees whose root nodes match provided path.
  11457. + * Sent by sr_get_subtrees API call.
  11458. + */
  11459. +struct _Sr__GetSubtreesReq
  11460. +{
  11461. + ProtobufCMessage base;
  11462. + char *xpath;
  11463. +};
  11464. +#define SR__GET_SUBTREES_REQ__INIT \
  11465. + { PROTOBUF_C_MESSAGE_INIT (&sr__get_subtrees_req__descriptor) \
  11466. + , NULL }
  11467. +
  11468. +
  11469. +/*
  11470. + **
  11471. + * @brief Response to sr_get_subtrees request.
  11472. + */
  11473. +struct _Sr__GetSubtreesResp
  11474. +{
  11475. + ProtobufCMessage base;
  11476. + size_t n_trees;
  11477. + Sr__Node **trees;
  11478. +};
  11479. +#define SR__GET_SUBTREES_RESP__INIT \
  11480. + { PROTOBUF_C_MESSAGE_INIT (&sr__get_subtrees_resp__descriptor) \
  11481. + , 0,NULL }
  11482. +
  11483. +
  11484. +/*
  11485. + **
  11486. + * @brief Retrieves a chunk of a single or multiple subtrees.
  11487. + * A subtree chunk is also a tree, where the root node is the node referenced by XPath,
  11488. + * the next level consists of its children skipping the first "slice_offset" nodes and including
  11489. + * at most "slice_limit" nodes, while the remaining (depth_limit-2) levels always start with
  11490. + * the first child (slice_offset is ignored) and include at most "child_limit" nodes.
  11491. + * The chunk consists of at most "depth_limit" levels.
  11492. + * @note Order of child nodes depends on the libyang implementation.
  11493. + */
  11494. +struct _Sr__GetSubtreeChunkReq
  11495. +{
  11496. + ProtobufCMessage base;
  11497. + char *xpath;
  11498. + protobuf_c_boolean single;
  11499. + uint32_t slice_offset;
  11500. + uint32_t slice_width;
  11501. + uint32_t child_limit;
  11502. + uint32_t depth_limit;
  11503. +};
  11504. +#define SR__GET_SUBTREE_CHUNK_REQ__INIT \
  11505. + { PROTOBUF_C_MESSAGE_INIT (&sr__get_subtree_chunk_req__descriptor) \
  11506. + , NULL, 0, 0, 0, 0, 0 }
  11507. +
  11508. +
  11509. +/*
  11510. + **
  11511. + * @brief Response to sr_get_subtree_chunk request.
  11512. + */
  11513. +struct _Sr__GetSubtreeChunkResp
  11514. +{
  11515. + ProtobufCMessage base;
  11516. + /*
  11517. + **< JSON node-id of the root node for each subtree chunk
  11518. + */
  11519. + size_t n_xpath;
  11520. + char **xpath;
  11521. + /*
  11522. + **< first chunk may carry mutliple trees
  11523. + */
  11524. + size_t n_chunk;
  11525. + Sr__Node **chunk;
  11526. +};
  11527. +#define SR__GET_SUBTREE_CHUNK_RESP__INIT \
  11528. + { PROTOBUF_C_MESSAGE_INIT (&sr__get_subtree_chunk_resp__descriptor) \
  11529. + , 0,NULL, 0,NULL }
  11530. +
  11531. +
  11532. +/*
  11533. + **
  11534. + * @brief Sets the value of the leaf, leaf-list or presence container.
  11535. + * Sent by sr_set_item API call.
  11536. + */
  11537. +struct _Sr__SetItemReq
  11538. +{
  11539. + ProtobufCMessage base;
  11540. + char *xpath;
  11541. + Sr__Value *value;
  11542. + /*
  11543. + **< Bitwise OR of EditFlags
  11544. + */
  11545. + uint32_t options;
  11546. +};
  11547. +#define SR__SET_ITEM_REQ__INIT \
  11548. + { PROTOBUF_C_MESSAGE_INIT (&sr__set_item_req__descriptor) \
  11549. + , NULL, NULL, 0 }
  11550. +
  11551. +
  11552. +/*
  11553. + **
  11554. + * @brief Response to sr_set_item request.
  11555. + */
  11556. +struct _Sr__SetItemResp
  11557. +{
  11558. + ProtobufCMessage base;
  11559. +};
  11560. +#define SR__SET_ITEM_RESP__INIT \
  11561. + { PROTOBUF_C_MESSAGE_INIT (&sr__set_item_resp__descriptor) \
  11562. + }
  11563. +
  11564. +
  11565. +/*
  11566. + **
  11567. + * @brief Sets the value of the leaf, leaf-list or presence container.
  11568. + * The value is transferred as string.
  11569. + * Sent by sr_set_item_str API call.
  11570. + */
  11571. +struct _Sr__SetItemStrReq
  11572. +{
  11573. + ProtobufCMessage base;
  11574. + char *xpath;
  11575. + char *value;
  11576. + /*
  11577. + **< Bitwise OR of EditFlags
  11578. + */
  11579. + uint32_t options;
  11580. +};
  11581. +#define SR__SET_ITEM_STR_REQ__INIT \
  11582. + { PROTOBUF_C_MESSAGE_INIT (&sr__set_item_str_req__descriptor) \
  11583. + , NULL, NULL, 0 }
  11584. +
  11585. +
  11586. +/*
  11587. + **
  11588. + * @brief Response to sr_set_item_str request.
  11589. + */
  11590. +struct _Sr__SetItemStrResp
  11591. +{
  11592. + ProtobufCMessage base;
  11593. +};
  11594. +#define SR__SET_ITEM_STR_RESP__INIT \
  11595. + { PROTOBUF_C_MESSAGE_INIT (&sr__set_item_str_resp__descriptor) \
  11596. + }
  11597. +
  11598. +
  11599. +/*
  11600. + **
  11601. + * @brief Deletes the nodes under the specified xpath.
  11602. + * Sent by sr_delete_item API call.
  11603. + */
  11604. +struct _Sr__DeleteItemReq
  11605. +{
  11606. + ProtobufCMessage base;
  11607. + char *xpath;
  11608. + /*
  11609. + **< Bitwise OR of EditFlags
  11610. + */
  11611. + uint32_t options;
  11612. +};
  11613. +#define SR__DELETE_ITEM_REQ__INIT \
  11614. + { PROTOBUF_C_MESSAGE_INIT (&sr__delete_item_req__descriptor) \
  11615. + , NULL, 0 }
  11616. +
  11617. +
  11618. +/*
  11619. + **
  11620. + * @brief Response to sr_delete_item request.
  11621. + */
  11622. +struct _Sr__DeleteItemResp
  11623. +{
  11624. + ProtobufCMessage base;
  11625. +};
  11626. +#define SR__DELETE_ITEM_RESP__INIT \
  11627. + { PROTOBUF_C_MESSAGE_INIT (&sr__delete_item_resp__descriptor) \
  11628. + }
  11629. +
  11630. +
  11631. +/*
  11632. + **
  11633. + * @brief Move the instance of an ordered list in specified direction.
  11634. + * Sent by sr_move_item API call.
  11635. + */
  11636. +struct _Sr__MoveItemReq
  11637. +{
  11638. + ProtobufCMessage base;
  11639. + char *xpath;
  11640. + Sr__MoveItemReq__MovePosition position;
  11641. + char *relative_item;
  11642. +};
  11643. +#define SR__MOVE_ITEM_REQ__INIT \
  11644. + { PROTOBUF_C_MESSAGE_INIT (&sr__move_item_req__descriptor) \
  11645. + , NULL, 0, NULL }
  11646. +
  11647. +
  11648. +/*
  11649. + **
  11650. + * @brief Response to sr_move_item request.
  11651. + */
  11652. +struct _Sr__MoveItemResp
  11653. +{
  11654. + ProtobufCMessage base;
  11655. +};
  11656. +#define SR__MOVE_ITEM_RESP__INIT \
  11657. + { PROTOBUF_C_MESSAGE_INIT (&sr__move_item_resp__descriptor) \
  11658. + }
  11659. +
  11660. +
  11661. +/*
  11662. + **
  11663. + * @brief Perform the validation of changes made in current session, but do not
  11664. + * commit nor discard them. Sent by sr_validate API call.
  11665. + */
  11666. +struct _Sr__ValidateReq
  11667. +{
  11668. + ProtobufCMessage base;
  11669. +};
  11670. +#define SR__VALIDATE_REQ__INIT \
  11671. + { PROTOBUF_C_MESSAGE_INIT (&sr__validate_req__descriptor) \
  11672. + }
  11673. +
  11674. +
  11675. +/*
  11676. + **
  11677. + * @brief Response to sr_validate request.
  11678. + */
  11679. +struct _Sr__ValidateResp
  11680. +{
  11681. + ProtobufCMessage base;
  11682. + size_t n_errors;
  11683. + Sr__Error **errors;
  11684. +};
  11685. +#define SR__VALIDATE_RESP__INIT \
  11686. + { PROTOBUF_C_MESSAGE_INIT (&sr__validate_resp__descriptor) \
  11687. + , 0,NULL }
  11688. +
  11689. +
  11690. +/*
  11691. + **
  11692. + * @brief Apply changes made in current session.
  11693. + * Sent by sr_commit API call.
  11694. + */
  11695. +struct _Sr__CommitReq
  11696. +{
  11697. + ProtobufCMessage base;
  11698. +};
  11699. +#define SR__COMMIT_REQ__INIT \
  11700. + { PROTOBUF_C_MESSAGE_INIT (&sr__commit_req__descriptor) \
  11701. + }
  11702. +
  11703. +
  11704. +/*
  11705. + **
  11706. + * @brief Response to sr_commit request.
  11707. + */
  11708. +struct _Sr__CommitResp
  11709. +{
  11710. + ProtobufCMessage base;
  11711. + size_t n_errors;
  11712. + Sr__Error **errors;
  11713. +};
  11714. +#define SR__COMMIT_RESP__INIT \
  11715. + { PROTOBUF_C_MESSAGE_INIT (&sr__commit_resp__descriptor) \
  11716. + , 0,NULL }
  11717. +
  11718. +
  11719. +/*
  11720. + **
  11721. + * @brief Discard non-committed changes made in current session.
  11722. + * Sent by sr_discard_changes API call.
  11723. + */
  11724. +struct _Sr__DiscardChangesReq
  11725. +{
  11726. + ProtobufCMessage base;
  11727. +};
  11728. +#define SR__DISCARD_CHANGES_REQ__INIT \
  11729. + { PROTOBUF_C_MESSAGE_INIT (&sr__discard_changes_req__descriptor) \
  11730. + }
  11731. +
  11732. +
  11733. +/*
  11734. + **
  11735. + * @brief Response to sr_discard_changes request.
  11736. + */
  11737. +struct _Sr__DiscardChangesResp
  11738. +{
  11739. + ProtobufCMessage base;
  11740. +};
  11741. +#define SR__DISCARD_CHANGES_RESP__INIT \
  11742. + { PROTOBUF_C_MESSAGE_INIT (&sr__discard_changes_resp__descriptor) \
  11743. + }
  11744. +
  11745. +
  11746. +/*
  11747. + **
  11748. + * @brief Replaces an entire configuration datastore with the contents of
  11749. + * another complete configuration datastore. Sent by sr_copy_config request.
  11750. + */
  11751. +struct _Sr__CopyConfigReq
  11752. +{
  11753. + ProtobufCMessage base;
  11754. + Sr__DataStore src_datastore;
  11755. + Sr__DataStore dst_datastore;
  11756. + /*
  11757. + **< If not specified, the operation is performed on all
  11758. + *modules that are currently active in the source datastore
  11759. + */
  11760. + char *module_name;
  11761. +};
  11762. +#define SR__COPY_CONFIG_REQ__INIT \
  11763. + { PROTOBUF_C_MESSAGE_INIT (&sr__copy_config_req__descriptor) \
  11764. + , 0, 0, NULL }
  11765. +
  11766. +
  11767. +/*
  11768. + **
  11769. + * @brief Response to sr_copy_config request.
  11770. + */
  11771. +struct _Sr__CopyConfigResp
  11772. +{
  11773. + ProtobufCMessage base;
  11774. + size_t n_errors;
  11775. + Sr__Error **errors;
  11776. +};
  11777. +#define SR__COPY_CONFIG_RESP__INIT \
  11778. + { PROTOBUF_C_MESSAGE_INIT (&sr__copy_config_resp__descriptor) \
  11779. + , 0,NULL }
  11780. +
  11781. +
  11782. +/*
  11783. + **
  11784. + * @brief Locks specified data model or the datastore which the session is tied to.
  11785. + * Sent by sr_lock_datastore and sr_lock_model API calls.
  11786. + */
  11787. +struct _Sr__LockReq
  11788. +{
  11789. + ProtobufCMessage base;
  11790. + /*
  11791. + **< If module name is not set, LockReq locks whole datastore.
  11792. + */
  11793. + char *module_name;
  11794. +};
  11795. +#define SR__LOCK_REQ__INIT \
  11796. + { PROTOBUF_C_MESSAGE_INIT (&sr__lock_req__descriptor) \
  11797. + , NULL }
  11798. +
  11799. +
  11800. +/*
  11801. + **
  11802. + * @brief Response to sr_lock_datastore or sr_lock_model request.
  11803. + */
  11804. +struct _Sr__LockResp
  11805. +{
  11806. + ProtobufCMessage base;
  11807. +};
  11808. +#define SR__LOCK_RESP__INIT \
  11809. + { PROTOBUF_C_MESSAGE_INIT (&sr__lock_resp__descriptor) \
  11810. + }
  11811. +
  11812. +
  11813. +/*
  11814. + **
  11815. + * @brief Unlocks specified data model or the datastore which the session is tied to.
  11816. + * Sent by sr_unlock_datastore and sr_unlock_model API calls.
  11817. + */
  11818. +struct _Sr__UnlockReq
  11819. +{
  11820. + ProtobufCMessage base;
  11821. + /*
  11822. + **< If module name is not set, UnlockReq unlocks whole datastore.
  11823. + */
  11824. + char *module_name;
  11825. +};
  11826. +#define SR__UNLOCK_REQ__INIT \
  11827. + { PROTOBUF_C_MESSAGE_INIT (&sr__unlock_req__descriptor) \
  11828. + , NULL }
  11829. +
  11830. +
  11831. +/*
  11832. + **
  11833. + * @brief Response to sr_lock_datastore or sr_lock_model request.
  11834. + */
  11835. +struct _Sr__UnlockResp
  11836. +{
  11837. + ProtobufCMessage base;
  11838. +};
  11839. +#define SR__UNLOCK_RESP__INIT \
  11840. + { PROTOBUF_C_MESSAGE_INIT (&sr__unlock_resp__descriptor) \
  11841. + }
  11842. +
  11843. +
  11844. +struct _Sr__SubscribeReq
  11845. +{
  11846. + ProtobufCMessage base;
  11847. + Sr__SubscriptionType type;
  11848. + char *destination;
  11849. + uint32_t subscription_id;
  11850. + char *module_name;
  11851. + char *xpath;
  11852. + protobuf_c_boolean has_notif_event;
  11853. + Sr__NotificationEvent notif_event;
  11854. + protobuf_c_boolean has_priority;
  11855. + uint32_t priority;
  11856. + protobuf_c_boolean has_enable_running;
  11857. + protobuf_c_boolean enable_running;
  11858. + protobuf_c_boolean has_enable_event;
  11859. + protobuf_c_boolean enable_event;
  11860. + Sr__ApiVariant api_variant;
  11861. +};
  11862. +#define SR__SUBSCRIBE_REQ__INIT \
  11863. + { PROTOBUF_C_MESSAGE_INIT (&sr__subscribe_req__descriptor) \
  11864. + , 0, NULL, 0, NULL, NULL, 0,0, 0,0, 0,0, 0,0, 0 }
  11865. +
  11866. +
  11867. +struct _Sr__SubscribeResp
  11868. +{
  11869. + ProtobufCMessage base;
  11870. +};
  11871. +#define SR__SUBSCRIBE_RESP__INIT \
  11872. + { PROTOBUF_C_MESSAGE_INIT (&sr__subscribe_resp__descriptor) \
  11873. + }
  11874. +
  11875. +
  11876. +struct _Sr__UnsubscribeReq
  11877. +{
  11878. + ProtobufCMessage base;
  11879. + Sr__SubscriptionType type;
  11880. + char *destination;
  11881. + uint32_t subscription_id;
  11882. + char *module_name;
  11883. +};
  11884. +#define SR__UNSUBSCRIBE_REQ__INIT \
  11885. + { PROTOBUF_C_MESSAGE_INIT (&sr__unsubscribe_req__descriptor) \
  11886. + , 0, NULL, 0, NULL }
  11887. +
  11888. +
  11889. +struct _Sr__UnsubscribeResp
  11890. +{
  11891. + ProtobufCMessage base;
  11892. +};
  11893. +#define SR__UNSUBSCRIBE_RESP__INIT \
  11894. + { PROTOBUF_C_MESSAGE_INIT (&sr__unsubscribe_resp__descriptor) \
  11895. + }
  11896. +
  11897. +
  11898. +/*
  11899. + **
  11900. + * @brief Checks whether the module has any enabled subtree.
  11901. + * Sent by sr_check_enabled_running.
  11902. + */
  11903. +struct _Sr__CheckEnabledRunningReq
  11904. +{
  11905. + ProtobufCMessage base;
  11906. + char *module_name;
  11907. +};
  11908. +#define SR__CHECK_ENABLED_RUNNING_REQ__INIT \
  11909. + { PROTOBUF_C_MESSAGE_INIT (&sr__check_enabled_running_req__descriptor) \
  11910. + , NULL }
  11911. +
  11912. +
  11913. +struct _Sr__CheckEnabledRunningResp
  11914. +{
  11915. + ProtobufCMessage base;
  11916. + protobuf_c_boolean enabled;
  11917. +};
  11918. +#define SR__CHECK_ENABLED_RUNNING_RESP__INIT \
  11919. + { PROTOBUF_C_MESSAGE_INIT (&sr__check_enabled_running_resp__descriptor) \
  11920. + , 0 }
  11921. +
  11922. +
  11923. +struct _Sr__ModuleInstallNotification
  11924. +{
  11925. + ProtobufCMessage base;
  11926. + char *module_name;
  11927. + char *revision;
  11928. + Sr__ModuleState state;
  11929. +};
  11930. +#define SR__MODULE_INSTALL_NOTIFICATION__INIT \
  11931. + { PROTOBUF_C_MESSAGE_INIT (&sr__module_install_notification__descriptor) \
  11932. + , NULL, NULL, 0 }
  11933. +
  11934. +
  11935. +struct _Sr__FeatureEnableNotification
  11936. +{
  11937. + ProtobufCMessage base;
  11938. + char *module_name;
  11939. + char *feature_name;
  11940. + protobuf_c_boolean enabled;
  11941. +};
  11942. +#define SR__FEATURE_ENABLE_NOTIFICATION__INIT \
  11943. + { PROTOBUF_C_MESSAGE_INIT (&sr__feature_enable_notification__descriptor) \
  11944. + , NULL, NULL, 0 }
  11945. +
  11946. +
  11947. +struct _Sr__ModuleChangeNotification
  11948. +{
  11949. + ProtobufCMessage base;
  11950. + Sr__NotificationEvent event;
  11951. + char *module_name;
  11952. +};
  11953. +#define SR__MODULE_CHANGE_NOTIFICATION__INIT \
  11954. + { PROTOBUF_C_MESSAGE_INIT (&sr__module_change_notification__descriptor) \
  11955. + , 0, NULL }
  11956. +
  11957. +
  11958. +struct _Sr__SubtreeChangeNotification
  11959. +{
  11960. + ProtobufCMessage base;
  11961. + Sr__NotificationEvent event;
  11962. + char *xpath;
  11963. +};
  11964. +#define SR__SUBTREE_CHANGE_NOTIFICATION__INIT \
  11965. + { PROTOBUF_C_MESSAGE_INIT (&sr__subtree_change_notification__descriptor) \
  11966. + , 0, NULL }
  11967. +
  11968. +
  11969. +struct _Sr__Change
  11970. +{
  11971. + ProtobufCMessage base;
  11972. + Sr__ChangeOperation changeoperation;
  11973. + Sr__Value *new_value;
  11974. + Sr__Value *old_value;
  11975. +};
  11976. +#define SR__CHANGE__INIT \
  11977. + { PROTOBUF_C_MESSAGE_INIT (&sr__change__descriptor) \
  11978. + , 0, NULL, NULL }
  11979. +
  11980. +
  11981. +/*
  11982. + **
  11983. + * @brief Retrieves an array of changes made under provided path.
  11984. + * Sent by sr_get_changes_iter or sr_get_change_next API calls.
  11985. + */
  11986. +struct _Sr__GetChangesReq
  11987. +{
  11988. + ProtobufCMessage base;
  11989. + char *xpath;
  11990. + uint32_t limit;
  11991. + uint32_t offset;
  11992. +};
  11993. +#define SR__GET_CHANGES_REQ__INIT \
  11994. + { PROTOBUF_C_MESSAGE_INIT (&sr__get_changes_req__descriptor) \
  11995. + , NULL, 0, 0 }
  11996. +
  11997. +
  11998. +/*
  11999. + **
  12000. + * @brief Response to get_changes request.
  12001. + */
  12002. +struct _Sr__GetChangesResp
  12003. +{
  12004. + ProtobufCMessage base;
  12005. + size_t n_changes;
  12006. + Sr__Change **changes;
  12007. +};
  12008. +#define SR__GET_CHANGES_RESP__INIT \
  12009. + { PROTOBUF_C_MESSAGE_INIT (&sr__get_changes_resp__descriptor) \
  12010. + , 0,NULL }
  12011. +
  12012. +
  12013. +/*
  12014. + **
  12015. + * @brief Sends a request to check if the owner of this session is authorized to invoke
  12016. + * the protocol operation referenced by the xpath.
  12017. + * Sent by sr_check_exec_permission.
  12018. + */
  12019. +struct _Sr__CheckExecPermReq
  12020. +{
  12021. + ProtobufCMessage base;
  12022. + char *xpath;
  12023. +};
  12024. +#define SR__CHECK_EXEC_PERM_REQ__INIT \
  12025. + { PROTOBUF_C_MESSAGE_INIT (&sr__check_exec_perm_req__descriptor) \
  12026. + , NULL }
  12027. +
  12028. +
  12029. +/*
  12030. + **
  12031. + * @brief Response to sr_check_exec_permission request.
  12032. + */
  12033. +struct _Sr__CheckExecPermResp
  12034. +{
  12035. + ProtobufCMessage base;
  12036. + protobuf_c_boolean permitted;
  12037. +};
  12038. +#define SR__CHECK_EXEC_PERM_RESP__INIT \
  12039. + { PROTOBUF_C_MESSAGE_INIT (&sr__check_exec_perm_resp__descriptor) \
  12040. + , 0 }
  12041. +
  12042. +
  12043. +/*
  12044. + **
  12045. + * @brief Sends a RPC / action request into the datastore, will be delivered to the RPC subscriber.
  12046. + * Sent by sr_rpc_send / sr_rpc_send_tree and sr_action_send / sr_action_send_tree API calls.
  12047. + */
  12048. +struct _Sr__RPCReq
  12049. +{
  12050. + ProtobufCMessage base;
  12051. + protobuf_c_boolean action;
  12052. + char *xpath;
  12053. + /*
  12054. + **< which API variant was used to send RPC req.
  12055. + */
  12056. + Sr__ApiVariant orig_api_variant;
  12057. + size_t n_input;
  12058. + Sr__Value **input;
  12059. + size_t n_input_tree;
  12060. + Sr__Node **input_tree;
  12061. + char *subscriber_address;
  12062. + protobuf_c_boolean has_subscription_id;
  12063. + uint32_t subscription_id;
  12064. +};
  12065. +#define SR__RPCREQ__INIT \
  12066. + { PROTOBUF_C_MESSAGE_INIT (&sr__rpcreq__descriptor) \
  12067. + , 0, NULL, 0, 0,NULL, 0,NULL, NULL, 0,0 }
  12068. +
  12069. +
  12070. +/*
  12071. + **
  12072. + * @brief Response to sr_rpc_send / sr_rpc_send_tree or sr_action_send / sr_action_send_tree request.
  12073. + */
  12074. +struct _Sr__RPCResp
  12075. +{
  12076. + ProtobufCMessage base;
  12077. + protobuf_c_boolean action;
  12078. + char *xpath;
  12079. + /*
  12080. + **< which API variant was used to send RPC req.
  12081. + */
  12082. + Sr__ApiVariant orig_api_variant;
  12083. + size_t n_output;
  12084. + Sr__Value **output;
  12085. + size_t n_output_tree;
  12086. + Sr__Node **output_tree;
  12087. +};
  12088. +#define SR__RPCRESP__INIT \
  12089. + { PROTOBUF_C_MESSAGE_INIT (&sr__rpcresp__descriptor) \
  12090. + , 0, NULL, 0, 0,NULL, 0,NULL }
  12091. +
  12092. +
  12093. +/*
  12094. + **
  12095. + * @brief Sends an event notification into the datastore, will be delivered to all notification subscribers.
  12096. + * Sent by sr_event_notif_send API call.
  12097. + */
  12098. +struct _Sr__EventNotifReq
  12099. +{
  12100. + ProtobufCMessage base;
  12101. + Sr__EventNotifReq__NotifType type;
  12102. + /*
  12103. + **< Bitwise OR of NotifFlags.
  12104. + */
  12105. + uint32_t options;
  12106. + char *xpath;
  12107. + size_t n_values;
  12108. + Sr__Value **values;
  12109. + size_t n_trees;
  12110. + Sr__Node **trees;
  12111. + uint64_t timestamp;
  12112. + char *subscriber_address;
  12113. + protobuf_c_boolean has_subscription_id;
  12114. + uint32_t subscription_id;
  12115. + protobuf_c_boolean do_not_send_reply;
  12116. +};
  12117. +#define SR__EVENT_NOTIF_REQ__INIT \
  12118. + { PROTOBUF_C_MESSAGE_INIT (&sr__event_notif_req__descriptor) \
  12119. + , 0, 0, NULL, 0,NULL, 0,NULL, 0, NULL, 0,0, 0 }
  12120. +
  12121. +
  12122. +/*
  12123. + **
  12124. + * @brief Response to sr_event_notif_send request.
  12125. + */
  12126. +struct _Sr__EventNotifResp
  12127. +{
  12128. + ProtobufCMessage base;
  12129. +};
  12130. +#define SR__EVENT_NOTIF_RESP__INIT \
  12131. + { PROTOBUF_C_MESSAGE_INIT (&sr__event_notif_resp__descriptor) \
  12132. + }
  12133. +
  12134. +
  12135. +/*
  12136. + **
  12137. + * @brief Sends a request to replay event notifications stored in the datastore.
  12138. + * Sent by sr_event_notif_replay API call.
  12139. + */
  12140. +struct _Sr__EventNotifReplayReq
  12141. +{
  12142. + ProtobufCMessage base;
  12143. + char *xpath;
  12144. + uint64_t start_time;
  12145. + uint64_t stop_time;
  12146. + char *subscriber_address;
  12147. + uint32_t subscription_id;
  12148. + Sr__ApiVariant api_variant;
  12149. +};
  12150. +#define SR__EVENT_NOTIF_REPLAY_REQ__INIT \
  12151. + { PROTOBUF_C_MESSAGE_INIT (&sr__event_notif_replay_req__descriptor) \
  12152. + , NULL, 0, 0, NULL, 0, 0 }
  12153. +
  12154. +
  12155. +/*
  12156. + **
  12157. + * @brief Response to sr_event_notif_replay request.
  12158. + */
  12159. +struct _Sr__EventNotifReplayResp
  12160. +{
  12161. + ProtobufCMessage base;
  12162. +};
  12163. +#define SR__EVENT_NOTIF_REPLAY_RESP__INIT \
  12164. + { PROTOBUF_C_MESSAGE_INIT (&sr__event_notif_replay_resp__descriptor) \
  12165. + }
  12166. +
  12167. +
  12168. +/*
  12169. + **
  12170. + * @brief Requests operational data under given path form an operational data
  12171. + * provider.
  12172. + */
  12173. +struct _Sr__DataProvideReq
  12174. +{
  12175. + ProtobufCMessage base;
  12176. + char *xpath;
  12177. + char *subscriber_address;
  12178. + uint32_t subscription_id;
  12179. + uint64_t request_id;
  12180. +};
  12181. +#define SR__DATA_PROVIDE_REQ__INIT \
  12182. + { PROTOBUF_C_MESSAGE_INIT (&sr__data_provide_req__descriptor) \
  12183. + , NULL, NULL, 0, 0 }
  12184. +
  12185. +
  12186. +/*
  12187. + **
  12188. + * @brief Response to a request of operational data under given path form an
  12189. + * operational data provider.
  12190. + */
  12191. +struct _Sr__DataProvideResp
  12192. +{
  12193. + ProtobufCMessage base;
  12194. + char *xpath;
  12195. + size_t n_values;
  12196. + Sr__Value **values;
  12197. + uint64_t request_id;
  12198. +};
  12199. +#define SR__DATA_PROVIDE_RESP__INIT \
  12200. + { PROTOBUF_C_MESSAGE_INIT (&sr__data_provide_resp__descriptor) \
  12201. + , NULL, 0,NULL, 0 }
  12202. +
  12203. +
  12204. +/*
  12205. + **
  12206. + * @brief Requests installation / uinstallation of specified YANG model.
  12207. + * Sent by sr_module_install internal API calls.
  12208. + */
  12209. +struct _Sr__ModuleInstallReq
  12210. +{
  12211. + ProtobufCMessage base;
  12212. + char *module_name;
  12213. + char *revision;
  12214. + char *file_name;
  12215. + protobuf_c_boolean installed;
  12216. +};
  12217. +#define SR__MODULE_INSTALL_REQ__INIT \
  12218. + { PROTOBUF_C_MESSAGE_INIT (&sr__module_install_req__descriptor) \
  12219. + , NULL, NULL, NULL, 0 }
  12220. +
  12221. +
  12222. +/*
  12223. + **
  12224. + * @brief Response to sr_module_install request.
  12225. + */
  12226. +struct _Sr__ModuleInstallResp
  12227. +{
  12228. + ProtobufCMessage base;
  12229. +};
  12230. +#define SR__MODULE_INSTALL_RESP__INIT \
  12231. + { PROTOBUF_C_MESSAGE_INIT (&sr__module_install_resp__descriptor) \
  12232. + }
  12233. +
  12234. +
  12235. +/*
  12236. + **
  12237. + * @brief Requests enabling / disabling of specified YANG feature within the
  12238. + * YANG model. Sent by sr_feature_enable internal API calls.
  12239. + */
  12240. +struct _Sr__FeatureEnableReq
  12241. +{
  12242. + ProtobufCMessage base;
  12243. + char *module_name;
  12244. + char *feature_name;
  12245. + protobuf_c_boolean enabled;
  12246. +};
  12247. +#define SR__FEATURE_ENABLE_REQ__INIT \
  12248. + { PROTOBUF_C_MESSAGE_INIT (&sr__feature_enable_req__descriptor) \
  12249. + , NULL, NULL, 0 }
  12250. +
  12251. +
  12252. +/*
  12253. + **
  12254. + * @brief Response to sr_feature_enable request.
  12255. + */
  12256. +struct _Sr__FeatureEnableResp
  12257. +{
  12258. + ProtobufCMessage base;
  12259. +};
  12260. +#define SR__FEATURE_ENABLE_RESP__INIT \
  12261. + { PROTOBUF_C_MESSAGE_INIT (&sr__feature_enable_resp__descriptor) \
  12262. + }
  12263. +
  12264. +
  12265. +/*
  12266. + **
  12267. + * @brief Internal request to unsubscribe all subscriptions of a subscriber on given destination address.
  12268. + */
  12269. +struct _Sr__UnsubscribeDestinationReq
  12270. +{
  12271. + ProtobufCMessage base;
  12272. + char *destination;
  12273. +};
  12274. +#define SR__UNSUBSCRIBE_DESTINATION_REQ__INIT \
  12275. + { PROTOBUF_C_MESSAGE_INIT (&sr__unsubscribe_destination_req__descriptor) \
  12276. + , NULL }
  12277. +
  12278. +
  12279. +/*
  12280. + **
  12281. + * @brief Internal request to timeout a commit, if it hasn't been terminated yet.
  12282. + */
  12283. +struct _Sr__CommitTimeoutReq
  12284. +{
  12285. + ProtobufCMessage base;
  12286. + uint32_t commit_id;
  12287. + protobuf_c_boolean expired;
  12288. +};
  12289. +#define SR__COMMIT_TIMEOUT_REQ__INIT \
  12290. + { PROTOBUF_C_MESSAGE_INIT (&sr__commit_timeout_req__descriptor) \
  12291. + , 0, 0 }
  12292. +
  12293. +
  12294. +/*
  12295. + **
  12296. + * @brief Internal request to timeout a request for operational data, if it hasn't been terminated yet.
  12297. + */
  12298. +struct _Sr__OperDataTimeoutReq
  12299. +{
  12300. + ProtobufCMessage base;
  12301. + uint64_t request_id;
  12302. +};
  12303. +#define SR__OPER_DATA_TIMEOUT_REQ__INIT \
  12304. + { PROTOBUF_C_MESSAGE_INIT (&sr__oper_data_timeout_req__descriptor) \
  12305. + , 0 }
  12306. +
  12307. +
  12308. +/*
  12309. + **
  12310. + * @brief Internal request for internal state data (state data provided by Sysrepo Engine itself).
  12311. + */
  12312. +struct _Sr__InternalStateDataReq
  12313. +{
  12314. + ProtobufCMessage base;
  12315. + uint64_t request_id;
  12316. + char *xpath;
  12317. +};
  12318. +#define SR__INTERNAL_STATE_DATA_REQ__INIT \
  12319. + { PROTOBUF_C_MESSAGE_INIT (&sr__internal_state_data_req__descriptor) \
  12320. + , 0, NULL }
  12321. +
  12322. +
  12323. +/*
  12324. + **
  12325. + * @brief Internal request to cleanup aged notifications in the Notification Store.
  12326. + */
  12327. +struct _Sr__NotifStoreCleanupReq
  12328. +{
  12329. + ProtobufCMessage base;
  12330. +};
  12331. +#define SR__NOTIF_STORE_CLEANUP_REQ__INIT \
  12332. + { PROTOBUF_C_MESSAGE_INIT (&sr__notif_store_cleanup_req__descriptor) \
  12333. + }
  12334. +
  12335. +
  12336. +/*
  12337. + **
  12338. + * @brief Message to be delivered to the client after some timeout.
  12339. + */
  12340. +struct _Sr__DelayedMsgReq
  12341. +{
  12342. + ProtobufCMessage base;
  12343. + Sr__Msg *message;
  12344. +};
  12345. +#define SR__DELAYED_MSG_REQ__INIT \
  12346. + { PROTOBUF_C_MESSAGE_INIT (&sr__delayed_msg_req__descriptor) \
  12347. + , NULL }
  12348. +
  12349. +
  12350. +/*
  12351. + **
  12352. + * @brief Internal request to reload NACM configuration from the running datastore.
  12353. + */
  12354. +struct _Sr__NacmReloadReq
  12355. +{
  12356. + ProtobufCMessage base;
  12357. +};
  12358. +#define SR__NACM_RELOAD_REQ__INIT \
  12359. + { PROTOBUF_C_MESSAGE_INIT (&sr__nacm_reload_req__descriptor) \
  12360. + }
  12361. +
  12362. +
  12363. +/*
  12364. + **
  12365. + * @brief Request for an operation.
  12366. + */
  12367. +struct _Sr__Request
  12368. +{
  12369. + ProtobufCMessage base;
  12370. + /*
  12371. + * Request ID used internally by sysrepo
  12372. + */
  12373. + uint64_t _id;
  12374. + Sr__Operation operation;
  12375. + Sr__SessionStartReq *session_start_req;
  12376. + Sr__SessionStopReq *session_stop_req;
  12377. + Sr__SessionRefreshReq *session_refresh_req;
  12378. + Sr__SessionCheckReq *session_check_req;
  12379. + Sr__SessionSwitchDsReq *session_switch_ds_req;
  12380. + Sr__SessionSetOptsReq *session_set_opts_req;
  12381. + Sr__VersionVerifyReq *version_verify_req;
  12382. + Sr__ListSchemasReq *list_schemas_req;
  12383. + Sr__GetSchemaReq *get_schema_req;
  12384. + Sr__ModuleInstallReq *module_install_req;
  12385. + Sr__FeatureEnableReq *feature_enable_req;
  12386. + Sr__GetItemReq *get_item_req;
  12387. + Sr__GetItemsReq *get_items_req;
  12388. + Sr__GetSubtreeReq *get_subtree_req;
  12389. + Sr__GetSubtreesReq *get_subtrees_req;
  12390. + Sr__GetSubtreeChunkReq *get_subtree_chunk_req;
  12391. + Sr__SetItemReq *set_item_req;
  12392. + Sr__DeleteItemReq *delete_item_req;
  12393. + Sr__MoveItemReq *move_item_req;
  12394. + Sr__SetItemStrReq *set_item_str_req;
  12395. + Sr__ValidateReq *validate_req;
  12396. + Sr__CommitReq *commit_req;
  12397. + Sr__DiscardChangesReq *discard_changes_req;
  12398. + Sr__CopyConfigReq *copy_config_req;
  12399. + Sr__LockReq *lock_req;
  12400. + Sr__UnlockReq *unlock_req;
  12401. + Sr__SubscribeReq *subscribe_req;
  12402. + Sr__UnsubscribeReq *unsubscribe_req;
  12403. + Sr__CheckEnabledRunningReq *check_enabled_running_req;
  12404. + Sr__GetChangesReq *get_changes_req;
  12405. + Sr__DataProvideReq *data_provide_req;
  12406. + Sr__CheckExecPermReq *check_exec_perm_req;
  12407. + Sr__RPCReq *rpc_req;
  12408. + Sr__EventNotifReq *event_notif_req;
  12409. + Sr__EventNotifReplayReq *event_notif_replay_req;
  12410. +};
  12411. +#define SR__REQUEST__INIT \
  12412. + { PROTOBUF_C_MESSAGE_INIT (&sr__request__descriptor) \
  12413. + , 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 }
  12414. +
  12415. +
  12416. +/*
  12417. + **
  12418. + * @brief Response to the received request.
  12419. + */
  12420. +struct _Sr__Response
  12421. +{
  12422. + ProtobufCMessage base;
  12423. + Sr__Operation operation;
  12424. + /*
  12425. + **< Result of the operation. 0 on success, non-zero values map to sr_error_t enum in sysrepo.h.
  12426. + */
  12427. + uint32_t result;
  12428. + /*
  12429. + **< Additional error information.
  12430. + */
  12431. + Sr__Error *error;
  12432. + Sr__SessionStartResp *session_start_resp;
  12433. + Sr__SessionStopResp *session_stop_resp;
  12434. + Sr__SessionRefreshResp *session_refresh_resp;
  12435. + Sr__SessionCheckResp *session_check_resp;
  12436. + Sr__SessionSwitchDsResp *session_switch_ds_resp;
  12437. + Sr__SessionSetOptsResp *session_set_opts_resp;
  12438. + Sr__VersionVerifyResp *version_verify_resp;
  12439. + Sr__ListSchemasResp *list_schemas_resp;
  12440. + Sr__GetSchemaResp *get_schema_resp;
  12441. + Sr__ModuleInstallResp *module_install_resp;
  12442. + Sr__FeatureEnableResp *feature_enable_resp;
  12443. + Sr__GetItemResp *get_item_resp;
  12444. + Sr__GetItemsResp *get_items_resp;
  12445. + Sr__GetSubtreeResp *get_subtree_resp;
  12446. + Sr__GetSubtreesResp *get_subtrees_resp;
  12447. + Sr__GetSubtreeChunkResp *get_subtree_chunk_resp;
  12448. + Sr__SetItemResp *set_item_resp;
  12449. + Sr__DeleteItemResp *delete_item_resp;
  12450. + Sr__MoveItemResp *move_item_resp;
  12451. + Sr__SetItemStrResp *set_item_str_resp;
  12452. + Sr__ValidateResp *validate_resp;
  12453. + Sr__CommitResp *commit_resp;
  12454. + Sr__DiscardChangesResp *discard_changes_resp;
  12455. + Sr__CopyConfigResp *copy_config_resp;
  12456. + Sr__LockResp *lock_resp;
  12457. + Sr__UnlockResp *unlock_resp;
  12458. + Sr__SubscribeResp *subscribe_resp;
  12459. + Sr__UnsubscribeResp *unsubscribe_resp;
  12460. + Sr__CheckEnabledRunningResp *check_enabled_running_resp;
  12461. + Sr__GetChangesResp *get_changes_resp;
  12462. + Sr__DataProvideResp *data_provide_resp;
  12463. + Sr__CheckExecPermResp *check_exec_perm_resp;
  12464. + Sr__RPCResp *rpc_resp;
  12465. + Sr__EventNotifResp *event_notif_resp;
  12466. + Sr__EventNotifReplayResp *event_notif_replay_resp;
  12467. +};
  12468. +#define SR__RESPONSE__INIT \
  12469. + { PROTOBUF_C_MESSAGE_INIT (&sr__response__descriptor) \
  12470. + , 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 }
  12471. +
  12472. +
  12473. +/*
  12474. + **
  12475. + * @brief Notification about an event that occurred in the datastore.
  12476. + */
  12477. +struct _Sr__Notification
  12478. +{
  12479. + ProtobufCMessage base;
  12480. + Sr__SubscriptionType type;
  12481. + char *destination_address;
  12482. + char *source_address;
  12483. + uint32_t source_pid;
  12484. + uint32_t subscription_id;
  12485. + protobuf_c_boolean has_commit_id;
  12486. + uint32_t commit_id;
  12487. + Sr__ModuleInstallNotification *module_install_notif;
  12488. + Sr__FeatureEnableNotification *feature_enable_notif;
  12489. + Sr__ModuleChangeNotification *module_change_notif;
  12490. + Sr__SubtreeChangeNotification *subtree_change_notif;
  12491. +};
  12492. +#define SR__NOTIFICATION__INIT \
  12493. + { PROTOBUF_C_MESSAGE_INIT (&sr__notification__descriptor) \
  12494. + , 0, NULL, NULL, 0, 0, 0,0, NULL, NULL, NULL, NULL }
  12495. +
  12496. +
  12497. +/*
  12498. + **
  12499. + * @brief Notification Acknowledgment.
  12500. + */
  12501. +struct _Sr__NotificationAck
  12502. +{
  12503. + ProtobufCMessage base;
  12504. + /*
  12505. + **< Original notification.
  12506. + */
  12507. + Sr__Notification *notif;
  12508. + /*
  12509. + **< Result of the notification (success / error code).
  12510. + */
  12511. + uint32_t result;
  12512. + /*
  12513. + **< Additional error information.
  12514. + */
  12515. + Sr__Error *error;
  12516. + /*
  12517. + **< If the result is error and this flag is set to true abort notification
  12518. + * will not be delivered to this subscriber
  12519. + * (Subscriber doesn't want notification about changes that he refused).
  12520. + */
  12521. + protobuf_c_boolean do_not_send_abort;
  12522. +};
  12523. +#define SR__NOTIFICATION_ACK__INIT \
  12524. + { PROTOBUF_C_MESSAGE_INIT (&sr__notification_ack__descriptor) \
  12525. + , NULL, 0, NULL, 0 }
  12526. +
  12527. +
  12528. +/*
  12529. + **
  12530. + * @brief Internal request sent by sysrepo. Should not be used from the public API.
  12531. + */
  12532. +struct _Sr__InternalRequest
  12533. +{
  12534. + ProtobufCMessage base;
  12535. + Sr__Operation operation;
  12536. + protobuf_c_boolean has_postpone_timeout;
  12537. + uint32_t postpone_timeout;
  12538. + Sr__UnsubscribeDestinationReq *unsubscribe_dst_req;
  12539. + Sr__CommitTimeoutReq *commit_timeout_req;
  12540. + Sr__OperDataTimeoutReq *oper_data_timeout_req;
  12541. + Sr__InternalStateDataReq *internal_state_data_req;
  12542. + Sr__NotifStoreCleanupReq *notif_store_cleanup_req;
  12543. + Sr__DelayedMsgReq *delayed_msg_req;
  12544. + Sr__NacmReloadReq *nacm_reload_req;
  12545. +};
  12546. +#define SR__INTERNAL_REQUEST__INIT \
  12547. + { PROTOBUF_C_MESSAGE_INIT (&sr__internal_request__descriptor) \
  12548. + , 0, 0,0, NULL, NULL, NULL, NULL, NULL, NULL, NULL }
  12549. +
  12550. +
  12551. +/*
  12552. + **
  12553. + * @brief Umbrella sysrepo message used for communication between sysrepo
  12554. + * engine and client library.
  12555. + */
  12556. +struct _Sr__Msg
  12557. +{
  12558. + ProtobufCMessage base;
  12559. + /*
  12560. + **< Indicates type of the message.
  12561. + */
  12562. + Sr__Msg__MsgType type;
  12563. + /*
  12564. + **< Session identifier. Can be 0 (value is ignored) for session_start and version_verify requests.
  12565. + */
  12566. + uint32_t session_id;
  12567. + /*
  12568. + **< Filled in in case of type == REQUEST.
  12569. + */
  12570. + Sr__Request *request;
  12571. + /*
  12572. + **< Filled in in case of type == RESPONSE.
  12573. + */
  12574. + Sr__Response *response;
  12575. + /*
  12576. + **< Filled in in case of type == NOTIFICATION.
  12577. + */
  12578. + Sr__Notification *notification;
  12579. + /*
  12580. + **< Filled in in case of type == NOTIFICATION_ACK
  12581. + */
  12582. + Sr__NotificationAck *notification_ack;
  12583. + /*
  12584. + **< Filled in in case of type == INTERNAL.
  12585. + */
  12586. + Sr__InternalRequest *internal_request;
  12587. + /*
  12588. + **< Not part of the protocol. Used internally by Sysrepo to store a pointer to memory context.
  12589. + */
  12590. + uint64_t _sysrepo_mem_ctx;
  12591. +};
  12592. +#define SR__MSG__INIT \
  12593. + { PROTOBUF_C_MESSAGE_INIT (&sr__msg__descriptor) \
  12594. + , 0, 0, NULL, NULL, NULL, NULL, NULL, 0 }
  12595. +
  12596. +
  12597. +/* Sr__Value methods */
  12598. +void sr__value__init
  12599. + (Sr__Value *message);
  12600. +size_t sr__value__get_packed_size
  12601. + (const Sr__Value *message);
  12602. +size_t sr__value__pack
  12603. + (const Sr__Value *message,
  12604. + uint8_t *out);
  12605. +size_t sr__value__pack_to_buffer
  12606. + (const Sr__Value *message,
  12607. + ProtobufCBuffer *buffer);
  12608. +Sr__Value *
  12609. + sr__value__unpack
  12610. + (ProtobufCAllocator *allocator,
  12611. + size_t len,
  12612. + const uint8_t *data);
  12613. +void sr__value__free_unpacked
  12614. + (Sr__Value *message,
  12615. + ProtobufCAllocator *allocator);
  12616. +/* Sr__Node methods */
  12617. +void sr__node__init
  12618. + (Sr__Node *message);
  12619. +size_t sr__node__get_packed_size
  12620. + (const Sr__Node *message);
  12621. +size_t sr__node__pack
  12622. + (const Sr__Node *message,
  12623. + uint8_t *out);
  12624. +size_t sr__node__pack_to_buffer
  12625. + (const Sr__Node *message,
  12626. + ProtobufCBuffer *buffer);
  12627. +Sr__Node *
  12628. + sr__node__unpack
  12629. + (ProtobufCAllocator *allocator,
  12630. + size_t len,
  12631. + const uint8_t *data);
  12632. +void sr__node__free_unpacked
  12633. + (Sr__Node *message,
  12634. + ProtobufCAllocator *allocator);
  12635. +/* Sr__Error methods */
  12636. +void sr__error__init
  12637. + (Sr__Error *message);
  12638. +size_t sr__error__get_packed_size
  12639. + (const Sr__Error *message);
  12640. +size_t sr__error__pack
  12641. + (const Sr__Error *message,
  12642. + uint8_t *out);
  12643. +size_t sr__error__pack_to_buffer
  12644. + (const Sr__Error *message,
  12645. + ProtobufCBuffer *buffer);
  12646. +Sr__Error *
  12647. + sr__error__unpack
  12648. + (ProtobufCAllocator *allocator,
  12649. + size_t len,
  12650. + const uint8_t *data);
  12651. +void sr__error__free_unpacked
  12652. + (Sr__Error *message,
  12653. + ProtobufCAllocator *allocator);
  12654. +/* Sr__SessionStartReq methods */
  12655. +void sr__session_start_req__init
  12656. + (Sr__SessionStartReq *message);
  12657. +size_t sr__session_start_req__get_packed_size
  12658. + (const Sr__SessionStartReq *message);
  12659. +size_t sr__session_start_req__pack
  12660. + (const Sr__SessionStartReq *message,
  12661. + uint8_t *out);
  12662. +size_t sr__session_start_req__pack_to_buffer
  12663. + (const Sr__SessionStartReq *message,
  12664. + ProtobufCBuffer *buffer);
  12665. +Sr__SessionStartReq *
  12666. + sr__session_start_req__unpack
  12667. + (ProtobufCAllocator *allocator,
  12668. + size_t len,
  12669. + const uint8_t *data);
  12670. +void sr__session_start_req__free_unpacked
  12671. + (Sr__SessionStartReq *message,
  12672. + ProtobufCAllocator *allocator);
  12673. +/* Sr__SessionStartResp methods */
  12674. +void sr__session_start_resp__init
  12675. + (Sr__SessionStartResp *message);
  12676. +size_t sr__session_start_resp__get_packed_size
  12677. + (const Sr__SessionStartResp *message);
  12678. +size_t sr__session_start_resp__pack
  12679. + (const Sr__SessionStartResp *message,
  12680. + uint8_t *out);
  12681. +size_t sr__session_start_resp__pack_to_buffer
  12682. + (const Sr__SessionStartResp *message,
  12683. + ProtobufCBuffer *buffer);
  12684. +Sr__SessionStartResp *
  12685. + sr__session_start_resp__unpack
  12686. + (ProtobufCAllocator *allocator,
  12687. + size_t len,
  12688. + const uint8_t *data);
  12689. +void sr__session_start_resp__free_unpacked
  12690. + (Sr__SessionStartResp *message,
  12691. + ProtobufCAllocator *allocator);
  12692. +/* Sr__SessionStopReq methods */
  12693. +void sr__session_stop_req__init
  12694. + (Sr__SessionStopReq *message);
  12695. +size_t sr__session_stop_req__get_packed_size
  12696. + (const Sr__SessionStopReq *message);
  12697. +size_t sr__session_stop_req__pack
  12698. + (const Sr__SessionStopReq *message,
  12699. + uint8_t *out);
  12700. +size_t sr__session_stop_req__pack_to_buffer
  12701. + (const Sr__SessionStopReq *message,
  12702. + ProtobufCBuffer *buffer);
  12703. +Sr__SessionStopReq *
  12704. + sr__session_stop_req__unpack
  12705. + (ProtobufCAllocator *allocator,
  12706. + size_t len,
  12707. + const uint8_t *data);
  12708. +void sr__session_stop_req__free_unpacked
  12709. + (Sr__SessionStopReq *message,
  12710. + ProtobufCAllocator *allocator);
  12711. +/* Sr__SessionStopResp methods */
  12712. +void sr__session_stop_resp__init
  12713. + (Sr__SessionStopResp *message);
  12714. +size_t sr__session_stop_resp__get_packed_size
  12715. + (const Sr__SessionStopResp *message);
  12716. +size_t sr__session_stop_resp__pack
  12717. + (const Sr__SessionStopResp *message,
  12718. + uint8_t *out);
  12719. +size_t sr__session_stop_resp__pack_to_buffer
  12720. + (const Sr__SessionStopResp *message,
  12721. + ProtobufCBuffer *buffer);
  12722. +Sr__SessionStopResp *
  12723. + sr__session_stop_resp__unpack
  12724. + (ProtobufCAllocator *allocator,
  12725. + size_t len,
  12726. + const uint8_t *data);
  12727. +void sr__session_stop_resp__free_unpacked
  12728. + (Sr__SessionStopResp *message,
  12729. + ProtobufCAllocator *allocator);
  12730. +/* Sr__SessionRefreshReq methods */
  12731. +void sr__session_refresh_req__init
  12732. + (Sr__SessionRefreshReq *message);
  12733. +size_t sr__session_refresh_req__get_packed_size
  12734. + (const Sr__SessionRefreshReq *message);
  12735. +size_t sr__session_refresh_req__pack
  12736. + (const Sr__SessionRefreshReq *message,
  12737. + uint8_t *out);
  12738. +size_t sr__session_refresh_req__pack_to_buffer
  12739. + (const Sr__SessionRefreshReq *message,
  12740. + ProtobufCBuffer *buffer);
  12741. +Sr__SessionRefreshReq *
  12742. + sr__session_refresh_req__unpack
  12743. + (ProtobufCAllocator *allocator,
  12744. + size_t len,
  12745. + const uint8_t *data);
  12746. +void sr__session_refresh_req__free_unpacked
  12747. + (Sr__SessionRefreshReq *message,
  12748. + ProtobufCAllocator *allocator);
  12749. +/* Sr__SessionRefreshResp methods */
  12750. +void sr__session_refresh_resp__init
  12751. + (Sr__SessionRefreshResp *message);
  12752. +size_t sr__session_refresh_resp__get_packed_size
  12753. + (const Sr__SessionRefreshResp *message);
  12754. +size_t sr__session_refresh_resp__pack
  12755. + (const Sr__SessionRefreshResp *message,
  12756. + uint8_t *out);
  12757. +size_t sr__session_refresh_resp__pack_to_buffer
  12758. + (const Sr__SessionRefreshResp *message,
  12759. + ProtobufCBuffer *buffer);
  12760. +Sr__SessionRefreshResp *
  12761. + sr__session_refresh_resp__unpack
  12762. + (ProtobufCAllocator *allocator,
  12763. + size_t len,
  12764. + const uint8_t *data);
  12765. +void sr__session_refresh_resp__free_unpacked
  12766. + (Sr__SessionRefreshResp *message,
  12767. + ProtobufCAllocator *allocator);
  12768. +/* Sr__SessionCheckReq methods */
  12769. +void sr__session_check_req__init
  12770. + (Sr__SessionCheckReq *message);
  12771. +size_t sr__session_check_req__get_packed_size
  12772. + (const Sr__SessionCheckReq *message);
  12773. +size_t sr__session_check_req__pack
  12774. + (const Sr__SessionCheckReq *message,
  12775. + uint8_t *out);
  12776. +size_t sr__session_check_req__pack_to_buffer
  12777. + (const Sr__SessionCheckReq *message,
  12778. + ProtobufCBuffer *buffer);
  12779. +Sr__SessionCheckReq *
  12780. + sr__session_check_req__unpack
  12781. + (ProtobufCAllocator *allocator,
  12782. + size_t len,
  12783. + const uint8_t *data);
  12784. +void sr__session_check_req__free_unpacked
  12785. + (Sr__SessionCheckReq *message,
  12786. + ProtobufCAllocator *allocator);
  12787. +/* Sr__SessionCheckResp methods */
  12788. +void sr__session_check_resp__init
  12789. + (Sr__SessionCheckResp *message);
  12790. +size_t sr__session_check_resp__get_packed_size
  12791. + (const Sr__SessionCheckResp *message);
  12792. +size_t sr__session_check_resp__pack
  12793. + (const Sr__SessionCheckResp *message,
  12794. + uint8_t *out);
  12795. +size_t sr__session_check_resp__pack_to_buffer
  12796. + (const Sr__SessionCheckResp *message,
  12797. + ProtobufCBuffer *buffer);
  12798. +Sr__SessionCheckResp *
  12799. + sr__session_check_resp__unpack
  12800. + (ProtobufCAllocator *allocator,
  12801. + size_t len,
  12802. + const uint8_t *data);
  12803. +void sr__session_check_resp__free_unpacked
  12804. + (Sr__SessionCheckResp *message,
  12805. + ProtobufCAllocator *allocator);
  12806. +/* Sr__SessionSwitchDsReq methods */
  12807. +void sr__session_switch_ds_req__init
  12808. + (Sr__SessionSwitchDsReq *message);
  12809. +size_t sr__session_switch_ds_req__get_packed_size
  12810. + (const Sr__SessionSwitchDsReq *message);
  12811. +size_t sr__session_switch_ds_req__pack
  12812. + (const Sr__SessionSwitchDsReq *message,
  12813. + uint8_t *out);
  12814. +size_t sr__session_switch_ds_req__pack_to_buffer
  12815. + (const Sr__SessionSwitchDsReq *message,
  12816. + ProtobufCBuffer *buffer);
  12817. +Sr__SessionSwitchDsReq *
  12818. + sr__session_switch_ds_req__unpack
  12819. + (ProtobufCAllocator *allocator,
  12820. + size_t len,
  12821. + const uint8_t *data);
  12822. +void sr__session_switch_ds_req__free_unpacked
  12823. + (Sr__SessionSwitchDsReq *message,
  12824. + ProtobufCAllocator *allocator);
  12825. +/* Sr__SessionSwitchDsResp methods */
  12826. +void sr__session_switch_ds_resp__init
  12827. + (Sr__SessionSwitchDsResp *message);
  12828. +size_t sr__session_switch_ds_resp__get_packed_size
  12829. + (const Sr__SessionSwitchDsResp *message);
  12830. +size_t sr__session_switch_ds_resp__pack
  12831. + (const Sr__SessionSwitchDsResp *message,
  12832. + uint8_t *out);
  12833. +size_t sr__session_switch_ds_resp__pack_to_buffer
  12834. + (const Sr__SessionSwitchDsResp *message,
  12835. + ProtobufCBuffer *buffer);
  12836. +Sr__SessionSwitchDsResp *
  12837. + sr__session_switch_ds_resp__unpack
  12838. + (ProtobufCAllocator *allocator,
  12839. + size_t len,
  12840. + const uint8_t *data);
  12841. +void sr__session_switch_ds_resp__free_unpacked
  12842. + (Sr__SessionSwitchDsResp *message,
  12843. + ProtobufCAllocator *allocator);
  12844. +/* Sr__SessionSetOptsReq methods */
  12845. +void sr__session_set_opts_req__init
  12846. + (Sr__SessionSetOptsReq *message);
  12847. +size_t sr__session_set_opts_req__get_packed_size
  12848. + (const Sr__SessionSetOptsReq *message);
  12849. +size_t sr__session_set_opts_req__pack
  12850. + (const Sr__SessionSetOptsReq *message,
  12851. + uint8_t *out);
  12852. +size_t sr__session_set_opts_req__pack_to_buffer
  12853. + (const Sr__SessionSetOptsReq *message,
  12854. + ProtobufCBuffer *buffer);
  12855. +Sr__SessionSetOptsReq *
  12856. + sr__session_set_opts_req__unpack
  12857. + (ProtobufCAllocator *allocator,
  12858. + size_t len,
  12859. + const uint8_t *data);
  12860. +void sr__session_set_opts_req__free_unpacked
  12861. + (Sr__SessionSetOptsReq *message,
  12862. + ProtobufCAllocator *allocator);
  12863. +/* Sr__SessionSetOptsResp methods */
  12864. +void sr__session_set_opts_resp__init
  12865. + (Sr__SessionSetOptsResp *message);
  12866. +size_t sr__session_set_opts_resp__get_packed_size
  12867. + (const Sr__SessionSetOptsResp *message);
  12868. +size_t sr__session_set_opts_resp__pack
  12869. + (const Sr__SessionSetOptsResp *message,
  12870. + uint8_t *out);
  12871. +size_t sr__session_set_opts_resp__pack_to_buffer
  12872. + (const Sr__SessionSetOptsResp *message,
  12873. + ProtobufCBuffer *buffer);
  12874. +Sr__SessionSetOptsResp *
  12875. + sr__session_set_opts_resp__unpack
  12876. + (ProtobufCAllocator *allocator,
  12877. + size_t len,
  12878. + const uint8_t *data);
  12879. +void sr__session_set_opts_resp__free_unpacked
  12880. + (Sr__SessionSetOptsResp *message,
  12881. + ProtobufCAllocator *allocator);
  12882. +/* Sr__VersionVerifyReq methods */
  12883. +void sr__version_verify_req__init
  12884. + (Sr__VersionVerifyReq *message);
  12885. +size_t sr__version_verify_req__get_packed_size
  12886. + (const Sr__VersionVerifyReq *message);
  12887. +size_t sr__version_verify_req__pack
  12888. + (const Sr__VersionVerifyReq *message,
  12889. + uint8_t *out);
  12890. +size_t sr__version_verify_req__pack_to_buffer
  12891. + (const Sr__VersionVerifyReq *message,
  12892. + ProtobufCBuffer *buffer);
  12893. +Sr__VersionVerifyReq *
  12894. + sr__version_verify_req__unpack
  12895. + (ProtobufCAllocator *allocator,
  12896. + size_t len,
  12897. + const uint8_t *data);
  12898. +void sr__version_verify_req__free_unpacked
  12899. + (Sr__VersionVerifyReq *message,
  12900. + ProtobufCAllocator *allocator);
  12901. +/* Sr__VersionVerifyResp methods */
  12902. +void sr__version_verify_resp__init
  12903. + (Sr__VersionVerifyResp *message);
  12904. +size_t sr__version_verify_resp__get_packed_size
  12905. + (const Sr__VersionVerifyResp *message);
  12906. +size_t sr__version_verify_resp__pack
  12907. + (const Sr__VersionVerifyResp *message,
  12908. + uint8_t *out);
  12909. +size_t sr__version_verify_resp__pack_to_buffer
  12910. + (const Sr__VersionVerifyResp *message,
  12911. + ProtobufCBuffer *buffer);
  12912. +Sr__VersionVerifyResp *
  12913. + sr__version_verify_resp__unpack
  12914. + (ProtobufCAllocator *allocator,
  12915. + size_t len,
  12916. + const uint8_t *data);
  12917. +void sr__version_verify_resp__free_unpacked
  12918. + (Sr__VersionVerifyResp *message,
  12919. + ProtobufCAllocator *allocator);
  12920. +/* Sr__SchemaRevision methods */
  12921. +void sr__schema_revision__init
  12922. + (Sr__SchemaRevision *message);
  12923. +size_t sr__schema_revision__get_packed_size
  12924. + (const Sr__SchemaRevision *message);
  12925. +size_t sr__schema_revision__pack
  12926. + (const Sr__SchemaRevision *message,
  12927. + uint8_t *out);
  12928. +size_t sr__schema_revision__pack_to_buffer
  12929. + (const Sr__SchemaRevision *message,
  12930. + ProtobufCBuffer *buffer);
  12931. +Sr__SchemaRevision *
  12932. + sr__schema_revision__unpack
  12933. + (ProtobufCAllocator *allocator,
  12934. + size_t len,
  12935. + const uint8_t *data);
  12936. +void sr__schema_revision__free_unpacked
  12937. + (Sr__SchemaRevision *message,
  12938. + ProtobufCAllocator *allocator);
  12939. +/* Sr__SchemaSubmodule methods */
  12940. +void sr__schema_submodule__init
  12941. + (Sr__SchemaSubmodule *message);
  12942. +size_t sr__schema_submodule__get_packed_size
  12943. + (const Sr__SchemaSubmodule *message);
  12944. +size_t sr__schema_submodule__pack
  12945. + (const Sr__SchemaSubmodule *message,
  12946. + uint8_t *out);
  12947. +size_t sr__schema_submodule__pack_to_buffer
  12948. + (const Sr__SchemaSubmodule *message,
  12949. + ProtobufCBuffer *buffer);
  12950. +Sr__SchemaSubmodule *
  12951. + sr__schema_submodule__unpack
  12952. + (ProtobufCAllocator *allocator,
  12953. + size_t len,
  12954. + const uint8_t *data);
  12955. +void sr__schema_submodule__free_unpacked
  12956. + (Sr__SchemaSubmodule *message,
  12957. + ProtobufCAllocator *allocator);
  12958. +/* Sr__Schema methods */
  12959. +void sr__schema__init
  12960. + (Sr__Schema *message);
  12961. +size_t sr__schema__get_packed_size
  12962. + (const Sr__Schema *message);
  12963. +size_t sr__schema__pack
  12964. + (const Sr__Schema *message,
  12965. + uint8_t *out);
  12966. +size_t sr__schema__pack_to_buffer
  12967. + (const Sr__Schema *message,
  12968. + ProtobufCBuffer *buffer);
  12969. +Sr__Schema *
  12970. + sr__schema__unpack
  12971. + (ProtobufCAllocator *allocator,
  12972. + size_t len,
  12973. + const uint8_t *data);
  12974. +void sr__schema__free_unpacked
  12975. + (Sr__Schema *message,
  12976. + ProtobufCAllocator *allocator);
  12977. +/* Sr__ListSchemasReq methods */
  12978. +void sr__list_schemas_req__init
  12979. + (Sr__ListSchemasReq *message);
  12980. +size_t sr__list_schemas_req__get_packed_size
  12981. + (const Sr__ListSchemasReq *message);
  12982. +size_t sr__list_schemas_req__pack
  12983. + (const Sr__ListSchemasReq *message,
  12984. + uint8_t *out);
  12985. +size_t sr__list_schemas_req__pack_to_buffer
  12986. + (const Sr__ListSchemasReq *message,
  12987. + ProtobufCBuffer *buffer);
  12988. +Sr__ListSchemasReq *
  12989. + sr__list_schemas_req__unpack
  12990. + (ProtobufCAllocator *allocator,
  12991. + size_t len,
  12992. + const uint8_t *data);
  12993. +void sr__list_schemas_req__free_unpacked
  12994. + (Sr__ListSchemasReq *message,
  12995. + ProtobufCAllocator *allocator);
  12996. +/* Sr__ListSchemasResp methods */
  12997. +void sr__list_schemas_resp__init
  12998. + (Sr__ListSchemasResp *message);
  12999. +size_t sr__list_schemas_resp__get_packed_size
  13000. + (const Sr__ListSchemasResp *message);
  13001. +size_t sr__list_schemas_resp__pack
  13002. + (const Sr__ListSchemasResp *message,
  13003. + uint8_t *out);
  13004. +size_t sr__list_schemas_resp__pack_to_buffer
  13005. + (const Sr__ListSchemasResp *message,
  13006. + ProtobufCBuffer *buffer);
  13007. +Sr__ListSchemasResp *
  13008. + sr__list_schemas_resp__unpack
  13009. + (ProtobufCAllocator *allocator,
  13010. + size_t len,
  13011. + const uint8_t *data);
  13012. +void sr__list_schemas_resp__free_unpacked
  13013. + (Sr__ListSchemasResp *message,
  13014. + ProtobufCAllocator *allocator);
  13015. +/* Sr__GetSchemaReq methods */
  13016. +void sr__get_schema_req__init
  13017. + (Sr__GetSchemaReq *message);
  13018. +size_t sr__get_schema_req__get_packed_size
  13019. + (const Sr__GetSchemaReq *message);
  13020. +size_t sr__get_schema_req__pack
  13021. + (const Sr__GetSchemaReq *message,
  13022. + uint8_t *out);
  13023. +size_t sr__get_schema_req__pack_to_buffer
  13024. + (const Sr__GetSchemaReq *message,
  13025. + ProtobufCBuffer *buffer);
  13026. +Sr__GetSchemaReq *
  13027. + sr__get_schema_req__unpack
  13028. + (ProtobufCAllocator *allocator,
  13029. + size_t len,
  13030. + const uint8_t *data);
  13031. +void sr__get_schema_req__free_unpacked
  13032. + (Sr__GetSchemaReq *message,
  13033. + ProtobufCAllocator *allocator);
  13034. +/* Sr__GetSchemaResp methods */
  13035. +void sr__get_schema_resp__init
  13036. + (Sr__GetSchemaResp *message);
  13037. +size_t sr__get_schema_resp__get_packed_size
  13038. + (const Sr__GetSchemaResp *message);
  13039. +size_t sr__get_schema_resp__pack
  13040. + (const Sr__GetSchemaResp *message,
  13041. + uint8_t *out);
  13042. +size_t sr__get_schema_resp__pack_to_buffer
  13043. + (const Sr__GetSchemaResp *message,
  13044. + ProtobufCBuffer *buffer);
  13045. +Sr__GetSchemaResp *
  13046. + sr__get_schema_resp__unpack
  13047. + (ProtobufCAllocator *allocator,
  13048. + size_t len,
  13049. + const uint8_t *data);
  13050. +void sr__get_schema_resp__free_unpacked
  13051. + (Sr__GetSchemaResp *message,
  13052. + ProtobufCAllocator *allocator);
  13053. +/* Sr__GetItemReq methods */
  13054. +void sr__get_item_req__init
  13055. + (Sr__GetItemReq *message);
  13056. +size_t sr__get_item_req__get_packed_size
  13057. + (const Sr__GetItemReq *message);
  13058. +size_t sr__get_item_req__pack
  13059. + (const Sr__GetItemReq *message,
  13060. + uint8_t *out);
  13061. +size_t sr__get_item_req__pack_to_buffer
  13062. + (const Sr__GetItemReq *message,
  13063. + ProtobufCBuffer *buffer);
  13064. +Sr__GetItemReq *
  13065. + sr__get_item_req__unpack
  13066. + (ProtobufCAllocator *allocator,
  13067. + size_t len,
  13068. + const uint8_t *data);
  13069. +void sr__get_item_req__free_unpacked
  13070. + (Sr__GetItemReq *message,
  13071. + ProtobufCAllocator *allocator);
  13072. +/* Sr__GetItemResp methods */
  13073. +void sr__get_item_resp__init
  13074. + (Sr__GetItemResp *message);
  13075. +size_t sr__get_item_resp__get_packed_size
  13076. + (const Sr__GetItemResp *message);
  13077. +size_t sr__get_item_resp__pack
  13078. + (const Sr__GetItemResp *message,
  13079. + uint8_t *out);
  13080. +size_t sr__get_item_resp__pack_to_buffer
  13081. + (const Sr__GetItemResp *message,
  13082. + ProtobufCBuffer *buffer);
  13083. +Sr__GetItemResp *
  13084. + sr__get_item_resp__unpack
  13085. + (ProtobufCAllocator *allocator,
  13086. + size_t len,
  13087. + const uint8_t *data);
  13088. +void sr__get_item_resp__free_unpacked
  13089. + (Sr__GetItemResp *message,
  13090. + ProtobufCAllocator *allocator);
  13091. +/* Sr__GetItemsReq methods */
  13092. +void sr__get_items_req__init
  13093. + (Sr__GetItemsReq *message);
  13094. +size_t sr__get_items_req__get_packed_size
  13095. + (const Sr__GetItemsReq *message);
  13096. +size_t sr__get_items_req__pack
  13097. + (const Sr__GetItemsReq *message,
  13098. + uint8_t *out);
  13099. +size_t sr__get_items_req__pack_to_buffer
  13100. + (const Sr__GetItemsReq *message,
  13101. + ProtobufCBuffer *buffer);
  13102. +Sr__GetItemsReq *
  13103. + sr__get_items_req__unpack
  13104. + (ProtobufCAllocator *allocator,
  13105. + size_t len,
  13106. + const uint8_t *data);
  13107. +void sr__get_items_req__free_unpacked
  13108. + (Sr__GetItemsReq *message,
  13109. + ProtobufCAllocator *allocator);
  13110. +/* Sr__GetItemsResp methods */
  13111. +void sr__get_items_resp__init
  13112. + (Sr__GetItemsResp *message);
  13113. +size_t sr__get_items_resp__get_packed_size
  13114. + (const Sr__GetItemsResp *message);
  13115. +size_t sr__get_items_resp__pack
  13116. + (const Sr__GetItemsResp *message,
  13117. + uint8_t *out);
  13118. +size_t sr__get_items_resp__pack_to_buffer
  13119. + (const Sr__GetItemsResp *message,
  13120. + ProtobufCBuffer *buffer);
  13121. +Sr__GetItemsResp *
  13122. + sr__get_items_resp__unpack
  13123. + (ProtobufCAllocator *allocator,
  13124. + size_t len,
  13125. + const uint8_t *data);
  13126. +void sr__get_items_resp__free_unpacked
  13127. + (Sr__GetItemsResp *message,
  13128. + ProtobufCAllocator *allocator);
  13129. +/* Sr__GetSubtreeReq methods */
  13130. +void sr__get_subtree_req__init
  13131. + (Sr__GetSubtreeReq *message);
  13132. +size_t sr__get_subtree_req__get_packed_size
  13133. + (const Sr__GetSubtreeReq *message);
  13134. +size_t sr__get_subtree_req__pack
  13135. + (const Sr__GetSubtreeReq *message,
  13136. + uint8_t *out);
  13137. +size_t sr__get_subtree_req__pack_to_buffer
  13138. + (const Sr__GetSubtreeReq *message,
  13139. + ProtobufCBuffer *buffer);
  13140. +Sr__GetSubtreeReq *
  13141. + sr__get_subtree_req__unpack
  13142. + (ProtobufCAllocator *allocator,
  13143. + size_t len,
  13144. + const uint8_t *data);
  13145. +void sr__get_subtree_req__free_unpacked
  13146. + (Sr__GetSubtreeReq *message,
  13147. + ProtobufCAllocator *allocator);
  13148. +/* Sr__GetSubtreeResp methods */
  13149. +void sr__get_subtree_resp__init
  13150. + (Sr__GetSubtreeResp *message);
  13151. +size_t sr__get_subtree_resp__get_packed_size
  13152. + (const Sr__GetSubtreeResp *message);
  13153. +size_t sr__get_subtree_resp__pack
  13154. + (const Sr__GetSubtreeResp *message,
  13155. + uint8_t *out);
  13156. +size_t sr__get_subtree_resp__pack_to_buffer
  13157. + (const Sr__GetSubtreeResp *message,
  13158. + ProtobufCBuffer *buffer);
  13159. +Sr__GetSubtreeResp *
  13160. + sr__get_subtree_resp__unpack
  13161. + (ProtobufCAllocator *allocator,
  13162. + size_t len,
  13163. + const uint8_t *data);
  13164. +void sr__get_subtree_resp__free_unpacked
  13165. + (Sr__GetSubtreeResp *message,
  13166. + ProtobufCAllocator *allocator);
  13167. +/* Sr__GetSubtreesReq methods */
  13168. +void sr__get_subtrees_req__init
  13169. + (Sr__GetSubtreesReq *message);
  13170. +size_t sr__get_subtrees_req__get_packed_size
  13171. + (const Sr__GetSubtreesReq *message);
  13172. +size_t sr__get_subtrees_req__pack
  13173. + (const Sr__GetSubtreesReq *message,
  13174. + uint8_t *out);
  13175. +size_t sr__get_subtrees_req__pack_to_buffer
  13176. + (const Sr__GetSubtreesReq *message,
  13177. + ProtobufCBuffer *buffer);
  13178. +Sr__GetSubtreesReq *
  13179. + sr__get_subtrees_req__unpack
  13180. + (ProtobufCAllocator *allocator,
  13181. + size_t len,
  13182. + const uint8_t *data);
  13183. +void sr__get_subtrees_req__free_unpacked
  13184. + (Sr__GetSubtreesReq *message,
  13185. + ProtobufCAllocator *allocator);
  13186. +/* Sr__GetSubtreesResp methods */
  13187. +void sr__get_subtrees_resp__init
  13188. + (Sr__GetSubtreesResp *message);
  13189. +size_t sr__get_subtrees_resp__get_packed_size
  13190. + (const Sr__GetSubtreesResp *message);
  13191. +size_t sr__get_subtrees_resp__pack
  13192. + (const Sr__GetSubtreesResp *message,
  13193. + uint8_t *out);
  13194. +size_t sr__get_subtrees_resp__pack_to_buffer
  13195. + (const Sr__GetSubtreesResp *message,
  13196. + ProtobufCBuffer *buffer);
  13197. +Sr__GetSubtreesResp *
  13198. + sr__get_subtrees_resp__unpack
  13199. + (ProtobufCAllocator *allocator,
  13200. + size_t len,
  13201. + const uint8_t *data);
  13202. +void sr__get_subtrees_resp__free_unpacked
  13203. + (Sr__GetSubtreesResp *message,
  13204. + ProtobufCAllocator *allocator);
  13205. +/* Sr__GetSubtreeChunkReq methods */
  13206. +void sr__get_subtree_chunk_req__init
  13207. + (Sr__GetSubtreeChunkReq *message);
  13208. +size_t sr__get_subtree_chunk_req__get_packed_size
  13209. + (const Sr__GetSubtreeChunkReq *message);
  13210. +size_t sr__get_subtree_chunk_req__pack
  13211. + (const Sr__GetSubtreeChunkReq *message,
  13212. + uint8_t *out);
  13213. +size_t sr__get_subtree_chunk_req__pack_to_buffer
  13214. + (const Sr__GetSubtreeChunkReq *message,
  13215. + ProtobufCBuffer *buffer);
  13216. +Sr__GetSubtreeChunkReq *
  13217. + sr__get_subtree_chunk_req__unpack
  13218. + (ProtobufCAllocator *allocator,
  13219. + size_t len,
  13220. + const uint8_t *data);
  13221. +void sr__get_subtree_chunk_req__free_unpacked
  13222. + (Sr__GetSubtreeChunkReq *message,
  13223. + ProtobufCAllocator *allocator);
  13224. +/* Sr__GetSubtreeChunkResp methods */
  13225. +void sr__get_subtree_chunk_resp__init
  13226. + (Sr__GetSubtreeChunkResp *message);
  13227. +size_t sr__get_subtree_chunk_resp__get_packed_size
  13228. + (const Sr__GetSubtreeChunkResp *message);
  13229. +size_t sr__get_subtree_chunk_resp__pack
  13230. + (const Sr__GetSubtreeChunkResp *message,
  13231. + uint8_t *out);
  13232. +size_t sr__get_subtree_chunk_resp__pack_to_buffer
  13233. + (const Sr__GetSubtreeChunkResp *message,
  13234. + ProtobufCBuffer *buffer);
  13235. +Sr__GetSubtreeChunkResp *
  13236. + sr__get_subtree_chunk_resp__unpack
  13237. + (ProtobufCAllocator *allocator,
  13238. + size_t len,
  13239. + const uint8_t *data);
  13240. +void sr__get_subtree_chunk_resp__free_unpacked
  13241. + (Sr__GetSubtreeChunkResp *message,
  13242. + ProtobufCAllocator *allocator);
  13243. +/* Sr__SetItemReq methods */
  13244. +void sr__set_item_req__init
  13245. + (Sr__SetItemReq *message);
  13246. +size_t sr__set_item_req__get_packed_size
  13247. + (const Sr__SetItemReq *message);
  13248. +size_t sr__set_item_req__pack
  13249. + (const Sr__SetItemReq *message,
  13250. + uint8_t *out);
  13251. +size_t sr__set_item_req__pack_to_buffer
  13252. + (const Sr__SetItemReq *message,
  13253. + ProtobufCBuffer *buffer);
  13254. +Sr__SetItemReq *
  13255. + sr__set_item_req__unpack
  13256. + (ProtobufCAllocator *allocator,
  13257. + size_t len,
  13258. + const uint8_t *data);
  13259. +void sr__set_item_req__free_unpacked
  13260. + (Sr__SetItemReq *message,
  13261. + ProtobufCAllocator *allocator);
  13262. +/* Sr__SetItemResp methods */
  13263. +void sr__set_item_resp__init
  13264. + (Sr__SetItemResp *message);
  13265. +size_t sr__set_item_resp__get_packed_size
  13266. + (const Sr__SetItemResp *message);
  13267. +size_t sr__set_item_resp__pack
  13268. + (const Sr__SetItemResp *message,
  13269. + uint8_t *out);
  13270. +size_t sr__set_item_resp__pack_to_buffer
  13271. + (const Sr__SetItemResp *message,
  13272. + ProtobufCBuffer *buffer);
  13273. +Sr__SetItemResp *
  13274. + sr__set_item_resp__unpack
  13275. + (ProtobufCAllocator *allocator,
  13276. + size_t len,
  13277. + const uint8_t *data);
  13278. +void sr__set_item_resp__free_unpacked
  13279. + (Sr__SetItemResp *message,
  13280. + ProtobufCAllocator *allocator);
  13281. +/* Sr__SetItemStrReq methods */
  13282. +void sr__set_item_str_req__init
  13283. + (Sr__SetItemStrReq *message);
  13284. +size_t sr__set_item_str_req__get_packed_size
  13285. + (const Sr__SetItemStrReq *message);
  13286. +size_t sr__set_item_str_req__pack
  13287. + (const Sr__SetItemStrReq *message,
  13288. + uint8_t *out);
  13289. +size_t sr__set_item_str_req__pack_to_buffer
  13290. + (const Sr__SetItemStrReq *message,
  13291. + ProtobufCBuffer *buffer);
  13292. +Sr__SetItemStrReq *
  13293. + sr__set_item_str_req__unpack
  13294. + (ProtobufCAllocator *allocator,
  13295. + size_t len,
  13296. + const uint8_t *data);
  13297. +void sr__set_item_str_req__free_unpacked
  13298. + (Sr__SetItemStrReq *message,
  13299. + ProtobufCAllocator *allocator);
  13300. +/* Sr__SetItemStrResp methods */
  13301. +void sr__set_item_str_resp__init
  13302. + (Sr__SetItemStrResp *message);
  13303. +size_t sr__set_item_str_resp__get_packed_size
  13304. + (const Sr__SetItemStrResp *message);
  13305. +size_t sr__set_item_str_resp__pack
  13306. + (const Sr__SetItemStrResp *message,
  13307. + uint8_t *out);
  13308. +size_t sr__set_item_str_resp__pack_to_buffer
  13309. + (const Sr__SetItemStrResp *message,
  13310. + ProtobufCBuffer *buffer);
  13311. +Sr__SetItemStrResp *
  13312. + sr__set_item_str_resp__unpack
  13313. + (ProtobufCAllocator *allocator,
  13314. + size_t len,
  13315. + const uint8_t *data);
  13316. +void sr__set_item_str_resp__free_unpacked
  13317. + (Sr__SetItemStrResp *message,
  13318. + ProtobufCAllocator *allocator);
  13319. +/* Sr__DeleteItemReq methods */
  13320. +void sr__delete_item_req__init
  13321. + (Sr__DeleteItemReq *message);
  13322. +size_t sr__delete_item_req__get_packed_size
  13323. + (const Sr__DeleteItemReq *message);
  13324. +size_t sr__delete_item_req__pack
  13325. + (const Sr__DeleteItemReq *message,
  13326. + uint8_t *out);
  13327. +size_t sr__delete_item_req__pack_to_buffer
  13328. + (const Sr__DeleteItemReq *message,
  13329. + ProtobufCBuffer *buffer);
  13330. +Sr__DeleteItemReq *
  13331. + sr__delete_item_req__unpack
  13332. + (ProtobufCAllocator *allocator,
  13333. + size_t len,
  13334. + const uint8_t *data);
  13335. +void sr__delete_item_req__free_unpacked
  13336. + (Sr__DeleteItemReq *message,
  13337. + ProtobufCAllocator *allocator);
  13338. +/* Sr__DeleteItemResp methods */
  13339. +void sr__delete_item_resp__init
  13340. + (Sr__DeleteItemResp *message);
  13341. +size_t sr__delete_item_resp__get_packed_size
  13342. + (const Sr__DeleteItemResp *message);
  13343. +size_t sr__delete_item_resp__pack
  13344. + (const Sr__DeleteItemResp *message,
  13345. + uint8_t *out);
  13346. +size_t sr__delete_item_resp__pack_to_buffer
  13347. + (const Sr__DeleteItemResp *message,
  13348. + ProtobufCBuffer *buffer);
  13349. +Sr__DeleteItemResp *
  13350. + sr__delete_item_resp__unpack
  13351. + (ProtobufCAllocator *allocator,
  13352. + size_t len,
  13353. + const uint8_t *data);
  13354. +void sr__delete_item_resp__free_unpacked
  13355. + (Sr__DeleteItemResp *message,
  13356. + ProtobufCAllocator *allocator);
  13357. +/* Sr__MoveItemReq methods */
  13358. +void sr__move_item_req__init
  13359. + (Sr__MoveItemReq *message);
  13360. +size_t sr__move_item_req__get_packed_size
  13361. + (const Sr__MoveItemReq *message);
  13362. +size_t sr__move_item_req__pack
  13363. + (const Sr__MoveItemReq *message,
  13364. + uint8_t *out);
  13365. +size_t sr__move_item_req__pack_to_buffer
  13366. + (const Sr__MoveItemReq *message,
  13367. + ProtobufCBuffer *buffer);
  13368. +Sr__MoveItemReq *
  13369. + sr__move_item_req__unpack
  13370. + (ProtobufCAllocator *allocator,
  13371. + size_t len,
  13372. + const uint8_t *data);
  13373. +void sr__move_item_req__free_unpacked
  13374. + (Sr__MoveItemReq *message,
  13375. + ProtobufCAllocator *allocator);
  13376. +/* Sr__MoveItemResp methods */
  13377. +void sr__move_item_resp__init
  13378. + (Sr__MoveItemResp *message);
  13379. +size_t sr__move_item_resp__get_packed_size
  13380. + (const Sr__MoveItemResp *message);
  13381. +size_t sr__move_item_resp__pack
  13382. + (const Sr__MoveItemResp *message,
  13383. + uint8_t *out);
  13384. +size_t sr__move_item_resp__pack_to_buffer
  13385. + (const Sr__MoveItemResp *message,
  13386. + ProtobufCBuffer *buffer);
  13387. +Sr__MoveItemResp *
  13388. + sr__move_item_resp__unpack
  13389. + (ProtobufCAllocator *allocator,
  13390. + size_t len,
  13391. + const uint8_t *data);
  13392. +void sr__move_item_resp__free_unpacked
  13393. + (Sr__MoveItemResp *message,
  13394. + ProtobufCAllocator *allocator);
  13395. +/* Sr__ValidateReq methods */
  13396. +void sr__validate_req__init
  13397. + (Sr__ValidateReq *message);
  13398. +size_t sr__validate_req__get_packed_size
  13399. + (const Sr__ValidateReq *message);
  13400. +size_t sr__validate_req__pack
  13401. + (const Sr__ValidateReq *message,
  13402. + uint8_t *out);
  13403. +size_t sr__validate_req__pack_to_buffer
  13404. + (const Sr__ValidateReq *message,
  13405. + ProtobufCBuffer *buffer);
  13406. +Sr__ValidateReq *
  13407. + sr__validate_req__unpack
  13408. + (ProtobufCAllocator *allocator,
  13409. + size_t len,
  13410. + const uint8_t *data);
  13411. +void sr__validate_req__free_unpacked
  13412. + (Sr__ValidateReq *message,
  13413. + ProtobufCAllocator *allocator);
  13414. +/* Sr__ValidateResp methods */
  13415. +void sr__validate_resp__init
  13416. + (Sr__ValidateResp *message);
  13417. +size_t sr__validate_resp__get_packed_size
  13418. + (const Sr__ValidateResp *message);
  13419. +size_t sr__validate_resp__pack
  13420. + (const Sr__ValidateResp *message,
  13421. + uint8_t *out);
  13422. +size_t sr__validate_resp__pack_to_buffer
  13423. + (const Sr__ValidateResp *message,
  13424. + ProtobufCBuffer *buffer);
  13425. +Sr__ValidateResp *
  13426. + sr__validate_resp__unpack
  13427. + (ProtobufCAllocator *allocator,
  13428. + size_t len,
  13429. + const uint8_t *data);
  13430. +void sr__validate_resp__free_unpacked
  13431. + (Sr__ValidateResp *message,
  13432. + ProtobufCAllocator *allocator);
  13433. +/* Sr__CommitReq methods */
  13434. +void sr__commit_req__init
  13435. + (Sr__CommitReq *message);
  13436. +size_t sr__commit_req__get_packed_size
  13437. + (const Sr__CommitReq *message);
  13438. +size_t sr__commit_req__pack
  13439. + (const Sr__CommitReq *message,
  13440. + uint8_t *out);
  13441. +size_t sr__commit_req__pack_to_buffer
  13442. + (const Sr__CommitReq *message,
  13443. + ProtobufCBuffer *buffer);
  13444. +Sr__CommitReq *
  13445. + sr__commit_req__unpack
  13446. + (ProtobufCAllocator *allocator,
  13447. + size_t len,
  13448. + const uint8_t *data);
  13449. +void sr__commit_req__free_unpacked
  13450. + (Sr__CommitReq *message,
  13451. + ProtobufCAllocator *allocator);
  13452. +/* Sr__CommitResp methods */
  13453. +void sr__commit_resp__init
  13454. + (Sr__CommitResp *message);
  13455. +size_t sr__commit_resp__get_packed_size
  13456. + (const Sr__CommitResp *message);
  13457. +size_t sr__commit_resp__pack
  13458. + (const Sr__CommitResp *message,
  13459. + uint8_t *out);
  13460. +size_t sr__commit_resp__pack_to_buffer
  13461. + (const Sr__CommitResp *message,
  13462. + ProtobufCBuffer *buffer);
  13463. +Sr__CommitResp *
  13464. + sr__commit_resp__unpack
  13465. + (ProtobufCAllocator *allocator,
  13466. + size_t len,
  13467. + const uint8_t *data);
  13468. +void sr__commit_resp__free_unpacked
  13469. + (Sr__CommitResp *message,
  13470. + ProtobufCAllocator *allocator);
  13471. +/* Sr__DiscardChangesReq methods */
  13472. +void sr__discard_changes_req__init
  13473. + (Sr__DiscardChangesReq *message);
  13474. +size_t sr__discard_changes_req__get_packed_size
  13475. + (const Sr__DiscardChangesReq *message);
  13476. +size_t sr__discard_changes_req__pack
  13477. + (const Sr__DiscardChangesReq *message,
  13478. + uint8_t *out);
  13479. +size_t sr__discard_changes_req__pack_to_buffer
  13480. + (const Sr__DiscardChangesReq *message,
  13481. + ProtobufCBuffer *buffer);
  13482. +Sr__DiscardChangesReq *
  13483. + sr__discard_changes_req__unpack
  13484. + (ProtobufCAllocator *allocator,
  13485. + size_t len,
  13486. + const uint8_t *data);
  13487. +void sr__discard_changes_req__free_unpacked
  13488. + (Sr__DiscardChangesReq *message,
  13489. + ProtobufCAllocator *allocator);
  13490. +/* Sr__DiscardChangesResp methods */
  13491. +void sr__discard_changes_resp__init
  13492. + (Sr__DiscardChangesResp *message);
  13493. +size_t sr__discard_changes_resp__get_packed_size
  13494. + (const Sr__DiscardChangesResp *message);
  13495. +size_t sr__discard_changes_resp__pack
  13496. + (const Sr__DiscardChangesResp *message,
  13497. + uint8_t *out);
  13498. +size_t sr__discard_changes_resp__pack_to_buffer
  13499. + (const Sr__DiscardChangesResp *message,
  13500. + ProtobufCBuffer *buffer);
  13501. +Sr__DiscardChangesResp *
  13502. + sr__discard_changes_resp__unpack
  13503. + (ProtobufCAllocator *allocator,
  13504. + size_t len,
  13505. + const uint8_t *data);
  13506. +void sr__discard_changes_resp__free_unpacked
  13507. + (Sr__DiscardChangesResp *message,
  13508. + ProtobufCAllocator *allocator);
  13509. +/* Sr__CopyConfigReq methods */
  13510. +void sr__copy_config_req__init
  13511. + (Sr__CopyConfigReq *message);
  13512. +size_t sr__copy_config_req__get_packed_size
  13513. + (const Sr__CopyConfigReq *message);
  13514. +size_t sr__copy_config_req__pack
  13515. + (const Sr__CopyConfigReq *message,
  13516. + uint8_t *out);
  13517. +size_t sr__copy_config_req__pack_to_buffer
  13518. + (const Sr__CopyConfigReq *message,
  13519. + ProtobufCBuffer *buffer);
  13520. +Sr__CopyConfigReq *
  13521. + sr__copy_config_req__unpack
  13522. + (ProtobufCAllocator *allocator,
  13523. + size_t len,
  13524. + const uint8_t *data);
  13525. +void sr__copy_config_req__free_unpacked
  13526. + (Sr__CopyConfigReq *message,
  13527. + ProtobufCAllocator *allocator);
  13528. +/* Sr__CopyConfigResp methods */
  13529. +void sr__copy_config_resp__init
  13530. + (Sr__CopyConfigResp *message);
  13531. +size_t sr__copy_config_resp__get_packed_size
  13532. + (const Sr__CopyConfigResp *message);
  13533. +size_t sr__copy_config_resp__pack
  13534. + (const Sr__CopyConfigResp *message,
  13535. + uint8_t *out);
  13536. +size_t sr__copy_config_resp__pack_to_buffer
  13537. + (const Sr__CopyConfigResp *message,
  13538. + ProtobufCBuffer *buffer);
  13539. +Sr__CopyConfigResp *
  13540. + sr__copy_config_resp__unpack
  13541. + (ProtobufCAllocator *allocator,
  13542. + size_t len,
  13543. + const uint8_t *data);
  13544. +void sr__copy_config_resp__free_unpacked
  13545. + (Sr__CopyConfigResp *message,
  13546. + ProtobufCAllocator *allocator);
  13547. +/* Sr__LockReq methods */
  13548. +void sr__lock_req__init
  13549. + (Sr__LockReq *message);
  13550. +size_t sr__lock_req__get_packed_size
  13551. + (const Sr__LockReq *message);
  13552. +size_t sr__lock_req__pack
  13553. + (const Sr__LockReq *message,
  13554. + uint8_t *out);
  13555. +size_t sr__lock_req__pack_to_buffer
  13556. + (const Sr__LockReq *message,
  13557. + ProtobufCBuffer *buffer);
  13558. +Sr__LockReq *
  13559. + sr__lock_req__unpack
  13560. + (ProtobufCAllocator *allocator,
  13561. + size_t len,
  13562. + const uint8_t *data);
  13563. +void sr__lock_req__free_unpacked
  13564. + (Sr__LockReq *message,
  13565. + ProtobufCAllocator *allocator);
  13566. +/* Sr__LockResp methods */
  13567. +void sr__lock_resp__init
  13568. + (Sr__LockResp *message);
  13569. +size_t sr__lock_resp__get_packed_size
  13570. + (const Sr__LockResp *message);
  13571. +size_t sr__lock_resp__pack
  13572. + (const Sr__LockResp *message,
  13573. + uint8_t *out);
  13574. +size_t sr__lock_resp__pack_to_buffer
  13575. + (const Sr__LockResp *message,
  13576. + ProtobufCBuffer *buffer);
  13577. +Sr__LockResp *
  13578. + sr__lock_resp__unpack
  13579. + (ProtobufCAllocator *allocator,
  13580. + size_t len,
  13581. + const uint8_t *data);
  13582. +void sr__lock_resp__free_unpacked
  13583. + (Sr__LockResp *message,
  13584. + ProtobufCAllocator *allocator);
  13585. +/* Sr__UnlockReq methods */
  13586. +void sr__unlock_req__init
  13587. + (Sr__UnlockReq *message);
  13588. +size_t sr__unlock_req__get_packed_size
  13589. + (const Sr__UnlockReq *message);
  13590. +size_t sr__unlock_req__pack
  13591. + (const Sr__UnlockReq *message,
  13592. + uint8_t *out);
  13593. +size_t sr__unlock_req__pack_to_buffer
  13594. + (const Sr__UnlockReq *message,
  13595. + ProtobufCBuffer *buffer);
  13596. +Sr__UnlockReq *
  13597. + sr__unlock_req__unpack
  13598. + (ProtobufCAllocator *allocator,
  13599. + size_t len,
  13600. + const uint8_t *data);
  13601. +void sr__unlock_req__free_unpacked
  13602. + (Sr__UnlockReq *message,
  13603. + ProtobufCAllocator *allocator);
  13604. +/* Sr__UnlockResp methods */
  13605. +void sr__unlock_resp__init
  13606. + (Sr__UnlockResp *message);
  13607. +size_t sr__unlock_resp__get_packed_size
  13608. + (const Sr__UnlockResp *message);
  13609. +size_t sr__unlock_resp__pack
  13610. + (const Sr__UnlockResp *message,
  13611. + uint8_t *out);
  13612. +size_t sr__unlock_resp__pack_to_buffer
  13613. + (const Sr__UnlockResp *message,
  13614. + ProtobufCBuffer *buffer);
  13615. +Sr__UnlockResp *
  13616. + sr__unlock_resp__unpack
  13617. + (ProtobufCAllocator *allocator,
  13618. + size_t len,
  13619. + const uint8_t *data);
  13620. +void sr__unlock_resp__free_unpacked
  13621. + (Sr__UnlockResp *message,
  13622. + ProtobufCAllocator *allocator);
  13623. +/* Sr__SubscribeReq methods */
  13624. +void sr__subscribe_req__init
  13625. + (Sr__SubscribeReq *message);
  13626. +size_t sr__subscribe_req__get_packed_size
  13627. + (const Sr__SubscribeReq *message);
  13628. +size_t sr__subscribe_req__pack
  13629. + (const Sr__SubscribeReq *message,
  13630. + uint8_t *out);
  13631. +size_t sr__subscribe_req__pack_to_buffer
  13632. + (const Sr__SubscribeReq *message,
  13633. + ProtobufCBuffer *buffer);
  13634. +Sr__SubscribeReq *
  13635. + sr__subscribe_req__unpack
  13636. + (ProtobufCAllocator *allocator,
  13637. + size_t len,
  13638. + const uint8_t *data);
  13639. +void sr__subscribe_req__free_unpacked
  13640. + (Sr__SubscribeReq *message,
  13641. + ProtobufCAllocator *allocator);
  13642. +/* Sr__SubscribeResp methods */
  13643. +void sr__subscribe_resp__init
  13644. + (Sr__SubscribeResp *message);
  13645. +size_t sr__subscribe_resp__get_packed_size
  13646. + (const Sr__SubscribeResp *message);
  13647. +size_t sr__subscribe_resp__pack
  13648. + (const Sr__SubscribeResp *message,
  13649. + uint8_t *out);
  13650. +size_t sr__subscribe_resp__pack_to_buffer
  13651. + (const Sr__SubscribeResp *message,
  13652. + ProtobufCBuffer *buffer);
  13653. +Sr__SubscribeResp *
  13654. + sr__subscribe_resp__unpack
  13655. + (ProtobufCAllocator *allocator,
  13656. + size_t len,
  13657. + const uint8_t *data);
  13658. +void sr__subscribe_resp__free_unpacked
  13659. + (Sr__SubscribeResp *message,
  13660. + ProtobufCAllocator *allocator);
  13661. +/* Sr__UnsubscribeReq methods */
  13662. +void sr__unsubscribe_req__init
  13663. + (Sr__UnsubscribeReq *message);
  13664. +size_t sr__unsubscribe_req__get_packed_size
  13665. + (const Sr__UnsubscribeReq *message);
  13666. +size_t sr__unsubscribe_req__pack
  13667. + (const Sr__UnsubscribeReq *message,
  13668. + uint8_t *out);
  13669. +size_t sr__unsubscribe_req__pack_to_buffer
  13670. + (const Sr__UnsubscribeReq *message,
  13671. + ProtobufCBuffer *buffer);
  13672. +Sr__UnsubscribeReq *
  13673. + sr__unsubscribe_req__unpack
  13674. + (ProtobufCAllocator *allocator,
  13675. + size_t len,
  13676. + const uint8_t *data);
  13677. +void sr__unsubscribe_req__free_unpacked
  13678. + (Sr__UnsubscribeReq *message,
  13679. + ProtobufCAllocator *allocator);
  13680. +/* Sr__UnsubscribeResp methods */
  13681. +void sr__unsubscribe_resp__init
  13682. + (Sr__UnsubscribeResp *message);
  13683. +size_t sr__unsubscribe_resp__get_packed_size
  13684. + (const Sr__UnsubscribeResp *message);
  13685. +size_t sr__unsubscribe_resp__pack
  13686. + (const Sr__UnsubscribeResp *message,
  13687. + uint8_t *out);
  13688. +size_t sr__unsubscribe_resp__pack_to_buffer
  13689. + (const Sr__UnsubscribeResp *message,
  13690. + ProtobufCBuffer *buffer);
  13691. +Sr__UnsubscribeResp *
  13692. + sr__unsubscribe_resp__unpack
  13693. + (ProtobufCAllocator *allocator,
  13694. + size_t len,
  13695. + const uint8_t *data);
  13696. +void sr__unsubscribe_resp__free_unpacked
  13697. + (Sr__UnsubscribeResp *message,
  13698. + ProtobufCAllocator *allocator);
  13699. +/* Sr__CheckEnabledRunningReq methods */
  13700. +void sr__check_enabled_running_req__init
  13701. + (Sr__CheckEnabledRunningReq *message);
  13702. +size_t sr__check_enabled_running_req__get_packed_size
  13703. + (const Sr__CheckEnabledRunningReq *message);
  13704. +size_t sr__check_enabled_running_req__pack
  13705. + (const Sr__CheckEnabledRunningReq *message,
  13706. + uint8_t *out);
  13707. +size_t sr__check_enabled_running_req__pack_to_buffer
  13708. + (const Sr__CheckEnabledRunningReq *message,
  13709. + ProtobufCBuffer *buffer);
  13710. +Sr__CheckEnabledRunningReq *
  13711. + sr__check_enabled_running_req__unpack
  13712. + (ProtobufCAllocator *allocator,
  13713. + size_t len,
  13714. + const uint8_t *data);
  13715. +void sr__check_enabled_running_req__free_unpacked
  13716. + (Sr__CheckEnabledRunningReq *message,
  13717. + ProtobufCAllocator *allocator);
  13718. +/* Sr__CheckEnabledRunningResp methods */
  13719. +void sr__check_enabled_running_resp__init
  13720. + (Sr__CheckEnabledRunningResp *message);
  13721. +size_t sr__check_enabled_running_resp__get_packed_size
  13722. + (const Sr__CheckEnabledRunningResp *message);
  13723. +size_t sr__check_enabled_running_resp__pack
  13724. + (const Sr__CheckEnabledRunningResp *message,
  13725. + uint8_t *out);
  13726. +size_t sr__check_enabled_running_resp__pack_to_buffer
  13727. + (const Sr__CheckEnabledRunningResp *message,
  13728. + ProtobufCBuffer *buffer);
  13729. +Sr__CheckEnabledRunningResp *
  13730. + sr__check_enabled_running_resp__unpack
  13731. + (ProtobufCAllocator *allocator,
  13732. + size_t len,
  13733. + const uint8_t *data);
  13734. +void sr__check_enabled_running_resp__free_unpacked
  13735. + (Sr__CheckEnabledRunningResp *message,
  13736. + ProtobufCAllocator *allocator);
  13737. +/* Sr__ModuleInstallNotification methods */
  13738. +void sr__module_install_notification__init
  13739. + (Sr__ModuleInstallNotification *message);
  13740. +size_t sr__module_install_notification__get_packed_size
  13741. + (const Sr__ModuleInstallNotification *message);
  13742. +size_t sr__module_install_notification__pack
  13743. + (const Sr__ModuleInstallNotification *message,
  13744. + uint8_t *out);
  13745. +size_t sr__module_install_notification__pack_to_buffer
  13746. + (const Sr__ModuleInstallNotification *message,
  13747. + ProtobufCBuffer *buffer);
  13748. +Sr__ModuleInstallNotification *
  13749. + sr__module_install_notification__unpack
  13750. + (ProtobufCAllocator *allocator,
  13751. + size_t len,
  13752. + const uint8_t *data);
  13753. +void sr__module_install_notification__free_unpacked
  13754. + (Sr__ModuleInstallNotification *message,
  13755. + ProtobufCAllocator *allocator);
  13756. +/* Sr__FeatureEnableNotification methods */
  13757. +void sr__feature_enable_notification__init
  13758. + (Sr__FeatureEnableNotification *message);
  13759. +size_t sr__feature_enable_notification__get_packed_size
  13760. + (const Sr__FeatureEnableNotification *message);
  13761. +size_t sr__feature_enable_notification__pack
  13762. + (const Sr__FeatureEnableNotification *message,
  13763. + uint8_t *out);
  13764. +size_t sr__feature_enable_notification__pack_to_buffer
  13765. + (const Sr__FeatureEnableNotification *message,
  13766. + ProtobufCBuffer *buffer);
  13767. +Sr__FeatureEnableNotification *
  13768. + sr__feature_enable_notification__unpack
  13769. + (ProtobufCAllocator *allocator,
  13770. + size_t len,
  13771. + const uint8_t *data);
  13772. +void sr__feature_enable_notification__free_unpacked
  13773. + (Sr__FeatureEnableNotification *message,
  13774. + ProtobufCAllocator *allocator);
  13775. +/* Sr__ModuleChangeNotification methods */
  13776. +void sr__module_change_notification__init
  13777. + (Sr__ModuleChangeNotification *message);
  13778. +size_t sr__module_change_notification__get_packed_size
  13779. + (const Sr__ModuleChangeNotification *message);
  13780. +size_t sr__module_change_notification__pack
  13781. + (const Sr__ModuleChangeNotification *message,
  13782. + uint8_t *out);
  13783. +size_t sr__module_change_notification__pack_to_buffer
  13784. + (const Sr__ModuleChangeNotification *message,
  13785. + ProtobufCBuffer *buffer);
  13786. +Sr__ModuleChangeNotification *
  13787. + sr__module_change_notification__unpack
  13788. + (ProtobufCAllocator *allocator,
  13789. + size_t len,
  13790. + const uint8_t *data);
  13791. +void sr__module_change_notification__free_unpacked
  13792. + (Sr__ModuleChangeNotification *message,
  13793. + ProtobufCAllocator *allocator);
  13794. +/* Sr__SubtreeChangeNotification methods */
  13795. +void sr__subtree_change_notification__init
  13796. + (Sr__SubtreeChangeNotification *message);
  13797. +size_t sr__subtree_change_notification__get_packed_size
  13798. + (const Sr__SubtreeChangeNotification *message);
  13799. +size_t sr__subtree_change_notification__pack
  13800. + (const Sr__SubtreeChangeNotification *message,
  13801. + uint8_t *out);
  13802. +size_t sr__subtree_change_notification__pack_to_buffer
  13803. + (const Sr__SubtreeChangeNotification *message,
  13804. + ProtobufCBuffer *buffer);
  13805. +Sr__SubtreeChangeNotification *
  13806. + sr__subtree_change_notification__unpack
  13807. + (ProtobufCAllocator *allocator,
  13808. + size_t len,
  13809. + const uint8_t *data);
  13810. +void sr__subtree_change_notification__free_unpacked
  13811. + (Sr__SubtreeChangeNotification *message,
  13812. + ProtobufCAllocator *allocator);
  13813. +/* Sr__Change methods */
  13814. +void sr__change__init
  13815. + (Sr__Change *message);
  13816. +size_t sr__change__get_packed_size
  13817. + (const Sr__Change *message);
  13818. +size_t sr__change__pack
  13819. + (const Sr__Change *message,
  13820. + uint8_t *out);
  13821. +size_t sr__change__pack_to_buffer
  13822. + (const Sr__Change *message,
  13823. + ProtobufCBuffer *buffer);
  13824. +Sr__Change *
  13825. + sr__change__unpack
  13826. + (ProtobufCAllocator *allocator,
  13827. + size_t len,
  13828. + const uint8_t *data);
  13829. +void sr__change__free_unpacked
  13830. + (Sr__Change *message,
  13831. + ProtobufCAllocator *allocator);
  13832. +/* Sr__GetChangesReq methods */
  13833. +void sr__get_changes_req__init
  13834. + (Sr__GetChangesReq *message);
  13835. +size_t sr__get_changes_req__get_packed_size
  13836. + (const Sr__GetChangesReq *message);
  13837. +size_t sr__get_changes_req__pack
  13838. + (const Sr__GetChangesReq *message,
  13839. + uint8_t *out);
  13840. +size_t sr__get_changes_req__pack_to_buffer
  13841. + (const Sr__GetChangesReq *message,
  13842. + ProtobufCBuffer *buffer);
  13843. +Sr__GetChangesReq *
  13844. + sr__get_changes_req__unpack
  13845. + (ProtobufCAllocator *allocator,
  13846. + size_t len,
  13847. + const uint8_t *data);
  13848. +void sr__get_changes_req__free_unpacked
  13849. + (Sr__GetChangesReq *message,
  13850. + ProtobufCAllocator *allocator);
  13851. +/* Sr__GetChangesResp methods */
  13852. +void sr__get_changes_resp__init
  13853. + (Sr__GetChangesResp *message);
  13854. +size_t sr__get_changes_resp__get_packed_size
  13855. + (const Sr__GetChangesResp *message);
  13856. +size_t sr__get_changes_resp__pack
  13857. + (const Sr__GetChangesResp *message,
  13858. + uint8_t *out);
  13859. +size_t sr__get_changes_resp__pack_to_buffer
  13860. + (const Sr__GetChangesResp *message,
  13861. + ProtobufCBuffer *buffer);
  13862. +Sr__GetChangesResp *
  13863. + sr__get_changes_resp__unpack
  13864. + (ProtobufCAllocator *allocator,
  13865. + size_t len,
  13866. + const uint8_t *data);
  13867. +void sr__get_changes_resp__free_unpacked
  13868. + (Sr__GetChangesResp *message,
  13869. + ProtobufCAllocator *allocator);
  13870. +/* Sr__CheckExecPermReq methods */
  13871. +void sr__check_exec_perm_req__init
  13872. + (Sr__CheckExecPermReq *message);
  13873. +size_t sr__check_exec_perm_req__get_packed_size
  13874. + (const Sr__CheckExecPermReq *message);
  13875. +size_t sr__check_exec_perm_req__pack
  13876. + (const Sr__CheckExecPermReq *message,
  13877. + uint8_t *out);
  13878. +size_t sr__check_exec_perm_req__pack_to_buffer
  13879. + (const Sr__CheckExecPermReq *message,
  13880. + ProtobufCBuffer *buffer);
  13881. +Sr__CheckExecPermReq *
  13882. + sr__check_exec_perm_req__unpack
  13883. + (ProtobufCAllocator *allocator,
  13884. + size_t len,
  13885. + const uint8_t *data);
  13886. +void sr__check_exec_perm_req__free_unpacked
  13887. + (Sr__CheckExecPermReq *message,
  13888. + ProtobufCAllocator *allocator);
  13889. +/* Sr__CheckExecPermResp methods */
  13890. +void sr__check_exec_perm_resp__init
  13891. + (Sr__CheckExecPermResp *message);
  13892. +size_t sr__check_exec_perm_resp__get_packed_size
  13893. + (const Sr__CheckExecPermResp *message);
  13894. +size_t sr__check_exec_perm_resp__pack
  13895. + (const Sr__CheckExecPermResp *message,
  13896. + uint8_t *out);
  13897. +size_t sr__check_exec_perm_resp__pack_to_buffer
  13898. + (const Sr__CheckExecPermResp *message,
  13899. + ProtobufCBuffer *buffer);
  13900. +Sr__CheckExecPermResp *
  13901. + sr__check_exec_perm_resp__unpack
  13902. + (ProtobufCAllocator *allocator,
  13903. + size_t len,
  13904. + const uint8_t *data);
  13905. +void sr__check_exec_perm_resp__free_unpacked
  13906. + (Sr__CheckExecPermResp *message,
  13907. + ProtobufCAllocator *allocator);
  13908. +/* Sr__RPCReq methods */
  13909. +void sr__rpcreq__init
  13910. + (Sr__RPCReq *message);
  13911. +size_t sr__rpcreq__get_packed_size
  13912. + (const Sr__RPCReq *message);
  13913. +size_t sr__rpcreq__pack
  13914. + (const Sr__RPCReq *message,
  13915. + uint8_t *out);
  13916. +size_t sr__rpcreq__pack_to_buffer
  13917. + (const Sr__RPCReq *message,
  13918. + ProtobufCBuffer *buffer);
  13919. +Sr__RPCReq *
  13920. + sr__rpcreq__unpack
  13921. + (ProtobufCAllocator *allocator,
  13922. + size_t len,
  13923. + const uint8_t *data);
  13924. +void sr__rpcreq__free_unpacked
  13925. + (Sr__RPCReq *message,
  13926. + ProtobufCAllocator *allocator);
  13927. +/* Sr__RPCResp methods */
  13928. +void sr__rpcresp__init
  13929. + (Sr__RPCResp *message);
  13930. +size_t sr__rpcresp__get_packed_size
  13931. + (const Sr__RPCResp *message);
  13932. +size_t sr__rpcresp__pack
  13933. + (const Sr__RPCResp *message,
  13934. + uint8_t *out);
  13935. +size_t sr__rpcresp__pack_to_buffer
  13936. + (const Sr__RPCResp *message,
  13937. + ProtobufCBuffer *buffer);
  13938. +Sr__RPCResp *
  13939. + sr__rpcresp__unpack
  13940. + (ProtobufCAllocator *allocator,
  13941. + size_t len,
  13942. + const uint8_t *data);
  13943. +void sr__rpcresp__free_unpacked
  13944. + (Sr__RPCResp *message,
  13945. + ProtobufCAllocator *allocator);
  13946. +/* Sr__EventNotifReq methods */
  13947. +void sr__event_notif_req__init
  13948. + (Sr__EventNotifReq *message);
  13949. +size_t sr__event_notif_req__get_packed_size
  13950. + (const Sr__EventNotifReq *message);
  13951. +size_t sr__event_notif_req__pack
  13952. + (const Sr__EventNotifReq *message,
  13953. + uint8_t *out);
  13954. +size_t sr__event_notif_req__pack_to_buffer
  13955. + (const Sr__EventNotifReq *message,
  13956. + ProtobufCBuffer *buffer);
  13957. +Sr__EventNotifReq *
  13958. + sr__event_notif_req__unpack
  13959. + (ProtobufCAllocator *allocator,
  13960. + size_t len,
  13961. + const uint8_t *data);
  13962. +void sr__event_notif_req__free_unpacked
  13963. + (Sr__EventNotifReq *message,
  13964. + ProtobufCAllocator *allocator);
  13965. +/* Sr__EventNotifResp methods */
  13966. +void sr__event_notif_resp__init
  13967. + (Sr__EventNotifResp *message);
  13968. +size_t sr__event_notif_resp__get_packed_size
  13969. + (const Sr__EventNotifResp *message);
  13970. +size_t sr__event_notif_resp__pack
  13971. + (const Sr__EventNotifResp *message,
  13972. + uint8_t *out);
  13973. +size_t sr__event_notif_resp__pack_to_buffer
  13974. + (const Sr__EventNotifResp *message,
  13975. + ProtobufCBuffer *buffer);
  13976. +Sr__EventNotifResp *
  13977. + sr__event_notif_resp__unpack
  13978. + (ProtobufCAllocator *allocator,
  13979. + size_t len,
  13980. + const uint8_t *data);
  13981. +void sr__event_notif_resp__free_unpacked
  13982. + (Sr__EventNotifResp *message,
  13983. + ProtobufCAllocator *allocator);
  13984. +/* Sr__EventNotifReplayReq methods */
  13985. +void sr__event_notif_replay_req__init
  13986. + (Sr__EventNotifReplayReq *message);
  13987. +size_t sr__event_notif_replay_req__get_packed_size
  13988. + (const Sr__EventNotifReplayReq *message);
  13989. +size_t sr__event_notif_replay_req__pack
  13990. + (const Sr__EventNotifReplayReq *message,
  13991. + uint8_t *out);
  13992. +size_t sr__event_notif_replay_req__pack_to_buffer
  13993. + (const Sr__EventNotifReplayReq *message,
  13994. + ProtobufCBuffer *buffer);
  13995. +Sr__EventNotifReplayReq *
  13996. + sr__event_notif_replay_req__unpack
  13997. + (ProtobufCAllocator *allocator,
  13998. + size_t len,
  13999. + const uint8_t *data);
  14000. +void sr__event_notif_replay_req__free_unpacked
  14001. + (Sr__EventNotifReplayReq *message,
  14002. + ProtobufCAllocator *allocator);
  14003. +/* Sr__EventNotifReplayResp methods */
  14004. +void sr__event_notif_replay_resp__init
  14005. + (Sr__EventNotifReplayResp *message);
  14006. +size_t sr__event_notif_replay_resp__get_packed_size
  14007. + (const Sr__EventNotifReplayResp *message);
  14008. +size_t sr__event_notif_replay_resp__pack
  14009. + (const Sr__EventNotifReplayResp *message,
  14010. + uint8_t *out);
  14011. +size_t sr__event_notif_replay_resp__pack_to_buffer
  14012. + (const Sr__EventNotifReplayResp *message,
  14013. + ProtobufCBuffer *buffer);
  14014. +Sr__EventNotifReplayResp *
  14015. + sr__event_notif_replay_resp__unpack
  14016. + (ProtobufCAllocator *allocator,
  14017. + size_t len,
  14018. + const uint8_t *data);
  14019. +void sr__event_notif_replay_resp__free_unpacked
  14020. + (Sr__EventNotifReplayResp *message,
  14021. + ProtobufCAllocator *allocator);
  14022. +/* Sr__DataProvideReq methods */
  14023. +void sr__data_provide_req__init
  14024. + (Sr__DataProvideReq *message);
  14025. +size_t sr__data_provide_req__get_packed_size
  14026. + (const Sr__DataProvideReq *message);
  14027. +size_t sr__data_provide_req__pack
  14028. + (const Sr__DataProvideReq *message,
  14029. + uint8_t *out);
  14030. +size_t sr__data_provide_req__pack_to_buffer
  14031. + (const Sr__DataProvideReq *message,
  14032. + ProtobufCBuffer *buffer);
  14033. +Sr__DataProvideReq *
  14034. + sr__data_provide_req__unpack
  14035. + (ProtobufCAllocator *allocator,
  14036. + size_t len,
  14037. + const uint8_t *data);
  14038. +void sr__data_provide_req__free_unpacked
  14039. + (Sr__DataProvideReq *message,
  14040. + ProtobufCAllocator *allocator);
  14041. +/* Sr__DataProvideResp methods */
  14042. +void sr__data_provide_resp__init
  14043. + (Sr__DataProvideResp *message);
  14044. +size_t sr__data_provide_resp__get_packed_size
  14045. + (const Sr__DataProvideResp *message);
  14046. +size_t sr__data_provide_resp__pack
  14047. + (const Sr__DataProvideResp *message,
  14048. + uint8_t *out);
  14049. +size_t sr__data_provide_resp__pack_to_buffer
  14050. + (const Sr__DataProvideResp *message,
  14051. + ProtobufCBuffer *buffer);
  14052. +Sr__DataProvideResp *
  14053. + sr__data_provide_resp__unpack
  14054. + (ProtobufCAllocator *allocator,
  14055. + size_t len,
  14056. + const uint8_t *data);
  14057. +void sr__data_provide_resp__free_unpacked
  14058. + (Sr__DataProvideResp *message,
  14059. + ProtobufCAllocator *allocator);
  14060. +/* Sr__ModuleInstallReq methods */
  14061. +void sr__module_install_req__init
  14062. + (Sr__ModuleInstallReq *message);
  14063. +size_t sr__module_install_req__get_packed_size
  14064. + (const Sr__ModuleInstallReq *message);
  14065. +size_t sr__module_install_req__pack
  14066. + (const Sr__ModuleInstallReq *message,
  14067. + uint8_t *out);
  14068. +size_t sr__module_install_req__pack_to_buffer
  14069. + (const Sr__ModuleInstallReq *message,
  14070. + ProtobufCBuffer *buffer);
  14071. +Sr__ModuleInstallReq *
  14072. + sr__module_install_req__unpack
  14073. + (ProtobufCAllocator *allocator,
  14074. + size_t len,
  14075. + const uint8_t *data);
  14076. +void sr__module_install_req__free_unpacked
  14077. + (Sr__ModuleInstallReq *message,
  14078. + ProtobufCAllocator *allocator);
  14079. +/* Sr__ModuleInstallResp methods */
  14080. +void sr__module_install_resp__init
  14081. + (Sr__ModuleInstallResp *message);
  14082. +size_t sr__module_install_resp__get_packed_size
  14083. + (const Sr__ModuleInstallResp *message);
  14084. +size_t sr__module_install_resp__pack
  14085. + (const Sr__ModuleInstallResp *message,
  14086. + uint8_t *out);
  14087. +size_t sr__module_install_resp__pack_to_buffer
  14088. + (const Sr__ModuleInstallResp *message,
  14089. + ProtobufCBuffer *buffer);
  14090. +Sr__ModuleInstallResp *
  14091. + sr__module_install_resp__unpack
  14092. + (ProtobufCAllocator *allocator,
  14093. + size_t len,
  14094. + const uint8_t *data);
  14095. +void sr__module_install_resp__free_unpacked
  14096. + (Sr__ModuleInstallResp *message,
  14097. + ProtobufCAllocator *allocator);
  14098. +/* Sr__FeatureEnableReq methods */
  14099. +void sr__feature_enable_req__init
  14100. + (Sr__FeatureEnableReq *message);
  14101. +size_t sr__feature_enable_req__get_packed_size
  14102. + (const Sr__FeatureEnableReq *message);
  14103. +size_t sr__feature_enable_req__pack
  14104. + (const Sr__FeatureEnableReq *message,
  14105. + uint8_t *out);
  14106. +size_t sr__feature_enable_req__pack_to_buffer
  14107. + (const Sr__FeatureEnableReq *message,
  14108. + ProtobufCBuffer *buffer);
  14109. +Sr__FeatureEnableReq *
  14110. + sr__feature_enable_req__unpack
  14111. + (ProtobufCAllocator *allocator,
  14112. + size_t len,
  14113. + const uint8_t *data);
  14114. +void sr__feature_enable_req__free_unpacked
  14115. + (Sr__FeatureEnableReq *message,
  14116. + ProtobufCAllocator *allocator);
  14117. +/* Sr__FeatureEnableResp methods */
  14118. +void sr__feature_enable_resp__init
  14119. + (Sr__FeatureEnableResp *message);
  14120. +size_t sr__feature_enable_resp__get_packed_size
  14121. + (const Sr__FeatureEnableResp *message);
  14122. +size_t sr__feature_enable_resp__pack
  14123. + (const Sr__FeatureEnableResp *message,
  14124. + uint8_t *out);
  14125. +size_t sr__feature_enable_resp__pack_to_buffer
  14126. + (const Sr__FeatureEnableResp *message,
  14127. + ProtobufCBuffer *buffer);
  14128. +Sr__FeatureEnableResp *
  14129. + sr__feature_enable_resp__unpack
  14130. + (ProtobufCAllocator *allocator,
  14131. + size_t len,
  14132. + const uint8_t *data);
  14133. +void sr__feature_enable_resp__free_unpacked
  14134. + (Sr__FeatureEnableResp *message,
  14135. + ProtobufCAllocator *allocator);
  14136. +/* Sr__UnsubscribeDestinationReq methods */
  14137. +void sr__unsubscribe_destination_req__init
  14138. + (Sr__UnsubscribeDestinationReq *message);
  14139. +size_t sr__unsubscribe_destination_req__get_packed_size
  14140. + (const Sr__UnsubscribeDestinationReq *message);
  14141. +size_t sr__unsubscribe_destination_req__pack
  14142. + (const Sr__UnsubscribeDestinationReq *message,
  14143. + uint8_t *out);
  14144. +size_t sr__unsubscribe_destination_req__pack_to_buffer
  14145. + (const Sr__UnsubscribeDestinationReq *message,
  14146. + ProtobufCBuffer *buffer);
  14147. +Sr__UnsubscribeDestinationReq *
  14148. + sr__unsubscribe_destination_req__unpack
  14149. + (ProtobufCAllocator *allocator,
  14150. + size_t len,
  14151. + const uint8_t *data);
  14152. +void sr__unsubscribe_destination_req__free_unpacked
  14153. + (Sr__UnsubscribeDestinationReq *message,
  14154. + ProtobufCAllocator *allocator);
  14155. +/* Sr__CommitTimeoutReq methods */
  14156. +void sr__commit_timeout_req__init
  14157. + (Sr__CommitTimeoutReq *message);
  14158. +size_t sr__commit_timeout_req__get_packed_size
  14159. + (const Sr__CommitTimeoutReq *message);
  14160. +size_t sr__commit_timeout_req__pack
  14161. + (const Sr__CommitTimeoutReq *message,
  14162. + uint8_t *out);
  14163. +size_t sr__commit_timeout_req__pack_to_buffer
  14164. + (const Sr__CommitTimeoutReq *message,
  14165. + ProtobufCBuffer *buffer);
  14166. +Sr__CommitTimeoutReq *
  14167. + sr__commit_timeout_req__unpack
  14168. + (ProtobufCAllocator *allocator,
  14169. + size_t len,
  14170. + const uint8_t *data);
  14171. +void sr__commit_timeout_req__free_unpacked
  14172. + (Sr__CommitTimeoutReq *message,
  14173. + ProtobufCAllocator *allocator);
  14174. +/* Sr__OperDataTimeoutReq methods */
  14175. +void sr__oper_data_timeout_req__init
  14176. + (Sr__OperDataTimeoutReq *message);
  14177. +size_t sr__oper_data_timeout_req__get_packed_size
  14178. + (const Sr__OperDataTimeoutReq *message);
  14179. +size_t sr__oper_data_timeout_req__pack
  14180. + (const Sr__OperDataTimeoutReq *message,
  14181. + uint8_t *out);
  14182. +size_t sr__oper_data_timeout_req__pack_to_buffer
  14183. + (const Sr__OperDataTimeoutReq *message,
  14184. + ProtobufCBuffer *buffer);
  14185. +Sr__OperDataTimeoutReq *
  14186. + sr__oper_data_timeout_req__unpack
  14187. + (ProtobufCAllocator *allocator,
  14188. + size_t len,
  14189. + const uint8_t *data);
  14190. +void sr__oper_data_timeout_req__free_unpacked
  14191. + (Sr__OperDataTimeoutReq *message,
  14192. + ProtobufCAllocator *allocator);
  14193. +/* Sr__InternalStateDataReq methods */
  14194. +void sr__internal_state_data_req__init
  14195. + (Sr__InternalStateDataReq *message);
  14196. +size_t sr__internal_state_data_req__get_packed_size
  14197. + (const Sr__InternalStateDataReq *message);
  14198. +size_t sr__internal_state_data_req__pack
  14199. + (const Sr__InternalStateDataReq *message,
  14200. + uint8_t *out);
  14201. +size_t sr__internal_state_data_req__pack_to_buffer
  14202. + (const Sr__InternalStateDataReq *message,
  14203. + ProtobufCBuffer *buffer);
  14204. +Sr__InternalStateDataReq *
  14205. + sr__internal_state_data_req__unpack
  14206. + (ProtobufCAllocator *allocator,
  14207. + size_t len,
  14208. + const uint8_t *data);
  14209. +void sr__internal_state_data_req__free_unpacked
  14210. + (Sr__InternalStateDataReq *message,
  14211. + ProtobufCAllocator *allocator);
  14212. +/* Sr__NotifStoreCleanupReq methods */
  14213. +void sr__notif_store_cleanup_req__init
  14214. + (Sr__NotifStoreCleanupReq *message);
  14215. +size_t sr__notif_store_cleanup_req__get_packed_size
  14216. + (const Sr__NotifStoreCleanupReq *message);
  14217. +size_t sr__notif_store_cleanup_req__pack
  14218. + (const Sr__NotifStoreCleanupReq *message,
  14219. + uint8_t *out);
  14220. +size_t sr__notif_store_cleanup_req__pack_to_buffer
  14221. + (const Sr__NotifStoreCleanupReq *message,
  14222. + ProtobufCBuffer *buffer);
  14223. +Sr__NotifStoreCleanupReq *
  14224. + sr__notif_store_cleanup_req__unpack
  14225. + (ProtobufCAllocator *allocator,
  14226. + size_t len,
  14227. + const uint8_t *data);
  14228. +void sr__notif_store_cleanup_req__free_unpacked
  14229. + (Sr__NotifStoreCleanupReq *message,
  14230. + ProtobufCAllocator *allocator);
  14231. +/* Sr__DelayedMsgReq methods */
  14232. +void sr__delayed_msg_req__init
  14233. + (Sr__DelayedMsgReq *message);
  14234. +size_t sr__delayed_msg_req__get_packed_size
  14235. + (const Sr__DelayedMsgReq *message);
  14236. +size_t sr__delayed_msg_req__pack
  14237. + (const Sr__DelayedMsgReq *message,
  14238. + uint8_t *out);
  14239. +size_t sr__delayed_msg_req__pack_to_buffer
  14240. + (const Sr__DelayedMsgReq *message,
  14241. + ProtobufCBuffer *buffer);
  14242. +Sr__DelayedMsgReq *
  14243. + sr__delayed_msg_req__unpack
  14244. + (ProtobufCAllocator *allocator,
  14245. + size_t len,
  14246. + const uint8_t *data);
  14247. +void sr__delayed_msg_req__free_unpacked
  14248. + (Sr__DelayedMsgReq *message,
  14249. + ProtobufCAllocator *allocator);
  14250. +/* Sr__NacmReloadReq methods */
  14251. +void sr__nacm_reload_req__init
  14252. + (Sr__NacmReloadReq *message);
  14253. +size_t sr__nacm_reload_req__get_packed_size
  14254. + (const Sr__NacmReloadReq *message);
  14255. +size_t sr__nacm_reload_req__pack
  14256. + (const Sr__NacmReloadReq *message,
  14257. + uint8_t *out);
  14258. +size_t sr__nacm_reload_req__pack_to_buffer
  14259. + (const Sr__NacmReloadReq *message,
  14260. + ProtobufCBuffer *buffer);
  14261. +Sr__NacmReloadReq *
  14262. + sr__nacm_reload_req__unpack
  14263. + (ProtobufCAllocator *allocator,
  14264. + size_t len,
  14265. + const uint8_t *data);
  14266. +void sr__nacm_reload_req__free_unpacked
  14267. + (Sr__NacmReloadReq *message,
  14268. + ProtobufCAllocator *allocator);
  14269. +/* Sr__Request methods */
  14270. +void sr__request__init
  14271. + (Sr__Request *message);
  14272. +size_t sr__request__get_packed_size
  14273. + (const Sr__Request *message);
  14274. +size_t sr__request__pack
  14275. + (const Sr__Request *message,
  14276. + uint8_t *out);
  14277. +size_t sr__request__pack_to_buffer
  14278. + (const Sr__Request *message,
  14279. + ProtobufCBuffer *buffer);
  14280. +Sr__Request *
  14281. + sr__request__unpack
  14282. + (ProtobufCAllocator *allocator,
  14283. + size_t len,
  14284. + const uint8_t *data);
  14285. +void sr__request__free_unpacked
  14286. + (Sr__Request *message,
  14287. + ProtobufCAllocator *allocator);
  14288. +/* Sr__Response methods */
  14289. +void sr__response__init
  14290. + (Sr__Response *message);
  14291. +size_t sr__response__get_packed_size
  14292. + (const Sr__Response *message);
  14293. +size_t sr__response__pack
  14294. + (const Sr__Response *message,
  14295. + uint8_t *out);
  14296. +size_t sr__response__pack_to_buffer
  14297. + (const Sr__Response *message,
  14298. + ProtobufCBuffer *buffer);
  14299. +Sr__Response *
  14300. + sr__response__unpack
  14301. + (ProtobufCAllocator *allocator,
  14302. + size_t len,
  14303. + const uint8_t *data);
  14304. +void sr__response__free_unpacked
  14305. + (Sr__Response *message,
  14306. + ProtobufCAllocator *allocator);
  14307. +/* Sr__Notification methods */
  14308. +void sr__notification__init
  14309. + (Sr__Notification *message);
  14310. +size_t sr__notification__get_packed_size
  14311. + (const Sr__Notification *message);
  14312. +size_t sr__notification__pack
  14313. + (const Sr__Notification *message,
  14314. + uint8_t *out);
  14315. +size_t sr__notification__pack_to_buffer
  14316. + (const Sr__Notification *message,
  14317. + ProtobufCBuffer *buffer);
  14318. +Sr__Notification *
  14319. + sr__notification__unpack
  14320. + (ProtobufCAllocator *allocator,
  14321. + size_t len,
  14322. + const uint8_t *data);
  14323. +void sr__notification__free_unpacked
  14324. + (Sr__Notification *message,
  14325. + ProtobufCAllocator *allocator);
  14326. +/* Sr__NotificationAck methods */
  14327. +void sr__notification_ack__init
  14328. + (Sr__NotificationAck *message);
  14329. +size_t sr__notification_ack__get_packed_size
  14330. + (const Sr__NotificationAck *message);
  14331. +size_t sr__notification_ack__pack
  14332. + (const Sr__NotificationAck *message,
  14333. + uint8_t *out);
  14334. +size_t sr__notification_ack__pack_to_buffer
  14335. + (const Sr__NotificationAck *message,
  14336. + ProtobufCBuffer *buffer);
  14337. +Sr__NotificationAck *
  14338. + sr__notification_ack__unpack
  14339. + (ProtobufCAllocator *allocator,
  14340. + size_t len,
  14341. + const uint8_t *data);
  14342. +void sr__notification_ack__free_unpacked
  14343. + (Sr__NotificationAck *message,
  14344. + ProtobufCAllocator *allocator);
  14345. +/* Sr__InternalRequest methods */
  14346. +void sr__internal_request__init
  14347. + (Sr__InternalRequest *message);
  14348. +size_t sr__internal_request__get_packed_size
  14349. + (const Sr__InternalRequest *message);
  14350. +size_t sr__internal_request__pack
  14351. + (const Sr__InternalRequest *message,
  14352. + uint8_t *out);
  14353. +size_t sr__internal_request__pack_to_buffer
  14354. + (const Sr__InternalRequest *message,
  14355. + ProtobufCBuffer *buffer);
  14356. +Sr__InternalRequest *
  14357. + sr__internal_request__unpack
  14358. + (ProtobufCAllocator *allocator,
  14359. + size_t len,
  14360. + const uint8_t *data);
  14361. +void sr__internal_request__free_unpacked
  14362. + (Sr__InternalRequest *message,
  14363. + ProtobufCAllocator *allocator);
  14364. +/* Sr__Msg methods */
  14365. +void sr__msg__init
  14366. + (Sr__Msg *message);
  14367. +size_t sr__msg__get_packed_size
  14368. + (const Sr__Msg *message);
  14369. +size_t sr__msg__pack
  14370. + (const Sr__Msg *message,
  14371. + uint8_t *out);
  14372. +size_t sr__msg__pack_to_buffer
  14373. + (const Sr__Msg *message,
  14374. + ProtobufCBuffer *buffer);
  14375. +Sr__Msg *
  14376. + sr__msg__unpack
  14377. + (ProtobufCAllocator *allocator,
  14378. + size_t len,
  14379. + const uint8_t *data);
  14380. +void sr__msg__free_unpacked
  14381. + (Sr__Msg *message,
  14382. + ProtobufCAllocator *allocator);
  14383. +/* --- per-message closures --- */
  14384. +
  14385. +typedef void (*Sr__Value_Closure)
  14386. + (const Sr__Value *message,
  14387. + void *closure_data);
  14388. +typedef void (*Sr__Node_Closure)
  14389. + (const Sr__Node *message,
  14390. + void *closure_data);
  14391. +typedef void (*Sr__Error_Closure)
  14392. + (const Sr__Error *message,
  14393. + void *closure_data);
  14394. +typedef void (*Sr__SessionStartReq_Closure)
  14395. + (const Sr__SessionStartReq *message,
  14396. + void *closure_data);
  14397. +typedef void (*Sr__SessionStartResp_Closure)
  14398. + (const Sr__SessionStartResp *message,
  14399. + void *closure_data);
  14400. +typedef void (*Sr__SessionStopReq_Closure)
  14401. + (const Sr__SessionStopReq *message,
  14402. + void *closure_data);
  14403. +typedef void (*Sr__SessionStopResp_Closure)
  14404. + (const Sr__SessionStopResp *message,
  14405. + void *closure_data);
  14406. +typedef void (*Sr__SessionRefreshReq_Closure)
  14407. + (const Sr__SessionRefreshReq *message,
  14408. + void *closure_data);
  14409. +typedef void (*Sr__SessionRefreshResp_Closure)
  14410. + (const Sr__SessionRefreshResp *message,
  14411. + void *closure_data);
  14412. +typedef void (*Sr__SessionCheckReq_Closure)
  14413. + (const Sr__SessionCheckReq *message,
  14414. + void *closure_data);
  14415. +typedef void (*Sr__SessionCheckResp_Closure)
  14416. + (const Sr__SessionCheckResp *message,
  14417. + void *closure_data);
  14418. +typedef void (*Sr__SessionSwitchDsReq_Closure)
  14419. + (const Sr__SessionSwitchDsReq *message,
  14420. + void *closure_data);
  14421. +typedef void (*Sr__SessionSwitchDsResp_Closure)
  14422. + (const Sr__SessionSwitchDsResp *message,
  14423. + void *closure_data);
  14424. +typedef void (*Sr__SessionSetOptsReq_Closure)
  14425. + (const Sr__SessionSetOptsReq *message,
  14426. + void *closure_data);
  14427. +typedef void (*Sr__SessionSetOptsResp_Closure)
  14428. + (const Sr__SessionSetOptsResp *message,
  14429. + void *closure_data);
  14430. +typedef void (*Sr__VersionVerifyReq_Closure)
  14431. + (const Sr__VersionVerifyReq *message,
  14432. + void *closure_data);
  14433. +typedef void (*Sr__VersionVerifyResp_Closure)
  14434. + (const Sr__VersionVerifyResp *message,
  14435. + void *closure_data);
  14436. +typedef void (*Sr__SchemaRevision_Closure)
  14437. + (const Sr__SchemaRevision *message,
  14438. + void *closure_data);
  14439. +typedef void (*Sr__SchemaSubmodule_Closure)
  14440. + (const Sr__SchemaSubmodule *message,
  14441. + void *closure_data);
  14442. +typedef void (*Sr__Schema_Closure)
  14443. + (const Sr__Schema *message,
  14444. + void *closure_data);
  14445. +typedef void (*Sr__ListSchemasReq_Closure)
  14446. + (const Sr__ListSchemasReq *message,
  14447. + void *closure_data);
  14448. +typedef void (*Sr__ListSchemasResp_Closure)
  14449. + (const Sr__ListSchemasResp *message,
  14450. + void *closure_data);
  14451. +typedef void (*Sr__GetSchemaReq_Closure)
  14452. + (const Sr__GetSchemaReq *message,
  14453. + void *closure_data);
  14454. +typedef void (*Sr__GetSchemaResp_Closure)
  14455. + (const Sr__GetSchemaResp *message,
  14456. + void *closure_data);
  14457. +typedef void (*Sr__GetItemReq_Closure)
  14458. + (const Sr__GetItemReq *message,
  14459. + void *closure_data);
  14460. +typedef void (*Sr__GetItemResp_Closure)
  14461. + (const Sr__GetItemResp *message,
  14462. + void *closure_data);
  14463. +typedef void (*Sr__GetItemsReq_Closure)
  14464. + (const Sr__GetItemsReq *message,
  14465. + void *closure_data);
  14466. +typedef void (*Sr__GetItemsResp_Closure)
  14467. + (const Sr__GetItemsResp *message,
  14468. + void *closure_data);
  14469. +typedef void (*Sr__GetSubtreeReq_Closure)
  14470. + (const Sr__GetSubtreeReq *message,
  14471. + void *closure_data);
  14472. +typedef void (*Sr__GetSubtreeResp_Closure)
  14473. + (const Sr__GetSubtreeResp *message,
  14474. + void *closure_data);
  14475. +typedef void (*Sr__GetSubtreesReq_Closure)
  14476. + (const Sr__GetSubtreesReq *message,
  14477. + void *closure_data);
  14478. +typedef void (*Sr__GetSubtreesResp_Closure)
  14479. + (const Sr__GetSubtreesResp *message,
  14480. + void *closure_data);
  14481. +typedef void (*Sr__GetSubtreeChunkReq_Closure)
  14482. + (const Sr__GetSubtreeChunkReq *message,
  14483. + void *closure_data);
  14484. +typedef void (*Sr__GetSubtreeChunkResp_Closure)
  14485. + (const Sr__GetSubtreeChunkResp *message,
  14486. + void *closure_data);
  14487. +typedef void (*Sr__SetItemReq_Closure)
  14488. + (const Sr__SetItemReq *message,
  14489. + void *closure_data);
  14490. +typedef void (*Sr__SetItemResp_Closure)
  14491. + (const Sr__SetItemResp *message,
  14492. + void *closure_data);
  14493. +typedef void (*Sr__SetItemStrReq_Closure)
  14494. + (const Sr__SetItemStrReq *message,
  14495. + void *closure_data);
  14496. +typedef void (*Sr__SetItemStrResp_Closure)
  14497. + (const Sr__SetItemStrResp *message,
  14498. + void *closure_data);
  14499. +typedef void (*Sr__DeleteItemReq_Closure)
  14500. + (const Sr__DeleteItemReq *message,
  14501. + void *closure_data);
  14502. +typedef void (*Sr__DeleteItemResp_Closure)
  14503. + (const Sr__DeleteItemResp *message,
  14504. + void *closure_data);
  14505. +typedef void (*Sr__MoveItemReq_Closure)
  14506. + (const Sr__MoveItemReq *message,
  14507. + void *closure_data);
  14508. +typedef void (*Sr__MoveItemResp_Closure)
  14509. + (const Sr__MoveItemResp *message,
  14510. + void *closure_data);
  14511. +typedef void (*Sr__ValidateReq_Closure)
  14512. + (const Sr__ValidateReq *message,
  14513. + void *closure_data);
  14514. +typedef void (*Sr__ValidateResp_Closure)
  14515. + (const Sr__ValidateResp *message,
  14516. + void *closure_data);
  14517. +typedef void (*Sr__CommitReq_Closure)
  14518. + (const Sr__CommitReq *message,
  14519. + void *closure_data);
  14520. +typedef void (*Sr__CommitResp_Closure)
  14521. + (const Sr__CommitResp *message,
  14522. + void *closure_data);
  14523. +typedef void (*Sr__DiscardChangesReq_Closure)
  14524. + (const Sr__DiscardChangesReq *message,
  14525. + void *closure_data);
  14526. +typedef void (*Sr__DiscardChangesResp_Closure)
  14527. + (const Sr__DiscardChangesResp *message,
  14528. + void *closure_data);
  14529. +typedef void (*Sr__CopyConfigReq_Closure)
  14530. + (const Sr__CopyConfigReq *message,
  14531. + void *closure_data);
  14532. +typedef void (*Sr__CopyConfigResp_Closure)
  14533. + (const Sr__CopyConfigResp *message,
  14534. + void *closure_data);
  14535. +typedef void (*Sr__LockReq_Closure)
  14536. + (const Sr__LockReq *message,
  14537. + void *closure_data);
  14538. +typedef void (*Sr__LockResp_Closure)
  14539. + (const Sr__LockResp *message,
  14540. + void *closure_data);
  14541. +typedef void (*Sr__UnlockReq_Closure)
  14542. + (const Sr__UnlockReq *message,
  14543. + void *closure_data);
  14544. +typedef void (*Sr__UnlockResp_Closure)
  14545. + (const Sr__UnlockResp *message,
  14546. + void *closure_data);
  14547. +typedef void (*Sr__SubscribeReq_Closure)
  14548. + (const Sr__SubscribeReq *message,
  14549. + void *closure_data);
  14550. +typedef void (*Sr__SubscribeResp_Closure)
  14551. + (const Sr__SubscribeResp *message,
  14552. + void *closure_data);
  14553. +typedef void (*Sr__UnsubscribeReq_Closure)
  14554. + (const Sr__UnsubscribeReq *message,
  14555. + void *closure_data);
  14556. +typedef void (*Sr__UnsubscribeResp_Closure)
  14557. + (const Sr__UnsubscribeResp *message,
  14558. + void *closure_data);
  14559. +typedef void (*Sr__CheckEnabledRunningReq_Closure)
  14560. + (const Sr__CheckEnabledRunningReq *message,
  14561. + void *closure_data);
  14562. +typedef void (*Sr__CheckEnabledRunningResp_Closure)
  14563. + (const Sr__CheckEnabledRunningResp *message,
  14564. + void *closure_data);
  14565. +typedef void (*Sr__ModuleInstallNotification_Closure)
  14566. + (const Sr__ModuleInstallNotification *message,
  14567. + void *closure_data);
  14568. +typedef void (*Sr__FeatureEnableNotification_Closure)
  14569. + (const Sr__FeatureEnableNotification *message,
  14570. + void *closure_data);
  14571. +typedef void (*Sr__ModuleChangeNotification_Closure)
  14572. + (const Sr__ModuleChangeNotification *message,
  14573. + void *closure_data);
  14574. +typedef void (*Sr__SubtreeChangeNotification_Closure)
  14575. + (const Sr__SubtreeChangeNotification *message,
  14576. + void *closure_data);
  14577. +typedef void (*Sr__Change_Closure)
  14578. + (const Sr__Change *message,
  14579. + void *closure_data);
  14580. +typedef void (*Sr__GetChangesReq_Closure)
  14581. + (const Sr__GetChangesReq *message,
  14582. + void *closure_data);
  14583. +typedef void (*Sr__GetChangesResp_Closure)
  14584. + (const Sr__GetChangesResp *message,
  14585. + void *closure_data);
  14586. +typedef void (*Sr__CheckExecPermReq_Closure)
  14587. + (const Sr__CheckExecPermReq *message,
  14588. + void *closure_data);
  14589. +typedef void (*Sr__CheckExecPermResp_Closure)
  14590. + (const Sr__CheckExecPermResp *message,
  14591. + void *closure_data);
  14592. +typedef void (*Sr__RPCReq_Closure)
  14593. + (const Sr__RPCReq *message,
  14594. + void *closure_data);
  14595. +typedef void (*Sr__RPCResp_Closure)
  14596. + (const Sr__RPCResp *message,
  14597. + void *closure_data);
  14598. +typedef void (*Sr__EventNotifReq_Closure)
  14599. + (const Sr__EventNotifReq *message,
  14600. + void *closure_data);
  14601. +typedef void (*Sr__EventNotifResp_Closure)
  14602. + (const Sr__EventNotifResp *message,
  14603. + void *closure_data);
  14604. +typedef void (*Sr__EventNotifReplayReq_Closure)
  14605. + (const Sr__EventNotifReplayReq *message,
  14606. + void *closure_data);
  14607. +typedef void (*Sr__EventNotifReplayResp_Closure)
  14608. + (const Sr__EventNotifReplayResp *message,
  14609. + void *closure_data);
  14610. +typedef void (*Sr__DataProvideReq_Closure)
  14611. + (const Sr__DataProvideReq *message,
  14612. + void *closure_data);
  14613. +typedef void (*Sr__DataProvideResp_Closure)
  14614. + (const Sr__DataProvideResp *message,
  14615. + void *closure_data);
  14616. +typedef void (*Sr__ModuleInstallReq_Closure)
  14617. + (const Sr__ModuleInstallReq *message,
  14618. + void *closure_data);
  14619. +typedef void (*Sr__ModuleInstallResp_Closure)
  14620. + (const Sr__ModuleInstallResp *message,
  14621. + void *closure_data);
  14622. +typedef void (*Sr__FeatureEnableReq_Closure)
  14623. + (const Sr__FeatureEnableReq *message,
  14624. + void *closure_data);
  14625. +typedef void (*Sr__FeatureEnableResp_Closure)
  14626. + (const Sr__FeatureEnableResp *message,
  14627. + void *closure_data);
  14628. +typedef void (*Sr__UnsubscribeDestinationReq_Closure)
  14629. + (const Sr__UnsubscribeDestinationReq *message,
  14630. + void *closure_data);
  14631. +typedef void (*Sr__CommitTimeoutReq_Closure)
  14632. + (const Sr__CommitTimeoutReq *message,
  14633. + void *closure_data);
  14634. +typedef void (*Sr__OperDataTimeoutReq_Closure)
  14635. + (const Sr__OperDataTimeoutReq *message,
  14636. + void *closure_data);
  14637. +typedef void (*Sr__InternalStateDataReq_Closure)
  14638. + (const Sr__InternalStateDataReq *message,
  14639. + void *closure_data);
  14640. +typedef void (*Sr__NotifStoreCleanupReq_Closure)
  14641. + (const Sr__NotifStoreCleanupReq *message,
  14642. + void *closure_data);
  14643. +typedef void (*Sr__DelayedMsgReq_Closure)
  14644. + (const Sr__DelayedMsgReq *message,
  14645. + void *closure_data);
  14646. +typedef void (*Sr__NacmReloadReq_Closure)
  14647. + (const Sr__NacmReloadReq *message,
  14648. + void *closure_data);
  14649. +typedef void (*Sr__Request_Closure)
  14650. + (const Sr__Request *message,
  14651. + void *closure_data);
  14652. +typedef void (*Sr__Response_Closure)
  14653. + (const Sr__Response *message,
  14654. + void *closure_data);
  14655. +typedef void (*Sr__Notification_Closure)
  14656. + (const Sr__Notification *message,
  14657. + void *closure_data);
  14658. +typedef void (*Sr__NotificationAck_Closure)
  14659. + (const Sr__NotificationAck *message,
  14660. + void *closure_data);
  14661. +typedef void (*Sr__InternalRequest_Closure)
  14662. + (const Sr__InternalRequest *message,
  14663. + void *closure_data);
  14664. +typedef void (*Sr__Msg_Closure)
  14665. + (const Sr__Msg *message,
  14666. + void *closure_data);
  14667. +
  14668. +/* --- services --- */
  14669. +
  14670. +
  14671. +/* --- descriptors --- */
  14672. +
  14673. +extern const ProtobufCEnumDescriptor sr__api_variant__descriptor;
  14674. +extern const ProtobufCEnumDescriptor sr__data_store__descriptor;
  14675. +extern const ProtobufCEnumDescriptor sr__session_flags__descriptor;
  14676. +extern const ProtobufCEnumDescriptor sr__edit_flags__descriptor;
  14677. +extern const ProtobufCEnumDescriptor sr__subscription_type__descriptor;
  14678. +extern const ProtobufCEnumDescriptor sr__notification_event__descriptor;
  14679. +extern const ProtobufCEnumDescriptor sr__module_state__descriptor;
  14680. +extern const ProtobufCEnumDescriptor sr__change_operation__descriptor;
  14681. +extern const ProtobufCEnumDescriptor sr__operation__descriptor;
  14682. +extern const ProtobufCMessageDescriptor sr__value__descriptor;
  14683. +extern const ProtobufCEnumDescriptor sr__value__types__descriptor;
  14684. +extern const ProtobufCMessageDescriptor sr__node__descriptor;
  14685. +extern const ProtobufCMessageDescriptor sr__error__descriptor;
  14686. +extern const ProtobufCMessageDescriptor sr__session_start_req__descriptor;
  14687. +extern const ProtobufCMessageDescriptor sr__session_start_resp__descriptor;
  14688. +extern const ProtobufCMessageDescriptor sr__session_stop_req__descriptor;
  14689. +extern const ProtobufCMessageDescriptor sr__session_stop_resp__descriptor;
  14690. +extern const ProtobufCMessageDescriptor sr__session_refresh_req__descriptor;
  14691. +extern const ProtobufCMessageDescriptor sr__session_refresh_resp__descriptor;
  14692. +extern const ProtobufCMessageDescriptor sr__session_check_req__descriptor;
  14693. +extern const ProtobufCMessageDescriptor sr__session_check_resp__descriptor;
  14694. +extern const ProtobufCMessageDescriptor sr__session_switch_ds_req__descriptor;
  14695. +extern const ProtobufCMessageDescriptor sr__session_switch_ds_resp__descriptor;
  14696. +extern const ProtobufCMessageDescriptor sr__session_set_opts_req__descriptor;
  14697. +extern const ProtobufCMessageDescriptor sr__session_set_opts_resp__descriptor;
  14698. +extern const ProtobufCMessageDescriptor sr__version_verify_req__descriptor;
  14699. +extern const ProtobufCMessageDescriptor sr__version_verify_resp__descriptor;
  14700. +extern const ProtobufCMessageDescriptor sr__schema_revision__descriptor;
  14701. +extern const ProtobufCMessageDescriptor sr__schema_submodule__descriptor;
  14702. +extern const ProtobufCMessageDescriptor sr__schema__descriptor;
  14703. +extern const ProtobufCMessageDescriptor sr__list_schemas_req__descriptor;
  14704. +extern const ProtobufCMessageDescriptor sr__list_schemas_resp__descriptor;
  14705. +extern const ProtobufCMessageDescriptor sr__get_schema_req__descriptor;
  14706. +extern const ProtobufCMessageDescriptor sr__get_schema_resp__descriptor;
  14707. +extern const ProtobufCMessageDescriptor sr__get_item_req__descriptor;
  14708. +extern const ProtobufCMessageDescriptor sr__get_item_resp__descriptor;
  14709. +extern const ProtobufCMessageDescriptor sr__get_items_req__descriptor;
  14710. +extern const ProtobufCMessageDescriptor sr__get_items_resp__descriptor;
  14711. +extern const ProtobufCMessageDescriptor sr__get_subtree_req__descriptor;
  14712. +extern const ProtobufCMessageDescriptor sr__get_subtree_resp__descriptor;
  14713. +extern const ProtobufCMessageDescriptor sr__get_subtrees_req__descriptor;
  14714. +extern const ProtobufCMessageDescriptor sr__get_subtrees_resp__descriptor;
  14715. +extern const ProtobufCMessageDescriptor sr__get_subtree_chunk_req__descriptor;
  14716. +extern const ProtobufCMessageDescriptor sr__get_subtree_chunk_resp__descriptor;
  14717. +extern const ProtobufCMessageDescriptor sr__set_item_req__descriptor;
  14718. +extern const ProtobufCMessageDescriptor sr__set_item_resp__descriptor;
  14719. +extern const ProtobufCMessageDescriptor sr__set_item_str_req__descriptor;
  14720. +extern const ProtobufCMessageDescriptor sr__set_item_str_resp__descriptor;
  14721. +extern const ProtobufCMessageDescriptor sr__delete_item_req__descriptor;
  14722. +extern const ProtobufCMessageDescriptor sr__delete_item_resp__descriptor;
  14723. +extern const ProtobufCMessageDescriptor sr__move_item_req__descriptor;
  14724. +extern const ProtobufCEnumDescriptor sr__move_item_req__move_position__descriptor;
  14725. +extern const ProtobufCMessageDescriptor sr__move_item_resp__descriptor;
  14726. +extern const ProtobufCMessageDescriptor sr__validate_req__descriptor;
  14727. +extern const ProtobufCMessageDescriptor sr__validate_resp__descriptor;
  14728. +extern const ProtobufCMessageDescriptor sr__commit_req__descriptor;
  14729. +extern const ProtobufCMessageDescriptor sr__commit_resp__descriptor;
  14730. +extern const ProtobufCMessageDescriptor sr__discard_changes_req__descriptor;
  14731. +extern const ProtobufCMessageDescriptor sr__discard_changes_resp__descriptor;
  14732. +extern const ProtobufCMessageDescriptor sr__copy_config_req__descriptor;
  14733. +extern const ProtobufCMessageDescriptor sr__copy_config_resp__descriptor;
  14734. +extern const ProtobufCMessageDescriptor sr__lock_req__descriptor;
  14735. +extern const ProtobufCMessageDescriptor sr__lock_resp__descriptor;
  14736. +extern const ProtobufCMessageDescriptor sr__unlock_req__descriptor;
  14737. +extern const ProtobufCMessageDescriptor sr__unlock_resp__descriptor;
  14738. +extern const ProtobufCMessageDescriptor sr__subscribe_req__descriptor;
  14739. +extern const ProtobufCMessageDescriptor sr__subscribe_resp__descriptor;
  14740. +extern const ProtobufCMessageDescriptor sr__unsubscribe_req__descriptor;
  14741. +extern const ProtobufCMessageDescriptor sr__unsubscribe_resp__descriptor;
  14742. +extern const ProtobufCMessageDescriptor sr__check_enabled_running_req__descriptor;
  14743. +extern const ProtobufCMessageDescriptor sr__check_enabled_running_resp__descriptor;
  14744. +extern const ProtobufCMessageDescriptor sr__module_install_notification__descriptor;
  14745. +extern const ProtobufCMessageDescriptor sr__feature_enable_notification__descriptor;
  14746. +extern const ProtobufCMessageDescriptor sr__module_change_notification__descriptor;
  14747. +extern const ProtobufCMessageDescriptor sr__subtree_change_notification__descriptor;
  14748. +extern const ProtobufCMessageDescriptor sr__change__descriptor;
  14749. +extern const ProtobufCMessageDescriptor sr__get_changes_req__descriptor;
  14750. +extern const ProtobufCMessageDescriptor sr__get_changes_resp__descriptor;
  14751. +extern const ProtobufCMessageDescriptor sr__check_exec_perm_req__descriptor;
  14752. +extern const ProtobufCMessageDescriptor sr__check_exec_perm_resp__descriptor;
  14753. +extern const ProtobufCMessageDescriptor sr__rpcreq__descriptor;
  14754. +extern const ProtobufCMessageDescriptor sr__rpcresp__descriptor;
  14755. +extern const ProtobufCMessageDescriptor sr__event_notif_req__descriptor;
  14756. +extern const ProtobufCEnumDescriptor sr__event_notif_req__notif_type__descriptor;
  14757. +extern const ProtobufCEnumDescriptor sr__event_notif_req__notif_flags__descriptor;
  14758. +extern const ProtobufCMessageDescriptor sr__event_notif_resp__descriptor;
  14759. +extern const ProtobufCMessageDescriptor sr__event_notif_replay_req__descriptor;
  14760. +extern const ProtobufCMessageDescriptor sr__event_notif_replay_resp__descriptor;
  14761. +extern const ProtobufCMessageDescriptor sr__data_provide_req__descriptor;
  14762. +extern const ProtobufCMessageDescriptor sr__data_provide_resp__descriptor;
  14763. +extern const ProtobufCMessageDescriptor sr__module_install_req__descriptor;
  14764. +extern const ProtobufCMessageDescriptor sr__module_install_resp__descriptor;
  14765. +extern const ProtobufCMessageDescriptor sr__feature_enable_req__descriptor;
  14766. +extern const ProtobufCMessageDescriptor sr__feature_enable_resp__descriptor;
  14767. +extern const ProtobufCMessageDescriptor sr__unsubscribe_destination_req__descriptor;
  14768. +extern const ProtobufCMessageDescriptor sr__commit_timeout_req__descriptor;
  14769. +extern const ProtobufCMessageDescriptor sr__oper_data_timeout_req__descriptor;
  14770. +extern const ProtobufCMessageDescriptor sr__internal_state_data_req__descriptor;
  14771. +extern const ProtobufCMessageDescriptor sr__notif_store_cleanup_req__descriptor;
  14772. +extern const ProtobufCMessageDescriptor sr__delayed_msg_req__descriptor;
  14773. +extern const ProtobufCMessageDescriptor sr__nacm_reload_req__descriptor;
  14774. +extern const ProtobufCMessageDescriptor sr__request__descriptor;
  14775. +extern const ProtobufCMessageDescriptor sr__response__descriptor;
  14776. +extern const ProtobufCMessageDescriptor sr__notification__descriptor;
  14777. +extern const ProtobufCMessageDescriptor sr__notification_ack__descriptor;
  14778. +extern const ProtobufCMessageDescriptor sr__internal_request__descriptor;
  14779. +extern const ProtobufCMessageDescriptor sr__msg__descriptor;
  14780. +extern const ProtobufCEnumDescriptor sr__msg__msg_type__descriptor;
  14781. +
  14782. +PROTOBUF_C__END_DECLS
  14783. +
  14784. +
  14785. +#endif /* PROTOBUF_C_sysrepo_2eproto__INCLUDED */