Include cleaning
[apps/agl-service-can-low-level.git] / src / can / can-command.hpp
index a11c2b9..8324d32 100644 (file)
@@ -32,7 +32,7 @@
  * @param[in] signalCount - The length of the signals array.
  */
 typedef void (*CommandHandler)(const char* name, openxc_DynamicField* value,
-               openxc_DynamicField* event, CanSignal* signals, int signalCount);
+               openxc_DynamicField* event, can_signal_t* signals, int signalCount);
 
 /* @struct CanCommand
  * @brief The structure to represent a supported custom OpenXC command.
@@ -53,14 +53,3 @@ typedef struct {
        CommandHandler handler; /*!< handler - An function to process the received command's data and perform some
                                                         *      action.*/
 } CanCommand;
-
-/* Public: Return an array of all OpenXC CAN commands enabled in the active
- * configuration that can write back to CAN with a custom handler.
- *
- * Commands not defined here are handled using a 1-1 mapping from the signals
- * list.
- */
-CanCommand* getCommands();
-
-/* Public: Return the length of the array returned by getCommandCount(). */
-int getCommandCount();
\ No newline at end of file