Top |
Grilo is a metadata retrieval library. Given a search or browse operation, the library will retrieve a set of metadata related to the operation from a set of on-line services.
The Grilo library should be initialized with grl_init()
before it can be used.
You should pass pointers to the main argc and argv variables so that Grilo can
process its own command line options.
After using it, in order to close cleanly all the resources opened either by
the core library or the sources, call grl_deinit()
.
void grl_init (gint *argc
,gchar **argv[]
);
Initializes the Grilo library
argc |
number of input arguments, length of |
[inout][allow-none] |
argv |
list of arguments. |
[inout][element-type utf8][array length=argc][allow-none][transfer none] |
Since: 0.1.6
GOptionGroup *
grl_init_get_option_group (void
);
Returns a GOptionGroup with Grilo's argument specifications.
This function is useful if you want to integrate Grilo with other
libraries that use the GOption commandline parser
(see g_option_context_add_group()
).
Since: 0.1.6