mirror of
https://github.com/ntop/n2n.git
synced 2026-10-20 08:18:05 +00:00
Update GitHub Actions workflow: - Upgrade deprecated actions (checkout, upload/download-artifact, codecov, gh-release) to v4/v2 - Replace deprecated ::set-output with $GITHUB_OUTPUT - Update runner images: remove deprecated macos-13, add macos-15, update Ubuntu to 22.04/24.04 and Windows to 2022/2025 - Make Windows coverage generation non-fatal - Clean up stale gcov artifacts before coverage runs - Disable fail-fast on test matrices Fix Windows/MinGW build errors: - Modernize K&R-style C function definitions to ANSI C in win32/getopt.c, getopt1.c, and getopt.h - Rename reserved __argc/__argv parameter names in getopt.h - Fix implicit declarations: GetAdaptersInfo (add iphlpapi.h), getenv (add stdlib.h), _byteswap_ulong (add stdlib.h) - Fix type mismatches: setsockopt (const char* cast), CryptGenRandom (BYTE* cast), pthread_create/mutex_trylock macros - Extend N2N_THREAD_RETURN/PARAMETER_DATATYPE to cover __MINGW32__ - Exclude MinGW from system getopt.h to use local version Fix Python and C linting: - Fix flake8 E275 in n2n-ctl and n2n-httpd (assert syntax) - Fix uncrustify indentation in HASH_FIND_PEER/HASH_ADD_PEER macros Made-with: Cursor
This directory contains executables that are not compiled. Some of these may end up installed for use by end users, but many of them are for use during development, builds and tests.
Nothing in this directory should need compiling to use and they should be written such that they do not need configuring (e.g: they might probe several directories for their requirements)
See the Scripts Documentation for further details