1*b819cea2SGordon Ross /* 2*b819cea2SGordon Ross * This file and its contents are supplied under the terms of the 3*b819cea2SGordon Ross * Common Development and Distribution License ("CDDL"), version 1.0. 4*b819cea2SGordon Ross * You may only use this file in accordance with the terms of version 5*b819cea2SGordon Ross * 1.0 of the CDDL. 6*b819cea2SGordon Ross * 7*b819cea2SGordon Ross * A full copy of the text of the CDDL should have accompanied this 8*b819cea2SGordon Ross * source. A copy of the CDDL is also available via the Internet at 9*b819cea2SGordon Ross * http://www.illumos.org/license/CDDL. 10*b819cea2SGordon Ross */ 11*b819cea2SGordon Ross 12*b819cea2SGordon Ross /* 13*b819cea2SGordon Ross * Copyright 2013 Nexenta Systems, Inc. All rights reserved. 14*b819cea2SGordon Ross */ 15*b819cea2SGordon Ross 16*b819cea2SGordon Ross #ifndef _FAKEKERNEL_H 17*b819cea2SGordon Ross #define _FAKEKERNEL_H 18*b819cea2SGordon Ross 19*b819cea2SGordon Ross #include <sys/types.h> 20*b819cea2SGordon Ross #include <sys/varargs.h> 21*b819cea2SGordon Ross 22*b819cea2SGordon Ross #ifdef __cplusplus 23*b819cea2SGordon Ross extern "C" { 24*b819cea2SGordon Ross #endif 25*b819cea2SGordon Ross 26*b819cea2SGordon Ross void fakekernel_init(void); 27*b819cea2SGordon Ross void fakekernel_putlog(char *, size_t, int); 28*b819cea2SGordon Ross void fakekernel_cprintf(const char *, va_list, int, 29*b819cea2SGordon Ross const char *, const char *); 30*b819cea2SGordon Ross 31*b819cea2SGordon Ross #ifdef __cplusplus 32*b819cea2SGordon Ross } 33*b819cea2SGordon Ross #endif 34*b819cea2SGordon Ross 35*b819cea2SGordon Ross #endif /* _FAKEKERNEL_H */ 36