1f2dbfd32SRobert Mustacchi /* 2f2dbfd32SRobert Mustacchi * This file and its contents are supplied under the terms of the 3f2dbfd32SRobert Mustacchi * Common Development and Distribution License ("CDDL"), version 1.0. 4f2dbfd32SRobert Mustacchi * You may only use this file in accordance with the terms of version 5f2dbfd32SRobert Mustacchi * 1.0 of the CDDL. 6f2dbfd32SRobert Mustacchi * 7f2dbfd32SRobert Mustacchi * A full copy of the text of the CDDL should have accompanied this 8f2dbfd32SRobert Mustacchi * source. A copy of the CDDL is also available via the Internet at 9f2dbfd32SRobert Mustacchi * http://www.illumos.org/license/CDDL. 10f2dbfd32SRobert Mustacchi */ 11f2dbfd32SRobert Mustacchi 12f2dbfd32SRobert Mustacchi /* 13f2dbfd32SRobert Mustacchi * Copyright 2019, Joyent, Inc. 14f2dbfd32SRobert Mustacchi */ 15f2dbfd32SRobert Mustacchi 16f2dbfd32SRobert Mustacchi #ifndef _TOPO_SENSOR_H 17f2dbfd32SRobert Mustacchi #define _TOPO_SENSOR_H 18f2dbfd32SRobert Mustacchi 19f2dbfd32SRobert Mustacchi /* 20f2dbfd32SRobert Mustacchi * Routines to interact with the common kernel sensor framework. 21f2dbfd32SRobert Mustacchi */ 22f2dbfd32SRobert Mustacchi 23f2dbfd32SRobert Mustacchi #ifdef __cplusplus 24f2dbfd32SRobert Mustacchi extern "C" { 25f2dbfd32SRobert Mustacchi #endif 26f2dbfd32SRobert Mustacchi 27*1045e13aSRobert Mustacchi extern int topo_sensor_create_scalar_sensor(topo_mod_t *, tnode_t *, 28*1045e13aSRobert Mustacchi const char *, const char *); 29f2dbfd32SRobert Mustacchi 30f2dbfd32SRobert Mustacchi #ifdef __cplusplus 31f2dbfd32SRobert Mustacchi } 32f2dbfd32SRobert Mustacchi #endif 33f2dbfd32SRobert Mustacchi 34f2dbfd32SRobert Mustacchi #endif /* _TOPO_SENSOR_H */ 35