#ifndef APE_PHI_COMMAND_BUFFER_H #define APE_PHI_COMMAND_BUFFER_H #include typedef struct PhiCommandReader { scif_epd_t endpoint; uint64_t remaining; } PhiCommandReader; int HandleWorkExecution(scif_epd_t endpoint, const PhiMessageHeader* header); int PhiDrainCommandReader(PhiCommandReader* reader); PhiStatus PhiReadCommandData(PhiCommandReader* reader, void* data, uint64_t size); #endif