diff options
author | Mislav Novakovic <mislav.novakovic@sartura.hr> | 2018-11-28 14:21:02 +0100 |
---|---|---|
committer | Mislav Novakovic <mislav.novakovic@sartura.hr> | 2018-11-28 14:21:02 +0100 |
commit | 583977b9539185612f91f1a820431ecfc597468b (patch) | |
tree | 4c11ffc7bcf712af76d5f1caae19f49f4a10e0bb /net/sysrepo/patches | |
parent | b945bdf3c83ed25b69235128536dae52fc9afffa (diff) |
sysrepo: update to 0.7.7
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
Diffstat (limited to 'net/sysrepo/patches')
-rw-r--r-- | net/sysrepo/patches/006-update-generated-protobufc-files | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/net/sysrepo/patches/006-update-generated-protobufc-files b/net/sysrepo/patches/006-update-generated-protobufc-files new file mode 100644 index 000000000..9041eeca7 --- /dev/null +++ b/net/sysrepo/patches/006-update-generated-protobufc-files @@ -0,0 +1,70 @@ +Index: sysrepo-0.7.7/src/common/sysrepo.pb-c.c +=================================================================== +--- sysrepo-0.7.7.orig/src/common/sysrepo.pb-c.c ++++ sysrepo-0.7.7/src/common/sysrepo.pb-c.c +@@ -8013,7 +8013,7 @@ const ProtobufCMessageDescriptor sr__eve + (ProtobufCMessageInit) sr__event_notif_replay_resp__init, + NULL,NULL,NULL /* reserved[123] */ + }; +-static const ProtobufCFieldDescriptor sr__data_provide_req__field_descriptors[4] = ++static const ProtobufCFieldDescriptor sr__data_provide_req__field_descriptors[5] = + { + { + "xpath", +@@ -8063,8 +8063,21 @@ static const ProtobufCFieldDescriptor sr + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, ++ { ++ "original_xpath", ++ 21, ++ PROTOBUF_C_LABEL_REQUIRED, ++ PROTOBUF_C_TYPE_STRING, ++ 0, /* quantifier_offset */ ++ offsetof(Sr__DataProvideReq, original_xpath), ++ NULL, ++ NULL, ++ 0, /* flags */ ++ 0,NULL,NULL /* reserved1,reserved2, etc */ ++ }, + }; + static const unsigned sr__data_provide_req__field_indices_by_name[] = { ++ 4, /* field[4] = original_xpath */ + 3, /* field[3] = request_id */ + 1, /* field[1] = subscriber_address */ + 2, /* field[2] = subscription_id */ +@@ -8075,7 +8088,7 @@ static const ProtobufCIntRange sr__data_ + { 1, 0 }, + { 10, 1 }, + { 20, 3 }, +- { 0, 4 } ++ { 0, 5 } + }; + const ProtobufCMessageDescriptor sr__data_provide_req__descriptor = + { +@@ -8085,7 +8098,7 @@ const ProtobufCMessageDescriptor sr__dat + "Sr__DataProvideReq", + "sr", + sizeof(Sr__DataProvideReq), +- 4, ++ 5, + sr__data_provide_req__field_descriptors, + sr__data_provide_req__field_indices_by_name, + 3, sr__data_provide_req__number_ranges, +Index: sysrepo-0.7.7/src/common/sysrepo.pb-c.h +=================================================================== +--- sysrepo-0.7.7.orig/src/common/sysrepo.pb-c.h ++++ sysrepo-0.7.7/src/common/sysrepo.pb-c.h +@@ -1630,10 +1630,11 @@ struct _Sr__DataProvideReq + char *subscriber_address; + uint32_t subscription_id; + uint64_t request_id; ++ char *original_xpath; + }; + #define SR__DATA_PROVIDE_REQ__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&sr__data_provide_req__descriptor) \ +- , NULL, NULL, 0, 0 } ++ , NULL, NULL, 0, 0, NULL } + + + /* |