URI source

Description

URI source interface

This interface allows to create a source from URI.

Functions

FluSource *

flu_source_uri_new ()

const gchar *

flu_source_uri_uri_get ()

flu_source_uri_new ()

FluSource * flu_source_uri_new (const char *uri, const char *source_name);

Creates a new URI based source

Since: 1.0

Parameters

uri

The URI to use to create the FluSource

source_name

Name of the new source or NULL to automatically create a new unique name.

Returns

A new instance of a FluSource

flu_source_uri_uri_get ()

const gchar * flu_source_uri_uri_get (FluSource *src);

Gets the URI from a FluSource

Since: 1.0

Parameters

src

The FluSource to get the URI from

Returns

The URI used when creating the FluSource