s3-lanman: remove unsupported print_job_set_place().
authorGünther Deschner <gd@samba.org>
Tue, 27 Apr 2010 17:30:49 +0000 (19:30 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 27 Apr 2010 22:10:40 +0000 (00:10 +0200)
Guenther

source3/include/proto.h
source3/printing/printing.c
source3/smbd/lanman.c

index 09c2c02fec8a42eb8ee1ff367c7aa6a9416e8869..1f35808d92983e1c49c8f95642d0e40c35f12967 100644 (file)
@@ -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);
index 9bd98a6dee636c1408ea4263d96b9e761ba40cab..a6b1ad3484f95a558f878d60bf5fbfa895c3a41a 100644 (file)
@@ -1853,16 +1853,6 @@ NT_DEVICEMODE *print_job_devmode(const char* sharename, uint32 jobid)
        return pjob->nt_devmode;
 }
 
-/****************************************************************************
- 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.
 ****************************************************************************/
index 300d9fb75fd1c5f444e1b3babdb159b635ddc483..fba850f69ffbb29edd226e3928503c543bf4e27a 100644 (file)
@@ -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)) {