1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/lib/ccan/read_write_all/read_write_all.h
Rusty Russell 361f3ea9ee lib/ccan: import failtest and required ccan modules for TDB2 unit tests.
New modules: failtest, list, time, read_write_all and tlist.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-03-07 13:16:16 +11:00

11 lines
292 B
C

/* Licensed under LGPLv2+ - see LICENSE file for details */
#ifndef _CCAN_READ_WRITE_H
#define _CCAN_READ_WRITE_H
#include <stddef.h>
#include <stdbool.h>
bool write_all(int fd, const void *data, size_t size);
bool read_all(int fd, void *data, size_t size);
#endif /* _CCAN_READ_WRITE_H */