X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=client%2Fsds.h;h=f99bb1e1515d139e110f91b3a5829260bdada172;hb=09b207a39b7791098daafd7d87c3ad9d3db3e19f;hp=de8342101b931b6e36c2bf82976155b7a5d8af05;hpb=7ab8606c3d22a2bc2743eae7a398407c84d502f2;p=mTask.git diff --git a/client/sds.h b/client/sds.h index de83421..f99bb1e 100644 --- a/client/sds.h +++ b/client/sds.h @@ -1,9 +1,11 @@ #ifndef SDS_H #define SDS_H -#include +#ifdef __cplusplus +extern "C" { +#endif -#define MAXSDSS 100 +#include 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