Wireshark-dev: [Wireshark-dev] Reusing Wireshark Code

From: Andreas Bakurov <andreasmk2@xxxxxxxxx>
Date: Sun, 18 Mar 2007 23:37:24 +0200
I'm writing a program that should parse TCP/IP packets, currently I'm
using libpcap for this purpose which doesn't help much (I should cast
each packet to the header structure).
Is there a way to reuse wireshark code ? is there documented API available?