• Stefy Lanza (nextime / spora )'s avatar
    Refactor wsssht.c: Split large monolithic file into modular components · 698acaa3
    Stefy Lanza (nextime / spora ) authored
    - Created libwsssht/ directory with modular components:
      * utils.h/c: Utility functions (print_usage, parse_connection_string, parse_args)
      * modes.h/c: Mode-specific functions (bridge, script, daemon modes)
      * threads.h/c: Thread-related functions and structures
      * wsssht.h: Main header with includes and declarations
    
    - Reduced wsssht.c from 2769 lines to 674 lines (main function only)
    - Updated Makefile and configure.sh to handle new modular structure
    - Maintained exact same functionality and command-line interface
    - Improved code maintainability and organization
    
    All functionality preserved, build successful, and wsssht binary works correctly.
    698acaa3
Name
Last commit
Last update
templates Loading commit data...
wsssd Loading commit data...
wsssh-server/debian Loading commit data...
wssshtools Loading commit data...
.gitignore Loading commit data...
BRIDGE_MODE_TESTING.md Loading commit data...
CHANGELOG.md Loading commit data...
DOCUMENTATION.md Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
TODO.md Loading commit data...
build.sh Loading commit data...
clean Loading commit data...
clean.sh Loading commit data...
clean.sh~ Loading commit data...
image.jpg Loading commit data...
prompt.txt Loading commit data...
prompt.txt~ Loading commit data...
requirements.txt Loading commit data...
test_bridge_mode.sh Loading commit data...
wsscp.conf.example Loading commit data...
wsssh.conf.example Loading commit data...
wssshc.conf.example Loading commit data...
wssshc.init Loading commit data...
wssshc_watcher.sh Loading commit data...
wssshd.conf.example Loading commit data...
wssshd.init Loading commit data...
wssshd.py Loading commit data...
wsssht.conf.example Loading commit data...