Refcnt fixes introduced when I converted addr and fec to
[mpls-ldp-portable.git] / common / mpls_lock_impl.h
blobe73db30d8a93b24c73d26515011edd8d3862e6c1
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: key
17 * return: mpls_lock_handle
19 extern mpls_lock_handle mpls_lock_create(const mpls_lock_key_type key);
22 * in: handle
24 extern void mpls_lock_get(mpls_lock_handle handle);
27 * in: handle
29 extern void mpls_lock_release(mpls_lock_handle handle);
32 * in: handle
34 extern void mpls_lock_delete(mpls_lock_handle handle);
36 #endif