Changed the relationship between entity-adj-sessios (again)
[mpls-ldp-portable.git] / common / mpls_lock_impl.h
blobe7b9866d3bf3691726353e2387359f747c1c3fa8
2 /*
3 * Copyright (C) James R. Leu 2002
4 * jleu@mindspring.com
6 * This software is covered under the LGPL, for more
7 * info check out http://www.gnu.org/copyleft/lgpl.html
8 */
10 #ifndef _MPLS_LOCK_IMPL_H_
11 #define _MPLS_LOCK_IMPL_H_
13 #include "mpls_struct.h"
16 * in: handle
17 * return: mpls_bool
19 extern mpls_bool mpls_lock_handle_verify(mpls_lock_handle handle);
22 * in: key
23 * return: mpls_lock_handle
25 extern mpls_lock_handle mpls_lock_create(const mpls_lock_key_type key);
28 * in: handle
30 extern void mpls_lock_get(mpls_lock_handle handle);
33 * in: handle
35 extern void mpls_lock_release(mpls_lock_handle handle);
38 * in: handle
40 extern void mpls_lock_delete(mpls_lock_handle handle);
42 #endif