C_runtime/service/erpc_PLCObject_common.h
changeset 4058 5472b88bbc9d
equal deleted inserted replaced
4057:cf42c3dbdd5c 4058:5472b88bbc9d
       
     1 /*
       
     2  * Generated by erpcgen 1.13.0 on Fri Nov 22 15:03:08 2024.
       
     3  *
       
     4  * AUTOGENERATED - DO NOT EDIT
       
     5  */
       
     6 
       
     7 
       
     8 #if !defined(_erpc_PLCObject_common_h_)
       
     9 #define _erpc_PLCObject_common_h_
       
    10 
       
    11 
       
    12 #if defined(__cplusplus)
       
    13 extern "C"
       
    14 {
       
    15 #endif
       
    16 #include <stdbool.h>
       
    17 #include <stddef.h>
       
    18 #include <stdint.h>
       
    19 
       
    20 #include "erpc_version.h"
       
    21 
       
    22 #if 11300 != ERPC_VERSION_NUMBER
       
    23 #error "The generated shim code version is different to the rest of eRPC code."
       
    24 #endif
       
    25 
       
    26 
       
    27 #if !defined(ERPC_TYPE_DEFINITIONS_ERPC_PLCOBJECT)
       
    28 #define ERPC_TYPE_DEFINITIONS_ERPC_PLCOBJECT
       
    29 
       
    30 // Enumerators data types declarations
       
    31 typedef enum PLCstatus_enum
       
    32 {
       
    33     Empty = 0,
       
    34     Stopped = 1,
       
    35     Started = 2,
       
    36     Broken = 3,
       
    37     Disconnected = 4
       
    38 } PLCstatus_enum;
       
    39 
       
    40 // Aliases data types declarations
       
    41 typedef struct binary_t binary_t;
       
    42 typedef struct PSKID PSKID;
       
    43 typedef struct PLCstatus PLCstatus;
       
    44 typedef struct trace_sample trace_sample;
       
    45 typedef struct list_trace_sample_1_t list_trace_sample_1_t;
       
    46 typedef struct TraceVariables TraceVariables;
       
    47 typedef struct extra_file extra_file;
       
    48 typedef struct list_extra_file_1_t list_extra_file_1_t;
       
    49 typedef struct trace_order trace_order;
       
    50 typedef struct list_trace_order_1_t list_trace_order_1_t;
       
    51 typedef struct log_message log_message;
       
    52 
       
    53 // Structures/unions data types declarations
       
    54 struct binary_t
       
    55 {
       
    56     uint8_t * data;
       
    57     uint32_t dataLength;
       
    58 };
       
    59 
       
    60 struct PSKID
       
    61 {
       
    62     char * ID;
       
    63     char * PSK;
       
    64 };
       
    65 
       
    66 struct PLCstatus
       
    67 {
       
    68     PLCstatus_enum PLCstatus;
       
    69     uint32_t logcounts[4];
       
    70 };
       
    71 
       
    72 struct trace_sample
       
    73 {
       
    74     uint32_t tick;
       
    75     binary_t TraceBuffer;
       
    76 };
       
    77 
       
    78 struct list_trace_sample_1_t
       
    79 {
       
    80     trace_sample * elements;
       
    81     uint32_t elementsCount;
       
    82 };
       
    83 
       
    84 struct TraceVariables
       
    85 {
       
    86     PLCstatus_enum PLCstatus;
       
    87     list_trace_sample_1_t traces;
       
    88 };
       
    89 
       
    90 struct extra_file
       
    91 {
       
    92     char * fname;
       
    93     binary_t blobID;
       
    94 };
       
    95 
       
    96 struct list_extra_file_1_t
       
    97 {
       
    98     extra_file * elements;
       
    99     uint32_t elementsCount;
       
   100 };
       
   101 
       
   102 struct trace_order
       
   103 {
       
   104     uint32_t idx;
       
   105     binary_t force;
       
   106 };
       
   107 
       
   108 struct list_trace_order_1_t
       
   109 {
       
   110     trace_order * elements;
       
   111     uint32_t elementsCount;
       
   112 };
       
   113 
       
   114 struct log_message
       
   115 {
       
   116     char * msg;
       
   117     uint32_t tick;
       
   118     uint32_t sec;
       
   119     uint32_t nsec;
       
   120 };
       
   121 
       
   122 
       
   123 #endif // ERPC_TYPE_DEFINITIONS_ERPC_PLCOBJECT
       
   124 
       
   125 #if defined(__cplusplus)
       
   126 }
       
   127 #endif
       
   128 
       
   129 #endif // _erpc_PLCObject_common_h_