s3-docs: Typos in rpcclient man page
[Samba/gebeck_regimport.git] / source3 / printing / pcap.h
blob4198be1de5ea86e0b236dbac32aa2ed7863b0031
1 /*
2 Unix SMB/CIFS implementation.
3 printcap headers
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
19 struct pcap_cache;
21 /* The following definitions come from printing/pcap.c */
23 bool pcap_cache_add_specific(struct pcap_cache **ppcache, const char *name, const char *comment);
24 void pcap_cache_destroy_specific(struct pcap_cache **ppcache);
25 bool pcap_cache_add(const char *name, const char *comment);
26 bool pcap_cache_loaded(void);
27 bool pcap_cache_replace(const struct pcap_cache *cache);
28 void pcap_printer_fn_specific(const struct pcap_cache *, void (*fn)(const char *, const char *, void *), void *);
29 void pcap_printer_fn(void (*fn)(const char *, const char *, void *), void *);
31 /* The following definitions come from printing/print_aix.c */
33 bool aix_cache_reload(void);
35 /* The following definitions come from printing/print_cups.c */
37 bool cups_cache_reload(struct tevent_context *ev,
38 struct messaging_context *msg_ctx,
39 void (*post_cache_fill_fn)(struct tevent_context *,
40 struct messaging_context *));
41 bool cups_pull_comment_location(TALLOC_CTX *mem_ctx,
42 const char *printername,
43 char **comment,
44 char **location);
46 /* The following definitions come from printing/print_iprint.c */
48 bool iprint_cache_reload(void);
50 /* The following definitions come from printing/print_svid.c */
52 bool sysv_cache_reload(void);
54 /* The following definitions come from printing/print_standard.c */
55 bool std_pcap_cache_reload(const char *pcap_name);