Init and loading

## Init and loading Init and loading — Module loading and various registration |

## Synopsis

    #include <gnome-scan.h>

    void                gnome_scan_init                     (gint *argc,
                                                             gchar ***argv);
    void                gnome_scan_exit                     (void);

## Description

## Details

### gnome_scan_init ()

    void                gnome_scan_init                     (gint *argc,
                                                             gchar ***argv);

This function must be called before any other gnome_scan function. It initialize GnomeScanModules and register various stuffs like GtkStockItem, etc.

`argc` : | a pointer to arg count
`argv` : | a pointer to arg values.

### gnome_scan_exit ()

    void                gnome_scan_exit                     (void);

This function should be called once you're finished with gnome scan. It will unload modules, remove stock icons, exit dependencies, etc.