1*a1bf3f78SToomas Soome /* 2*a1bf3f78SToomas Soome * This file and its contents are supplied under the terms of the 3*a1bf3f78SToomas Soome * Common Development and Distribution License ("CDDL"), version 1.0. 4*a1bf3f78SToomas Soome * You may only use this file in accordance with the terms of version 5*a1bf3f78SToomas Soome * 1.0 of the CDDL. 6*a1bf3f78SToomas Soome * 7*a1bf3f78SToomas Soome * A full copy of the text of the CDDL should have accompanied this 8*a1bf3f78SToomas Soome * source. A copy of the CDDL is also available via the Internet at 9*a1bf3f78SToomas Soome * http://www.illumos.org/license/CDDL. 10*a1bf3f78SToomas Soome */ 11*a1bf3f78SToomas Soome 12*a1bf3f78SToomas Soome /* 13*a1bf3f78SToomas Soome * Copyright 2015 Toomas Soome <tsoome@me.com> 14*a1bf3f78SToomas Soome */ 15*a1bf3f78SToomas Soome 16*a1bf3f78SToomas Soome #ifndef _FICLPLATFORM_EMU_H 17*a1bf3f78SToomas Soome #define _FICLPLATFORM_EMU_H 18*a1bf3f78SToomas Soome 19*a1bf3f78SToomas Soome /* 20*a1bf3f78SToomas Soome * BootForth Emulator entry points. 21*a1bf3f78SToomas Soome */ 22*a1bf3f78SToomas Soome 23*a1bf3f78SToomas Soome #ifdef __cplusplus 24*a1bf3f78SToomas Soome extern "C" { 25*a1bf3f78SToomas Soome #endif 26*a1bf3f78SToomas Soome 27*a1bf3f78SToomas Soome extern ficlVm *bf_init(const char *, ficlOutputFunction); 28*a1bf3f78SToomas Soome extern void bf_fini(void); 29*a1bf3f78SToomas Soome extern int bf_run(char *); 30*a1bf3f78SToomas Soome 31*a1bf3f78SToomas Soome 32*a1bf3f78SToomas Soome #ifdef __cplusplus 33*a1bf3f78SToomas Soome } 34*a1bf3f78SToomas Soome #endif 35*a1bf3f78SToomas Soome 36*a1bf3f78SToomas Soome #endif /* _FICLPLATFORM_EMU_H */ 37