xine-lib: xine-lib-1.2.13/src/input/pnm.h Source File

xine-lib 1.2.13-20230125hg15249

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
35int pnm_read (pnm_t *this, char *data, int len);
36void pnm_close (pnm_t *this);
37
38int pnm_peek_header (pnm_t *this, char *data, int maxsize);
39
40#endif
41
pnm_connect
pnm_t * pnm_connect(xine_stream_t *stream, const char *url)
Definition pnm.c:723
pnm_peek_header
int pnm_peek_header(pnm_t *this, char *data, int maxsize)
Definition pnm.c:834
pnm_read
int pnm_read(pnm_t *this, char *data, int len)
Definition pnm.c:802
pnm_close
void pnm_close(pnm_t *this)
Definition pnm.c:844
pnm_s
Definition pnm.c:49
pnm_s::stream
xine_stream_t * stream
Definition pnm.c:51
pnm_s::url
char * url
Definition pnm.c:58
xine_stream_s
Definition xine_internal.h:123
xine_internal.h