Including insd in your project
All public classes and functions are defined in the file insd.hh. Assuming you have installed
insd on your computer, you should include the header like this:
#include <insd.hh>
The insd namespace
All insd public classes and functions are defined within the insd namespace in C++.
This means that when using functions or classes provided by insd, you will need to either prepend insd:: everywhere or place using namespace insd; at the top of your source file(s).
Compiling with insd
You will need to add the following command line argument to the compiler/linker command to instruct the linker to incorporate insd into your final executable binary:
-linsd
Insd is a static library. It does not generate additional dependencies for your program, so there is no redistributable that needs to be installed on the end-user's machine for your program to function. (However, you will need to make certain source and/or object files available to the end-user if you use the GPL-licensed version of insd.)
Note:
If you have separate client and server applications that will use insd to communicate with one another, it is safest to compile both against the same version of insd, as some features may be subject to change in future versions.