repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
separated devices
[mTask.git]
/
client
/
sds.h
diff --git
a/client/sds.h
b/client/sds.h
index
de83421
..
f99bb1e
100644
(file)
--- a/
client/sds.h
+++ b/
client/sds.h
@@
-1,9
+1,11
@@
#ifndef SDS_H
#define SDS_H
-#include <stdbool.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
-#
define MAXSDSS 100
+#
include <stdbool.h>
struct sds {
int id;
@@
-20,4
+22,7
@@
void sds_publish(int id);
int sds_fetch(int id);
void sds_store(int id, int val);
+#ifdef __cplusplus
+}
+#endif
#endif