oggdec: Kill unused ->stream_start of struct private_oggdec_data().
[paraslash.git] / fd.h
1 /*
2  * Copyright (C) 2006-2009 Andre Noll <maan@systemlinux.org>
3  *
4  * Licensed under the GPL v2. For licencing details see COPYING.
5  */
6
7 /** \file fd.h exported symbols from fd.c */
8
9 int write_all(int fd, const char *buf, size_t *len);
10 int para_readv(int fd, struct iovec *iov, int iovcnt);
11 int file_exists(const char *);
12 int para_select(int n, fd_set *readfds, fd_set *writefds,
13                 struct timeval *timeout_tv);
14 __must_check int mark_fd_nonblocking(int fd);
15 __must_check int mark_fd_blocking(int fd);
16 void para_fd_set(int fd, fd_set *fds, int *max_fileno);
17 __must_check int para_fgets(char *line, int size, FILE *f);
18 int para_mmap(size_t length, int prot, int flags, int fd, off_t offset,
19                 void *map);
20 int para_open(const char *path, int flags, mode_t mode);
21 int para_opendir(const char *dirname, DIR **dir, int *cwd);
22 int para_mkdir(const char *path, mode_t mode);
23 int para_fchdir(int fd);
24 int para_chdir(const char *path);
25 int mmap_full_file(const char *filename, int open_mode, void **map,
26         size_t *size, int *fd_ptr);
27 int para_munmap(void *start, size_t length);
28 int write_ok(int fd);
29 void valid_fd_012(void);
30 int write_nonblock(int fd, const char *buf, size_t len,
31                 size_t max_bytes_per_write);
32 int for_each_file_in_dir(const char *dirname,
33                 int (*func)(const char *, void *), void *private_data);