IPP Message file parsing
Jerome Alet
alet at librelogiciel.com
Sat Nov 6 01:16:37 PST 2004
Hi,
I've just written an IPP message parser (RFC 2565) which seems to mostly work.
Now I'd want to, from a CUPS backend, access to the IPP message files which are usually in the /var/spool/cups directory
But, CUPS doesn't make the exact file name available to backends, perhaps expecting that all backends which want to dialog with CUPS will use the CUPS API, which of course is not the case...
So my question is :
Can I assume that the filename will always be of the form :
c00000
c00001
c00002
...
c03456
...
where 'c' is the prefix, and the rest is the job id with up to 4 leading zeros.
or is this a configurable setting (especially in the case you want to keep more than 100000 jobs) ?
Thanks in advance
Jerome Alet
More information about the cups-devel
mailing list