3 * Copyright (C) James R. Leu 2002
6 * This software is covered under the LGPL, for more
7 * info check out http://www.gnu.org/copyleft/lgpl.html
10 #ifndef _MPLS_LOCK_IMPL_H_
11 #define _MPLS_LOCK_IMPL_H_
13 #include "mpls_struct.h"
19 extern mpls_bool
mpls_lock_handle_verify(mpls_lock_handle handle
);
23 * return: mpls_lock_handle
25 extern mpls_lock_handle
mpls_lock_create(const mpls_lock_key_type key
);
30 extern void mpls_lock_get(mpls_lock_handle handle
);
35 extern void mpls_lock_release(mpls_lock_handle handle
);
40 extern void mpls_lock_delete(mpls_lock_handle handle
);