X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcommon%2Finclude%2Frmr.h;h=6bfe0753862534628845672de24a13e93e55d0c9;hb=8790bf0c4f4f08fd05853afa67e211112b344a42;hp=4e662efa8dd33766b5412458fa26a51d7ae72aef;hpb=ae8e63b75e4c5e754c1f3c2d4a600100a05225a0;p=ric-plt%2Flib%2Frmr.git diff --git a/src/common/include/rmr.h b/src/common/include/rmr.h index 4e662ef..6bfe075 100644 --- a/src/common/include/rmr.h +++ b/src/common/include/rmr.h @@ -1,14 +1,14 @@ // : vi ts=4 sw=4 noet : /* ================================================================================== - Copyright (c) 2019 Nokia + Copyright (c) 2019 Nokia Copyright (c) 2018-2019 AT&T Intellectual Property. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, @@ -82,7 +82,7 @@ typedef struct { int sub_id; // subscription id // these things are off limits to the user application - void* tp_buf; // underlying transport allocated pointer (e.g. nng message) + void* tp_buf; // underlying transport allocated pointer (e.g. nng message) void* header; // internal message header (whole buffer: header+payload) unsigned char* id; // if we need an ID in the message separate from the xaction id int flags; // various MFL_ (private) flags as needed @@ -141,23 +141,23 @@ extern int rmr_send_to( void* vctx, int time ); // DEPRECATED -- replaced with #ifdef UTA_COMPAT #pragma message( "use of UTA_COMPAT is deprecated and soon to be removed" ) -#define UTA_MAX_XID RMR_MAX_XID -#define UTA_MAX_SID RMR_MAX_SID -#define UTA_MAX_SRC RMR_MAX_SRC -#define UTA_MAX_RCV_BYTES RMR_MAX_RCV_BYTES +#define UTA_MAX_XID RMR_MAX_XID +#define UTA_MAX_SID RMR_MAX_SID +#define UTA_MAX_SRC RMR_MAX_SRC +#define UTA_MAX_RCV_BYTES RMR_MAX_RCV_BYTES -#define UTAFL_NONE RMRFL_NONE -#define UTAFL_AUTO_ALLOC RMRFL_AUTO_ALLOC +#define UTAFL_NONE RMRFL_NONE +#define UTAFL_AUTO_ALLOC RMRFL_AUTO_ALLOC -#define UTA_DEF_SIZE RMRFL_AUTO_ALLOC +#define UTA_DEF_SIZE RMRFL_AUTO_ALLOC -#define UTA_OK RMR_OK -#define UTA_ERR_BADARG RMR_ERR_BADARG -#define UTA_ERR_NOENDPT RMR_ERR_NOENDPT +#define UTA_OK RMR_OK +#define UTA_ERR_BADARG RMR_ERR_BADARG +#define UTA_ERR_NOENDPT RMR_ERR_NOENDPT #define UTA_ERR_EMPTY RMR_ERR_EMPTY -#define UTA_ERR_NOHDR RMR_ERR_NOHDR -#define UTA_ERR_SENDFAILED RMR_ERR_SENDFAILED -#define UTA_ERR_CALLFAILED RMR_ERR_CALLFAILED +#define UTA_ERR_NOHDR RMR_ERR_NOHDR +#define UTA_ERR_SENDFAILED RMR_ERR_SENDFAILED +#define UTA_ERR_CALLFAILED RMR_ERR_CALLFAILED #define uta_mbuf_t rmr_mbuf_t