]> Kevux Git Server - fll/commit
Cleanup: Always have private-common.h and private-common.c for programs.
authorKevin Day <thekevinday@gmail.com>
Sat, 1 May 2021 22:31:49 +0000 (17:31 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 1 May 2021 22:31:49 +0000 (17:31 -0500)
commit0d3ee9f643bedd0bbdbc7cdcb6dcba8a498704e4
tree498a0dfb4bbd76128f81f831a232708748d0d539
parenta73d237bfccd794f5bacc772423a2eb6a0c3843c
Cleanup: Always have private-common.h and private-common.c for programs.

I am now introducing a new standard practice of always having a private-common.h and private-common.c for programs.
The private data types shared across the program will be stored in these.
These will also provide any functions for allocating, deallocating, or otherwise managing those private structures.

This makes no effort to move over or implement any of the allocation/deallocation functions.

Individual programs will be updated on an as able basis to address this.

The Controller program already has this but it has a bit more than this practice.
The Controller program will see some structural cleanup in the future.
106 files changed:
level_3/byte_dump/c/byte_dump.c
level_3/byte_dump/c/private-byte_dump.c
level_3/byte_dump/c/private-byte_dump.h
level_3/byte_dump/c/private-common.c [new file with mode: 0644]
level_3/byte_dump/c/private-common.h [new file with mode: 0644]
level_3/byte_dump/data/build/settings
level_3/control/c/control.c
level_3/control/c/private-common.c [new file with mode: 0644]
level_3/control/c/private-common.h [new file with mode: 0644]
level_3/control/c/private-control.c
level_3/control/data/build/settings
level_3/fake/c/fake.c
level_3/fake/c/private-build.c
level_3/fake/c/private-build.h
level_3/fake/c/private-clean.c
level_3/fake/c/private-common.c [new file with mode: 0644]
level_3/fake/c/private-common.h [new file with mode: 0644]
level_3/fake/c/private-fake.c
level_3/fake/c/private-fake.h
level_3/fake/c/private-make.c
level_3/fake/c/private-make.h
level_3/fake/c/private-print.c
level_3/fake/c/private-skeleton.c
level_3/fake/c/private-skeleton.h
level_3/fake/data/build/settings
level_3/firewall/c/firewall.c
level_3/firewall/c/private-common.c [new file with mode: 0644]
level_3/firewall/c/private-common.h [new file with mode: 0644]
level_3/firewall/c/private-firewall.c
level_3/firewall/c/private-firewall.h
level_3/firewall/data/build/settings
level_3/fss_basic_list_read/c/fss_basic_list_read.c
level_3/fss_basic_list_read/c/private-common.c [new file with mode: 0644]
level_3/fss_basic_list_read/c/private-common.h [new file with mode: 0644]
level_3/fss_basic_list_read/c/private-fss_basic_list_read.c
level_3/fss_basic_list_read/c/private-fss_basic_list_read.h
level_3/fss_basic_list_read/data/build/settings
level_3/fss_basic_list_write/c/fss_basic_list_write.c
level_3/fss_basic_list_write/c/private-common.c [new file with mode: 0644]
level_3/fss_basic_list_write/c/private-common.h [new file with mode: 0644]
level_3/fss_basic_list_write/c/private-fss_basic_list_write.c
level_3/fss_basic_list_write/data/build/settings
level_3/fss_basic_read/c/fss_basic_read.c
level_3/fss_basic_read/c/private-common.c [new file with mode: 0644]
level_3/fss_basic_read/c/private-common.h [new file with mode: 0644]
level_3/fss_basic_read/c/private-fss_basic_read.c
level_3/fss_basic_read/c/private-fss_basic_read.h
level_3/fss_basic_read/data/build/settings
level_3/fss_basic_write/c/fss_basic_write.c
level_3/fss_basic_write/c/private-common.c [new file with mode: 0644]
level_3/fss_basic_write/c/private-common.h [new file with mode: 0644]
level_3/fss_basic_write/c/private-fss_basic_write.c
level_3/fss_basic_write/data/build/settings
level_3/fss_embedded_list_read/c/fss_embedded_list_read.c
level_3/fss_embedded_list_read/c/private-common.c [new file with mode: 0644]
level_3/fss_embedded_list_read/c/private-common.h [new file with mode: 0644]
level_3/fss_embedded_list_read/c/private-fss_embedded_list_read.c
level_3/fss_embedded_list_read/c/private-fss_embedded_list_read.h
level_3/fss_embedded_list_read/data/build/settings
level_3/fss_embedded_list_write/c/fss_embedded_list_write.c
level_3/fss_embedded_list_write/c/private-common.c [new file with mode: 0644]
level_3/fss_embedded_list_write/c/private-common.h [new file with mode: 0644]
level_3/fss_embedded_list_write/c/private-fss_embedded_list_write.c
level_3/fss_embedded_list_write/data/build/settings
level_3/fss_extended_list_read/c/fss_extended_list_read.c
level_3/fss_extended_list_read/c/private-common.c [new file with mode: 0644]
level_3/fss_extended_list_read/c/private-common.h [new file with mode: 0644]
level_3/fss_extended_list_read/c/private-fss_extended_list_read.c
level_3/fss_extended_list_read/c/private-fss_extended_list_read.h
level_3/fss_extended_list_read/data/build/settings
level_3/fss_extended_list_write/c/fss_extended_list_write.c
level_3/fss_extended_list_write/c/private-common.c [new file with mode: 0644]
level_3/fss_extended_list_write/c/private-common.h [new file with mode: 0644]
level_3/fss_extended_list_write/c/private-fss_extended_list_write.c
level_3/fss_extended_list_write/data/build/settings
level_3/fss_extended_read/c/fss_extended_read.c
level_3/fss_extended_read/c/private-common.c [new file with mode: 0644]
level_3/fss_extended_read/c/private-common.h [new file with mode: 0644]
level_3/fss_extended_read/c/private-fss_extended_read.c
level_3/fss_extended_read/c/private-fss_extended_read.h
level_3/fss_extended_read/data/build/settings
level_3/fss_extended_write/c/fss_extended_write.c
level_3/fss_extended_write/c/private-common.c [new file with mode: 0644]
level_3/fss_extended_write/c/private-common.h [new file with mode: 0644]
level_3/fss_extended_write/c/private-fss_extended_write.c
level_3/fss_extended_write/data/build/settings
level_3/fss_status_code/c/fss_status_code.c
level_3/fss_status_code/c/private-common.c [new file with mode: 0644]
level_3/fss_status_code/c/private-common.h [new file with mode: 0644]
level_3/fss_status_code/c/private-fss_status_code.c
level_3/fss_status_code/data/build/settings
level_3/iki_read/c/iki_read.c
level_3/iki_read/c/private-common.c [new file with mode: 0644]
level_3/iki_read/c/private-common.h [new file with mode: 0644]
level_3/iki_read/c/private-iki_read.c
level_3/iki_read/data/build/settings
level_3/iki_write/c/iki_write.c
level_3/iki_write/c/private-common.c [new file with mode: 0644]
level_3/iki_write/c/private-common.h [new file with mode: 0644]
level_3/iki_write/c/private-iki_write.c
level_3/iki_write/data/build/settings
level_3/status_code/c/private-common.c [new file with mode: 0644]
level_3/status_code/c/private-common.h [new file with mode: 0644]
level_3/status_code/c/private-status_code.c
level_3/status_code/c/status_code.c
level_3/status_code/data/build/settings