chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support global prefs through eclient interface.
[disorder]
/
lib
/
speaker-protocol.h
diff --git
a/lib/speaker-protocol.h
b/lib/speaker-protocol.h
index 3b21f0a8ef8821f21f5a25a3fa844e2a1964c520..24fc970587d7f748e1b6aa3db3e23a9fe2b58d69 100644
(file)
--- a/
lib/speaker-protocol.h
+++ b/
lib/speaker-protocol.h
@@
-43,6
+43,7
@@
struct speaker_message {
* - @ref SM_FINISHED
* - @ref SM_PLAYING
* - @ref SM_UNKNOWN
* - @ref SM_FINISHED
* - @ref SM_PLAYING
* - @ref SM_UNKNOWN
+ * - @ref SM_ARRIVED
*/
int type;
*/
int type;
@@
-102,6
+103,9
@@
struct speaker_message {
/** @brief Cancelled track @c id which wasn't playing */
#define SM_STILLBORN 133
/** @brief Cancelled track @c id which wasn't playing */
#define SM_STILLBORN 133
+/** @brief A connection for track @c id arrived */
+#define SM_ARRIVED 134
+
void speaker_send(int fd, const struct speaker_message *sm);
/* Send a message. */
void speaker_send(int fd, const struct speaker_message *sm);
/* Send a message. */