grilo

grilo — Metadata library supporting several services

Synopsis

#include <grilo.h>

void                grl_init                            (gint *argc,
                                                         gchar **argv[]);
GOptionGroup *      grl_init_get_option_group           (void);

Description

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.

Details

grl_init ()

void                grl_init                            (gint *argc,
                                                         gchar **argv[]);

Initializes the Grilo library

argc :

number of input arguments, length of argv. [inout][allow-none]

argv :

list of arguments. [inout][element-type utf8][array length=argc][allow-none]

Since 0.1.6


grl_init_get_option_group ()

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