sync_update is the only code-path that can end up calling any of the callbacks, so there's no need to store it in the device. This is a breaking change, so all users needs to update their code accordingly.
22 lines
367 B
C
22 lines
367 B
C
/* Copyright (C) 2007-2008 Erik Faye-Lund and Egbert Teeselink
|
|
* For conditions of distribution and use, see copyright notice in COPYING
|
|
*/
|
|
|
|
#ifndef SYNC_DEVICE_H
|
|
#define SYNC_DEVICE_H
|
|
|
|
#include "track.h"
|
|
#include "data.h"
|
|
|
|
struct sync_device {
|
|
char *base;
|
|
struct sync_data data;
|
|
|
|
#ifndef SYNC_PLAYER
|
|
int row;
|
|
SOCKET sock;
|
|
#endif
|
|
};
|
|
|
|
#endif /* SYNC_DEVICE_H */
|