summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2012-02-08 17:03:06 +0100
committerDavid Disseldorp <ddiss@samba.org>2012-06-26 16:10:39 +0200
commit91cd9a47974e0099d550c88ee646ee3b1f44df72 (patch)
treedbad26c3f3a643132f915a91d38b39e6ed2aa73d /source3/printing
parent9a296efa9e98594e1dd435dfb91dae440ddf98aa (diff)
downloadsamba-91cd9a47974e0099d550c88ee646ee3b1f44df72.tar.gz
samba-91cd9a47974e0099d550c88ee646ee3b1f44df72.tar.bz2
samba-91cd9a47974e0099d550c88ee646ee3b1f44df72.zip
s3-printing: remove unused print_job_fname()
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printing.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 69281846df..4d0178f185 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -1969,22 +1969,7 @@ bool print_job_exists(const char* sharename, uint32 jobid)
}
/****************************************************************************
- Give the filename used for a jobid.
- Only valid for the process doing the spooling and when the job
- has not been spooled.
-****************************************************************************/
-
-char *print_job_fname(const char* sharename, uint32 jobid)
-{
- struct printjob *pjob = print_job_find(NULL, sharename, jobid);
- if (!pjob || pjob->spooled || pjob->pid != getpid())
- return NULL;
- return pjob->filename;
-}
-
-
-/****************************************************************************
- Give the filename used for a jobid.
+ Return the device mode asigned to a specific print job.
Only valid for the process doing the spooling and when the job
has not been spooled.
****************************************************************************/