netmsgs/libnetmsgs/nmLibInternal.c
int nmSetU64(const NMFieldDef_T *pFieldDef,
             void               *pValIn,
             ulonglong_t        *pValOut)
{
  ulonglong_t  val;

  // set value, override if constant value
  val = _NMSET_VAL(pFieldDef->m_this.m_u64, pValIn, ulonglong_t);

  // check against minimum limits
  _NMCHK_MIN(pFieldDef->m_sFName, pFieldDef->m_this.m_u64,
      val, ulonglong_t, "%llu");

  // check against maximum limits
  _NMCHK_MAX(pFieldDef->m_sFName, pFieldDef->m_this.m_u64,
      val, ulonglong_t, "%llu");

  // set
  *pValOut = val;

  return NM_OK;
}
/*!
 * \brief Helper function to set an unsigned 64-bit integer.
 *
 * \param pFieldDef     Pointer to message field definition.
 * \param [in] pValIn   Pointer to field value.
 * \param [out] pValOut Pointer to constrained, assigned field value.
 *
 * \return
 * On success, returns \ref NM_OK.\n
 * On error, the appropriate negated
 * \ref man_libnetmsgs_ecodes "netmsgs error code" (\h_lt 0) is returned.
 */
\brief Helper function to set an unsigned 64-bit integer.
\param pFieldDef     Pointer to message field definition.
\param [in] pValIn   Pointer to field value.
\param [out] pValOut Pointer to constrained, assigned field value.


\ brief Helper function to set an unsigned 64 - bit integer . \ param pFieldDef Pointer to message field definition . \ param [ in ] pValIn Pointer to field value . \ param [ out ] pValOut Pointer to constrained assigned field value .
int nmSetU64(const NMFieldDef_T *pFieldDef,
             void               *pValIn,
             ulonglong_t        *pValOut)
{
  ulonglong_t  val;
  val = _NMSET_VAL(pFieldDef->m_this.m_u64, pValIn, ulonglong_t);
  _NMCHK_MIN(pFieldDef->m_sFName, pFieldDef->m_this.m_u64,
      val, ulonglong_t, "%llu");
  _NMCHK_MAX(pFieldDef->m_sFName, pFieldDef->m_this.m_u64,
      val, ulonglong_t, "%llu");
  *pValOut = val;
  return NM_OK;
}
int nmSetU64 ( const NMFieldDef_T * pFieldDef , void * pValIn , ulonglong_t * pValOut ) { ulonglong_t val ; val = _NMSET_VAL ( pFieldDef -> m_this . m_u64 , pValIn , ulonglong_t ) ; _NMCHK_MIN ( pFieldDef -> m_sFName , pFieldDef -> m_this . m_u64 , val , ulonglong_t , " " ) ; _NMCHK_MAX ( pFieldDef -> m_sFName , pFieldDef -> m_this . m_u64 , val , ulonglong_t , " " ) ; * pValOut = val ; return NM_OK ; }
\brief Helper function to set an unsigned 64-bit integer.
\ brief Helper function to set an unsigned 64 - bit integer .
// set value, override if constant value // check against minimum limits // check against maximum limits // set