#ifndef ZRE_DEVICE_H #define ZRE_DEVICE_H #include "opcodes.h" i32 vm_register_device(VM *vm, const char *path, const char *type, void *data, DeviceOps *ops); Device* find_device_by_path(VM *vm, const char *path); Device* find_device_by_type(VM *vm, const char *type); i32 find_devices_by_type(VM *vm, const char *type, Device **results, uint32_t max_results); #endif