]> Kevux Git Server - fll/commit
Feature: Implement EKI at level_0.
authorKevin Day <Kevin@kevux.org>
Sun, 17 Nov 2024 23:22:29 +0000 (17:22 -0600)
committerKevin Day <Kevin@kevux.org>
Sun, 17 Nov 2024 23:27:01 +0000 (17:27 -0600)
commit60d4e0c667860574659e9a7966ac0c591054f61a
tree7873b6eabab5c0ae720f2d0347ac52c403b7f8e5
parentfd47abf6eca65996f615595b2edfd3074e267560
Feature: Implement EKI at level_0.

This provides the initial eki implementation and unit testing.

I had to choose between making an f_eki compliment of f_iki or appending EKI into f_iki.
I ended up choosing the latter because it is simpler and will require fewer cross-dependencies when using higher levels.
There is enough overlap in functionality to justify this.
These are almost completely identical specifications.

Add additional unit tests to catch more problems and implement these same unit tests in f_iki for consistency purposes.

This includes some code clean up.
The `wrapped` is changed to use `0x0` and `0x1` rather than `F_false` and `F_true`.
These are functionally identical but the code is more consistent when having `0x0`, `0x1`, and `0x2` instead of `F_false`, `F_true`, and `0x2`.
37 files changed:
build/level_0/settings
build/monolithic/settings
level_0/f_iki/c/iki.c
level_0/f_iki/c/iki.h
level_0/f_iki/c/iki/common.h
level_0/f_iki/c/iki/data.c
level_0/f_iki/c/iki/data.h
level_0/f_iki/c/iki/eki.c [new file with mode: 0644]
level_0/f_iki/c/iki/eki.h [new file with mode: 0644]
level_0/f_iki/c/iki/private-eki.c [new file with mode: 0644]
level_0/f_iki/c/iki/private-eki.h [new file with mode: 0644]
level_0/f_iki/data/build/settings
level_0/f_iki/data/build/settings-mocks
level_0/f_iki/data/build/settings-tests
level_0/f_iki/tests/unit/c/mock-iki.c
level_0/f_iki/tests/unit/c/mock-iki.h
level_0/f_iki/tests/unit/c/test-iki-eki_read.c [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-eki_read.h [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-ekis_append.c [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-ekis_append.h [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-ekis_append_all.c [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-ekis_append_all.h [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-ekis_delete_callback.c [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-ekis_delete_callback.h [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-ekis_destroy_callback.c [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-ekis_destroy_callback.h [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-ekiss_append.c [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-ekiss_append.h [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-ekiss_append_all.c [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-ekiss_append_all.h [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-ekiss_delete_callback.c [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-ekiss_delete_callback.h [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-ekiss_destroy_callback.c [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-ekiss_destroy_callback.h [new file with mode: 0644]
level_0/f_iki/tests/unit/c/test-iki-read.c
level_0/f_iki/tests/unit/c/test-iki.c
level_0/f_iki/tests/unit/c/test-iki.h