diff options
author | Michael Adam <obnox@samba.org> | 2011-08-17 10:33:58 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-10-11 14:17:56 +0200 |
commit | bdee9458f66210a06eb29836a66e14d5d8a7fd33 (patch) | |
tree | de7f63ff488d61423ff57c1450e0d29479759238 /source3/include | |
parent | 6656de134612935ed12643064f307cb995cd5cbc (diff) | |
download | samba-bdee9458f66210a06eb29836a66e14d5d8a7fd33.tar.gz samba-bdee9458f66210a06eb29836a66e14d5d8a7fd33.tar.bz2 samba-bdee9458f66210a06eb29836a66e14d5d8a7fd33.zip |
s3:sessionid: use dbwrap_travers_read() in sessionid_travers_read()
This also changes the return code of sessionid_traverse_read() to NTSTATUS.
It also uses traverse_read instead of traverse.
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 7aa1b01baf..0fd2281dbf 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1679,10 +1679,10 @@ NTSTATUS sessionid_traverse(int (*fn)(struct db_record *rec, const char *key, struct sessionid *session, void *private_data), void *private_data); -int sessionid_traverse_read(int (*fn)(const char *key, - struct sessionid *session, - void *private_data), - void *private_data); +NTSTATUS sessionid_traverse_read(int (*fn)(const char *key, + struct sessionid *session, + void *private_data), + void *private_data); /* The following definitions come from utils/passwd_util.c */ |