Tools/NetTest - Add TCP retransmit test
[tpg/acess2.git] / UDI / include / udi.h
index e4ddb94..76dac7b 100644 (file)
@@ -4,6 +4,16 @@
 #ifndef _UDI_H_
 #define _UDI_H_
 
+#ifndef UDI_VERSION
+# error "Please define UDI_VERSION before including"
+#endif
+#if UDI_VERSION < 0x100
+# error "Requesting an unsupported UDI version (pre 1.0)"
+#endif
+#if UDI_VERSION > 0x101
+# error "Requesting an unsupported UDI version (post 1.01)"
+#endif
+
 #include <stdint.h>
 #include <stdarg.h>
 
@@ -123,5 +133,6 @@ typedef udi_op_t * const    udi_ops_vector_t;
 #include "udi/meta_mgmt.h"     // Management Metalanguage
 #include "udi/meta_gio.h"      // General IO Metalanguage
 #include "udi/init.h"  // Init
+#include "udi/mei.h"   // Init
 
 #endif

UCC git Repository :: git.ucc.asn.au