summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2012-02-08 15:01:15 +0100
committerDavid Disseldorp <ddiss@samba.org>2012-06-26 16:10:39 +0200
commite1ddf8f0e41643933c2aa58dc9421cbc7631e2e5 (patch)
tree943805c1965b1db294e9f349f9840460a0c7a4eb /source3/include
parent97073589d03f8ea4b871c58cfc86603909568da2 (diff)
downloadsamba-e1ddf8f0e41643933c2aa58dc9421cbc7631e2e5.tar.gz
samba-e1ddf8f0e41643933c2aa58dc9421cbc7631e2e5.tar.bz2
samba-e1ddf8f0e41643933c2aa58dc9421cbc7631e2e5.zip
s3-printing: clean up print_job_pause/resume interface
Currently both return a bool and sometimes set a werr pointer argument, always return werror instead.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/printing.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/printing.h b/source3/include/printing.h
index 0e7a5f51fe..58483cbbfb 100644
--- a/source3/include/printing.h
+++ b/source3/include/printing.h
@@ -203,12 +203,12 @@ bool print_job_get_name(TALLOC_CTX *mem_ctx, const char *sharename, uint32_t job
WERROR print_job_delete(const struct auth_session_info *server_info,
struct messaging_context *msg_ctx,
int snum, uint32_t jobid);
-bool print_job_pause(const struct auth_session_info *server_info,
+WERROR print_job_pause(const struct auth_session_info *server_info,
struct messaging_context *msg_ctx,
- int snum, uint32 jobid, WERROR *errcode);
-bool print_job_resume(const struct auth_session_info *server_info,
+ int snum, uint32 jobid);
+WERROR print_job_resume(const struct auth_session_info *server_info,
struct messaging_context *msg_ctx,
- int snum, uint32 jobid, WERROR *errcode);
+ int snum, uint32 jobid);
ssize_t print_job_write(struct tevent_context *ev,
struct messaging_context *msg_ctx,
int snum, uint32 jobid, const char *buf, size_t size);