]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/include/orte_all.h
updated email address - petr@smoliku.cz
[orte.git] / orte / include / orte_all.h
index 32aabd129f2d9465861434ea0cc728e9cb258d11..00e694c8c3fcffa09209346f26d8627863b87a12 100644 (file)
@@ -1,9 +1,18 @@
 /*
- *  $Id: orte_all.h,v 0.0.0.1           2003/08/21 
+ *  $Id: orte.h,v 0.0.0.1               2003/08/21 
  *
- *  AUTHOR: Petr Smolik                 petr.smolik@wo.cz
- *
- *  ORTE - OCERA Real-Time Ethernet     http://www.ocera.org/
+ *  -------------------------------------------------------------------  
+ *                                ORTE                                 
+ *                      Open Real-Time Ethernet                       
+ *                                                                    
+ *                      Copyright (C) 2001-2006                       
+ *  Department of Control Engineering FEE CTU Prague, Czech Republic  
+ *                      http://dce.felk.cvut.cz                       
+ *                      http://www.ocera.org                          
+ *                                                                    
+ *  Author:             Petr Smolik    petr@smoliku.cz             
+ *  Advisor:            Pavel Pisa                                   
+ *  Project Responsible: Zdenek Hanzalek                              
  *  --------------------------------------------------------------------
  *
  *  This program is free software; you can redistribute it and/or modify
  *  
  */
 
-#ifndef _ORTE_ALL_H
-#define _ORTE_ALL_H
+#ifndef _ORTE_H
+#define _ORTE_H
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-#define _GNU_SOURCE
-
-#ifdef HAVE_CONFIG_H
-  #include "orte_config.h"
-#endif
-
-#ifdef HAVE_UNISTD_H
-  #include <unistd.h>
-#endif
-#ifdef HAVE_STDIO_H
-  #include <stdio.h>
-#endif
-#ifdef HAVE_STDLIB_H
-  #include <stdlib.h>
-#endif
-#ifdef HAVE_STRING_H
-  #include <string.h>
-#endif
-#ifdef HAVE_SOCKET
-  #include <sys/socket.h>
-#endif
-#ifdef HAVE_NETDB_H
-  #include <netdb.h>
-#endif
-#ifdef HAVE_NET_IF_H
-  #include <net/if.h>
-#endif
-#ifdef HAVE_NETINET_IN_H
-  #include <netinet/in.h>
-#endif
-#ifdef HAVE_ARPA_INET_H
-  #include <arpa/inet.h>
-#endif
-#ifdef HAVE_FCNTL_H
-  #include <fcntl.h>
-#endif
-#ifdef HAVE_SYS_IOCTL_H
-  #include <sys/ioctl.h>
-#endif
-#ifdef HAVE_SYS_TIME_H
-  #include <sys/time.h>
-#endif
-#ifdef HAVE_PTHREAD_H
-  #include <pthread.h>
-#endif
-#ifdef HAVE_SYS_TYPES_H
-  #include <sys/types.h>
-#endif
-#ifdef HAVE_BYTESWAP_H
-  #include <byteswap.h>
-#endif
-#ifdef HAVE_STDARG_H
-  #include <stdarg.h>
-#endif
-#ifdef HAVE_CTYPE_H
-  #include <ctype.h>
-#endif
-#ifdef HAVE_WINSOCK2_H
-  #include <winsock2.h>
-#endif
-#ifdef HAVE_WS2TCPIP_H
-  #include <ws2tcpip.h>
-#endif
-
-#ifdef CONFIG_ORTE_UNIX
-  #define SOCK_BSD       
-#elif defined _WIN32
-  #ifndef HAVE_CONFIG_H
-    #include "config.h.undef"
-    #if defined(_MSC_VER) || defined (_OMK_UNIX) 
-      #ifndef inline
-        #define inline _inline
-      #endif
-      #include <stdio.h>
-      #include <stdlib.h>
-      #include <stdarg.h>
-      #include <string.h>
-      #include <winsock2.h>
-      #include <ws2tcpip.h>
-    #endif
-  #endif
-  #include <pthread.h>
-  #include <timeval.h>
-  #include <ew_types.h>
-  #define ioctl ioctlsocket
-  #define SOCK_WIN
-#elif defined __RTL__
-  #ifndef HAVE_CONFIG_H
-    #include "config.h.undef"
-  #endif
-  #include <rtl.h>
-  #include <posix/pthread.h>
-  #include <posix/time.h>
-  #include <rtl_malloc.h>
-  #include <byteswap.h>
-  #include <udp.h>
-  #include <nic.h>
-  #include <nictab.h>
-  #include <ctype.h>
-  #include <time.h>
-  #include <rtl/compat.h>
-  #include <rtl/rwlock.h>
-  #define SOCK_RTL
-#elif defined CONFIG_ORTE_RTAI
-  #undef PACKAGE_NAME
-  #undef PACKAGE_BUGREPORT
-  #undef PACKAGE_STRING
-  #undef PACKAGE
-  #undef PACKAGE_TARNAME
-  #undef PACKAGE_VERSION
-  #undef VERSION
-//  #include "config.h.undef"
-  #include <linux/module.h>
-  #include <rtai_posix.h.patched>
-  #include <byteswap.h>
-  #include <rtnet.h>
-  #include <linux/if.h>
-  #include <linux/in.h>
-  #include <linux/ctype.h>
-  #include <rtai/compat.h>
-  #define SOCK_BSD
-  
-//  #define SOCK_RTAI
-#elif defined _OMK_UNIX
-  #define SOCK_BSD       
-  #include "config.h.undef"
-  #include <unistd.h>
-  #include <stdio.h>
-  #include <stdlib.h>
-  #include <string.h>
-  #include <sys/socket.h>
-  #include <netdb.h>
-  #include <net/if.h>
-  #include <netinet/in.h>
-  #include <arpa/inet.h>
-  #include <fcntl.h>
-  #include <sys/ioctl.h>
-  #include <sys/time.h>
-  #include <pthread.h>
-  #include <sys/types.h>
-  #include <byteswap.h>
-  #include <stdarg.h>
-  #include <ctype.h>
-#endif
+#define orte_assert(x)
+
+#include "orte_headers.h"
+#include "orte/cdr.h"
+#include "ul_gavl.h"
+#include "ul_gavlcust.h"
+#include "ul_gavlflesint.h"
+#include "ul_gavlrepcust.h"
+#include "ul_list.h"
+#include "orte/typedefs_defines_rtps.h"
+#include "ul_htimer.h"          //after typedefs_defines_rtps.h 
+#include "defines.h"
+#include "orte/defines_api.h"
+#include "orte/typedefs_api.h"
+#include "typedefs.h"
+#include "protos.h"
+#include "orte/protos_api.h"
+#include "globals.h"
+#include "rtps_endian.h"
 
 #ifdef __cplusplus
 } /* extern "C"*/
 #endif
 
-#endif /* _ORTE_ALL_H */
+#endif /* _ORTE_H */