summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-06 01:10:33 +0200
committerGünther Deschner <gd@samba.org>2009-05-06 10:19:04 +0200
commit9966541f89b45834cdf63060202621f885bf9f5c (patch)
tree0f689b5ae92a753a6b18aba932a8fea2dfd164bf /source3/include
parent4cbd0c77e42627c76dda88af5326ef91415a652d (diff)
downloadsamba-9966541f89b45834cdf63060202621f885bf9f5c.tar.gz
samba-9966541f89b45834cdf63060202621f885bf9f5c.tar.bz2
samba-9966541f89b45834cdf63060202621f885bf9f5c.zip
s3-printing: simplify print_queue helper functions and return WERROR.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 194d74db5e..6b1febb160 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4799,12 +4799,9 @@ bool print_job_end(int snum, uint32 jobid, enum file_close_type close_type);
int print_queue_status(int snum,
print_queue_struct **ppqueue,
print_status_struct *status);
-bool print_queue_pause(struct auth_serversupplied_info *server_info, int snum,
- WERROR *errcode);
-bool print_queue_resume(struct auth_serversupplied_info *server_info, int snum,
- WERROR *errcode);
-bool print_queue_purge(struct auth_serversupplied_info *server_info, int snum,
- WERROR *errcode);
+WERROR print_queue_pause(struct auth_serversupplied_info *server_info, int snum);
+WERROR print_queue_resume(struct auth_serversupplied_info *server_info, int snum);
+WERROR print_queue_purge(struct auth_serversupplied_info *server_info, int snum);
/* The following definitions come from printing/printing_db.c */