![]() |
![]() |
![]() |
Grilo Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <grilo.h> void grl_init (gint *argc
,gchar **argv[]
); GOptionGroup * grl_init_get_option_group (void
);
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.
void grl_init (gint *argc
,gchar **argv[]
);
Initializes the Grilo library
|
number of input arguments, length of argv . [inout][allow-none]
|
|
list of arguments. [inout][element-type utf8][array length=argc][allow-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()
).
Returns : |
a pointer to Grilo's option group. Should be dereferenced after use. |
Since 0.1.6