X-Git-Url: http://cloudbase.mooo.com/gitweb/irmp.git/blobdiff_plain/622f5f5988ba7b2cba507f65050ec09533535b12..7365350cfc3f5406c68411a2eafe97dadaa08444:/irsnd.h diff --git a/irsnd.h b/irsnd.h index eaff6c3..1e797d5 100644 --- a/irsnd.h +++ b/irsnd.h @@ -1,9 +1,9 @@ /*--------------------------------------------------------------------------------------------------------------------------------------------------- * irsnd.h * - * Copyright (c) 2010-2014 Frank Meyer - frank(at)fli4l.de + * Copyright (c) 2010-2016 Frank Meyer - frank(at)fli4l.de * - * $Id: irsnd.h,v 1.20 2014/09/15 10:27:38 fm Exp $ + * $Id: irsnd.h,v 1.24 2016/01/12 21:15:16 fm Exp $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -126,6 +126,11 @@ #define IRSND_ENDLESS_REPETITION 15 // endless repetions #define IRSND_REPETITION_MASK 0x0F // lower nibble of flags +#ifdef __cplusplus +extern "C" +{ +#endif + extern void irsnd_init (void); extern uint8_t irsnd_is_busy (void); extern uint8_t irsnd_send_data (IRMP_DATA *, uint8_t); @@ -136,4 +141,8 @@ extern uint8_t irsnd_ISR (void); extern void irsnd_set_callback_ptr (void (*cb)(uint8_t)); #endif // IRSND_USE_CALLBACK == 1 +#ifdef __cplusplus +} +#endif + #endif /* _IRSND_H_ */