Minor updates
[keystone-rtos/rm-lld.git] / rm_transport.h
index e97e8f6dc6ea49037272a37d94f2b7eb157cd42d..a98b99918ad7f3a7f2e3eb2e7faeb901b9b30fd0 100644 (file)
@@ -209,7 +209,7 @@ typedef struct {
     Rm_InstType            remoteInstType;
     /** Pointer to the remote RM instance name at other end of the 
      *  application transport "pipe". */
-    char                  *remoteInstName;
+    const char            *remoteInstName;
     /** Specifies whether the transport callouts are valid.
      *  TRUE  - Transport callouts are valid and can be stored by the RM
      *          instance.
@@ -255,7 +255,7 @@ typedef struct {
  *  @retval
  *      Failure - NULL RM_TransportHandle and result = #RM_ERROR_NULL_CALLOUTS_WHEN_VALID 
  */
-Rm_TransportHandle Rm_transportRegister(Rm_TransportCfg *transportCfg, int32_t *result);
+Rm_TransportHandle Rm_transportRegister(const Rm_TransportCfg *transportCfg, int32_t *result);
 
 /**
  *  @b Description
@@ -297,7 +297,7 @@ int32_t Rm_transportUnregister (Rm_TransportHandle transportHandle);
  *  @retval
  *      Failure - < #RM_OK 
  */
-int32_t Rm_receivePacket(Rm_TransportHandle transportHandle, Rm_Packet *pkt);
+int32_t Rm_receivePacket(Rm_TransportHandle transportHandle, const Rm_Packet *pkt);
 
 /** 
 @}