mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 05:07:56 +00:00
a79156c4d0
The daemon API is built as a Swift module called ServalDNA. The new CliContext class allows easy implementation of CLI output using Swift code. The new CliContextFile subclass is the obvious first implementation, equivalent to cli_stdio.c. The 'servaldswift' executable now uses CliContextFile to print its CLI output to standard output. The new delegated log output support constructs each log line in a buffer and prints it by calling the delegate's 'print' function at end-of-line. The 'servaldswift' executable now provides a log output delegate in Swift that simply prints to standard error, replacing log_output_console.o, which is omitted from its link.
46 lines
591 B
Plaintext
46 lines
591 B
Plaintext
*~
|
|
/win32/Debug
|
|
/win32/Release
|
|
*.user
|
|
*.ncb
|
|
/libsodium-*/
|
|
/objs
|
|
/objs_lib
|
|
/objs_servald
|
|
*.o
|
|
*.a
|
|
*.suo
|
|
.*.sw?
|
|
*.swiftdoc
|
|
*.swiftmodule
|
|
/VERSION.txt
|
|
/configure
|
|
/autom4te.cache
|
|
/aclocal.m4
|
|
/config.log
|
|
/config.status
|
|
/Makefile
|
|
/testconfig.sh
|
|
/config.h
|
|
/servald
|
|
/servaldwrap
|
|
/servaldswift
|
|
/serval-tests
|
|
/directory_service
|
|
/tfw_createfile
|
|
/fakeradio
|
|
/config_test
|
|
/simulator
|
|
*.so
|
|
test.*.log
|
|
/testlog/
|
|
/coverage_html/
|
|
*.info
|
|
/java-api/Makefile
|
|
/java-api/classes/
|
|
/java-api/testclasses/
|
|
/swift-daemon-api/build/
|
|
/swift-client-api/Makefile
|
|
/swift-client-api/build/
|
|
/swift-client-api/swift-client-util
|