#include <stdarg.h>
+#ifdef _cplusplus
+extern "C" {
+#endif /* defined(_cplusplus) */
+
#define esl_copy_string(_x, _y, _z) strncpy(_x, _y, _z - 1)
#define esl_set_string(_x, _y) esl_copy_string(_x, _y, sizeof(_x))
#define esl_recv(_h) esl_recv_event(_h, NULL)
#define esl_recv_timed(_h, _ms) esl_recv_event_timed(_h, _ms, NULL)
-#endif
+#ifdef _cplusplus
+}
+#endif /* defined(_cplusplus) */
+#endif /* defined(_ESL_H_) */
+
+/* For Emacs:
+ * Local Variables:
+ * mode:c
+ * indent-tabs-mode:t
+ * tab-width:4
+ * c-basic-offset:4
+ * End:
+ * For VIM:
+ * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab:
+ */
#define ESL_CONFIG_H
#include "esl.h"
+
+#ifdef _cplusplus
+extern "C" {
+#endif /* defined(_cplusplus) */
+
+
#define ESL_URL_SEPARATOR "://"
/** @} */
-#endif
+
+#ifdef _cplusplus
+}
+#endif /* defined(_cplusplus) */
+
+#endif /* defined(ESL_CONFIG_H) */
+
/* For Emacs:
* Local Variables:
* mode:c
* End:
* For VIM:
* vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab:
- */
+ */
\ No newline at end of file
#include <esl.h>
+#ifdef _cplusplus
+extern "C" {
+#endif /* defined(_cplusplus) */
+
typedef enum {
ESL_STACK_BOTTOM,
ESL_STACK_TOP
///\}
+#ifdef _cplusplus
+}
+#endif /* defined(_cplusplus) */
-#endif
+#endif /* defined(ESL_EVENT_H) */
/* For Emacs:
* Local Variables:
#include "esl.h"
+#ifdef _cplusplus
+extern "C" {
+#endif /* defined(_cplusplus) */
+
typedef struct esl_mutex esl_mutex_t;
typedef struct esl_thread esl_thread_t;
typedef void *(*esl_thread_function_t) (esl_thread_t *, void *);
ESL_DECLARE(esl_status_t) esl_mutex_trylock(esl_mutex_t *mutex);
ESL_DECLARE(esl_status_t) esl_mutex_unlock(esl_mutex_t *mutex);
-#endif
+#ifdef _cplusplus
+}
+#endif /* defined(_cplusplus) */
+
+#endif /* defined(_ESL_THREADMUTEX_H) */
/* For Emacs:
* Local Variables: