plugin: Desktop Browser Reference Manual

## plugin plugin |

## Functions

char const * | (*config_get) ()
int | (*config_set) ()
int | (*error) ()
GdkPixbuf * | (*get_icon) ()
Mime * | (*get_mime) ()
char const * | (*get_type) ()
void | (*refresh) ()
int | (*set_location) ()
BrowserPlugin * | (*init) ()
void | (*destroy) ()
GtkWidget * | (*get_widget) ()

## Types and Values

| Browser
| BrowserPlugin

## Description

## Functions

### config_get ()

    char const *
    (*config_get) (Browser *browser,
                   char const *section,
                   char const *variable);

### config_set ()

    int
    (*config_set) (Browser *browser,
                   char const *section,
                   char const *variable,
                   char const *value);

### error ()

    int
    (*error) (Browser *browser,
              char const *message,
              int ret);

### get_icon ()

    GdkPixbuf *
    (*get_icon) (Browser *browser,
                 char const *filename,
                 char const *type,
                 struct stat *lst,
                 struct stat *st,
                 int size);

### get_mime ()

    Mime *
    (*get_mime) (Browser *browser);

### get_type ()

    char const *
    (*get_type) (Browser *browser,
                 char const *filename,
                 mode_t mode);

### refresh ()

    void
    (*refresh) (Browser *browser);

### set_location ()

    int
    (*set_location) (Browser *browser,
                     char const *path);

### init ()

    BrowserPlugin *
    (*init) (BrowserPluginHelper *helper);

### destroy ()

    void
    (*destroy) (BrowserPlugin *plugin);

### get_widget ()

    GtkWidget *
    (*get_widget) (BrowserPlugin *plugin);

## Types and Values

### Browser

    typedef struct _Browser Browser;

### BrowserPlugin

    typedef struct _BrowserPlugin BrowserPlugin;