22 #ifndef UTILS_NACLMESSAGES_H
23 #define UTILS_NACLMESSAGES_H
25 #ifdef __native_client__
31 struct NaclMessageHandle;
33 void naclPostMessage(
const std::string &type,
const std::string &message);
35 NaclMessageHandle *naclRegisterMessageHandler(
const std::string &type);
37 void naclUnregisterMessageHandler(NaclMessageHandle *handle);
39 std::string naclWaitForMessage(NaclMessageHandle *handle);