rocket/sync/device.h
Erik Faye-Lund decf843c04 player/client: port to C
Make sure that all code included in the player and client is
pure C. This helps on portability.
2010-03-19 17:41:34 +01:00

37 lines
598 B
C

/* Copyright (C) 2007-2008 Erik Faye-Lund and Egbert Teeselink
* For conditions of distribution and use, see copyright notice in LICENSE.TXT
*/
#ifndef SYNC_DEVICE_H
#define SYNC_DEVICE_H
#include "track.h"
#include "data.h"
#ifndef SYNC_PLAYER
#include "network.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
struct sync_device {
const char *base;
struct sync_data data;
#ifndef SYNC_PLAYER
struct sync_cb *cb;
void *cb_param;
int row;
SOCKET sock;
#endif
};
const char *sync_track_path(const char *base, const char *name);
#ifdef __cplusplus
}
#endif
#endif /* SYNC_DEVICE_H */