summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-04-16 06:18:39 +0000
committerAndrew Tridgell <tridge@samba.org>2000-04-16 06:18:39 +0000
commit837887ffd6a82616a5388cb3536c9c1283464ee0 (patch)
tree55448ec18bc294c42ab1dd323ad68c032d2bc0c7 /source3/include/smb.h
parent4a12fb79c0498c3094c4e744483925fd802cf171 (diff)
downloadsamba-837887ffd6a82616a5388cb3536c9c1283464ee0.tar.gz
samba-837887ffd6a82616a5388cb3536c9c1283464ee0.tar.bz2
samba-837887ffd6a82616a5388cb3536c9c1283464ee0.zip
the fsp needs a jobid in it now
------------ 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. (This used to be commit 4973b7e276ca75dcb63ccb54687d17f87aede7c1)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index d8653538df..b8cd415ef9 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -474,6 +474,7 @@ typedef struct files_struct
int fnum;
struct connection_struct *conn;
int fd;
+ int print_jobid;
SMB_DEV_T dev;
SMB_INO_T inode;
BOOL delete_on_close;
@@ -633,8 +634,8 @@ typedef struct _print_queue_struct
int status;
int priority;
time_t time;
- char user[30];
- char file[100];
+ fstring user;
+ fstring file;
} print_queue_struct;
enum {LPSTAT_OK, LPSTAT_STOPPED, LPSTAT_ERROR};