Mercurial > mplayer.hg
comparison libmpdemux/pnm.h @ 8570:16af93c01dbf
pnm:// support (ported from xine)
author | arpi |
---|---|
date | Thu, 26 Dec 2002 17:25:22 +0000 |
parents | |
children | 281d155fb37f |
comparison
equal
deleted
inserted
replaced
8569:a34876f047d9 | 8570:16af93c01dbf |
---|---|
1 /* | |
2 * Copyright (C) 2002 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA | |
19 * | |
20 * $Id$ | |
21 * | |
22 * pnm util functions header by joschka | |
23 */ | |
24 | |
25 #ifndef HAVE_PNM_H | |
26 #define HAVE_PNM_H | |
27 | |
28 #ifndef __CYGWIN__ | |
29 #include <inttypes.h> | |
30 #endif | |
31 /*#include "xine_internal.h" */ | |
32 | |
33 typedef struct pnm_s pnm_t; | |
34 | |
35 pnm_t* pnm_connect (int fd,char *url); | |
36 | |
37 int pnm_read (pnm_t *this, char *data, int len); | |
38 void pnm_close (pnm_t *this); | |
39 | |
40 int pnm_peek_header (pnm_t *this, char *data); | |
41 | |
42 #endif | |
43 |