diff options
author | Günther Deschner <gd@samba.org> | 2011-02-21 14:37:21 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-02-22 21:52:18 +0100 |
commit | 5a0cf0c77e033da68d9dedb048995aa2ade76460 (patch) | |
tree | 8ff1facc805302607c3f03e1b40c57be9f3de244 /source3/printing | |
parent | 66e040ee0ae0b58f4cd83b36d7f981b2fb703ed8 (diff) | |
download | samba-5a0cf0c77e033da68d9dedb048995aa2ade76460.tar.gz samba-5a0cf0c77e033da68d9dedb048995aa2ade76460.tar.bz2 samba-5a0cf0c77e033da68d9dedb048995aa2ade76460.zip |
s3-printing: fix pcacp prototypes and includes.
Guenther
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/pcap.h | 6 | ||||
-rw-r--r-- | source3/printing/printing.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/source3/printing/pcap.h b/source3/printing/pcap.h index 4198be1de5..e24142e8b2 100644 --- a/source3/printing/pcap.h +++ b/source3/printing/pcap.h @@ -28,6 +28,12 @@ bool pcap_cache_replace(const struct pcap_cache *cache); void pcap_printer_fn_specific(const struct pcap_cache *, void (*fn)(const char *, const char *, void *), void *); void pcap_printer_fn(void (*fn)(const char *, const char *, void *), void *); +void pcap_cache_reload(struct tevent_context *ev, + struct messaging_context *msg_ctx, + void (*post_cache_fill_fn)(struct tevent_context *, + struct messaging_context *)); +bool pcap_printername_ok(const char *printername); + /* The following definitions come from printing/print_aix.c */ bool aix_cache_reload(void); diff --git a/source3/printing/printing.c b/source3/printing/printing.c index 0e2655a3f1..ce112bb152 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -26,6 +26,7 @@ #include "nt_printing.h" #include "../librpc/gen_ndr/netlogon.h" #include "printing/notify.h" +#include "printing/pcap.h" extern struct current_user current_user; extern userdom_struct current_user_info; |