Skip to content

Repository files navigation

networkd

License CI

networkd DMOD application module.

Description

TODO: describe what this module does.

Building

Using CMake

mkdir -p build
cd build
cmake ..
cmake --build .

Pass -DDMOD_DIR=/path/to/local/dmod to build against a local dmod checkout instead of fetching develop from GitHub.

Using Make

make DMOD_MODE=DMOD_MODULE DMOD_DIR=/path/to/dmod

Testing

Tests are built automatically alongside the module (see tests/). Once built, run them with ctest:

cd build
ctest --output-on-failure

ctest installs the test module's dependencies with dmf-get and then runs it through dmod_loader. To run it manually instead:

export DMOD_DMF_DIR=$(pwd)/build/dmf
dmf-get install -d ${DMOD_DMF_DIR}/test_networkd-local.dmd -y
dmod_loader build/dmf/test_networkd.dmf

Usage

This application module can be loaded and executed using the DMOD loader:

dmod_loader /path/to/networkd.dmf

API

networkd is loaded and executed through the DMOD loader - it does not expose a callable module API of its own. See docs/api-reference.md for its command-line arguments and exit codes.

Documentation

See the docs/ directory:

View documentation using dmf-man networkd.

Project Structure

networkd/
├── docs/              # Documentation (markdown format)
├── src/
│   └── networkd.c
├── tests/
│   ├── CMakeLists.txt
│   └── networkd_test.c
├── CMakeLists.txt
├── Makefile
├── networkd.dmr
└── manifest.dmm

Author

Patryk Kubiak

License

MIT

About

Network Daemon

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages