Initial adaptation of lib/*.h files for FTNd.
Initial adaptation of lib/*.c files for FTNd.
Initial adaptation of lib/* files as FTNd v0.11.