This is not a style guide, but rather a set of conventions to be used when creating variable, functions, and structs from an implementation point of view. It is also concerned with naming conventions and other patterns to maintain a consistent, maintainable codebase.
src
, include
and test
directoriessrc
: Sources (*.c files and resources)include
: Header files (*.h files)test
: Test-Sources (and resources)plc4c
directories inside the include
directoriestypes.h
fileconnections
are defined in connection.h
plc4c_
plc4c_{basetype}_{operation}
. Some examples:plc4c_connection_create_read_request
effect
on a property
of the base-type the operation
separates the base-type and the property name (plc4c_{basetype}_{operation}_{property-name}
).plc4c_connection_get_connection_string
plc4c_connection_set_connection_string
_create
suffix_destroy
suffix