URI source

URI source — URI source interface

Functions

Description

URI source interface

This interface allows to create a source from URI.

Functions

flu_source_uri_new ()

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

Creates a new URI based source

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.

[nullable]

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

Parameters

src

The FluSource to get the URI from

 

Returns

The URI used when creating the FluSource

Types and Values