/*
 *              Copyright (C) 2005, BroadOn Communications Corp.
 *
 * These coded instructions, statements, and computer programs contain
 * unpublished  proprietary information of BroadOn Communications Corp.,
 * and  are protected by Federal copyright law. They may not be disclosed
 * to  third  parties or copied or duplicated in any form, in whole or in
 * part, without the prior written consent of BroadOn Communications Corp.
 */
#ifndef __NC_MEDIA_HEADER_
#define __NC_MEDIA_HEADER_

#define ERROR_USB_LOST_SYNC   -2000
//#define MEDIAFS_LOG(...)      printf("LOG: " __VA_ARGS__)
//#define MEDIAFS_ERR(...)      printf("ERROR: " __VA_ARGS__)

int syncMediaFs(int fd);
int mediaFsOpen(char *server, int port);
int mediaFsClose();
bool mediaFsOpened();

ISFSError mediaFsVersion(u8 *ver, int len);

#endif
