dmftp DMOD library module.
TODO: describe what this module does.
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.
make DMOD_MODE=DMOD_MODULE DMOD_DIR=/path/to/dmodTests are built automatically alongside the module (see tests/). Once built,
run them with ctest:
cd build
ctest --output-on-failurectest 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_dmftp-local.dmd -y
dmod_loader build/dmf/test_dmftp.dmfThis library module provides functions that can be used by other modules:
#include "dmftp.h"| Function | Description |
|---|---|
dmftp_create() |
Create a new dmftp_t instance. |
dmftp_destroy() |
Destroy an instance created by _create(). |
dmftp_is_valid() |
Check whether a handle is a valid instance. |
See include/dmftp.h for the full declarations and docs/api-reference.md for the complete reference.
See the docs/ directory:
- api-reference.md - Complete API documentation
View documentation using dmf-man dmftp.
dmftp/
├── docs/ # Documentation (markdown format)
├── include/ # Public headers
│ └── dmftp.h
├── src/
│ └── dmftp.c
├── tests/
│ ├── CMakeLists.txt
│ └── dmftp_test.c
├── CMakeLists.txt
├── Makefile
├── dmftp.dmr
└── manifest.dmm
Mikolaj Filar
MIT