diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-15 12:45:17 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-07-20 09:17:10 +1000 |
commit | f16d8f4eb86ecc4741c25e5ed87b2ea4c6717a31 (patch) | |
tree | bd839288be389cbfe84852e0a114b3ee77589462 /source3/include/printing.h | |
parent | d7d8a5ed94a2b572b6818008a858f8c6b529dd03 (diff) | |
download | samba-f16d8f4eb86ecc4741c25e5ed87b2ea4c6717a31.tar.gz samba-f16d8f4eb86ecc4741c25e5ed87b2ea4c6717a31.tar.bz2 samba-f16d8f4eb86ecc4741c25e5ed87b2ea4c6717a31.zip |
s3-auth Use struct auth3_session_info outside the auth subsystem
This seperation between the structure used inside the auth modules and
in the wider codebase allows for a gradual migration from struct
auth_serversupplied_info -> struct auth_session_info (from auth.idl)
The idea here is that we keep a clear seperation between the structure
before and after the local groups, local user lookup and the session
key modifications have been processed, as the lack of this seperation
has caused issues in the past.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/include/printing.h')
-rw-r--r-- | source3/include/printing.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/include/printing.h b/source3/include/printing.h index 1bbb72c7be..8075241092 100644 --- a/source3/include/printing.h +++ b/source3/include/printing.h @@ -198,13 +198,13 @@ bool print_job_set_name(struct tevent_context *ev, struct messaging_context *msg_ctx, const char *sharename, uint32 jobid, const char *name); bool print_job_get_name(TALLOC_CTX *mem_ctx, const char *sharename, uint32_t jobid, char **name); -WERROR print_job_delete(const struct auth_serversupplied_info *server_info, +WERROR print_job_delete(const struct auth3_session_info *server_info, struct messaging_context *msg_ctx, int snum, uint32_t jobid); -bool print_job_pause(const struct auth_serversupplied_info *server_info, +bool print_job_pause(const struct auth3_session_info *server_info, struct messaging_context *msg_ctx, int snum, uint32 jobid, WERROR *errcode); -bool print_job_resume(const struct auth_serversupplied_info *server_info, +bool print_job_resume(const struct auth3_session_info *server_info, struct messaging_context *msg_ctx, int snum, uint32 jobid, WERROR *errcode); ssize_t print_job_write(struct tevent_context *ev, @@ -212,7 +212,7 @@ ssize_t print_job_write(struct tevent_context *ev, int snum, uint32 jobid, const char *buf, size_t size); int print_queue_length(struct messaging_context *msg_ctx, int snum, print_status_struct *pstatus); -WERROR print_job_start(const struct auth_serversupplied_info *server_info, +WERROR print_job_start(const struct auth3_session_info *server_info, struct messaging_context *msg_ctx, const char *clientmachine, int snum, const char *docname, const char *filename, @@ -224,11 +224,11 @@ NTSTATUS print_job_end(struct messaging_context *msg_ctx, int snum, int print_queue_status(struct messaging_context *msg_ctx, int snum, print_queue_struct **ppqueue, print_status_struct *status); -WERROR print_queue_pause(const struct auth_serversupplied_info *server_info, +WERROR print_queue_pause(const struct auth3_session_info *server_info, struct messaging_context *msg_ctx, int snum); -WERROR print_queue_resume(const struct auth_serversupplied_info *server_info, +WERROR print_queue_resume(const struct auth3_session_info *server_info, struct messaging_context *msg_ctx, int snum); -WERROR print_queue_purge(const struct auth_serversupplied_info *server_info, +WERROR print_queue_purge(const struct auth3_session_info *server_info, struct messaging_context *msg_ctx, int snum); uint16 pjobid_to_rap(const char* sharename, uint32 jobid); bool rap_to_pjobid(uint16 rap_jobid, fstring sharename, uint32 *pjobid); |