From 1691eb73da62f3a50c12031d0a76cc6d4deed955 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 27 Apr 2010 19:57:47 +0200 Subject: s3-spoolss: add support for SetJobInfo level 1 (for jobfile rename). Guenther --- source3/include/proto.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 1f35808d92..f5e9ec4e06 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4976,7 +4976,8 @@ bool print_job_exists(const char* sharename, uint32 jobid); int print_job_fd(const char* sharename, uint32 jobid); char *print_job_fname(const char* sharename, uint32 jobid); NT_DEVICEMODE *print_job_devmode(const char* sharename, uint32 jobid); -bool print_job_set_name(const char *sharename, uint32 jobid, char *name); +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); bool print_job_pause(struct auth_serversupplied_info *server_info, int snum, -- cgit