To load the shared object containing your functions, add the following directive in the Init section of the magnus.conf file:
Init fn=load-modules shlib="path" funcs=acf-init, restrict-by-acf
To call acf-init to read the list of allowable hosts, add the following line to the Init section in magnus.conf. This line must come after the one that loads the library containing acf-init.
Init fn=acf-init file=fileContainingHostsList
To execute your custom SAF during the request-response process for some object, add the following line to that object in the obj.conf file:
The source code for this example is in pcheck.c in the install-dir/samples/nsapi/directory.