00001 00002 #ifndef _KOKO_H_ 00003 #define _KOKO_H_ 00004 00005 /// 00006 /// Some useful types in Koko. 00007 /// 00008 00009 /// 00010 /// For message tags. 00011 /// 00012 /// Use KOKO_ANY_TAG when any tag will work for 00013 /// your needs -- for example, if you want to 00014 /// recv every message regardless of tag value. 00015 /// 00016 typedef int KokoTag; 00017 extern const KokoTag KOKO_ANY_TAG; 00018 00019 00020 /// 00021 /// For processor/process ID. 00022 /// 00023 /// Use KOKO_ANY_ID when any processor/process is 00024 /// acceptable for your needs -- for example, if you 00025 /// want to recv every message regardless of who sent 00026 /// it. 00027 /// 00028 typedef int KokoProcID; 00029 extern const KokoProcID KOKO_ANY_ID; 00030 00031 00032 /// 00033 /// For keeping tabs on async. messages. 00034 /// 00035 /// KOKO_NULL_HANDLE is used when there is a error. 00036 /// 00037 typedef unsigned int KokoMesgHandle; 00038 extern const KokoMesgHandle KOKO_NULL_HANDLE; 00039 00040 //#include <KokoBuffer.h> 00041 //#include <Communicator.h> 00042 //#include <Messenger.h> 00043 00044 #endif 00045 00046