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/obj.c
static rsRetVal BeginSerializePropBag(strm_t* pStrm, obj_t* pObj)
{
    DEFiRet;

    ISOBJ_TYPE_assert(pStrm, strm);
    ISOBJ_assert(pObj);

    CHKiRet(strm.RecordBegin(pStrm));
    CHKiRet(objSerializeHeader(pStrm, pObj, (uchar*)"OPB"));

finalize_it:
    RETiRet;
}
/* begin serialization of an object's property bag
 * Note: a property bag is used to serialize some of an objects
 * properties, but not necessarily all. A good example is the queue
 * object, which at some stage needs to serialize a number of its
 * properties, but not the queue data itself. From the object point
 * of view, a property bag can not be used to re-instantiate an object.
 * Otherwise, the serialization is exactly the same.
 * rgerhards, 2008-01-11
 */
begin serialization of an object's property bag
Note: a property bag is used to serialize some of an objects
properties, but not necessarily all. A good example is the queue
object, which at some stage needs to serialize a number of its
properties, but not the queue data itself. From the object point
of view, a property bag can not be used to re-instantiate an object.
Otherwise, the serialization is exactly the same.
begin serialization of an object ' s property bag Note : a property bag is used to serialize some of an objects properties but not necessarily all . A good example is the queue object which at some stage needs to serialize a number of its properties but not the queue data itself . From the object point of view a property bag can not be used to re - instantiate an object . Otherwise the serialization is exactly the same .
static rsRetVal BeginSerializePropBag(strm_t* pStrm, obj_t* pObj)
{
    DEFiRet;
    ISOBJ_TYPE_assert(pStrm, strm);
    ISOBJ_assert(pObj);
    CHKiRet(strm.RecordBegin(pStrm));
    CHKiRet(objSerializeHeader(pStrm, pObj, (uchar*)"OPB"));
finalize_it:
    RETiRet;
}
static rsRetVal BeginSerializePropBag ( strm_t * pStrm , obj_t * pObj ) { DEFiRet ; ISOBJ_TYPE_assert ( pStrm , strm ) ; ISOBJ_assert ( pObj ) ; CHKiRet ( strm . RecordBegin ( pStrm ) ) ; CHKiRet ( objSerializeHeader ( pStrm , pObj , ( uchar * ) " " ) ) ; finalize_it : RETiRet ; }
begin serialization of an object's property bag
 Note: a property bag is used to serialize some of an objects
 properties, but not necessarily all.
begin serialization of an object ' s property bag Note : a property bag is used to serialize some of an objects properties but not necessarily all .