diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-02 19:22:22 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-04 20:32:50 +0200 |
commit | 867626abcad88b84684e9d328abf51d4f410a1cb (patch) | |
tree | a15ee1aefc33c3c1278e8ab955dcb8db38ab5463 /source3/include | |
parent | 2ff73f0df3257c27cb3cdae779e679de3170be17 (diff) | |
download | samba-867626abcad88b84684e9d328abf51d4f410a1cb.tar.gz samba-867626abcad88b84684e9d328abf51d4f410a1cb.tar.bz2 samba-867626abcad88b84684e9d328abf51d4f410a1cb.zip |
s3: Convert cli_list() to return NTSTATUS
If needed, the callback functions can count themselves
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 4e3ec7a24f..f9684ad16e 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2580,9 +2580,9 @@ int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute, int cli_list_old(struct cli_state *cli,const char *Mask,uint16 attribute, void (*fn)(const char *, struct file_info *, const char *, void *), void *state); -int cli_list(struct cli_state *cli,const char *Mask,uint16 attribute, - void (*fn)(const char *, struct file_info *, const char *, - void *), void *state); +NTSTATUS cli_list(struct cli_state *cli,const char *Mask,uint16 attribute, + void (*fn)(const char *, struct file_info *, const char *, + void *), void *state); /* The following definitions come from libsmb/climessage.c */ |