#ifndef C_API_PROTOCOL_MSGS_ACTION_H
#define C_API_PROTOCOL_MSGS_ACTION_H

#ifdef __cplusplus
extern "C" {
#endif

#include <stdint.h>
#include <stddef.h>
#include "protocol_msgs/ActionParameter.h"

#define PROTOCOL_MSGS_ACTION_BLOCKING_NONE "NONE"
#define PROTOCOL_MSGS_ACTION_BLOCKING_SOFT "SOFT"
#define PROTOCOL_MSGS_ACTION_BLOCKING_HARD "HARD"

typedef struct
{
  char *actionType;
  char *actionId;
  char *actionDescription;
  char *blockingType;
  ActionParameter *actionParameters;
  size_t actionParameters_count;
} Action;

#ifdef __cplusplus
}
#endif

#endif // C_API_PROTOCOL_MSGS_ACTION_H
