summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-05-05 08:56:46 -0400
committerSimo Sorce <idra@samba.org>2010-07-27 10:27:13 -0400
commit628f9bee05b96b806225f3494c05c3a86acb1a1f (patch)
tree577abc6a45de29b7c1949382787c70b6f1819477 /source3/include/proto.h
parent95f587a565543678da3beeff46167001b92bea79 (diff)
downloadsamba-628f9bee05b96b806225f3494c05c3a86acb1a1f.tar.gz
samba-628f9bee05b96b806225f3494c05c3a86acb1a1f.tar.bz2
samba-628f9bee05b96b806225f3494c05c3a86acb1a1f.zip
s3-spoolss: Use WERROR for print_job_delete.
And also check for PJOB_SMBD_SPOOLING in print_job_write. Signed-off-by: Jim McDonough <jmcd@samba.org>
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index a98274bcad..6420b15474 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4743,8 +4743,8 @@ char *print_job_fname(const char* sharename, uint32 jobid);
struct spoolss_DeviceMode *print_job_devmode(const char* sharename, uint32 jobid);
bool print_job_set_name(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);
-bool print_job_delete(struct auth_serversupplied_info *server_info, int snum,
- uint32 jobid, WERROR *errcode);
+WERROR print_job_delete(struct auth_serversupplied_info *server_info,
+ int snum, uint32 jobid);
bool print_job_pause(struct auth_serversupplied_info *server_info, int snum,
uint32 jobid, WERROR *errcode);
bool print_job_resume(struct auth_serversupplied_info *server_info, int snum,