host_to_net(16|32)(), net_to_host(16|32)(): New functions.
[bertos.git] / kern / event.h
index 9b216f8f569954592cdc52739cec187883c3b12c..743d25839e3eceabb29edbf878b2454e74bdc2f8 100755 (executable)
@@ -1,9 +1,9 @@
 /*!
  * \file
  * <!--
- * Copyright 2003,2004 Develer S.r.l. (http://www.develer.com/)
- * Copyright 1999,2001,2003 Bernardo Innocenti <bernie@develer.com>
- * This file is part of DevLib - See devlib/README for information.
+ * Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
+ * Copyright 1999, 2001, 2003 Bernardo Innocenti <bernie@develer.com>
+ * This file is part of DevLib - See README.devlib for information.
  * -->
  *
  * \brief Events handling
 
 /*#*
  *#* $Log$
+ *#* Revision 1.11  2005/04/11 19:10:28  bernie
+ *#* Include top-level headers from cfg/ subdir.
+ *#*
+ *#* Revision 1.10  2005/01/24 04:22:02  bernie
+ *#* Update copyright information.
+ *#*
+ *#* Revision 1.9  2005/01/24 04:19:55  bernie
+ *#* Remove obsolete names.
+ *#*
  *#* Revision 1.8  2005/01/24 04:19:05  bernie
  *#* Function pointer based event dispatching.
  *#*
 #ifndef KERN_EVENT_H
 #define KERN_EVENT_H
 
-#include <config.h>
+#include <cfg/config.h>
 
 #if CONFIG_KERNEL
-       #include "config_kern.h"
+       #include <cfg/config_kern.h>
        #if defined(CONFIG_KERN_SIGNALS) && CONFIG_KERN_SIGNALS
                #include "signal.h"
        #endif
@@ -139,11 +148,4 @@ INLINE void event_do(struct Event* e)
        e->action(e);
 }
 
-#ifdef CONFIG_KERN_OLDNAMES
-       #define INITEVENT_SIG  event_initSignal
-       #define INITEVENT_INT  event_initSoftInt
-       #define DOEVENT        event_do
-       #define DOEVENT_INTR   event_do
-#endif
-
 #endif /* KERN_EVENT_H */