To load the shared object containing your function, add the following line in the Init section of the obj.conf file:
Init fn=load-modules shlib=yourlibrary funcs=html2shtml
To execute the custom SAF during the request-response process for some object, add the following line to that object in the obj.conf file:
ObjectType fn=html2shtml