nasa / bplib

Apache License 2.0
27 stars 13 forks source link

Roll-up of general bplib improvements and clean-up #63

Closed jphickey closed 2 years ago

jphickey commented 2 years ago

Addresses several issues:

Fixes #60:

Qualify all pointers to objects which should typically not be modified
as "const".  Also changes use of "int" type to "size_t" where the value
indicates the size of an object in memory

Fixes #61:

Adds a "CMakeLists.txt" file such that bplib may be built as a CFE component.

The classic Makefile is preserved for the general-purpose build.  However
this could also be replaced with the CMake build if so desired.

Fixes #62:

Updates the "os/cfe.c" and "store/file_cfe.c" adapater layers which
are intended for integrating bplib into a CFE-based environment.

With these updates, the adapters should work with the current version
of the CFE framework.