The main program of the standalone variation is implemented in the file `scribacmd.c'. If you look at the start of this program you can see that it start including the file `scriba.h'. This file contains all definitions that are needed by the C compiler to compile the code calling the scriba_ API functions.
#include "../../getopt.h" #include "../../scriba.h"
In case you miss the file `scriba.h' then you should generate it using the program `headerer.pl' or `headerer.bas' which are also part of the distribution. C header files in ScriptBasic are not maintained by themselves. The text is rather maintained inside the C code, and is extracted using one of these scripts. (They do the same task.) The reason for this is to eliminate the double maintenance of function prototypes in the C and in the header file.
The file `basext.h' is also #included by the main program. This is not usually needed by other main programs. The standalone version needs it for the sole reason to be able to print out on the usage screen the extension module interface version that the actual interpreter support. This version is defined in the macro INTERFACE_VERSION. Other than that there is no reason or need to include any other file than `scriba.h'.