title: How to get metadata from Libextractor into a struct
body: <p>I want to use Libextractor to get keywords/metadata for files.
  The basic example for it is - </p>
  
  <pre><code>struct EXTRACTOR_PluginList *plugins
  = EXTRACTOR_plugin_add_defaults (EXTRACTOR_OPTION_DEFAULT_POLICY);
  
  EXTRACTOR_extract (plugins, argv[1],
                   NULL, 0, 
                   &amp;EXTRACTOR_meta_data_print, stdout);
    EXTRACTOR_plugin_remove_all (plugins);
  </code></pre>
  
  <p>However, this calls the function EXTRACTOR_meta_data_print which "prints" it to "stdout"
  I'm looking at a way to get this information to another function - i.e. pass or store this in memory for further working. The documentation was not clear to me. Any help or experience regarding this?</p>