File: iobuf.h

package info (click to toggle)
bglibs 2.04%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,368 kB
  • sloc: ansic: 15,820; perl: 674; sh: 64; makefile: 26
file content (22 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef IO_BUF__H__
#define IO_BUF__H__

#include "iobuf_common.h"
#include "ibuf.h"
#include "obuf.h"

/** \addtogroup iobuf
 * @{ */

/** \name Mass copying functions. */

int iobuf_copy(ibuf* in, obuf* out);
int iobuf_copyflush(ibuf* in, obuf* out);
int ibuf_copytofd(ibuf* in, int out);
int obuf_copyfromfd(int in, obuf* out);

/** @} */

/** @} */

#endif