the new file_lines_load() and file_lines_free() routines. Very useful!
authorAndrew Tridgell <tridge@samba.org>
Sun, 16 Apr 2000 06:19:11 +0000 (06:19 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 16 Apr 2000 06:19:11 +0000 (06:19 +0000)
commitbe1e98b3f7a6007d2c9ac8e079724cb264e0dd3a
tree2570c3f7b8240271100b8f1a2dee9882d99b74ff
parent4973b7e276ca75dcb63ccb54687d17f87aede7c1
the new file_lines_load() and file_lines_free() routines. Very useful!

------------
The following series of commits are for the new tdb based printing
backend. This completely replaces our old printing backend.

Major changes include:

- all print ops are now done in printing/*.c rather than scattered all
  over the place
- system job ids are decoupled from SMB job ids
- the lpq parsers don't need to be nearly so smart, they only need to
  parse the filename, the status and system job id
- we can store lots more info about a job, including the full job name
- the queue cache control is much better

I also added a new utility routine file_lines_load() that loads a text
file and parses it into lines. This is used in out lpq parsing and I
also want to use it to replace all of our fgets() based code in other
places.
source/lib/util_file.c