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/nsd_ptcp.c
static rsRetVal SetSock(nsd_t* pNsd, int sock)
{
    nsd_ptcp_t* pThis = (nsd_ptcp_t*)pNsd;
    DEFiRet;

    ISOBJ_TYPE_assert((pThis), nsd_ptcp);
    assert(sock >= 0);

    pThis->sock = sock;

    RETiRet;
}
/* Provide access to the underlying OS socket. This is primarily
 * useful for other drivers (like nsd_gtls) who utilize ourselfs
 * for some of their functionality.
 * This function sets the socket -- rgerhards, 2008-04-25
 */
Provide access to the underlying OS socket. This is primarily
useful for other drivers (like nsd_gtls) who utilize ourselfs
for some of their functionality.
This function sets the socket -- rgerhards, 2008-04-25
Provide access to the underlying OS socket . This is primarily useful for other drivers ( like nsd_gtls ) who utilize ourselfs for some of their functionality . This function sets the socket -- rgerhards 2008 - 04 - 25
static rsRetVal SetSock(nsd_t* pNsd, int sock)
{
    nsd_ptcp_t* pThis = (nsd_ptcp_t*)pNsd;
    DEFiRet;
    ISOBJ_TYPE_assert((pThis), nsd_ptcp);
    assert(sock >= 0);
    pThis->sock = sock;
    RETiRet;
}
static rsRetVal SetSock ( nsd_t * pNsd , int sock ) { nsd_ptcp_t * pThis = ( nsd_ptcp_t * ) pNsd ; DEFiRet ; ISOBJ_TYPE_assert ( ( pThis ) , nsd_ptcp ) ; assert ( sock >= 0 ) ; pThis -> sock = sock ; RETiRet ; }
Provide access to the underlying OS socket.
Provide access to the underlying OS socket .