1*f497f9feSJoshua M. Clulow /*
2*f497f9feSJoshua M. Clulow  * This file and its contents are supplied under the terms of the
3*f497f9feSJoshua M. Clulow  * Common Development and Distribution License ("CDDL"), version 1.0.
4*f497f9feSJoshua M. Clulow  * You may only use this file in accordance with the terms of version
5*f497f9feSJoshua M. Clulow  * 1.0 of the CDDL.
6*f497f9feSJoshua M. Clulow  *
7*f497f9feSJoshua M. Clulow  * A full copy of the text of the CDDL should have accompanied this
8*f497f9feSJoshua M. Clulow  * source.  A copy of the CDDL is also available via the Internet at
9*f497f9feSJoshua M. Clulow  * http://www.illumos.org/license/CDDL.
10*f497f9feSJoshua M. Clulow  */
11*f497f9feSJoshua M. Clulow 
12*f497f9feSJoshua M. Clulow /*
13*f497f9feSJoshua M. Clulow  * Copyright 2012, Joyent, Inc.  All rights reserved.
14*f497f9feSJoshua M. Clulow  */
15*f497f9feSJoshua M. Clulow 
16*f497f9feSJoshua M. Clulow /*
17*f497f9feSJoshua M. Clulow  * Sets up a fake node-bunyan-like USDT provider for use from C.
18*f497f9feSJoshua M. Clulow  */
19*f497f9feSJoshua M. Clulow 
20*f497f9feSJoshua M. Clulow provider bunyan_fake {
21*f497f9feSJoshua M. Clulow 	probe log__trace(char *msg);
22*f497f9feSJoshua M. Clulow 	probe log__debug(char *msg);
23*f497f9feSJoshua M. Clulow 	probe log__info(char *msg);
24*f497f9feSJoshua M. Clulow 	probe log__warn(char *msg);
25*f497f9feSJoshua M. Clulow 	probe log__error(char *msg);
26*f497f9feSJoshua M. Clulow 	probe log__fatal(char *msg);
27*f497f9feSJoshua M. Clulow };
28