Integrate Suricata with VPP as a shared library

Hi,

I am trying to integrate Suricata with VPP (Vector Packet Processing) for which I need to build Suricata as a shared library. I could see there is already a similar thread 560 regarding it, but it is approx 5 year old hence reposting similar query.

I am using latest suricata 7.0.8 and I could compile it as a shared library (libsuricata.so) along with “libsuricata_c.a” and “libsuricata_rust.a”, it has also created this binary (libsuricata-config)
Is there any documentation available how to use suricata as a shared library ? how to pass packet to suricata for inspection ?
Can we use suricata as a library with latest surucata version available ?

Please help me with my queries.

Thanks