mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 16:15:57 -05:00
accab800ac
This allows to call a sync command that returns the outcome of a pairing request. And that will be useful for the JSON API and the web interface.
24 lines
345 B
C
24 lines
345 B
C
|
|
#ifndef __REMOTE_PAIRING_H__
|
|
#define __REMOTE_PAIRING_H__
|
|
|
|
#define REMOTE_ERROR -1
|
|
#define REMOTE_INVALID_PIN -2
|
|
|
|
void
|
|
remote_pairing_kickoff(char **arglist);
|
|
|
|
int
|
|
remote_pairing_pair(const char *pin);
|
|
|
|
char *
|
|
remote_pairing_get_name(void);
|
|
|
|
int
|
|
remote_pairing_init(void);
|
|
|
|
void
|
|
remote_pairing_deinit(void);
|
|
|
|
#endif /* !__REMOTE_PAIRING_H__ */
|