\doxysection{cfile.\+h}
\label{cfile_8h_source}\index{include/osmocom/dsp/cfile.h@{include/osmocom/dsp/cfile.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{comment}{/*}}
\DoxyCodeLine{2 \textcolor{comment}{ * cfile.h}}
\DoxyCodeLine{3 \textcolor{comment}{ *}}
\DoxyCodeLine{4 \textcolor{comment}{ * Helpers to read .cfile (complex samples from gnuradio)}}
\DoxyCodeLine{5 \textcolor{comment}{ *}}
\DoxyCodeLine{6 \textcolor{comment}{ * Copyright (C) 2011  Sylvain Munaut <tnt@246tNt.com>}}
\DoxyCodeLine{7 \textcolor{comment}{ *}}
\DoxyCodeLine{8 \textcolor{comment}{ * All Rights Reserved}}
\DoxyCodeLine{9 \textcolor{comment}{ *}}
\DoxyCodeLine{10 \textcolor{comment}{ * This program is free software; you can redistribute it and/or modify}}
\DoxyCodeLine{11 \textcolor{comment}{ * it under the terms of the GNU General Public License as published by}}
\DoxyCodeLine{12 \textcolor{comment}{ * the Free Software Foundation; either version 2 of the License, or}}
\DoxyCodeLine{13 \textcolor{comment}{ * (at your option) any later version.}}
\DoxyCodeLine{14 \textcolor{comment}{ *}}
\DoxyCodeLine{15 \textcolor{comment}{ * This program is distributed in the hope that it will be useful,}}
\DoxyCodeLine{16 \textcolor{comment}{ * but WITHOUT ANY WARRANTY; without even the implied warranty of}}
\DoxyCodeLine{17 \textcolor{comment}{ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the}}
\DoxyCodeLine{18 \textcolor{comment}{ * GNU General Public License for more details.}}
\DoxyCodeLine{19 \textcolor{comment}{ *}}
\DoxyCodeLine{20 \textcolor{comment}{ * You should have received a copy of the GNU General Public License along}}
\DoxyCodeLine{21 \textcolor{comment}{ * with this program; if not, write to the Free Software Foundation, Inc.,}}
\DoxyCodeLine{22 \textcolor{comment}{ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-\/1301 USA.}}
\DoxyCodeLine{23 \textcolor{comment}{ */}}
\DoxyCodeLine{24 }
\DoxyCodeLine{25 \textcolor{preprocessor}{\#ifndef \_\_OSMO\_DSP\_CFILE\_H\_\_}}
\DoxyCodeLine{26 \textcolor{preprocessor}{\#define \_\_OSMO\_DSP\_CFILE\_H\_\_}}
\DoxyCodeLine{27 }
\DoxyCodeLine{36 \textcolor{preprocessor}{\#include <complex.h>}}
\DoxyCodeLine{37 }
\DoxyCodeLine{39 \textcolor{keyword}{struct }cfile \{}
\DoxyCodeLine{40         \textcolor{keywordtype}{float} complex *data;        }
\DoxyCodeLine{41         \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{int} len;    }
\DoxyCodeLine{42         \textcolor{keywordtype}{size\_t} \_blen;              }
\DoxyCodeLine{43 \};}
\DoxyCodeLine{44 }
\DoxyCodeLine{45 \textcolor{keyword}{struct }cfile *cfile\_load(\textcolor{keyword}{const} \textcolor{keywordtype}{char} *filename);}
\DoxyCodeLine{46 \textcolor{keywordtype}{void} cfile\_release(\textcolor{keyword}{struct} cfile *cf);}
\DoxyCodeLine{47 }
\DoxyCodeLine{50 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \_\_OSMO\_DSP\_CFILE\_H\_\_ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
