C_runtime/service/c_erpc_PLCObject_server.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(_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     kBeremizPLCObjectService_ExtendedCall_id = 15,
       
    43 };
       
    44 
       
    45 //! @name BeremizPLCObjectService
       
    46 //@{
       
    47 uint32_t AppendChunkToBlob(const binary_t * data, const binary_t * blobID, binary_t * newBlobID);
       
    48 
       
    49 uint32_t GetLogMessage(uint8_t level, uint32_t msgID, log_message * message);
       
    50 
       
    51 uint32_t GetPLCID(PSKID * plcID);
       
    52 
       
    53 uint32_t GetPLCstatus(PLCstatus * status);
       
    54 
       
    55 uint32_t GetTraceVariables(uint32_t debugToken, TraceVariables * traces);
       
    56 
       
    57 uint32_t MatchMD5(const char * MD5, bool * match);
       
    58 
       
    59 uint32_t NewPLC(const char * md5sum, const binary_t * plcObjectBlobID, const list_extra_file_1_t * extrafiles, bool * success);
       
    60 
       
    61 uint32_t PurgeBlobs(void);
       
    62 
       
    63 uint32_t RepairPLC(void);
       
    64 
       
    65 uint32_t ResetLogCount(void);
       
    66 
       
    67 uint32_t SeedBlob(const binary_t * seed, binary_t * blobID);
       
    68 
       
    69 uint32_t SetTraceVariablesList(const list_trace_order_1_t * orders, int32_t * debugtoken);
       
    70 
       
    71 uint32_t StartPLC(void);
       
    72 
       
    73 uint32_t StopPLC(bool * success);
       
    74 
       
    75 uint32_t ExtendedCall(const char * method, const binary_t * argument, binary_t * answer);
       
    76 //@}
       
    77 
       
    78 
       
    79 #endif // ERPC_FUNCTIONS_DEFINITIONS
       
    80 
       
    81 /*! @brief Return BeremizPLCObjectService_service service object. */
       
    82 erpc_service_t create_BeremizPLCObjectService_service(void);
       
    83 
       
    84 /*! @brief Destroy BeremizPLCObjectService_service service object. */
       
    85 void destroy_BeremizPLCObjectService_service(erpc_service_t service);
       
    86 
       
    87 
       
    88 #if defined(__cplusplus)
       
    89 }
       
    90 #endif
       
    91 
       
    92 #endif // _c_erpc_PLCObject_server_h_