#ifndef SFSOURCE_H
#define SFSOURCE_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int open_sf_source(const char *host, int port);
/* Returns: file descriptor for TinyOS 2.0 serial forwarder at host:port, or
-1 for failure
Returns: 0 if packet successfully written, -1 otherwise
*/
+#ifdef __cplusplus
+}
+#endif
+
#endif