Go to the documentation of this file.
32 char* pathname = szURI + 7;
38 if(0 != strncmp(szURI,
"file://", 7))
41 flags = O_WRONLY | O_CREAT;
44 ret = open(pathname, flags, 0);
64 if(0 != strncmp(szURI,
"file://", 7))
84 char* pathname = szURI + 7;
85 ret = open(pathname, flags);
106 ret = close(pFilePipe->
fd);
149 count = read(pFilePipe->
fd, (
void*) pData, (
size_t) nSize);
153 }
else if(count == -1) {
197 ret = write(pFilePipe->
fd, (
void*) pData, (
size_t) nSize);
201 }
else if(ret == -1) {
241 if(NULL != pFilePipe) {
#define DEB_LEV_FUNCTION_NAME
#define DEBUG(n, fmt, args...)
CPresult(* Read)(CPhandle hContent, CPbyte *pData, CPuint nSize)
CPresult(* Close)(CPhandle hContent)
CPresult(* ReadBuffer)(CPhandle hContent, CPbyte **ppBuffer, CPuint *nSize, CPbool bForbidCopy)
CPresult(* GetPosition)(CPhandle hContent, CPuint *pPosition)
CPresult(* Create)(CPhandle *hContent, CPstring szURI)
CPresult(* RegisterCallback)(CPhandle hContent, CPresult(*ClientCallback)(CP_EVENTTYPE eEvent, CPuint iParam))
CPresult(* Write)(CPhandle hContent, CPbyte *data, CPuint nSize)
CPresult(* SetPosition)(CPhandle hContent, CPint nOffset, CP_ORIGINTYPE eOrigin)
CPresult(* CheckAvailableBytes)(CPhandle hContent, CPuint nBytesRequested, CP_CHECKBYTESRESULTTYPE *eResult)
CPresult(* Open)(CPhandle *hContent, CPstring szURI, CP_ACCESSTYPE eAccess)
CPresult(* WriteBuffer)(CPhandle hContent, CPbyte *pBuffer, CPuint nFilledSize)
CPresult file_pipe_Constructor(CP_PIPETYPE **ppPipe, CPstring szURI)
CPresult(* GetWriteBuffer)(CPhandle hContent, CPbyte **ppBuffer, CPuint nSize)
CPresult(* ReleaseReadBuffer)(CPhandle hContent, CPbyte *pBuffer)
Generated for OpenMAX Bellagio rel. 0.9.3 by
1.5.1