#include <stdarg.h>
-#ifdef _cplusplus
+#ifdef __cplusplus
extern "C" {
-#endif /* defined(_cplusplus) */
+#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_timed(_h, _ms) esl_recv_event_timed(_h, _ms, NULL)
-#ifdef _cplusplus
+#ifdef __cplusplus
}
-#endif /* defined(_cplusplus) */
+#endif /* defined(__cplusplus) */
#endif /* defined(_ESL_H_) */
#include "esl.h"
-#ifdef _cplusplus
+#ifdef __cplusplus
extern "C" {
-#endif /* defined(_cplusplus) */
+#endif /* defined(__cplusplus) */
#define ESL_URL_SEPARATOR "://"
/** @} */
-#ifdef _cplusplus
+#ifdef __cplusplus
}
-#endif /* defined(_cplusplus) */
+#endif /* defined(__cplusplus) */
#endif /* defined(ESL_CONFIG_H) */
#include <esl.h>
-#ifdef _cplusplus
+#ifdef __cplusplus
extern "C" {
-#endif /* defined(_cplusplus) */
+#endif /* defined(__cplusplus) */
typedef enum {
ESL_STACK_BOTTOM,
///\}
-#ifdef _cplusplus
+#ifdef __cplusplus
}
-#endif /* defined(_cplusplus) */
+#endif /* defined(__cplusplus) */
#endif /* defined(ESL_EVENT_H) */
#include "esl.h"
-#ifdef _cplusplus
+#ifdef __cplusplus
extern "C" {
-#endif /* defined(_cplusplus) */
+#endif /* defined(__cplusplus) */
typedef struct esl_mutex esl_mutex_t;
typedef struct esl_thread esl_thread_t;
ESL_DECLARE(esl_status_t) esl_mutex_trylock(esl_mutex_t *mutex);
ESL_DECLARE(esl_status_t) esl_mutex_unlock(esl_mutex_t *mutex);
-#ifdef _cplusplus
+#ifdef __cplusplus
}
-#endif /* defined(_cplusplus) */
+#endif /* defined(__cplusplus) */
#endif /* defined(_ESL_THREADMUTEX_H) */