## WebKitWebPluginDatabase WebKitWebPluginDatabase — Provides information about the plugins the engine knows about |

## Synopsis

                        WebKitWebPluginDatabase;
    WebKitWebPlugin *   webkit_web_plugin_database_get_plugin_for_mimetype
                                                            (WebKitWebPluginDatabase *database,
                                                             const char *mime_type);
    GSList *            webkit_web_plugin_database_get_plugins
                                                            (WebKitWebPluginDatabase *database);
    void                webkit_web_plugin_database_plugins_list_free
                                                            (GSList *list);
    void                webkit_web_plugin_database_refresh  (WebKitWebPluginDatabase *database);

## Object Hierarchy

      GObject
       +----WebKitWebPluginDatabase

## Description

This object allows you to query information about the plugins found by the engine while scanning the usual directories. You can then use the WebKitWebPlugin objects to get more information or enable/disable individual plugins.

## Details

### WebKitWebPluginDatabase

    typedef struct _WebKitWebPluginDatabase WebKitWebPluginDatabase;

### webkit_web_plugin_database_get_plugin_for_mimetype ()

    WebKitWebPlugin *   webkit_web_plugin_database_get_plugin_for_mimetype
                                                            (WebKitWebPluginDatabase *database,
                                                             const char *mime_type);

Returns the WebKitWebPlugin that is handling `mimeType` in the `database`, or `NULL` if there's none doing so.

`database` : | a WebKitWebPluginDatabase
`mime_type` : | a mime type
Returns : | a WebKitWebPlugin. [transfer full]

Since 1.3.8

### webkit_web_plugin_database_get_plugins ()

    GSList *            webkit_web_plugin_database_get_plugins
                                                            (WebKitWebPluginDatabase *database);

Returns all WebKitWebPlugin available in `database`. The returned list must be freed with `webkit_web_plugin_database_plugins_list_free()`

`database` : | a WebKitWebPluginDatabase
Returns : | a GSList of WebKitWebPlugin. [transfer full][element-type WebKitWebPlugin]

Since 1.3.8

### webkit_web_plugin_database_plugins_list_free ()

    void                webkit_web_plugin_database_plugins_list_free
                                                            (GSList *list);

Frees `list`.

`list` : | a GSList of WebKitWebPlugin. [element-type WebKitWebPlugin]

Since 1.3.8

### webkit_web_plugin_database_refresh ()

    void                webkit_web_plugin_database_refresh  (WebKitWebPluginDatabase *database);

Refreshes `database` adding new plugins that are now in use and removing those that have been disabled or are otherwise no longer available.

`database` : | a WebKitWebPluginDatabase

Since 1.3.8

## See Also

WebKitWebPlugin