Modify C header files to include from C++ code

This commit is contained in:
aleax
2012-12-05 21:24:58 +02:00
parent ee6241c331
commit 72341baea5
5 changed files with 43 additions and 0 deletions

View File

@ -65,6 +65,10 @@
#include "mbus-protocol.h"
#ifdef __cplusplus
extern "C" {
#endif
#define MBUS_PROBE_NOTHING 0
#define MBUS_PROBE_SINGLE 1
#define MBUS_PROBE_COLLISION 2
@ -433,4 +437,8 @@ char * mbus_frame_data_xml_normalized(mbus_frame_data *data);
*/
int mbus_scan_2nd_address_range(mbus_handle * handle, int pos, char *addr_mask);
#ifdef __cplusplus
}
#endif
#endif // __MBUS_PROTOCOL_AUX_H__