|
myMPD
Internal API documentation
|
myMPD PIN functions More...
#include "dist/sds/sds.h"#include <stdbool.h>

Go to the source code of this file.
Functions | |
| bool | pin_set (sds workdir) |
| bool | pin_validate (const char *pin, const char *pin_hash) |
myMPD PIN functions
| bool pin_set | ( | sds | workdir | ) |
Reads the pin from stdin and sets it
| workdir | working directory |
| bool pin_validate | ( | const char * | pin, |
| const char * | hash | ||
| ) |
Validates the pin
| pin | pin to validate |
| hash | hash to validate against |