src/ls.h File Reference

#include <stdbool.h>
#include <stdio.h>

Go to the source code of this file.

Functions

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

Function Documentation

void print_supported_uri_schemes ( struct client client  ) 

Send a list of supported URI schemes to the client.

This is the response to the "urlhandlers" command.

void print_supported_uri_schemes_to_fp ( FILE *  fp  ) 

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

bool uri_supported_scheme ( const char *  url  ) 

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.


Generated on 17 Jul 2013 for MPD by  doxygen 1.6.1