xine-lib  1.2.9
pnm.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2009 the xine project
3  *
4  * This file is part of xine, a free video player.
5  *
6  * xine is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * xine is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19  *
20  * pnm util functions header by joschka
21  */
22 
23 #ifndef HAVE_PNM_H
24 #define HAVE_PNM_H
25 
26 #ifndef __CYGWIN__
27 #include <inttypes.h>
28 #endif
29 #include <xine/xine_internal.h>
30 
31 typedef struct pnm_s pnm_t;
32 
33 pnm_t* pnm_connect (xine_stream_t *stream, const char *url);
34 
35 int pnm_read (pnm_t *this, char *data, int len);
36 void pnm_close (pnm_t *this);
37 
38 int pnm_peek_header (pnm_t *this, char *data, int maxsize);
39 
40 #endif
41 
int pnm_peek_header(pnm_t *this, char *data, int maxsize)
Definition: pnm.c:852
xine_stream_t * stream
Definition: pnm.c:67
Definition: xine_internal.h:210
int pnm_read(pnm_t *this, char *data, int len)
Definition: pnm.c:820
void pnm_close(pnm_t *this)
Definition: pnm.c:862
pnm_t * pnm_connect(xine_stream_t *stream, const char *url)
Definition: pnm.c:733
Definition: pnm.c:65
char * url
Definition: pnm.c:74