1 /* 2 * Copyright 2004-2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef SERIAL_H 6 #define SERIAL_H 7 8 9 #include <SupportDefs.h> 10 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 extern void serial_init(void); 17 extern void serial_cleanup(void); 18 19 extern void serial_puts(const char *string, size_t size); 20 21 extern void serial_disable(void); 22 extern void serial_enable(void); 23 24 #ifdef __cplusplus 25 } 26 #endif 27 28 #endif /* SERIAL_H */ 29