openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/rsyslog/8.1903.0-r0/rsyslog-8.1903.0/runtime/msg.c
void MsgSetRcvFromStr(smsg_t* const pThis, const uchar* psz, const int len,
                          prop_t** ppProp)
    {
        assert(pThis != NULL);
        assert(ppProp != NULL);

        prop.CreateOrReuseStringProp(ppProp, psz, len);
        MsgSetRcvFrom(pThis, *ppProp);
    }
/* This is used to set the property via a string. This function should not
     * be called if there is a reliable way for a caller to make sure that the
     * same name can be used across multiple messages. However, if it can not
     * ensure that, calling this function is the second best thing, because it
     * will re-use the previously created property if it contained the same
     * name (but it works only for the immediate previous).
     * rgerhards, 2009-06-31
     */
This is used to set the property via a string. This function should not
be called if there is a reliable way for a caller to make sure that the
same name can be used across multiple messages. However, if it can not
ensure that, calling this function is the second best thing, because it
will re-use the previously created property if it contained the same
name (but it works only for the immediate previous).
This is used to set the property via a string . This function should not be called if there is a reliable way for a caller to make sure that the same name can be used across multiple messages . However if it can not ensure that calling this function is the second best thing because it will re - use the previously created property if it contained the same name ( but it works only for the immediate previous ) .
void MsgSetRcvFromStr(smsg_t* const pThis, const uchar* psz, const int len,
                          prop_t** ppProp)
    {
        assert(pThis != NULL);
        assert(ppProp != NULL);
        prop.CreateOrReuseStringProp(ppProp, psz, len);
        MsgSetRcvFrom(pThis, *ppProp);
    }
void MsgSetRcvFromStr ( smsg_t * const pThis , const uchar * psz , const int len , prop_t * * ppProp ) { assert ( pThis != NULL ) ; assert ( ppProp != NULL ) ; prop . CreateOrReuseStringProp ( ppProp , psz , len ) ; MsgSetRcvFrom ( pThis , * ppProp ) ; }
This is used to set the property via a string.
This is used to set the property via a string .