#include "recv.h"
#include "compiler.h"
#include <stdbool.h>
Go to the source code of this file.
- Since
- libmpdclient 2.24
| Enumerator |
|---|
| MPD_STRINGNORMALIZATION_UNKNOWN |
Special value returned by mpd_stringnormalization_parse() when an unknown name was passed.
|
| MPD_STRINGNORMALIZATION_STRIP_DIACRITICS |
|
| MPD_STRINGNORMALIZATION_COUNT |
|
Definition at line 15 of file stringnormalization.h.
Looks up the name of the specified stringnormalization option.
- Returns
- the name, or NULL if the tag type is not valid
| bool mpd_send_list_stringnormalization |
( |
struct mpd_connection * |
connection | ) |
|
Requests a list of enabled stringnormalization options. Use mpd_recv_stringnormalization_pair() to obtain the list of "option" pairs.
- Parameters
-
| connection | the connection to MPD |
- Returns
- true on success, false on error
- Since
- libmpdclient 2.24, MPD 0.25
| bool mpd_send_list_stringnormalization_available |
( |
struct mpd_connection * |
connection | ) |
|
Requests a list of available protocol features. Use mpd_recv_stringnormalization_pair() to obtain the list of "stringnormalization option" pairs.
- Parameters
-
| connection | the connection to MPD |
- Returns
- true on success, false on error
- Since
- libmpdclient 2.24, MPD 0.25
Disables one or more stringnormalization option from the list of stringnormalization options.
- Parameters
-
| connection | the connection to MPD |
| options | an array of stringnormalization options to disable |
| n | the number of protocol features in the array |
- Returns
- true on success, false on error
- Since
- libmpdclient 2.24, MPD 0.25
Re-enable one or more stringnormalization options from the list of stringnormalization options for this client.
- Parameters
-
| connection | the connection to MPD |
| options | an array of stringnormalization options to enable |
| n | the number of protocol features in the array |
- Returns
- true on success, false on error
- Since
- libmpdclient 2.24, MPD 0.25
| bool mpd_send_clear_stringnormalization |
( |
struct mpd_connection * |
connection | ) |
|
Clear the list of enabled stringnormalization options for this client.
- Parameters
-
| connection | the connection to MPD |
- Returns
- true on success, false on error
- Since
- libmpdclient 2.24, MPD 0.25
| bool mpd_run_clear_stringnormalization |
( |
struct mpd_connection * |
connection | ) |
|
| bool mpd_send_all_stringnormalization |
( |
struct mpd_connection * |
connection | ) |
|
Enable all available stringnormalization options for this client.
- Parameters
-
| connection | the connection to MPD |
- Returns
- true on success, false on error
- Since
- libmpdclient 2.24, MPD 0.25
| bool mpd_run_all_stringnormalization |
( |
struct mpd_connection * |
connection | ) |
|