1*7671517eSToomas Soome /* 2*7671517eSToomas Soome * This file and its contents are supplied under the terms of the 3*7671517eSToomas Soome * Common Development and Distribution License ("CDDL"), version 1.0. 4*7671517eSToomas Soome * You may only use this file in accordance with the terms of version 5*7671517eSToomas Soome * 1.0 of the CDDL. 6*7671517eSToomas Soome * 7*7671517eSToomas Soome * A full copy of the text of the CDDL should have accompanied this 8*7671517eSToomas Soome * source. A copy of the CDDL is also available via the Internet at 9*7671517eSToomas Soome * http://www.illumos.org/license/CDDL. 10*7671517eSToomas Soome */ 11*7671517eSToomas Soome 12*7671517eSToomas Soome /* 13*7671517eSToomas Soome * Copyright 2023 Toomas Soome <tsoome@me.com> 14*7671517eSToomas Soome */ 15*7671517eSToomas Soome 16*7671517eSToomas Soome #ifndef _CODES_H 17*7671517eSToomas Soome #define _CODES_H 18*7671517eSToomas Soome 19*7671517eSToomas Soome #ifdef __cplusplus 20*7671517eSToomas Soome extern "C" { 21*7671517eSToomas Soome #endif 22*7671517eSToomas Soome 23*7671517eSToomas Soome struct ioc { 24*7671517eSToomas Soome uint_t code; 25*7671517eSToomas Soome const char *name; 26*7671517eSToomas Soome const char *datastruct; 27*7671517eSToomas Soome }; 28*7671517eSToomas Soome 29*7671517eSToomas Soome struct iocs { 30*7671517eSToomas Soome uint_t nitems; 31*7671517eSToomas Soome const struct ioc *data; 32*7671517eSToomas Soome }; 33*7671517eSToomas Soome 34*7671517eSToomas Soome extern const struct iocs vmm_iocs[]; 35*7671517eSToomas Soome 36*7671517eSToomas Soome #ifdef __cplusplus 37*7671517eSToomas Soome } 38*7671517eSToomas Soome #endif 39*7671517eSToomas Soome 40*7671517eSToomas Soome #endif /* _CODES_H */ 41