1*a87701e9SGary Mills /* 2*a87701e9SGary Mills * This file and its contents are supplied under the terms of the 3*a87701e9SGary Mills * Common Development and Distribution License ("CDDL"), version 1.0. 4*a87701e9SGary Mills * You may only use this file in accordance with the terms of version 5*a87701e9SGary Mills * 1.0 of the CDDL. 6*a87701e9SGary Mills * 7*a87701e9SGary Mills * A full copy of the text of the CDDL should have accompanied this 8*a87701e9SGary Mills * source. A copy of the CDDL is also available via the Internet at 9*a87701e9SGary Mills * http://www.illumos.org/license/CDDL. 10*a87701e9SGary Mills */ 11*a87701e9SGary Mills 12*a87701e9SGary Mills /* 13*a87701e9SGary Mills * Copyright 2015 Gary Mills 14*a87701e9SGary Mills */ 15*a87701e9SGary Mills 16*a87701e9SGary Mills #ifndef _STUBS_H 17*a87701e9SGary Mills #define _STUBS_H 18*a87701e9SGary Mills 19*a87701e9SGary Mills /* 20*a87701e9SGary Mills * Functions defined in yptol/stubs.c needed elsewhere 21*a87701e9SGary Mills */ 22*a87701e9SGary Mills 23*a87701e9SGary Mills #ifdef __cplusplus 24*a87701e9SGary Mills extern "C" { 25*a87701e9SGary Mills #endif 26*a87701e9SGary Mills 27*a87701e9SGary Mills /* Put your definitions in here */ 28*a87701e9SGary Mills extern bool 29*a87701e9SGary Mills init_lock_map(); 30*a87701e9SGary Mills extern int 31*a87701e9SGary Mills lock_core(int); 32*a87701e9SGary Mills extern int 33*a87701e9SGary Mills unlock_core(int); 34*a87701e9SGary Mills 35*a87701e9SGary Mills #ifdef __cplusplus 36*a87701e9SGary Mills } 37*a87701e9SGary Mills #endif 38*a87701e9SGary Mills 39*a87701e9SGary Mills #endif /* _STUBS_H */ 40