diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-08-27 18:10:19 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:02:54 -0500 |
commit | 61ffa08f4c95e29d301de9fbabd6e71c2dbc1056 (patch) | |
tree | 5639bb3b7628532080737e4e1b1ff0b835ee4977 /source4/client | |
parent | 4fb038b0b8e7a4bb69ac0d9022684eeaca8a491a (diff) | |
download | samba-61ffa08f4c95e29d301de9fbabd6e71c2dbc1056.tar.gz samba-61ffa08f4c95e29d301de9fbabd6e71c2dbc1056.tar.bz2 samba-61ffa08f4c95e29d301de9fbabd6e71c2dbc1056.zip |
r24712: No longer expose the 'BOOL' data type in any interfaces.
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
Diffstat (limited to 'source4/client')
-rw-r--r-- | source4/client/cifsdd.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/client/cifsdd.h b/source4/client/cifsdd.h index f0f741cf57..2fe8de6ea3 100644 --- a/source4/client/cifsdd.h +++ b/source4/client/cifsdd.h @@ -36,7 +36,7 @@ struct argdef union { - BOOL bval; + bool bval; uint64_t nval; const char * pval; } arg_val; @@ -45,14 +45,14 @@ struct argdef int set_arg_argv(const char * argv); void set_arg_val(const char * name, ...); -BOOL check_arg_bool(const char * name); +bool check_arg_bool(const char * name); uint64_t check_arg_numeric(const char * name); const char * check_arg_pathname(const char * name); -typedef BOOL (*dd_seek_func)(void * handle, uint64_t offset); -typedef BOOL (*dd_read_func)(void * handle, uint8_t * buf, +typedef bool (*dd_seek_func)(void * handle, uint64_t offset); +typedef bool (*dd_read_func)(void * handle, uint8_t * buf, uint64_t wanted, uint64_t * actual); -typedef BOOL (*dd_write_func)(void * handle, uint8_t * buf, +typedef bool (*dd_write_func)(void * handle, uint8_t * buf, uint64_t wanted, uint64_t * actual); struct dd_stats_record @@ -90,9 +90,9 @@ struct dd_iohandle struct dd_iohandle * dd_open_path(const char * path, uint64_t io_size, int options); -BOOL dd_fill_block(struct dd_iohandle * h, uint8_t * buf, +bool dd_fill_block(struct dd_iohandle * h, uint8_t * buf, uint64_t * buf_size, uint64_t need_size, uint64_t block_size); -BOOL dd_flush_block(struct dd_iohandle * h, uint8_t * buf, +bool dd_flush_block(struct dd_iohandle * h, uint8_t * buf, uint64_t * buf_size, uint64_t block_size); /* vim: set sw=8 sts=8 ts=8 tw=79 : */ |