dnxTcp.h File Reference

Types and definitions for TCP transport layer. More...

#include "dnxTSPI.h"

Go to the source code of this file.

Functions

int dnxTcpInit (int(**ptxAlloc)(char *url, iDnxChannel **icpp))
 Initialize the TCP transport sub-system; return TCP channel contructor.
void dnxTcpDeInit (void)
 Clean up global resources allocated by the TCP channel sub-system.


Detailed Description

Types and definitions for TCP transport layer.

This file is temporary till we get loadable transport libraries. Once that is finished, then dnxTSPI.h will act as a proper header file for all loadable transports.

Author:
Robert W. Ingraham (dnx-devel@lists.sourceforge.net)
Attention:
Please submit patches to http://dnx.sourceforge.net

Definition in file dnxTcp.h.


Function Documentation

void dnxTcpDeInit ( void   ) 

Clean up global resources allocated by the TCP channel sub-system.

Definition at line 432 of file dnxTcp.c.

References DNX_PT_MUTEX_DESTROY, and tcpMutex.

int dnxTcpInit ( int(**)(char *url, iDnxChannel **icpp)  ptxAlloc  ) 

Initialize the TCP transport sub-system; return TCP channel contructor.

Parameters:
[out] ptxAlloc - the address of storage in which to return the address of the TCP channel object constructor (dnxTcpNew).
Returns:
Always returns zero.

Definition at line 419 of file dnxTcp.c.

References DNX_OK, DNX_PT_MUTEX_INIT, dnxTcpNew(), and tcpMutex.


Generated on Tue Apr 13 15:48:08 2010 for DNX by  doxygen 1.5.6