mps.h Source File (original) (raw)

00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 #ifndef MPS_H 00037 #define MPS_H 00038 00039 #include <stdlib.h> 00040 #include <stdio.h> 00041 #include <string.h> 00042 00043 #include <sys/types.h> 00044 #include <sys/time.h> 00045 #include <unistd.h> 00046 00047 #include 00048 #include 00049 #include 00050 00051 00052 00053 #include <mps/ref.h> 00054 #include <mps/exception.h> 00055 00056 #include <mps/interface.h> 00057 #include <mps/stream.h> 00058 #include <mps/address.h> 00059 #include <mps/connection.h> 00060 00061 #include <mps/proxy.h> 00062 #include <mps/server.h> 00063 00064 #include <mps/transport.h> 00065 00066 00067 00068 #include <mps/mpsnaming.h> 00069 00070 namespace MPS { 00071 typedef org::hebe::mps::naming::NamingService NamingService; 00072 typedef org::hebe::mps::naming::Binding NameBinding; 00073 00074 00075 00076 00077 00078 00079 00080 extern ref getNamingService(string nsAddress = ""); 00081 } 00082 00083 #ifdef WIN32 00084 extern "C" { 00085 extern char *MPS_optarg; 00086 extern int MPS_optind; 00087 extern int MPS_opterr; 00088 extern int MPS_optopt; 00089 extern int MPS_getopt(int argc, char *argv[], char *optspec); 00090 }; 00091 #else 00092 #define MPS_optarg optarg 00093 #define MPS_optind optind 00094 #define MPS_opterr opterr 00095 #define MPS_optopt optopt 00096 #define MPS_getopt getopt 00097 #endif 00098 00099 #endif