From partner.
#include <stddef.h>
#include <stdint.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Generic interface to network devices.
*
* Currently, there is a single implementation of this interface that supports
int netdev_monitor_poll(struct netdev_monitor *, char **devnamep);
void netdev_monitor_poll_wait(const struct netdev_monitor *);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* netdev.h */
#include "hmap.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct shash_node {
struct hmap_node node;
char *name;
void *shash_find_data(const struct shash *, const char *);
struct shash_node *shash_first(const struct shash *);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* shash.h */
#include "type-props.h"
#include "util.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct pollfd;
struct timeval;
void time_alarm(unsigned int secs);
int time_poll(struct pollfd *, int n_pollfds, int timeout);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* timeval.h */