|
myMPD
Internal API documentation
|
MPD connection autoconfiguration. More...
#include "compile_time.h"#include "src/mympd_client/autoconf.h"#include "src/lib/env.h"#include "src/lib/filehandler.h"#include "src/lib/log.h"#include "src/lib/sds_extras.h"#include "src/lib/validate.h"#include <inttypes.h>#include <string.h>
Functions | |
| static bool | test_mpd_conn (const char *socket_path) |
| void | mympd_client_autoconf (struct t_mympd_state *mympd_state) |
MPD connection autoconfiguration.
| void mympd_client_autoconf | ( | struct t_mympd_state * | mympd_state | ) |
Public functions Tries to autodetect the mpd connection configuration https://mpd.readthedocs.io/en/latest/client.html#environment-variables
| mympd_state | pointer to mympd_state structure |
|
static |
Private definitions
Public functions Tries a connection to mpd
| socket_path | mpd socket |