]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Validate list of deltas at update notification file.
authorpcarana <pc.moreno2099@gmail.com>
Thu, 5 Dec 2019 23:57:19 +0000 (17:57 -0600)
committerpcarana <pc.moreno2099@gmail.com>
Thu, 5 Dec 2019 23:57:19 +0000 (17:57 -0600)
commit991f8258a0aff620449488247eb7abe4c82dd077
tree95f0d36c9f038d2fb32f6386da167be51a0e8e77
parent6b79305163e52c96da64fab555ecca39a482a6ad
Validate list of deltas at update notification file.

+Assure that the list of deltas is ordered to facilitate the validation of contiguous serials, and the processing of only the required deltas (only if there's a delta update).
+Change enum 'rrdp_uri_cmp_result' to a type 'rrdp_uri_cmp_result_t'.
+Process the snapshot if there's an error processing deltas.
+Make 'delta_head' attributes public, global and doc data init methods are now void.
+Remove 'SLIST' usage at 'deltas_head' struct, use instead an array list implementation, ready to store a defined amount of elements.
src/rrdp/db_rrdp.c
src/rrdp/db_rrdp.h
src/rrdp/rrdp_handler.c
src/rrdp/rrdp_handler.h
src/rrdp/rrdp_loader.c
src/rrdp/rrdp_objects.c
src/rrdp/rrdp_objects.h
src/rrdp/rrdp_parser.c
src/rtr/db/vrps.c
src/rtr/db/vrps.h