diff options
author | Günther Deschner <gd@samba.org> | 2010-04-27 19:30:49 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-04-28 00:10:40 +0200 |
commit | 2b7002f38571a920244d9ad309c606caaf2c0411 (patch) | |
tree | 059e95086e6c3ecf08b0aea04f51d430ee44af57 | |
parent | ce8595f68e3ca6fd8be0d4777aa8157e29597444 (diff) | |
download | samba-2b7002f38571a920244d9ad309c606caaf2c0411.tar.gz samba-2b7002f38571a920244d9ad309c606caaf2c0411.tar.bz2 samba-2b7002f38571a920244d9ad309c606caaf2c0411.zip |
s3-lanman: remove unsupported print_job_set_place().
Guenther
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/printing/printing.c | 10 | ||||
-rw-r--r-- | source3/smbd/lanman.c | 9 |
3 files changed, 0 insertions, 20 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 09c2c02fec..1f35808d92 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4976,7 +4976,6 @@ 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_place(const char *sharename, uint32 jobid, int place); bool print_job_set_name(const char *sharename, uint32 jobid, char *name); bool print_job_delete(struct auth_serversupplied_info *server_info, int snum, uint32 jobid, WERROR *errcode); diff --git a/source3/printing/printing.c b/source3/printing/printing.c index 9bd98a6dee..a6b1ad3484 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -1854,16 +1854,6 @@ NT_DEVICEMODE *print_job_devmode(const char* sharename, uint32 jobid) } /**************************************************************************** - Set the place in the queue for a job. -****************************************************************************/ - -bool print_job_set_place(const char *sharename, uint32 jobid, int place) -{ - DEBUG(2,("print_job_set_place not implemented yet\n")); - return False; -} - -/**************************************************************************** Set the name of a job. Only possible for owner. ****************************************************************************/ diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index 300d9fb75f..fba850f69f 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -3382,15 +3382,6 @@ static bool api_PrintJobInfo(connection_struct *conn, uint16 vuid, errcode = NERR_notsupported; switch (function) { - case 0x6: - /* change job place in the queue, - data gives the new place */ - place = SVAL(data,0); - if (print_job_set_place(sharename, jobid, place)) { - errcode=NERR_Success; - } - break; - case 0xb: /* change print job name, data gives the name */ if (print_job_set_name(sharename, jobid, data)) { |