n2n/include
Hamish Coleman 80b33cd1a9
Basic C Code lint checker and shell checker (#859)
* Factor build packages out into a more maintainable list

* Create a location for scripts to live

* Provide a make target to return the source dir as close as reasonable to the original distributed state

* Add a code lint step, checking the coding style

* Change test harness as recommended by shellcheck

* Ensure we actually have the linter tool installed

* Use the correct directory for cmake to run the tests

* Adjust for the older uncrustify in the current github ubuntu-latest

* Make one file pass the linter

* Integrate the lint with the existing test workflow

* Add files with minimal changes needed to the linter

* Add more files with minimal changes needed to the linter

* Dont build binaries if we fail the lint test

* Update the phony targets with the lint steps

* Ensure the flake8 package is installed in the new lint workflow job

* Use the makefile to drive the packages needed to install for linting

* No need to add dependancies on lint, just rely on the workflow status to show failure

* Update the scripts dir README to reflect current assumptions

* Rename and briefly document the indent.sh script

* Fix the ignore to ignore the right Makefile

* Rename the test_harness script to make it clear it is a shell script

* Provide a master lint make target and add a shell script lint tool

* Elminate stray tabs

* Drop include/auth.h from linter - there are inconsistant results with function definitions when using the current uncrustify rules
2021-10-24 01:21:18 +05:45
..
aes.h switched to 2021 (#632) 2021-02-08 16:11:06 +05:45
auth.h Basic C Code lint checker and shell checker (#859) 2021-10-24 01:21:18 +05:45
cc20.h switched to 2021 (#632) 2021-02-08 16:11:06 +05:45
curve25519.h added user-password edge authentication (#673) 2021-06-04 03:11:22 +05:45
edge_utils_win32.h Basic C Code lint checker and shell checker (#859) 2021-10-24 01:21:18 +05:45
header_encryption.h addressed all but one of the remaining compile warnings (#793) 2021-09-16 14:45:46 +05:45
hexdump.h added test framework and code coverage reporting (#797) 2021-09-27 15:26:06 +05:45
lzoconf.h updated minilzo 2020-08-15 23:26:21 +05:45
lzodefs.h updated minilzo 2020-08-15 23:26:21 +05:45
minilzo.h updated minilzo 2020-08-15 23:26:21 +05:45
n2n_define.h Basic C Code lint checker and shell checker (#859) 2021-10-24 01:21:18 +05:45
n2n_regex.h switched to 2021 (#632) 2021-02-08 16:11:06 +05:45
n2n_typedefs.h JSON Reply Management API - feature parity with old management interfaces (#861) 2021-10-23 11:05:05 +05:45
n2n_wire.h added mingw test platform (#829) 2021-10-06 00:52:15 +05:45
n2n.h JSON Reply Management API - feature parity with old management interfaces (#861) 2021-10-23 11:05:05 +05:45
network_traffic_filter.h switched to 2021 (#632) 2021-02-08 16:11:06 +05:45
pearson.h Basic C Code lint checker and shell checker (#859) 2021-10-24 01:21:18 +05:45
portable_endian.h compile fix (#834) 2021-09-30 12:39:31 +05:45
random_numbers.h fix windows compile (#636) 2021-02-10 15:16:16 +05:45
sn_selection.h skewed supernode selection for the benefit of current supernode in no-pong case (#663) 2021-03-16 23:24:39 +05:45
speck.h Basic C Code lint checker and shell checker (#859) 2021-10-24 01:21:18 +05:45
tf.h switched to 2021 (#632) 2021-02-08 16:11:06 +05:45
uthash.h Code reorganization 2020-06-21 22:26:27 +02:00