C_runtime/c_erpc_PLCObject_server.h
changeset 3937 e13543d716b6
equal deleted inserted replaced
3936:129202e555e0 3937:e13543d716b6
       
     1 /*
       
     2  * Generated by erpcgen 1.11.0 on Wed Mar 27 13:43:44 2024.
       
     3  *
       
     4  * AUTOGENERATED - DO NOT EDIT
       
     5  */
       
     6 
       
     7 
       
     8 #if !defined(_c_erpc_PLCObject_server_h_)
       
     9 #define _c_erpc_PLCObject_server_h_
       
    10 
       
    11 #include "erpc_PLCObject_common.h"
       
    12 
       
    13 #if defined(__cplusplus)
       
    14 extern "C"
       
    15 {
       
    16 #endif
       
    17 
       
    18 typedef void * erpc_service_t;
       
    19 
       
    20 #if !defined(ERPC_FUNCTIONS_DEFINITIONS)
       
    21 #define ERPC_FUNCTIONS_DEFINITIONS
       
    22 
       
    23 
       
    24 /*! @brief BeremizPLCObjectService identifiers */
       
    25 enum _BeremizPLCObjectService_ids
       
    26 {
       
    27     kBeremizPLCObjectService_service_id = 1,
       
    28     kBeremizPLCObjectService_AppendChunkToBlob_id = 1,
       
    29     kBeremizPLCObjectService_GetLogMessage_id = 2,
       
    30     kBeremizPLCObjectService_GetPLCID_id = 3,
       
    31     kBeremizPLCObjectService_GetPLCstatus_id = 4,
       
    32     kBeremizPLCObjectService_GetTraceVariables_id = 5,
       
    33     kBeremizPLCObjectService_MatchMD5_id = 6,
       
    34     kBeremizPLCObjectService_NewPLC_id = 7,
       
    35     kBeremizPLCObjectService_PurgeBlobs_id = 8,
       
    36     kBeremizPLCObjectService_RepairPLC_id = 9,
       
    37     kBeremizPLCObjectService_ResetLogCount_id = 10,
       
    38     kBeremizPLCObjectService_SeedBlob_id = 11,
       
    39     kBeremizPLCObjectService_SetTraceVariablesList_id = 12,
       
    40     kBeremizPLCObjectService_StartPLC_id = 13,
       
    41     kBeremizPLCObjectService_StopPLC_id = 14,
       
    42 };
       
    43 
       
    44 //! @name BeremizPLCObjectService
       
    45 //@{
       
    46 uint32_t AppendChunkToBlob(const binary_t * data, const binary_t * blobID, binary_t * newBlobID);
       
    47 
       
    48 uint32_t GetLogMessage(uint8_t level, uint32_t msgID, log_message * message);
       
    49 
       
    50 uint32_t GetPLCID(PSKID * plcID);
       
    51 
       
    52 uint32_t GetPLCstatus(PLCstatus * status);
       
    53 
       
    54 uint32_t GetTraceVariables(uint32_t debugToken, TraceVariables * traces);
       
    55 
       
    56 uint32_t MatchMD5(const char * MD5, bool * match);
       
    57 
       
    58 uint32_t NewPLC(const char * md5sum, const binary_t * plcObjectBlobID, const list_extra_file_1_t * extrafiles, bool * success);
       
    59 
       
    60 uint32_t PurgeBlobs(void);
       
    61 
       
    62 uint32_t RepairPLC(void);
       
    63 
       
    64 uint32_t ResetLogCount(void);
       
    65 
       
    66 uint32_t SeedBlob(const binary_t * seed, binary_t * blobID);
       
    67 
       
    68 uint32_t SetTraceVariablesList(const list_trace_order_1_t * orders, uint32_t * debugtoken);
       
    69 
       
    70 uint32_t StartPLC(void);
       
    71 
       
    72 uint32_t StopPLC(bool * success);
       
    73 //@}
       
    74 
       
    75 
       
    76 #endif // ERPC_FUNCTIONS_DEFINITIONS
       
    77 
       
    78 /*! @brief Return BeremizPLCObjectService_service service object. */
       
    79 erpc_service_t create_BeremizPLCObjectService_service(void);
       
    80 
       
    81 /*! @brief Destroy BeremizPLCObjectService_service service object. */
       
    82 void destroy_BeremizPLCObjectService_service(erpc_service_t service);
       
    83 
       
    84 
       
    85 #if defined(__cplusplus)
       
    86 }
       
    87 #endif
       
    88 
       
    89 #endif // _c_erpc_PLCObject_server_h_