/****************************************************************************
**  SIONLIB     http://www.fz-juelich.de/jsc/sionlib                       **
*****************************************************************************
**  Copyright (c) 2008-2015                                                **
**  Forschungszentrum Juelich, Juelich Supercomputing Centre               **
**                                                                         **
**  See the file COPYRIGHT in the package base directory for details       **
****************************************************************************/
#ifndef SION_SION_LOCK_H
#define SION_SION_LOCK_H

#ifdef __cplusplus
extern "C" {
#endif

  int _sion_lock_register_lock_callbacks(int lock(void *), int unlock(void *), void *lockdata);
  int _sion_lock_user_callbacks_defined();
  int _sion_lock();
  int _sion_unlock();
 
#ifdef __cplusplus
}
#endif

#endif
