cmd.h 480 B

12345678910111213141516
  1. /* Copyright (C) 2007, Red Hat, Inc. */
  2. #ifndef _LBS_CMD_H_
  3. #define _LBS_CMD_H_
  4. #include "hostcmd.h"
  5. #include "dev.h"
  6. #define lbs_cmd(priv, cmdnr, cmd, callback, callback_arg) \
  7. __lbs_cmd(priv, cmdnr, &cmd, sizeof(cmd), callback, callback_arg)
  8. int __lbs_cmd(struct lbs_private *priv, uint16_t command, void *cmd, int cmd_size,
  9. int (*callback)(struct lbs_private *, unsigned long, struct cmd_ds_command *),
  10. unsigned long callback_arg);
  11. #endif /* _LBS_CMD_H */