| librygel-core Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Prerequisites | Known Implementations | ||||
enum RygelConfigurationError; gboolean rygel_configuration_get_upnp_enabled (RygelConfiguration *self,GError **error); gchar * rygel_configuration_get_interface (RygelConfiguration *self,GError **error); gint rygel_configuration_get_port (RygelConfiguration *self,GError **error); gboolean rygel_configuration_get_transcoding (RygelConfiguration *self,GError **error); gboolean rygel_configuration_get_mp3_transcoder (RygelConfiguration *self,GError **error); gboolean rygel_configuration_get_mp2ts_transcoder (RygelConfiguration *self,GError **error); gboolean rygel_configuration_get_lpcm_transcoder (RygelConfiguration *self,GError **error); gboolean rygel_configuration_get_wmv_transcoder (RygelConfiguration *self,GError **error); gboolean rygel_configuration_get_aac_transcoder (RygelConfiguration *self,GError **error); gboolean rygel_configuration_get_avc_transcoder (RygelConfiguration *self,GError **error); gboolean rygel_configuration_get_allow_upload (RygelConfiguration *self,GError **error); gboolean rygel_configuration_get_allow_deletion (RygelConfiguration *self,GError **error); gchar * rygel_configuration_get_log_levels (RygelConfiguration *self,GError **error); gchar * rygel_configuration_get_plugin_path (RygelConfiguration *self,GError **error); gchar * rygel_configuration_get_video_upload_folder (RygelConfiguration *self,GError **error); gchar * rygel_configuration_get_music_upload_folder (RygelConfiguration *self,GError **error); gchar * rygel_configuration_get_picture_upload_folder (RygelConfiguration *self,GError **error); gboolean rygel_configuration_get_enabled (RygelConfiguration *self,const gchar *section,GError **error); gchar * rygel_configuration_get_title (RygelConfiguration *self,const gchar *section,GError **error); gchar * rygel_configuration_get_string (RygelConfiguration *self,const gchar *section,const gchar *key,GError **error); GeeArrayList * rygel_configuration_get_string_list (RygelConfiguration *self,const gchar *section,const gchar *key,GError **error); gint rygel_configuration_get_int (RygelConfiguration *self,const gchar *section,const gchar *key,gint min,gint max,GError **error); GeeArrayList * rygel_configuration_get_int_list (RygelConfiguration *self,const gchar *section,const gchar *key,GError **error); gboolean rygel_configuration_get_bool (RygelConfiguration *self,const gchar *section,const gchar *key,GError **error); RygelConfiguration; struct RygelConfigurationIface;
RygelConfiguration is implemented by RygelCmdlineConfig, RygelMetaConfig and RygelUserConfig.
typedef enum {
RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET,
RYGEL_CONFIGURATION_ERROR_VALUE_OUT_OF_RANGE
} RygelConfigurationError;
gboolean rygel_configuration_get_upnp_enabled (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_interface (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gint rygel_configuration_get_port (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_configuration_get_transcoding (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_configuration_get_mp3_transcoder (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_configuration_get_mp2ts_transcoder (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_configuration_get_lpcm_transcoder (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_configuration_get_wmv_transcoder (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_configuration_get_aac_transcoder (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_configuration_get_avc_transcoder (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_configuration_get_allow_upload (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_configuration_get_allow_deletion (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_log_levels (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_plugin_path (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_video_upload_folder (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_music_upload_folder (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_picture_upload_folder (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_configuration_get_enabled (RygelConfiguration *self,const gchar *section,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_title (RygelConfiguration *self,const gchar *section,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_string (RygelConfiguration *self,const gchar *section,const gchar *key,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
GeeArrayList * rygel_configuration_get_string_list (RygelConfiguration *self,const gchar *section,const gchar *key,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gint rygel_configuration_get_int (RygelConfiguration *self,const gchar *section,const gchar *key,gint min,gint max,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
GeeArrayList * rygel_configuration_get_int_list (RygelConfiguration *self,const gchar *section,const gchar *key,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_configuration_get_bool (RygelConfiguration *self,const gchar *section,const gchar *key,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
typedef struct _RygelConfiguration RygelConfiguration;
Interface for dealing with Rygel configuration.
struct RygelConfigurationIface {
GTypeInterface parent_iface;
gboolean (*get_upnp_enabled) (RygelConfiguration* self, GError** error);
gchar* (*get_interface) (RygelConfiguration* self, GError** error);
gint (*get_port) (RygelConfiguration* self, GError** error);
gboolean (*get_transcoding) (RygelConfiguration* self, GError** error);
gboolean (*get_mp3_transcoder) (RygelConfiguration* self, GError** error);
gboolean (*get_mp2ts_transcoder) (RygelConfiguration* self, GError** error);
gboolean (*get_lpcm_transcoder) (RygelConfiguration* self, GError** error);
gboolean (*get_wmv_transcoder) (RygelConfiguration* self, GError** error);
gboolean (*get_aac_transcoder) (RygelConfiguration* self, GError** error);
gboolean (*get_avc_transcoder) (RygelConfiguration* self, GError** error);
gboolean (*get_allow_upload) (RygelConfiguration* self, GError** error);
gboolean (*get_allow_deletion) (RygelConfiguration* self, GError** error);
gchar* (*get_log_levels) (RygelConfiguration* self, GError** error);
gchar* (*get_plugin_path) (RygelConfiguration* self, GError** error);
gchar* (*get_video_upload_folder) (RygelConfiguration* self, GError** error);
gchar* (*get_music_upload_folder) (RygelConfiguration* self, GError** error);
gchar* (*get_picture_upload_folder) (RygelConfiguration* self, GError** error);
gboolean (*get_enabled) (RygelConfiguration* self, const gchar* section, GError** error);
gchar* (*get_title) (RygelConfiguration* self, const gchar* section, GError** error);
gchar* (*get_string) (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error);
GeeArrayList* (*get_string_list) (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error);
gint (*get_int) (RygelConfiguration* self, const gchar* section, const gchar* key, gint min, gint max, GError** error);
GeeArrayList* (*get_int_list) (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error);
gboolean (*get_bool) (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error);
};
Interface for creating RygelConfiguration implementations.