MPD  0.20.15
Functions
ls.hxx File Reference
#include "Compiler.h"
#include <stdio.h>
Include dependency graph for ls.hxx:

Go to the source code of this file.

Functions

gcc_pure bool uri_supported_scheme (const char *url) noexcept
 Checks whether the scheme of the specified URI is supported by MPD. More...
 
void print_supported_uri_schemes (Response &r)
 Send a list of supported URI schemes to the client. More...
 
void print_supported_uri_schemes_to_fp (FILE *fp)
 Send a list of supported URI schemes to a file pointer. More...
 

Function Documentation

◆ print_supported_uri_schemes()

void print_supported_uri_schemes ( Response r)

Send a list of supported URI schemes to the client.

This is the response to the "urlhandlers" command.

◆ print_supported_uri_schemes_to_fp()

void print_supported_uri_schemes_to_fp ( FILE *  fp)

Send a list of supported URI schemes to a file pointer.

◆ uri_supported_scheme()

gcc_pure bool uri_supported_scheme ( const char *  url)
noexcept

Checks whether the scheme of the specified URI is supported by MPD.

It is not allowed to pass an URI without a scheme, check with uri_has_scheme() first.