title: Is there an API for Wireshark, to develop programs/plugins that interact with it/enhance it?
body: <p>Googling didn't give me great results.  Is there any sort of API for Wireshark that abstracts away from the main source code so we can develop programs that interact with it and deal with the data it provides?</p>
  
  <p><strong>edit:</strong>  I appreciate the suggestions for different ways to receive packets, but I want to implement packet injection into Wireshark.  Sniffing will be an important part of my project, however I'm not sure that the suggested solution allows for packet injection.</p>