#include "xpsh_adaptor.h"Functions | |
| void | loadAdaptors () |
| loads all adaptors | |
| adaptor * | newAdaptor (char *line, adaptor *prev_ad) |
| loads a new adaptor from file | |
| void | unloadAdaptors (void) |
| unloads the shared adaptor libraries | |
| int | adaptorsLoaded (void) |
| returns the value of the adaptor_loaded variable | |
| adaptor * | getFirstAdaptor (void) |
| returns the first adaptor in the linked list of all adaptors | |
| void | declareAdaptorNamespaces (QueryContext Q) |
| declares the namespaces defined in the adaptors | |
|
|
returns true if the adaptors are already loaded
|
|
|
each adaptor can define a namespace (whether it uses that namespace or not).
|
|
|
|
|
|
the configuration file is first searched in the home-directory of the user ( ~/.xpsh ) then system-wide ( /etc/xpsh ). |
|
||||||||||||
|
|
|
|
the shared libraries of the adaptors are loaded with the dlopen command, this is why the have to be unloaded at the end of the program |
1.4.6