summaryrefslogtreecommitdiff
path: root/source4/ntptr/ntptr_interface.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-25 23:04:52 +0100
committerGünther Deschner <gd@samba.org>2009-02-25 23:06:56 +0100
commit228e75112ffe4124748e80d6571ddde4df22881f (patch)
treef565b7cf1e065d807792f3fe02bbf7e8ed0e79e7 /source4/ntptr/ntptr_interface.c
parente17df483fbedb81aededdef5fbb6ae1d034bc2dd (diff)
downloadsamba-228e75112ffe4124748e80d6571ddde4df22881f.tar.gz
samba-228e75112ffe4124748e80d6571ddde4df22881f.tar.bz2
samba-228e75112ffe4124748e80d6571ddde4df22881f.zip
s4-spoolss: implement dcesrv_spoolss_GetPrintProcessorDirectory.
Guenther
Diffstat (limited to 'source4/ntptr/ntptr_interface.c')
-rw-r--r--source4/ntptr/ntptr_interface.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/ntptr/ntptr_interface.c b/source4/ntptr/ntptr_interface.c
index 109a9f560b..b65a2e32cd 100644
--- a/source4/ntptr/ntptr_interface.c
+++ b/source4/ntptr/ntptr_interface.c
@@ -263,6 +263,15 @@ WERROR ntptr_EnumPrintProcessors(struct ntptr_context *ntptr, TALLOC_CTX *mem_ct
return ntptr->ops->EnumPrintProcessors(ntptr, mem_ctx, r);
}
+WERROR ntptr_GetPrintProcessorDirectory(struct ntptr_context *ntptr, TALLOC_CTX *mem_ctx,
+ struct spoolss_GetPrintProcessorDirectory *r)
+{
+ if (!ntptr->ops->GetPrintProcessorDirectory) {
+ return WERR_NOT_SUPPORTED;
+ }
+ return ntptr->ops->GetPrintProcessorDirectory(ntptr, mem_ctx, r);
+}
+
/* Printer functions */
WERROR ntptr_EnumPrinters(struct ntptr_context *ntptr, TALLOC_CTX *mem_ctx,