diff options
Diffstat (limited to 'hidio.h')
-rw-r--r-- | hidio.h | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -48,7 +48,15 @@ typedef void t_clock; #define HIDIO_MAJOR_VERSION 0 #define HIDIO_MINOR_VERSION 0 -/* static char *version = "$Revision: 1.7 $"; */ +/* static char *version = "$Revision: 1.8 $"; */
+
+/*------------------------------------------------------------------------------
+ * MACRO DEFINES
+ */
+
+#ifndef CLIP
+#define CLIP(a, lo, hi) ( (a)>(lo)?( (a)<(hi)?(a):(hi) ):(lo) )
+#endif
/*------------------------------------------------------------------------------ * GLOBAL DEFINES @@ -109,7 +117,8 @@ typedef struct _hidio pthread_mutex_t x_mutex; pthread_cond_t x_requestcondition; pthread_cond_t x_answercondition; - pthread_t x_thread; + pthread_t x_thread;
+ t_int x_priority; } t_hidio; |