int SdifCheckFileFormat (const char *name); cocoondefine(SdifCheckXhXmemberX1,int_SdifCheckFileFormat_(const_char_*name)$) cocoondefine(SdifCheckXhXmemberX1_2,int SdifCheckFileFormat (const char *name);) SdifSignature SdifCheckFileFramesTab (const char *name, const SdifSignatureTabT *frames); cocoondefine(SdifCheckXhXmemberX2,SdifSignature_SdifCheckFileFramesTab_(const_char_*name,_const_SdifSignatureTabT_*frames)$) cocoondefine(SdifCheckXhXmemberX2_2,SdifSignature SdifCheckFileFramesTab (const char *name, const SdifSignatureTabT *frames);) int SdifCheckFileFramesIndex (const char *name, const SdifSignature *frames); cocoondefine(SdifCheckXhXmemberX3,int_SdifCheckFileFramesIndex_(const_char_*name,_const_SdifSignature_*frames)$) cocoondefine(SdifCheckXhXmemberX3_2,int SdifCheckFileFramesIndex (const char *name, const SdifSignature *frames);) SdifSignature SdifCheckNextFrame (SdifFileT *in, const SdifSignatureTabT *frames, int *index); cocoondefine(SdifCheckXhXmemberX4,SdifSignature_SdifCheckNextFrame_(SdifFileT_*in,_const_SdifSignatureTabT_*frames,_int_*index)$) cocoondefine(SdifCheckXhXmemberX4_2,SdifSignature SdifCheckNextFrame (SdifFileT *in, const SdifSignatureTabT *frames, int *index);) SdifFileT* SdifFTryOpen (const char *Name, SdifFileModeET Mode); cocoondefine(SdifCheckXhXmemberX5,SdifFileT*_SdifFTryOpen_(const_char_*Name,_SdifFileModeET_Mode)$) cocoondefine(SdifCheckXhXmemberX5_2,SdifFileT* SdifFTryOpen (const char *Name, SdifFileModeET Mode);) size_t SdifToText (SdifFileT *SdifF, char *TextStreamName); cocoondefine(SdifConvToTextXhXmemberX1,size_t_SdifToText_(SdifFileT_*SdifF,_char_*TextStreamName)$) cocoondefine(SdifConvToTextXhXmemberX1_2,size_t SdifToText (SdifFileT *SdifF, char *TextStreamName);) // Error Handling void SdifEnableErrorOutput (void); cocoondefine(SdifErrMessXhXmemberX1,void_SdifEnableErrorOutput_(void)$) cocoondefine(SdifErrMessXhXmemberX1_2,void SdifEnableErrorOutput (void);) void SdifDisableErrorOutput (void); cocoondefine(SdifErrMessXhXmemberX2,void_SdifDisableErrorOutput_(void)$) cocoondefine(SdifErrMessXhXmemberX2_2,void SdifDisableErrorOutput (void);) int SdifFGetSignature (SdifFileT *SdifF, size_t *NbCharRead); cocoondefine(SdifFGetXhXmemberX1,int_SdifFGetSignature_(SdifFileT_*SdifF,_size_t_*NbCharRead)$) cocoondefine(SdifFGetXhXmemberX1_2,int SdifFGetSignature (SdifFileT *SdifF, size_t *NbCharRead);) size_t SdifFGetOneMatrixType (SdifFileT *SdifF, int Verbose); cocoondefine(SdifFGetXhXmemberX2,size_t_SdifFGetOneMatrixType_(SdifFileT_*SdifF,_int_Verbose)$) cocoondefine(SdifFGetXhXmemberX2_2,size_t SdifFGetOneMatrixType (SdifFileT *SdifF, int Verbose);) size_t SdifFGetOneMatrixTypefromSdifString(SdifFileT *SdifF, SdifStringT *SdifString); cocoondefine(SdifFGetXhXmemberX3,size_t_SdifFGetOneMatrixTypefromSdifString(SdifFileT_*SdifF,_SdifStringT_*SdifString)$) cocoondefine(SdifFGetXhXmemberX3_2,size_t SdifFGetOneMatrixTypefromSdifString(SdifFileT *SdifF, SdifStringT *SdifString);) int SdifFGetOneComponent (SdifFileT *SdifF, int Verbose, SdifSignature *MatrixSignature, char *ComponentName, size_t *NbCharRead); cocoondefine(SdifFGetXhXmemberX4,int_SdifFGetOneComponent_(SdifFileT_*SdifF,_int_Verbose,_SdifSignature_*MatrixSignature,_char_*ComponentName,_size_t_*NbCharRead)$) cocoondefine(SdifFGetXhXmemberX4_2,int SdifFGetOneComponent (SdifFileT *SdifF, int Verbose, SdifSignature *MatrixSignature, char *ComponentName, size_t *NbCharRead);) int SdifFGetOneComponentfromSdifString(SdifFileT *SdifF, SdifStringT *SdifString, SdifSignature *MatrixSignature, char *ComponentName); cocoondefine(SdifFGetXhXmemberX5,int_SdifFGetOneComponentfromSdifString(SdifFileT_*SdifF,_SdifStringT_*SdifString,_SdifSignature_*MatrixSignature,_char_*ComponentName)$) cocoondefine(SdifFGetXhXmemberX5_2,int SdifFGetOneComponentfromSdifString(SdifFileT *SdifF, SdifStringT *SdifString, SdifSignature *MatrixSignature, char *ComponentName);) size_t SdifFGetOneFrameType (SdifFileT *SdifF, int Verbose); cocoondefine(SdifFGetXhXmemberX6,size_t_SdifFGetOneFrameType_(SdifFileT_*SdifF,_int_Verbose)$) cocoondefine(SdifFGetXhXmemberX6_2,size_t SdifFGetOneFrameType (SdifFileT *SdifF, int Verbose);) size_t SdifFGetOneFrameTypefromSdifString(SdifFileT *SdifF, SdifStringT *SdifString); cocoondefine(SdifFGetXhXmemberX7,size_t_SdifFGetOneFrameTypefromSdifString(SdifFileT_*SdifF,_SdifStringT_*SdifString)$) cocoondefine(SdifFGetXhXmemberX7_2,size_t SdifFGetOneFrameTypefromSdifString(SdifFileT *SdifF, SdifStringT *SdifString);) size_t SdifFGetAllType (SdifFileT *SdifF, int Verbose); cocoondefine(SdifFGetXhXmemberX8,size_t_SdifFGetAllType_(SdifFileT_*SdifF,_int_Verbose)$) cocoondefine(SdifFGetXhXmemberX8_2,size_t SdifFGetAllType (SdifFileT *SdifF, int Verbose);) size_t SdifFGetAllTypefromSdifString (SdifFileT *SdifF, SdifStringT *SdifString); cocoondefine(SdifFGetXhXmemberX9,size_t_SdifFGetAllTypefromSdifString_(SdifFileT_*SdifF,_SdifStringT_*SdifString)$) cocoondefine(SdifFGetXhXmemberX9_2,size_t SdifFGetAllTypefromSdifString (SdifFileT *SdifF, SdifStringT *SdifString);) int SdifFGetOneStreamID (SdifFileT *SdifF, int Verbose, size_t *NbBytesRead); cocoondefine(SdifFGetXhXmemberX10,int_SdifFGetOneStreamID_(SdifFileT_*SdifF,_int_Verbose,_size_t_*NbBytesRead)$) cocoondefine(SdifFGetXhXmemberX10_2,int SdifFGetOneStreamID (SdifFileT *SdifF, int Verbose, size_t *NbBytesRead);) int SdifFgetOneStreamIDfromSdifString(SdifFileT *SdifF, SdifStringT *SdifString); cocoondefine(SdifFGetXhXmemberX11,int_SdifFgetOneStreamIDfromSdifString(SdifFileT_*SdifF,_SdifStringT_*SdifString)$) cocoondefine(SdifFGetXhXmemberX11_2,int SdifFgetOneStreamIDfromSdifString(SdifFileT *SdifF, SdifStringT *SdifString);) size_t SdifFGetAllStreamID (SdifFileT *SdifF, int Verbose); cocoondefine(SdifFGetXhXmemberX12,size_t_SdifFGetAllStreamID_(SdifFileT_*SdifF,_int_Verbose)$) cocoondefine(SdifFGetXhXmemberX12_2,size_t SdifFGetAllStreamID (SdifFileT *SdifF, int Verbose);) size_t SdifFGetAllStreamIDfromSdifString(SdifFileT *SdifF, SdifStringT *SdifString); cocoondefine(SdifFGetXhXmemberX13,size_t_SdifFGetAllStreamIDfromSdifString(SdifFileT_*SdifF,_SdifStringT_*SdifString)$) cocoondefine(SdifFGetXhXmemberX13_2,size_t SdifFGetAllStreamIDfromSdifString(SdifFileT *SdifF, SdifStringT *SdifString);) int SdifFNameValueLCurrNVTtoSdifString(SdifFileT *SdifF, SdifStringT *SdifString); cocoondefine(SdifFPutXhXmemberX1,int_SdifFNameValueLCurrNVTtoSdifString(SdifFileT_*SdifF,_SdifStringT_*SdifString)$) cocoondefine(SdifFPutXhXmemberX1_2,int SdifFNameValueLCurrNVTtoSdifString(SdifFileT *SdifF, SdifStringT *SdifString);) int SdifFOneMatrixTypeToSdifString(SdifMatrixTypeT *MatrixType, SdifStringT *SdifString); cocoondefine(SdifFPutXhXmemberX2,int_SdifFOneMatrixTypeToSdifString(SdifMatrixTypeT_*MatrixType,_SdifStringT_*SdifString)$) cocoondefine(SdifFPutXhXmemberX2_2,int SdifFOneMatrixTypeToSdifString(SdifMatrixTypeT *MatrixType, SdifStringT *SdifString);) int SdifFAllMatrixTypeToSdifString(SdifFileT *SdifF, SdifStringT *SdifSTring); cocoondefine(SdifFPutXhXmemberX3,int_SdifFAllMatrixTypeToSdifString(SdifFileT_*SdifF,_SdifStringT_*SdifSTring)$) cocoondefine(SdifFPutXhXmemberX3_2,int SdifFAllMatrixTypeToSdifString(SdifFileT *SdifF, SdifStringT *SdifSTring);) int SdifFOneComponentToSdifString(SdifComponentT *Component, SdifStringT *SdifString); cocoondefine(SdifFPutXhXmemberX4,int_SdifFOneComponentToSdifString(SdifComponentT_*Component,_SdifStringT_*SdifString)$) cocoondefine(SdifFPutXhXmemberX4_2,int SdifFOneComponentToSdifString(SdifComponentT *Component, SdifStringT *SdifString);) int SdifFOneFrameTypeToSdifString(SdifFrameTypeT *FrameType, SdifStringT *SdifString); cocoondefine(SdifFPutXhXmemberX5,int_SdifFOneFrameTypeToSdifString(SdifFrameTypeT_*FrameType,_SdifStringT_*SdifString)$) cocoondefine(SdifFPutXhXmemberX5_2,int SdifFOneFrameTypeToSdifString(SdifFrameTypeT *FrameType, SdifStringT *SdifString);) int SdifFAllFrameTypeToSdifString (SdifFileT *SdifF, SdifStringT *SdifString); cocoondefine(SdifFPutXhXmemberX6,int_SdifFAllFrameTypeToSdifString_(SdifFileT_*SdifF,_SdifStringT_*SdifString)$) cocoondefine(SdifFPutXhXmemberX6_2,int SdifFAllFrameTypeToSdifString (SdifFileT *SdifF, SdifStringT *SdifString);) int SdifFOneStreamIDToSDifString (SdifStringT *SdifString, SdifStreamIDT *StreamID); cocoondefine(SdifFPutXhXmemberX7,int_SdifFOneStreamIDToSDifString_(SdifStringT_*SdifString,_SdifStreamIDT_*StreamID)$) cocoondefine(SdifFPutXhXmemberX7_2,int SdifFOneStreamIDToSDifString (SdifStringT *SdifString, SdifStreamIDT *StreamID);) int SdifFAllStreamIDToSdifString (SdifFileT *SdifF, SdifStringT *SdifString); cocoondefine(SdifFPutXhXmemberX8,int_SdifFAllStreamIDToSdifString_(SdifFileT_*SdifF,_SdifStringT_*SdifString)$) cocoondefine(SdifFPutXhXmemberX8_2,int SdifFAllStreamIDToSdifString (SdifFileT *SdifF, SdifStringT *SdifString);) size_t SdifFReadGeneralHeader (SdifFileT *SdifF); cocoondefine(SdifFReadXhXmemberX1,size_t_SdifFReadGeneralHeader_(SdifFileT_*SdifF)$) cocoondefine(SdifFReadXhXmemberX1_2,size_t SdifFReadGeneralHeader (SdifFileT *SdifF);) size_t SdifFReadAllASCIIChunks (SdifFileT *SdifF); cocoondefine(SdifFReadXhXmemberX2,size_t_SdifFReadAllASCIIChunks_(SdifFileT_*SdifF)$) cocoondefine(SdifFReadXhXmemberX2_2,size_t SdifFReadAllASCIIChunks (SdifFileT *SdifF);) size_t SdifFReadMatrixHeader (SdifFileT *SdifF); cocoondefine(SdifFReadXhXmemberX3,size_t_SdifFReadMatrixHeader_(SdifFileT_*SdifF)$) cocoondefine(SdifFReadXhXmemberX3_2,size_t SdifFReadMatrixHeader (SdifFileT *SdifF);) size_t SdifFReadOneRow (SdifFileT *SdifF); cocoondefine(SdifFReadXhXmemberX4,size_t_SdifFReadOneRow_(SdifFileT_*SdifF)$) cocoondefine(SdifFReadXhXmemberX4_2,size_t SdifFReadOneRow (SdifFileT *SdifF);) size_t SdifFReadFrameHeader (SdifFileT *SdifF); cocoondefine(SdifFReadXhXmemberX5,size_t_SdifFReadFrameHeader_(SdifFileT_*SdifF)$) cocoondefine(SdifFReadXhXmemberX5_2,size_t SdifFReadFrameHeader (SdifFileT *SdifF);) size_t SdifFSkipMatrix (SdifFileT *SdifF); cocoondefine(SdifFReadXhXmemberX6,size_t_SdifFSkipMatrix_(SdifFileT_*SdifF)$) cocoondefine(SdifFReadXhXmemberX6_2,size_t SdifFSkipMatrix (SdifFileT *SdifF);) size_t SdifFSkipMatrixData (SdifFileT *SdifF); cocoondefine(SdifFReadXhXmemberX7,size_t_SdifFSkipMatrixData_(SdifFileT_*SdifF)$) cocoondefine(SdifFReadXhXmemberX7_2,size_t SdifFSkipMatrixData (SdifFileT *SdifF);) size_t SdifFSkipFrameData (SdifFileT *SdifF); cocoondefine(SdifFReadXhXmemberX8,size_t_SdifFSkipFrameData_(SdifFileT_*SdifF)$) cocoondefine(SdifFReadXhXmemberX8_2,size_t SdifFSkipFrameData (SdifFileT *SdifF);) size_t SdifFReadPadding (SdifFileT *SdifF, size_t Padding); cocoondefine(SdifFReadXhXmemberX9,size_t_SdifFReadPadding_(SdifFileT_*SdifF,_size_t_Padding)$) cocoondefine(SdifFReadXhXmemberX9_2,size_t SdifFReadPadding (SdifFileT *SdifF, size_t Padding);) size_t SdifFReadAndIgnore (SdifFileT *SdifF, size_t bytes); cocoondefine(SdifFReadXhXmemberX10,size_t_SdifFReadAndIgnore_(SdifFileT_*SdifF,_size_t_bytes)$) cocoondefine(SdifFReadXhXmemberX10_2,size_t SdifFReadAndIgnore (SdifFileT *SdifF, size_t bytes);) size_t SdifFReadTextMatrix(SdifFileT *SdifF, SdifStringT *SdifString); cocoondefine(SdifFReadXhXmemberX11,size_t_SdifFReadTextMatrix(SdifFileT_*SdifF,_SdifStringT_*SdifString)$) cocoondefine(SdifFReadXhXmemberX11_2,size_t SdifFReadTextMatrix(SdifFileT *SdifF, SdifStringT *SdifString);) size_t SdifFReadTextMatrixData(SdifFileT *SdifF, SdifStringT *SdifString); cocoondefine(SdifFReadXhXmemberX12,size_t_SdifFReadTextMatrixData(SdifFileT_*SdifF,_SdifStringT_*SdifString)$) cocoondefine(SdifFReadXhXmemberX12_2,size_t SdifFReadTextMatrixData(SdifFileT *SdifF, SdifStringT *SdifString);) size_t SdifFWriteGeneralHeader (SdifFileT *SdifF); cocoondefine(SdifFWriteXhXmemberX1,size_t_SdifFWriteGeneralHeader_(SdifFileT_*SdifF)$) cocoondefine(SdifFWriteXhXmemberX1_2,size_t SdifFWriteGeneralHeader (SdifFileT *SdifF);) size_t SdifFWriteAllStreamID (SdifFileT *SdifF); cocoondefine(SdifFWriteXhXmemberX2,size_t_SdifFWriteAllStreamID_(SdifFileT_*SdifF)$) cocoondefine(SdifFWriteXhXmemberX2_2,size_t SdifFWriteAllStreamID (SdifFileT *SdifF);) size_t SdifFWriteAllASCIIChunks (SdifFileT *SdifF); cocoondefine(SdifFWriteXhXmemberX3,size_t_SdifFWriteAllASCIIChunks_(SdifFileT_*SdifF)$) cocoondefine(SdifFWriteXhXmemberX3_2,size_t SdifFWriteAllASCIIChunks (SdifFileT *SdifF);) size_t SdifFWriteMatrixHeader (SdifFileT *SdifF); cocoondefine(SdifFWriteXhXmemberX4,size_t_SdifFWriteMatrixHeader_(SdifFileT_*SdifF)$) cocoondefine(SdifFWriteXhXmemberX4_2,size_t SdifFWriteMatrixHeader (SdifFileT *SdifF);) size_t SdifFWriteOneRow (SdifFileT *SdifF); cocoondefine(SdifFWriteXhXmemberX5,size_t_SdifFWriteOneRow_(SdifFileT_*SdifF)$) cocoondefine(SdifFWriteXhXmemberX5_2,size_t SdifFWriteOneRow (SdifFileT *SdifF);) size_t SdifFWriteMatrixData (SdifFileT *SdifF, void *Data); cocoondefine(SdifFWriteXhXmemberX6,size_t_SdifFWriteMatrixData_(SdifFileT_*SdifF,_void_*Data)$) cocoondefine(SdifFWriteXhXmemberX6_2,size_t SdifFWriteMatrixData (SdifFileT *SdifF, void *Data);) size_t SdifFWriteMatrix (SdifFileT *SdifF, SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol, void *Data); cocoondefine(SdifFWriteXhXmemberX7,size_t_SdifFWriteMatrix_(SdifFileT_*SdifF,_SdifSignature_Signature,_SdifDataTypeET_DataType,_SdifUInt4_NbRow,_SdifUInt4_NbCol,_void_*Data)$) cocoondefine(SdifFWriteXhXmemberX7_2,size_t SdifFWriteMatrix (SdifFileT *SdifF, SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol, void *Data);) size_t SdifFWriteTextMatrix (SdifFileT *SdifF, SdifSignature Signature, SdifUInt4 Length, char *Data); cocoondefine(SdifFWriteXhXmemberX8,size_t_SdifFWriteTextMatrix_(SdifFileT_*SdifF,_SdifSignature_Signature,_SdifUInt4_Length,_char_*Data)$) cocoondefine(SdifFWriteXhXmemberX8_2,size_t SdifFWriteTextMatrix (SdifFileT *SdifF, SdifSignature Signature, SdifUInt4 Length, char *Data);) size_t SdifAsciiToUTF8 (char *ascii_in, char *utf8_out); cocoondefine(SdifFWriteXhXmemberX9,size_t_SdifAsciiToUTF8_(char_*ascii_in,_char_*utf8_out)$) cocoondefine(SdifFWriteXhXmemberX9_2,size_t SdifAsciiToUTF8 (char *ascii_in, char *utf8_out);) size_t SdifFWritePadding (SdifFileT *SdifF, size_t Padding); cocoondefine(SdifFWriteXhXmemberX10,size_t_SdifFWritePadding_(SdifFileT_*SdifF,_size_t_Padding)$) cocoondefine(SdifFWriteXhXmemberX10_2,size_t SdifFWritePadding (SdifFileT *SdifF, size_t Padding);) size_t SdifFWriteFrameHeader (SdifFileT *SdifF); cocoondefine(SdifFWriteXhXmemberX11,size_t_SdifFWriteFrameHeader_(SdifFileT_*SdifF)$) cocoondefine(SdifFWriteXhXmemberX11_2,size_t SdifFWriteFrameHeader (SdifFileT *SdifF);) void SdifUpdateChunkSize (SdifFileT *SdifF, size_t ChunkSize); cocoondefine(SdifFWriteXhXmemberX12,void_SdifUpdateChunkSize_(SdifFileT_*SdifF,_size_t_ChunkSize)$) cocoondefine(SdifFWriteXhXmemberX12_2,void SdifUpdateChunkSize (SdifFileT *SdifF, size_t ChunkSize);) int SdifUpdateFrameHeader (SdifFileT *SdifF, size_t ChunkSize, SdifInt4 NumMatrix); cocoondefine(SdifFWriteXhXmemberX13,int_SdifUpdateFrameHeader_(SdifFileT_*SdifF,_size_t_ChunkSize,_SdifInt4_NumMatrix)$) cocoondefine(SdifFWriteXhXmemberX13_2,int SdifUpdateFrameHeader (SdifFileT *SdifF, size_t ChunkSize, SdifInt4 NumMatrix);) size_t SdifFWriteFrameAndOneMatrix (SdifFileT *SdifF, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time, SdifSignature MatrixSignature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol, void *Data); cocoondefine(SdifFWriteXhXmemberX14,size_t_SdifFWriteFrameAndOneMatrix_(SdifFileT_*SdifF,_SdifSignature_FrameSignature,_SdifUInt4_NumID,_SdifFloat8_Time,_SdifSignature_MatrixSignature,_SdifDataTypeET_DataType,_SdifUInt4_NbRow,_SdifUInt4_NbCol,_void_*Data)$) cocoondefine(SdifFWriteXhXmemberX14_2,size_t SdifFWriteFrameAndOneMatrix (SdifFileT *SdifF, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time, SdifSignature MatrixSignature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol, void *Data);) size_t SdifSizeOfFrameHeader (void); cocoondefine(SdifFWriteXhXmemberX15,size_t_SdifSizeOfFrameHeader_(void)$) cocoondefine(SdifFWriteXhXmemberX15_2,size_t SdifSizeOfFrameHeader (void);) size_t SdifSizeOfMatrix (SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol); cocoondefine(SdifFWriteXhXmemberX16,size_t_SdifSizeOfMatrix_(SdifDataTypeET_DataType,_SdifUInt4_NbRow,_SdifUInt4_NbCol)$) cocoondefine(SdifFWriteXhXmemberX16_2,size_t SdifSizeOfMatrix (SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol);) size_t SdifFWriteTextFrame(SdifFileT *SdifF, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time, SdifSignature MatrixSignature, char *str, size_t length); cocoondefine(SdifFWriteXhXmemberX17,size_t_SdifFWriteTextFrame(SdifFileT_*SdifF,_SdifSignature_FrameSignature,_SdifUInt4_NumID,_SdifFloat8_Time,_SdifSignature_MatrixSignature,_char_*str,_size_t_length)$) cocoondefine(SdifFWriteXhXmemberX17_2,size_t SdifFWriteTextFrame(SdifFileT *SdifF, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time, SdifSignature MatrixSignature, char *str, size_t length);) size_t SdifFWriteTextFrameSdifString(SdifFileT *SdifF, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time, SdifSignature MatrixSignature, SdifStringT *SdifString); cocoondefine(SdifFWriteXhXmemberX18,size_t_SdifFWriteTextFrameSdifString(SdifFileT_*SdifF,_SdifSignature_FrameSignature,_SdifUInt4_NumID,_SdifFloat8_Time,_SdifSignature_MatrixSignature,_SdifStringT_*SdifString)$) cocoondefine(SdifFWriteXhXmemberX18_2,size_t SdifFWriteTextFrameSdifString(SdifFileT *SdifF, SdifSignature FrameSignature, SdifUInt4 NumID, SdifFloat8 Time, SdifSignature MatrixSignature, SdifStringT *SdifString);) // Opening and Closing of Files SdifFileT* SdifFOpen (const char *Name, SdifFileModeET Mode); cocoondefine(SdifFileXhXmemberX1,SdifFileT*_SdifFOpen_(const_char_*Name,_SdifFileModeET_Mode)$) cocoondefine(SdifFileXhXmemberX1_2,SdifFileT* SdifFOpen (const char *Name, SdifFileModeET Mode);) void SdifFClose (SdifFileT *SdifF); cocoondefine(SdifFileXhXmemberX2,void_SdifFClose_(SdifFileT_*SdifF)$) cocoondefine(SdifFileXhXmemberX2_2,void SdifFClose (SdifFileT *SdifF);) // Init/Deinit of the Library void SdifGenInit (char *PredefinedTypesFile); cocoondefine(SdifFileXhXmemberX3,void_SdifGenInit_(char_*PredefinedTypesFile)$) cocoondefine(SdifFileXhXmemberX3_2,void SdifGenInit (char *PredefinedTypesFile);) void SdifGenInitCond (char *PredefinedTypesFile); cocoondefine(SdifFileXhXmemberX4,void_SdifGenInitCond_(char_*PredefinedTypesFile)$) cocoondefine(SdifFileXhXmemberX4_2,void SdifGenInitCond (char *PredefinedTypesFile);) void SdifGenKill (void); cocoondefine(SdifFileXhXmemberX5,void_SdifGenKill_(void)$) cocoondefine(SdifFileXhXmemberX5_2,void SdifGenKill (void);) void SdifPrintVersion(void); cocoondefine(SdifFileXhXmemberX6,void_SdifPrintVersion(void)$) cocoondefine(SdifFileXhXmemberX6_2,void SdifPrintVersion(void);) // Current Header Access Functions SdifFrameHeaderT* SdifFSetCurrFrameHeader (SdifFileT *SdifF, SdifSignature Signature, SdifUInt4 Size, SdifUInt4 NbMatrix, SdifUInt4 NumID, SdifFloat8 Time); cocoondefine(SdifFileXhXmemberX7,SdifFrameHeaderT*_SdifFSetCurrFrameHeader_(SdifFileT_*SdifF,_SdifSignature_Signature,_SdifUInt4_Size,_SdifUInt4_NbMatrix,_SdifUInt4_NumID,_SdifFloat8_Time)$) cocoondefine(SdifFileXhXmemberX7_2,SdifFrameHeaderT* SdifFSetCurrFrameHeader (SdifFileT *SdifF, SdifSignature Signature, SdifUInt4 Size, SdifUInt4 NbMatrix, SdifUInt4 NumID, SdifFloat8 Time);) SdifMatrixHeaderT* SdifFSetCurrMatrixHeader (SdifFileT *SdifF, SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol); cocoondefine(SdifFileXhXmemberX8,SdifMatrixHeaderT*_SdifFSetCurrMatrixHeader_(SdifFileT_*SdifF,_SdifSignature_Signature,_SdifDataTypeET_DataType,_SdifUInt4_NbRow,_SdifUInt4_NbCol)$) cocoondefine(SdifFileXhXmemberX8_2,SdifMatrixHeaderT* SdifFSetCurrMatrixHeader (SdifFileT *SdifF, SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol);) SdifOneRowT* SdifFSetCurrOneRow (SdifFileT *SdifF, void *Values); cocoondefine(SdifFileXhXmemberX9,SdifOneRowT*_SdifFSetCurrOneRow_(SdifFileT_*SdifF,_void_*Values)$) cocoondefine(SdifFileXhXmemberX9_2,SdifOneRowT* SdifFSetCurrOneRow (SdifFileT *SdifF, void *Values);) SdifOneRowT* SdifFSetCurrOneRowCol (SdifFileT *SdifF, SdifUInt4 numCol, SdifFloat8 Value); cocoondefine(SdifFileXhXmemberX10,SdifOneRowT*_SdifFSetCurrOneRowCol_(SdifFileT_*SdifF,_SdifUInt4_numCol,_SdifFloat8_Value)$) cocoondefine(SdifFileXhXmemberX10_2,SdifOneRowT* SdifFSetCurrOneRowCol (SdifFileT *SdifF, SdifUInt4 numCol, SdifFloat8 Value);) SdifFloat8 SdifFCurrOneRowCol (SdifFileT *SdifF, SdifUInt4 numCol); cocoondefine(SdifFileXhXmemberX11,SdifFloat8_SdifFCurrOneRowCol_(SdifFileT_*SdifF,_SdifUInt4_numCol)$) cocoondefine(SdifFileXhXmemberX11_2,SdifFloat8 SdifFCurrOneRowCol (SdifFileT *SdifF, SdifUInt4 numCol);) SdifFloat8 SdifFCurrOneRowColName (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType, char *NameCD); cocoondefine(SdifFileXhXmemberX12,SdifFloat8_SdifFCurrOneRowColName_(SdifFileT_*SdifF,_SdifMatrixTypeT_*MatrixType,_char_*NameCD)$) cocoondefine(SdifFileXhXmemberX12_2,SdifFloat8 SdifFCurrOneRowColName (SdifFileT *SdifF, SdifMatrixTypeT *MatrixType, char *NameCD);) SdifSignature SdifFCurrSignature (SdifFileT *SdifF); cocoondefine(SdifFileXhXmemberX13,SdifSignature_SdifFCurrSignature_(SdifFileT_*SdifF)$) cocoondefine(SdifFileXhXmemberX13_2,SdifSignature SdifFCurrSignature (SdifFileT *SdifF);) SdifSignature SdifFCleanCurrSignature (SdifFileT *SdifF); cocoondefine(SdifFileXhXmemberX14,SdifSignature_SdifFCleanCurrSignature_(SdifFileT_*SdifF)$) cocoondefine(SdifFileXhXmemberX14_2,SdifSignature SdifFCleanCurrSignature (SdifFileT *SdifF);) SdifSignature SdifFCurrFrameSignature (SdifFileT *SdifF); cocoondefine(SdifFileXhXmemberX15,SdifSignature_SdifFCurrFrameSignature_(SdifFileT_*SdifF)$) cocoondefine(SdifFileXhXmemberX15_2,SdifSignature SdifFCurrFrameSignature (SdifFileT *SdifF);) SdifSignature SdifFCurrMatrixSignature (SdifFileT *SdifF); cocoondefine(SdifFileXhXmemberX16,SdifSignature_SdifFCurrMatrixSignature_(SdifFileT_*SdifF)$) cocoondefine(SdifFileXhXmemberX16_2,SdifSignature SdifFCurrMatrixSignature (SdifFileT *SdifF);) SdifOneRowT* SdifFCurrOneRow (SdifFileT *SdifF); cocoondefine(SdifFileXhXmemberX17,SdifOneRowT*_SdifFCurrOneRow_(SdifFileT_*SdifF)$) cocoondefine(SdifFileXhXmemberX17_2,SdifOneRowT* SdifFCurrOneRow (SdifFileT *SdifF);) void* SdifFCurrOneRowData (SdifFileT *SdifF); cocoondefine(SdifFileXhXmemberX18,void*_SdifFCurrOneRowData_(SdifFileT_*SdifF)$) cocoondefine(SdifFileXhXmemberX18_2,void* SdifFCurrOneRowData (SdifFileT *SdifF);) SdifUInt4 SdifFCurrNbCol (SdifFileT *SdifF); cocoondefine(SdifFileXhXmemberX19,SdifUInt4_SdifFCurrNbCol_(SdifFileT_*SdifF)$) cocoondefine(SdifFileXhXmemberX19_2,SdifUInt4 SdifFCurrNbCol (SdifFileT *SdifF);) SdifUInt4 SdifFCurrNbRow (SdifFileT *SdifF); cocoondefine(SdifFileXhXmemberX20,SdifUInt4_SdifFCurrNbRow_(SdifFileT_*SdifF)$) cocoondefine(SdifFileXhXmemberX20_2,SdifUInt4 SdifFCurrNbRow (SdifFileT *SdifF);) SdifDataTypeET SdifFCurrDataType (SdifFileT *SdifF); cocoondefine(SdifFileXhXmemberX21,SdifDataTypeET_SdifFCurrDataType_(SdifFileT_*SdifF)$) cocoondefine(SdifFileXhXmemberX21_2,SdifDataTypeET SdifFCurrDataType (SdifFileT *SdifF);) SdifUInt4 SdifFCurrNbMatrix (SdifFileT *SdifF); cocoondefine(SdifFileXhXmemberX22,SdifUInt4_SdifFCurrNbMatrix_(SdifFileT_*SdifF)$) cocoondefine(SdifFileXhXmemberX22_2,SdifUInt4 SdifFCurrNbMatrix (SdifFileT *SdifF);) SdifUInt4 SdifFCurrID (SdifFileT *SdifF); cocoondefine(SdifFileXhXmemberX23,SdifUInt4_SdifFCurrID_(SdifFileT_*SdifF)$) cocoondefine(SdifFileXhXmemberX23_2,SdifUInt4 SdifFCurrID (SdifFileT *SdifF);) SdifFloat8 SdifFCurrTime (SdifFileT *SdifF); cocoondefine(SdifFileXhXmemberX24,SdifFloat8_SdifFCurrTime_(SdifFileT_*SdifF)$) cocoondefine(SdifFileXhXmemberX24_2,SdifFloat8 SdifFCurrTime (SdifFileT *SdifF);) // File Data Access Functions SdifNameValuesLT *SdifFNameValueList (SdifFileT *file); cocoondefine(SdifFileXhXmemberX25,SdifNameValuesLT_*SdifFNameValueList_(SdifFileT_*file)$) cocoondefine(SdifFileXhXmemberX25_2,SdifNameValuesLT *SdifFNameValueList (SdifFileT *file);) int SdifFNameValueNum (SdifFileT *file); cocoondefine(SdifFileXhXmemberX26,int_SdifFNameValueNum_(SdifFileT_*file)$) cocoondefine(SdifFileXhXmemberX26_2,int SdifFNameValueNum (SdifFileT *file);) SdifStreamIDTableT *SdifFStreamIDTable (SdifFileT *file); cocoondefine(SdifFileXhXmemberX27,SdifStreamIDTableT_*SdifFStreamIDTable_(SdifFileT_*file)$) cocoondefine(SdifFileXhXmemberX27_2,SdifStreamIDTableT *SdifFStreamIDTable (SdifFileT *file);) int SdifFAddUserData (SdifFileT *file, void *data); cocoondefine(SdifFileXhXmemberX28,int_SdifFAddUserData_(SdifFileT_*file,_void_*data)$) cocoondefine(SdifFileXhXmemberX28_2,int SdifFAddUserData (SdifFileT *file, void *data);) void *SdifFGetUserData (SdifFileT *file, int index); cocoondefine(SdifFileXhXmemberX29,void_*SdifFGetUserData_(SdifFileT_*file,_int_index)$) cocoondefine(SdifFileXhXmemberX29_2,void *SdifFGetUserData (SdifFileT *file, int index);) // Error flag for file int SdifFNumErrors (SdifFileT *SdifF, SdifErrorLevelET upto); cocoondefine(SdifFileXhXmemberX30,int_SdifFNumErrors_(SdifFileT_*SdifF,_SdifErrorLevelET_upto)$) cocoondefine(SdifFileXhXmemberX30_2,int SdifFNumErrors (SdifFileT *SdifF, SdifErrorLevelET upto);) SdifErrorT* SdifFLastError (SdifFileT *SdifF); cocoondefine(SdifFileXhXmemberX31,SdifErrorT*_SdifFLastError_(SdifFileT_*SdifF)$) cocoondefine(SdifFileXhXmemberX31_2,SdifErrorT* SdifFLastError (SdifFileT *SdifF);) SdifErrorTagET SdifFLastErrorTag (SdifFileT *SdifF); cocoondefine(SdifFileXhXmemberX32,SdifErrorTagET_SdifFLastErrorTag_(SdifFileT_*SdifF)$) cocoondefine(SdifFileXhXmemberX32_2,SdifErrorTagET SdifFLastErrorTag (SdifFileT *SdifF);) cocoondefine(SdifFileStructXhXmemberX1,typedef_enum_SdifFileModeE_SdifFileModeET_$) cocoondefine(SdifFileStructXhXmemberX1_2,typedef enum SdifFileModeE SdifFileModeET ;) SdifUInt4 SdifSignatureConst (SdifUInt4 four_char_code); cocoondefine(SdifGlobalsXhXmemberX1,SdifUInt4_SdifSignatureConst_(SdifUInt4_four_char_code)$) cocoondefine(SdifGlobalsXhXmemberX1_2,SdifUInt4 SdifSignatureConst (SdifUInt4 four_char_code);) // utility functions char* SdifSignatureToString(SdifSignature Signature); cocoondefine(SdifGlobalsXhXmemberX2,char*_SdifSignatureToString(SdifSignature_Signature)$) cocoondefine(SdifGlobalsXhXmemberX2_2,char* SdifSignatureToString(SdifSignature Signature);) short SdifSignatureCmpNoVersion(SdifSignature Signature1, SdifSignature Signature2); cocoondefine(SdifGlobalsXhXmemberX3,short_SdifSignatureCmpNoVersion(SdifSignature_Signature1,_SdifSignature_Signature2)$) cocoondefine(SdifGlobalsXhXmemberX3_2,short SdifSignatureCmpNoVersion(SdifSignature Signature1, SdifSignature Signature2);) SdifUInt4 SdifSizeofDataType (SdifDataTypeET DataType); cocoondefine(SdifGlobalsXhXmemberX4,SdifUInt4_SdifSizeofDataType_(SdifDataTypeET_DataType)$) cocoondefine(SdifGlobalsXhXmemberX4_2,SdifUInt4 SdifSizeofDataType (SdifDataTypeET DataType);) int SdifDataTypeKnown (SdifDataTypeET DataType); cocoondefine(SdifGlobalsXhXmemberX5,int_SdifDataTypeKnown_(SdifDataTypeET_DataType)$) cocoondefine(SdifGlobalsXhXmemberX5_2,int SdifDataTypeKnown (SdifDataTypeET DataType);) size_t SdifPaddingCalculate (size_t NbBytes); cocoondefine(SdifGlobalsXhXmemberX6,size_t_SdifPaddingCalculate_(size_t_NbBytes)$) cocoondefine(SdifGlobalsXhXmemberX6_2,size_t SdifPaddingCalculate (size_t NbBytes);) size_t SdifFPaddingCalculate (FILE *f, size_t NbBytes); cocoondefine(SdifGlobalsXhXmemberX7,size_t_SdifFPaddingCalculate_(FILE_*f,_size_t_NbBytes)$) cocoondefine(SdifGlobalsXhXmemberX7_2,size_t SdifFPaddingCalculate (FILE *f, size_t NbBytes);) int SdifFReadNextSelectedFrameHeader (SdifFileT *file); cocoondefine(SdifHighLevelXhXmemberX1,int_SdifFReadNextSelectedFrameHeader_(SdifFileT_*file)$) cocoondefine(SdifHighLevelXhXmemberX1_2,int SdifFReadNextSelectedFrameHeader (SdifFileT *file);) SdifFWriteMatrixColumns (SdifFileT *file, SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol, void *columns []); cocoondefine(SdifHighLevelXhXmemberX2,SdifFWriteMatrixColumns_(SdifFileT_*file,_SdifSignature_Signature,_SdifDataTypeET_DataType,_SdifUInt4_NbRow,_SdifUInt4_NbCol,_void_*columns_[])$) cocoondefine(SdifHighLevelXhXmemberX2_2,SdifFWriteMatrixColumns (SdifFileT *file, SdifSignature Signature, SdifDataTypeET DataType, SdifUInt4 NbRow, SdifUInt4 NbCol, void *columns []);) cocoondefine(SdifHighLevelXhXmemberX3,typedef_int_(*SdifMatrixCallbackT)_(SdifFileT_*file,_int_nummatrix,_void_*userdata)$) cocoondefine(SdifHighLevelXhXmemberX3_2,typedef int (*SdifMatrixCallbackT) (SdifFileT *file, int nummatrix, void *userdata);) SdifReadSimple (char *filename, SdifMatrixCallbackT matrixfunc, void *userdata); cocoondefine(SdifHighLevelXhXmemberX4,SdifReadSimple_(char_*filename,_SdifMatrixCallbackT_matrixfunc,_void_*userdata)$) cocoondefine(SdifHighLevelXhXmemberX4_2,SdifReadSimple (char *filename, SdifMatrixCallbackT matrixfunc, void *userdata);) int SdifFReadMatrix (SdifFileT *file); cocoondefine(SdifHighLevelXhXmemberX5,int_SdifFReadMatrix_(SdifFileT_*file)$) cocoondefine(SdifHighLevelXhXmemberX5_2,int SdifFReadMatrix (SdifFileT *file);) int SdifFReadMatrixData (SdifFileT *file, void *target); cocoondefine(SdifHighLevelXhXmemberX6,int_SdifFReadMatrixData_(SdifFileT_*file,_void_*target)$) cocoondefine(SdifHighLevelXhXmemberX6_2,int SdifFReadMatrixData (SdifFileT *file, void *target);) void* SdifListGetHead (SdifListT* List); cocoondefine(SdifListXhXmemberX1,void*_SdifListGetHead_(SdifListT*_List)$) cocoondefine(SdifListXhXmemberX1_2,void* SdifListGetHead (SdifListT* List);) int SdifListInitLoop (SdifListT* List); cocoondefine(SdifListXhXmemberX2,int_SdifListInitLoop_(SdifListT*_List)$) cocoondefine(SdifListXhXmemberX2_2,int SdifListInitLoop (SdifListT* List);) void* SdifListGetNext (SdifListT* List); cocoondefine(SdifListXhXmemberX3,void*_SdifListGetNext_(SdifListT*_List)$) cocoondefine(SdifListXhXmemberX3_2,void* SdifListGetNext (SdifListT* List);) void* SdifListGetCurr (SdifListT* List); cocoondefine(SdifListXhXmemberX4,void*_SdifListGetCurr_(SdifListT*_List)$) cocoondefine(SdifListXhXmemberX4_2,void* SdifListGetCurr (SdifListT* List);) SdifMatrixTypeT* SdifCreateMatrixType (SdifSignature Signature, SdifMatrixTypeT *PredefinedMatrixType); cocoondefine(SdifMatrixTypeXhXmemberX1,SdifMatrixTypeT*_SdifCreateMatrixType_(SdifSignature_Signature,_SdifMatrixTypeT_*PredefinedMatrixType)$) cocoondefine(SdifMatrixTypeXhXmemberX1_2,SdifMatrixTypeT* SdifCreateMatrixType (SdifSignature Signature, SdifMatrixTypeT *PredefinedMatrixType);) SdifMatrixTypeT* SdifMatrixTypeInsertTailColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD); cocoondefine(SdifMatrixTypeXhXmemberX2,SdifMatrixTypeT*_SdifMatrixTypeInsertTailColumnDef_(SdifMatrixTypeT_*MatrixType,_char_*NameCD)$) cocoondefine(SdifMatrixTypeXhXmemberX2_2,SdifMatrixTypeT* SdifMatrixTypeInsertTailColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD);) SdifUInt4 SdifMatrixTypeGetNumColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD); cocoondefine(SdifMatrixTypeXhXmemberX3,SdifUInt4_SdifMatrixTypeGetNumColumnDef_(SdifMatrixTypeT_*MatrixType,_char_*NameCD)$) cocoondefine(SdifMatrixTypeXhXmemberX3_2,SdifUInt4 SdifMatrixTypeGetNumColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD);) SdifColumnDefT* SdifMatrixTypeGetColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD); cocoondefine(SdifMatrixTypeXhXmemberX4,SdifColumnDefT*_SdifMatrixTypeGetColumnDef_(SdifMatrixTypeT_*MatrixType,_char_*NameCD)$) cocoondefine(SdifMatrixTypeXhXmemberX4_2,SdifColumnDefT* SdifMatrixTypeGetColumnDef (SdifMatrixTypeT *MatrixType, char *NameCD);) SdifColumnDefT* SdifMatrixTypeGetNthColumnDef (SdifMatrixTypeT *MatrixType, SdifUInt4 NumCD); cocoondefine(SdifMatrixTypeXhXmemberX5,SdifColumnDefT*_SdifMatrixTypeGetNthColumnDef_(SdifMatrixTypeT_*MatrixType,_SdifUInt4_NumCD)$) cocoondefine(SdifMatrixTypeXhXmemberX5_2,SdifColumnDefT* SdifMatrixTypeGetNthColumnDef (SdifMatrixTypeT *MatrixType, SdifUInt4 NumCD);) SdifMatrixTypeT* SdifGetMatrixType (SdifHashTableT *MatrixTypesTable, SdifSignature Signature); cocoondefine(SdifMatrixTypeXhXmemberX6,SdifMatrixTypeT*_SdifGetMatrixType_(SdifHashTableT_*MatrixTypesTable,_SdifSignature_Signature)$) cocoondefine(SdifMatrixTypeXhXmemberX6_2,SdifMatrixTypeT* SdifGetMatrixType (SdifHashTableT *MatrixTypesTable, SdifSignature Signature);) void SdifPutMatrixType(SdifHashTableT *MatrixTypesTable, SdifMatrixTypeT* MatrixType); cocoondefine(SdifMatrixTypeXhXmemberX7,void_SdifPutMatrixType(SdifHashTableT_*MatrixTypesTable,_SdifMatrixTypeT*_MatrixType)$) cocoondefine(SdifMatrixTypeXhXmemberX7_2,void SdifPutMatrixType(SdifHashTableT *MatrixTypesTable, SdifMatrixTypeT* MatrixType);) SdifNameValuesLT* SdifNameValuesLNewTable (SdifNameValuesLT *NameValuesL, SdifUInt4 StreamID); cocoondefine(SdifNameValueXhXmemberX1,SdifNameValuesLT*_SdifNameValuesLNewTable_(SdifNameValuesLT_*NameValuesL,_SdifUInt4_StreamID)$) cocoondefine(SdifNameValueXhXmemberX1_2,SdifNameValuesLT* SdifNameValuesLNewTable (SdifNameValuesLT *NameValuesL, SdifUInt4 StreamID);) SdifNameValueTableT*SdifNameValuesLSetCurrNVT (SdifNameValuesLT *NameValuesL, SdifUInt4 NumCurrNVT); cocoondefine(SdifNameValueXhXmemberX2,SdifNameValueTableT*SdifNameValuesLSetCurrNVT_(SdifNameValuesLT_*NameValuesL,_SdifUInt4_NumCurrNVT)$) cocoondefine(SdifNameValueXhXmemberX2_2,SdifNameValueTableT*SdifNameValuesLSetCurrNVT (SdifNameValuesLT *NameValuesL, SdifUInt4 NumCurrNVT);) SdifNameValueT* SdifNameValuesLGet (SdifNameValuesLT *NameValuesL, char *Name); cocoondefine(SdifNameValueXhXmemberX3,SdifNameValueT*_SdifNameValuesLGet_(SdifNameValuesLT_*NameValuesL,_char_*Name)$) cocoondefine(SdifNameValueXhXmemberX3_2,SdifNameValueT* SdifNameValuesLGet (SdifNameValuesLT *NameValuesL, char *Name);) SdifNameValueT* SdifNameValuesLGetCurrNVT (SdifNameValuesLT *NameValuesL, const char *Name); cocoondefine(SdifNameValueXhXmemberX4,SdifNameValueT*_SdifNameValuesLGetCurrNVT_(SdifNameValuesLT_*NameValuesL,_const_char_*Name)$) cocoondefine(SdifNameValueXhXmemberX4_2,SdifNameValueT* SdifNameValuesLGetCurrNVT (SdifNameValuesLT *NameValuesL, const char *Name);) SdifNameValueT* SdifNameValuesLPutCurrNVT (SdifNameValuesLT *NameValuesL, const char *Name, const char *Value); cocoondefine(SdifNameValueXhXmemberX5,SdifNameValueT*_SdifNameValuesLPutCurrNVT_(SdifNameValuesLT_*NameValuesL,_const_char_*Name,_const_char_*Value)$) cocoondefine(SdifNameValueXhXmemberX5_2,SdifNameValueT* SdifNameValuesLPutCurrNVT (SdifNameValuesLT *NameValuesL, const char *Name, const char *Value);) int SdifIsAReservedChar (char c); cocoondefine(SdifRWLowLevelXhXmemberX1,int_SdifIsAReservedChar_(char_c)$) cocoondefine(SdifRWLowLevelXhXmemberX1_2,int SdifIsAReservedChar (char c);) char *SdifStringToNV ( char *str); cocoondefine(SdifRWLowLevelXhXmemberX2,char_*SdifStringToNV_(_char_*str)$) cocoondefine(SdifRWLowLevelXhXmemberX2_2,char *SdifStringToNV ( char *str);) int SdiffGetSignaturefromSdifString(SdifStringT *SdifString, SdifSignature *Signature); cocoondefine(SdifRWLowLevelXhXmemberX3,int_SdiffGetSignaturefromSdifString(SdifStringT_*SdifString,_SdifSignature_*Signature)$) cocoondefine(SdifRWLowLevelXhXmemberX3_2,int SdiffGetSignaturefromSdifString(SdifStringT *SdifString, SdifSignature *Signature);) int SdiffGetWordUntilfromSdifString(SdifStringT *SdifString, char* s, size_t ncMax,char *CharsEnd); cocoondefine(SdifRWLowLevelXhXmemberX4,int_SdiffGetWordUntilfromSdifString(SdifStringT_*SdifString,_char*_s,_size_t_ncMax,char_*CharsEnd)$) cocoondefine(SdifRWLowLevelXhXmemberX4_2,int SdiffGetWordUntilfromSdifString(SdifStringT *SdifString, char* s, size_t ncMax,char *CharsEnd);) int SdiffGetStringUntilfromSdifString(SdifStringT *SdifString, char *s, size_t ncMax, char *CharsEnd); cocoondefine(SdifRWLowLevelXhXmemberX5,int_SdiffGetStringUntilfromSdifString(SdifStringT_*SdifString,_char_*s,_size_t_ncMax,_char_*CharsEnd)$) cocoondefine(SdifRWLowLevelXhXmemberX5_2,int SdiffGetStringUntilfromSdifString(SdifStringT *SdifString, char *s, size_t ncMax, char *CharsEnd);) int SdiffGetStringWeakUntilfromSdifString(SdifStringT *SdifString, char* s, size_t ncMax, char *CharsEnd); cocoondefine(SdifRWLowLevelXhXmemberX6,int_SdiffGetStringWeakUntilfromSdifString(SdifStringT_*SdifString,_char*_s,_size_t_ncMax,_char_*CharsEnd)$) cocoondefine(SdifRWLowLevelXhXmemberX6_2,int SdiffGetStringWeakUntilfromSdifString(SdifStringT *SdifString, char* s, size_t ncMax, char *CharsEnd);) SdifSignature SdifStringToSignature (char *str); cocoondefine(SdifRWLowLevelXhXmemberX7,SdifSignature_SdifStringToSignature_(char_*str)$) cocoondefine(SdifRWLowLevelXhXmemberX7_2,SdifSignature SdifStringToSignature (char *str);) cocoondefine(SdifSelectXhXmemberX1,typedef_struct_SdifSelectElementIntT$$) cocoondefine(SdifSelectXhXmemberX1_2,typedef struct SdifSelectElementIntT;;) cocoondefine(SdifSelectXhXmemberX2,typedef_union_SdifSelectValueS_SdifSelectValueT$) cocoondefine(SdifSelectXhXmemberX2_2,typedef union SdifSelectValueS SdifSelectValueT;) cocoondefine(SdifSelectXhXmemberX3,typedef_struct_SdifSelectElementS_SdifSelectElementT,_*SdifSelectElementP$) cocoondefine(SdifSelectXhXmemberX3_2,typedef struct SdifSelectElementS SdifSelectElementT, *SdifSelectElementP;) cocoondefine(SdifSelectXhXmemberX4,typedef_struct_SdifSelectionT$) cocoondefine(SdifSelectXhXmemberX4_2,typedef struct SdifSelectionT;) char *SdifBaseName (const char* inPathFileName); cocoondefine(SdifSelectXhXmemberX5,char_*SdifBaseName_(const_char*_inPathFileName)$) cocoondefine(SdifSelectXhXmemberX5_2,char *SdifBaseName (const char* inPathFileName);) // Init/Deinit SdifSelectionT *SdifCreateSelection (void); cocoondefine(SdifSelectXhXmemberX6,SdifSelectionT_*SdifCreateSelection_(void)$) cocoondefine(SdifSelectXhXmemberX6_2,SdifSelectionT *SdifCreateSelection (void);) int SdifInitSelection (SdifSelectionT *sel, const char *filename, int namelen); cocoondefine(SdifSelectXhXmemberX7,int_SdifInitSelection_(SdifSelectionT_*sel,_const_char_*filename,_int_namelen)$) cocoondefine(SdifSelectXhXmemberX7_2,int SdifInitSelection (SdifSelectionT *sel, const char *filename, int namelen);) int SdifFreeSelection (SdifSelectionT *sel); cocoondefine(SdifSelectXhXmemberX8,int_SdifFreeSelection_(SdifSelectionT_*sel)$) cocoondefine(SdifSelectXhXmemberX8_2,int SdifFreeSelection (SdifSelectionT *sel);) // Parse and Set Selection char *SdifSelectFindSelection (const char *filename); cocoondefine(SdifSelectXhXmemberX9,char_*SdifSelectFindSelection_(const_char_*filename)$) cocoondefine(SdifSelectXhXmemberX9_2,char *SdifSelectFindSelection (const char *filename);) char *SdifGetFilenameAndSelection ( const char *filename, SdifSelectionT *sel); cocoondefine(SdifSelectXhXmemberX10,char_*SdifGetFilenameAndSelection_(_const_char_*filename,_SdifSelectionT_*sel)$) cocoondefine(SdifSelectXhXmemberX10_2,char *SdifGetFilenameAndSelection ( const char *filename, SdifSelectionT *sel);) void SdifPrintSelection (FILE *out, SdifSelectionT *sel, int options); cocoondefine(SdifSelectXhXmemberX11,void_SdifPrintSelection_(FILE_*out,_SdifSelectionT_*sel,_int_options)$) cocoondefine(SdifSelectXhXmemberX11_2,void SdifPrintSelection (FILE *out, SdifSelectionT *sel, int options);) // Add Selections to Element Lists void SdifSelectAdd_TYPE_ (SdifListT *list, _datatype_ value); cocoondefine(SdifSelectXhXmemberX12,void_SdifSelectAdd_TYPE__(SdifListT_*list,__datatype__value)$) cocoondefine(SdifSelectXhXmemberX12_2,void SdifSelectAdd_TYPE_ (SdifListT *list, _datatype_ value);) void SdifSelectAdd_TYPE_Range (SdifListT *list, _datatype_ value, SdifSelectTokens rt, _datatype_ range); cocoondefine(SdifSelectXhXmemberX13,void_SdifSelectAdd_TYPE_Range_(SdifListT_*list,__datatype__value,_SdifSelectTokens_rt,__datatype__range)$) cocoondefine(SdifSelectXhXmemberX13_2,void SdifSelectAdd_TYPE_Range (SdifListT *list, _datatype_ value, SdifSelectTokens rt, _datatype_ range);) // Query parsed ranges (list of ranges). int SdifSelectGetNextIntRange ( SdifListP list, SdifSelectElementIntT *range, int force_range); cocoondefine(SdifSelectXhXmemberX14,int_SdifSelectGetNextIntRange_(_SdifListP_list,_SdifSelectElementIntT_*range,_int_force_range)$) cocoondefine(SdifSelectXhXmemberX14_2,int SdifSelectGetNextIntRange ( SdifListP list, SdifSelectElementIntT *range, int force_range);) int SdifSelectGetNextRealRange ( SdifListP list, SdifSelectElementRealT *range, int force_range); cocoondefine(SdifSelectXhXmemberX15,int_SdifSelectGetNextRealRange_(_SdifListP_list,_SdifSelectElementRealT_*range,_int_force_range)$) cocoondefine(SdifSelectXhXmemberX15_2,int SdifSelectGetNextRealRange ( SdifListP list, SdifSelectElementRealT *range, int force_range);) SdifSignature SdifSelectGetNextSignature ( SdifListP list); cocoondefine(SdifSelectXhXmemberX16,SdifSignature_SdifSelectGetNextSignature_(_SdifListP_list)$) cocoondefine(SdifSelectXhXmemberX16_2,SdifSignature SdifSelectGetNextSignature ( SdifListP list);) char *SdifSelectGetNextString ( SdifListP list); cocoondefine(SdifSelectXhXmemberX17,char_*SdifSelectGetNextString_(_SdifListP_list)$) cocoondefine(SdifSelectXhXmemberX17_2,char *SdifSelectGetNextString ( SdifListP list);) int SdifSelectGetFirstInt (SdifListP l, int defval); cocoondefine(SdifSelectXhXmemberX18,int_SdifSelectGetFirstInt_(SdifListP_l,_int_defval)$) cocoondefine(SdifSelectXhXmemberX18_2,int SdifSelectGetFirstInt (SdifListP l, int defval);) // Selection Testing Functions // Using a Selection in File I/O. int SdifFrameIsSelected (SdifFrameHeaderT *FramH, SdifSelectionT *sel); cocoondefine(SdifSelectXhXmemberX19,int_SdifFrameIsSelected_(SdifFrameHeaderT_*FramH,_SdifSelectionT_*sel)$) cocoondefine(SdifSelectXhXmemberX19_2,int SdifFrameIsSelected (SdifFrameHeaderT *FramH, SdifSelectionT *sel);) int SdifMatrixIsSelected (SdifMatrixHeaderT *MtrxH, SdifSelectionT *sel); cocoondefine(SdifSelectXhXmemberX20,int_SdifMatrixIsSelected_(SdifMatrixHeaderT_*MtrxH,_SdifSelectionT_*sel)$) cocoondefine(SdifSelectXhXmemberX20_2,int SdifMatrixIsSelected (SdifMatrixHeaderT *MtrxH, SdifSelectionT *sel);) int SdifFCurrFrameIsSelected (SdifFileT *file); cocoondefine(SdifSelectXhXmemberX21,int_SdifFCurrFrameIsSelected_(SdifFileT_*file)$) cocoondefine(SdifSelectXhXmemberX21_2,int SdifFCurrFrameIsSelected (SdifFileT *file);) int SdifFCurrMatrixIsSelected (SdifFileT *file); cocoondefine(SdifSelectXhXmemberX22,int_SdifFCurrMatrixIsSelected_(SdifFileT_*file)$) cocoondefine(SdifSelectXhXmemberX22_2,int SdifFCurrMatrixIsSelected (SdifFileT *file);) // Handling of a Table of Signatures SdifSignatureTabT* SdifCreateSignatureTab (const SdifUInt4 NbSignMax); cocoondefine(SdifSignatureTabXhXmemberX1,SdifSignatureTabT*_SdifCreateSignatureTab_(const_SdifUInt4_NbSignMax)$) cocoondefine(SdifSignatureTabXhXmemberX1_2,SdifSignatureTabT* SdifCreateSignatureTab (const SdifUInt4 NbSignMax);) void SdifKillSignatureTab (SdifSignatureTabT *SignTab); cocoondefine(SdifSignatureTabXhXmemberX2,void_SdifKillSignatureTab_(SdifSignatureTabT_*SignTab)$) cocoondefine(SdifSignatureTabXhXmemberX2_2,void SdifKillSignatureTab (SdifSignatureTabT *SignTab);) SdifSignatureTabT* SdifReAllocSignatureTab(SdifSignatureTabT *SignTab, const SdifUInt4 NewNbSignMax); cocoondefine(SdifSignatureTabXhXmemberX3,SdifSignatureTabT*_SdifReAllocSignatureTab(SdifSignatureTabT_*SignTab,_const_SdifUInt4_NewNbSignMax)$) cocoondefine(SdifSignatureTabXhXmemberX3_2,SdifSignatureTabT* SdifReAllocSignatureTab(SdifSignatureTabT *SignTab, const SdifUInt4 NewNbSignMax);) SdifSignatureTabT* SdifReInitSignatureTab (SdifSignatureTabT *SignTab, const SdifUInt4 NewNbSignMax); cocoondefine(SdifSignatureTabXhXmemberX4,SdifSignatureTabT*_SdifReInitSignatureTab_(SdifSignatureTabT_*SignTab,_const_SdifUInt4_NewNbSignMax)$) cocoondefine(SdifSignatureTabXhXmemberX4_2,SdifSignatureTabT* SdifReInitSignatureTab (SdifSignatureTabT *SignTab, const SdifUInt4 NewNbSignMax);) SdifSignatureTabT* SdifPutInSignatureTab (SdifSignatureTabT *SignTab, const SdifSignature Sign); cocoondefine(SdifSignatureTabXhXmemberX5,SdifSignatureTabT*_SdifPutInSignatureTab_(SdifSignatureTabT_*SignTab,_const_SdifSignature_Sign)$) cocoondefine(SdifSignatureTabXhXmemberX5_2,SdifSignatureTabT* SdifPutInSignatureTab (SdifSignatureTabT *SignTab, const SdifSignature Sign);) SdifSignatureTabT* SdifAddToSignatureTab (SdifSignatureTabT *SignTab, const SdifSignature Sign); cocoondefine(SdifSignatureTabXhXmemberX6,SdifSignatureTabT*_SdifAddToSignatureTab_(SdifSignatureTabT_*SignTab,_const_SdifSignature_Sign)$) cocoondefine(SdifSignatureTabXhXmemberX6_2,SdifSignatureTabT* SdifAddToSignatureTab (SdifSignatureTabT *SignTab, const SdifSignature Sign);) SdifSignature SdifGetFromSignatureTab(const SdifSignatureTabT* SignTab, const int index); cocoondefine(SdifSignatureTabXhXmemberX7,SdifSignature_SdifGetFromSignatureTab(const_SdifSignatureTabT*_SignTab,_const_int_index)$) cocoondefine(SdifSignatureTabXhXmemberX7_2,SdifSignature SdifGetFromSignatureTab(const SdifSignatureTabT* SignTab, const int index);) SdifSignature SdifIsInSignatureTab (const SdifSignatureTabT *SignTab, const SdifSignature Sign); cocoondefine(SdifSignatureTabXhXmemberX8,SdifSignature_SdifIsInSignatureTab_(const_SdifSignatureTabT_*SignTab,_const_SdifSignature_Sign)$) cocoondefine(SdifSignatureTabXhXmemberX8_2,SdifSignature SdifIsInSignatureTab (const SdifSignatureTabT *SignTab, const SdifSignature Sign);) int SdifFindInSignatureTab (const SdifSignatureTabT* SignTab, const SdifSignature Sign); cocoondefine(SdifSignatureTabXhXmemberX9,int_SdifFindInSignatureTab_(const_SdifSignatureTabT*_SignTab,_const_SdifSignature_Sign)$) cocoondefine(SdifSignatureTabXhXmemberX9_2,int SdifFindInSignatureTab (const SdifSignatureTabT* SignTab, const SdifSignature Sign);) cocoondefine(SdifStreamIDXhXmemberX1,typedef_struct_SdifStreamIDS_SdifStreamIDT$) cocoondefine(SdifStreamIDXhXmemberX1_2,typedef struct SdifStreamIDS SdifStreamIDT;) cocoondefine(SdifStreamIDXhXmemberX2,typedef_struct_SdifStreamIDTableS_SdifStreamIDTableT$) cocoondefine(SdifStreamIDXhXmemberX2_2,typedef struct SdifStreamIDTableS SdifStreamIDTableT;) // Stream ID Tables for 1IDS ASCII chunk SdifStreamIDT* SdifCreateStreamID(SdifUInt4 NumID, char *Source, char *TreeWay); cocoondefine(SdifStreamIDXhXmemberX3,SdifStreamIDT*_SdifCreateStreamID(SdifUInt4_NumID,_char_*Source,_char_*TreeWay)$) cocoondefine(SdifStreamIDXhXmemberX3_2,SdifStreamIDT* SdifCreateStreamID(SdifUInt4 NumID, char *Source, char *TreeWay);) SdifStreamIDTableT* SdifCreateStreamIDTable (SdifUInt4 HashSize); cocoondefine(SdifStreamIDXhXmemberX4,SdifStreamIDTableT*_SdifCreateStreamIDTable_(SdifUInt4_HashSize)$) cocoondefine(SdifStreamIDXhXmemberX4_2,SdifStreamIDTableT* SdifCreateStreamIDTable (SdifUInt4 HashSize);) void SdifKillStreamIDTable (SdifStreamIDTableT *SIDTable); cocoondefine(SdifStreamIDXhXmemberX5,void_SdifKillStreamIDTable_(SdifStreamIDTableT_*SIDTable)$) cocoondefine(SdifStreamIDXhXmemberX5_2,void SdifKillStreamIDTable (SdifStreamIDTableT *SIDTable);) SdifStreamIDT* SdifStreamIDTablePutSID (SdifStreamIDTableT *SIDTable, SdifUInt4 NumID, char *Source, char *TreeWay); cocoondefine(SdifStreamIDXhXmemberX6,SdifStreamIDT*_SdifStreamIDTablePutSID_(SdifStreamIDTableT_*SIDTable,_SdifUInt4_NumID,_char_*Source,_char_*TreeWay)$) cocoondefine(SdifStreamIDXhXmemberX6_2,SdifStreamIDT* SdifStreamIDTablePutSID (SdifStreamIDTableT *SIDTable, SdifUInt4 NumID, char *Source, char *TreeWay);) SdifStreamIDT* SdifStreamIDTableGetSID (SdifStreamIDTableT *SIDTable, SdifUInt4 NumID); cocoondefine(SdifStreamIDXhXmemberX7,SdifStreamIDT*_SdifStreamIDTableGetSID_(SdifStreamIDTableT_*SIDTable,_SdifUInt4_NumID)$) cocoondefine(SdifStreamIDXhXmemberX7_2,SdifStreamIDT* SdifStreamIDTableGetSID (SdifStreamIDTableT *SIDTable, SdifUInt4 NumID);) SdifUInt4 SdifStreamIDTableGetNbData (SdifStreamIDTableT *SIDTable); cocoondefine(SdifStreamIDXhXmemberX8,SdifUInt4_SdifStreamIDTableGetNbData_(SdifStreamIDTableT_*SIDTable)$) cocoondefine(SdifStreamIDXhXmemberX8_2,SdifUInt4 SdifStreamIDTableGetNbData (SdifStreamIDTableT *SIDTable);) SdifUInt4 SdifStreamIDEntryGetSID (SdifStreamIDT *SID); cocoondefine(SdifStreamIDXhXmemberX9,SdifUInt4_SdifStreamIDEntryGetSID_(SdifStreamIDT_*SID)$) cocoondefine(SdifStreamIDXhXmemberX9_2,SdifUInt4 SdifStreamIDEntryGetSID (SdifStreamIDT *SID);) char *SdifStreamIDEntryGetSource (SdifStreamIDT *SID); cocoondefine(SdifStreamIDXhXmemberX10,char_*SdifStreamIDEntryGetSource_(SdifStreamIDT_*SID)$) cocoondefine(SdifStreamIDXhXmemberX10_2,char *SdifStreamIDEntryGetSource (SdifStreamIDT *SID);) char *SdifStreamIDEntryGetTreeWay (SdifStreamIDT *SID); cocoondefine(SdifStreamIDXhXmemberX11,char_*SdifStreamIDEntryGetTreeWay_(SdifStreamIDT_*SID)$) cocoondefine(SdifStreamIDXhXmemberX11_2,char *SdifStreamIDEntryGetTreeWay (SdifStreamIDT *SID);) SdifStringT * SdifStringNew(void); cocoondefine(SdifStringXhXmemberX1,SdifStringT_*_SdifStringNew(void)$) cocoondefine(SdifStringXhXmemberX1_2,SdifStringT * SdifStringNew(void);) void SdifStringFree(SdifStringT * SdifString); cocoondefine(SdifStringXhXmemberX2,void_SdifStringFree(SdifStringT_*_SdifString)$) cocoondefine(SdifStringXhXmemberX2_2,void SdifStringFree(SdifStringT * SdifString);) int SdifStringAppend(SdifStringT * SdifString ,char *strToAppend); cocoondefine(SdifStringXhXmemberX3,int_SdifStringAppend(SdifStringT_*_SdifString_,char_*strToAppend)$) cocoondefine(SdifStringXhXmemberX3_2,int SdifStringAppend(SdifStringT * SdifString ,char *strToAppend);) int SdifStringGetC(SdifStringT * SdifString); cocoondefine(SdifStringXhXmemberX4,int_SdifStringGetC(SdifStringT_*_SdifString)$) cocoondefine(SdifStringXhXmemberX4_2,int SdifStringGetC(SdifStringT * SdifString);) int SdifStringUngetC(SdifStringT * SdifString); cocoondefine(SdifStringXhXmemberX5,int_SdifStringUngetC(SdifStringT_*_SdifString)$) cocoondefine(SdifStringXhXmemberX5_2,int SdifStringUngetC(SdifStringT * SdifString);) int SdifStringIsEOS(SdifStringT *SdifString); cocoondefine(SdifStringXhXmemberX6,int_SdifStringIsEOS(SdifStringT_*SdifString)$) cocoondefine(SdifStringXhXmemberX6_2,int SdifStringIsEOS(SdifStringT *SdifString);) SdifMatrixTypeT* SdifTestMatrixType (SdifFileT *SdifF, SdifSignature Signature); cocoondefine(SdifTestXhXmemberX1,SdifMatrixTypeT*_SdifTestMatrixType_(SdifFileT_*SdifF,_SdifSignature_Signature)$) cocoondefine(SdifTestXhXmemberX1_2,SdifMatrixTypeT* SdifTestMatrixType (SdifFileT *SdifF, SdifSignature Signature);) size_t SdifTextToSdif (SdifFileT *SdifF, char *TextStreamName); cocoondefine(SdifTextConvXhXmemberX1,size_t_SdifTextToSdif_(SdifFileT_*SdifF,_char_*TextStreamName)$) cocoondefine(SdifTextConvXhXmemberX1_2,size_t SdifTextToSdif (SdifFileT *SdifF, char *TextStreamName);)