summaryrefslogtreecommitdiff
path: root/source3/printing/pcap.h
AgeCommit message (Collapse)AuthorFilesLines
2011-01-07s3-printing: remove old entries in pcap_cache_replaceDavid Disseldorp1-1/+1
Callers of pcap_cache_replace() assume the existing printcap cache is replaced by the new values provided. This is not currently the case, old entries should be removed.
2011-01-07s3-printing: reload shares after pcap cache fillDavid Disseldorp1-1/+3
Since commit eada8f8a, updates to the cups pcap cache are performed asynchronously - cups_cache_reload() forks a child process to request cups printer information and notify the parent smbd on completion. Currently printer shares are reloaded immediately following the call to cups_cache_reload(), this occurs prior to smbd receiving new cups pcap information from the child process. Such behaviour can result in stale print shares as outlined in bug 7836. This fix ensures print shares are only reloaded after new pcap data has been received. Pair-Programmed-With: Lars Müller <lars@samba.org>
2010-08-08s3: Remove the smbd_messaging_context from cups_cache_reloadVolker Lendecke1-1/+2
2010-05-14Make pcap headers privateSimo Sorce1-0/+52
Signed-off-by: Günther Deschner <gd@samba.org>