/**
 * \file Synchronization.h
 * \brief Synchronization for loading the only one trastlet at a moment.
 * \author Dmytro Podgornyi (d.podgornyi@samsung.com)
 * \version 0.1
 * \date Created May 28, 2013
 * \par In Samsung Ukraine R&D Center (SURC) under a contract between
 * \par LLC "Samsung Electronics Ukraine Company" (Kiev, Ukraine) and
 * \par "Samsung Elecrtronics Co", Ltd (Seoul, Republic of Korea)
 * \par Copyright: (c) Samsung Electronics Co, Ltd 2012. All rights reserved.
 */

#ifndef __SYNCHRONIZATION_H_INCLUDED__
#define __SYNCHRONIZATION_H_INCLUDED__

/* driver for allowing the only one simultaneous access to SWD
 * NWD_SYNC_DRIVER must be set to one of the drivers defines */
#define NWD_SYNC_DRIVER_NONE 0x00
#define NWD_SYNC_DRIVER_LOCK_FILE 0x01
#define NWD_SYNC_DRIVER NWD_SYNC_DRIVER_LOCK_FILE

int kmLockTA();
int kmUnlockTA();

#endif /* __SYNCHRONIZATION_H_INCLUDED__ */