#ifndef PLD_H
#define PLD_H
-#include "command.h"
+#include <helper/command.h>
struct pld_device;
{
char *name;
__PLD_DEVICE_COMMAND((*pld_device_command));
- int (*register_commands)(struct command_context *cmd_ctx);
+ const struct command_registration *commands;
int (*load)(struct pld_device *pld_device, const char *filename);
};