8 #ifndef OPENOCD_PLD_PLD_H
9 #define OPENOCD_PLD_PLD_H
15 #define __PLD_DEVICE_COMMAND(name) \
16 COMMAND_HELPER(name, struct pld_device *pld)
25 #define PLD_DEVICE_COMMAND_HANDLER(name) \
26 static __PLD_DEVICE_COMMAND(name)
38 #define ERROR_PLD_DEVICE_INVALID (-1000)
39 #define ERROR_PLD_FILE_LOAD_FAILED (-1001)
struct pld_device * get_pld_device_by_num(int num)
int pld_register_commands(struct command_context *cmd_ctx)
struct pld_driver * driver
__PLD_DEVICE_COMMAND((*pld_device_command))
int(* load)(struct pld_device *pld_device, const char *filename)
const struct command_registration * commands