diff options
author | Jeremy Allison <jra@samba.org> | 2001-02-23 03:59:37 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-02-23 03:59:37 +0000 |
commit | ed77fca1990f96dba6fe9204e551056395c6ed29 (patch) | |
tree | 955f1e173e91fbccb9a7325567373fe708640fac /source3/include/smb.h | |
parent | 7bab8111d2b1668495b8e0411fa1de6b174aacdc (diff) | |
download | samba-ed77fca1990f96dba6fe9204e551056395c6ed29.tar.gz samba-ed77fca1990f96dba6fe9204e551056395c6ed29.tar.bz2 samba-ed77fca1990f96dba6fe9204e551056395c6ed29.zip |
include/rpc_spoolss.h: Added JOB_STATUS_XXX defines.
include/smb.h: Added LPQ_xx enums to correspond with the NT JOB_STATUS_XXX. We
need these to be different as we're storing LPQ_xx enums in the tdb
already.
rpc_server/srv_spoolss_nt.c: Don't need to return status strings as we're now
returning status codes.
smbd/lanman.c: Change the RAP status codes to have "RAP" in the name.
printing/printing.c: Keep track of the status of a job. Allow a job to be
deleted from one smbd when being submitted by another.
Made logic in mutex clearer.
Jeremy.
(This used to be commit 71029da7dd74eb91dd6953752bdf238f319d985d)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 7df338510d..15fb7beada 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -594,7 +594,10 @@ typedef struct { fstring domain; /* domain that the client specified */ } userdom_struct; -enum {LPQ_QUEUED,LPQ_PAUSED,LPQ_SPOOLING,LPQ_PRINTING}; +/* Extra fields above "LPQ_PRINTING" are used to map extra NT status codes. */ + +enum {LPQ_QUEUED=0,LPQ_PAUSED,LPQ_SPOOLING,LPQ_PRINTING,LPQ_ERROR,LPQ_DELETING, + LPQ_OFFLINE,LPQ_PAPEROUT,LPQ_PRINTED,LPQ_DELETED,LPQ_BLOCKED,LPQ_USER_INTERVENTION}; typedef struct _print_queue_struct { |