#include "recv.h"
#include "compiler.h"
#include <stdbool.h>
Go to the source code of this file.
◆ mpd_stringnormalization_option
- 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.
◆ mpd_stringnormalization_name()
Looks up the name of the specified stringnormalization option.
- Returns
- the name, or NULL if the tag type is not valid
◆ mpd_stringnormalization_name_parse()
◆ mpd_send_list_stringnormalization()
| 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
◆ mpd_send_list_stringnormalization_available()
| 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
◆ mpd_recv_stringnormalization_pair()
◆ mpd_send_disable_stringnormalization()
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
◆ mpd_run_disable_stringnormalization()
◆ mpd_send_enable_stringnormalization()
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
◆ mpd_run_enable_stringnormalization()
◆ mpd_send_clear_stringnormalization()
| 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
◆ mpd_run_clear_stringnormalization()
| bool mpd_run_clear_stringnormalization |
( |
struct mpd_connection * | connection | ) |
|
◆ mpd_send_all_stringnormalization()
| 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
◆ mpd_run_all_stringnormalization()
| bool mpd_run_all_stringnormalization |
( |
struct mpd_connection * | connection | ) |
|