summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-02-01 17:42:41 +0000
committerJim McDonough <jmcd@samba.org>2002-02-01 17:42:41 +0000
commit921eb3588db33591970463df2ec6a1f6f7f6b1d6 (patch)
treeb47a83efd4a120028b25c582a449e27a1ac0480a /source3
parent0c63216603fa957e04688d22bf1c0321fb2ff78a (diff)
downloadsamba-921eb3588db33591970463df2ec6a1f6f7f6b1d6.tar.gz
samba-921eb3588db33591970463df2ec6a1f6f7f6b1d6.tar.bz2
samba-921eb3588db33591970463df2ec6a1f6f7f6b1d6.zip
Add ads printer information
(This used to be commit a844d9af21d8047629129c5e842db7acbc059932)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/ads.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h
index 884f2aa6ef..57a41d13b5 100644
--- a/source3/include/ads.h
+++ b/source3/include/ads.h
@@ -18,6 +18,61 @@ typedef struct {
char *server_realm;
} ADS_STRUCT;
+typedef struct {
+ char *printerName;
+ char *serverName;
+ char *shortServerName;
+ char *versionNumber;
+ char *uNCName;
+ char **description;
+ char *assetNumber;
+ char *bytesPerMinute;
+ char *defaultPriority;
+ char *driverName;
+ char *driverVersion;
+ char *location;
+ char *operatingSystem;
+ char *operatingSystemHotfix;
+ char *operatingSystemServicePack;
+ char *operatingSystemVersion;
+ char *physicalLocationObject;
+ char **portName;
+ char *printAttributes;
+ char **printBinNames;
+ char *printCollate;
+ char *printColor;
+ char *printDuplexSupported;
+ char *printEndTime;
+ char *printFOrmName;
+ char *printKeepPrintedJobs;
+ char **printLanguage;
+ char *printMACAddress;
+ char *printMaxCopies;
+ char *printMaxResolutionSupported;
+ char *printMaxXExtent;
+ char *printMaxYExtent;
+ char **printMediaReady;
+ char **printMediaSupported;
+ char *printMemory;
+ char *printMinXExtent;
+ char *printMinYExtent;
+ char *printNetworkAddress;
+ char *printNotify;
+ char *printNumberUp;
+ char **printOrientationsSupported;
+ char *printOwner;
+ char *printPagesPerMinute;
+ char *printRate;
+ char *printRateUnit;
+ char *printSeparatorFile;
+ char **printShareName;
+ char *printSpooling;
+ char *printStaplingSupported;
+ char *printStartTime;
+ char *printStatus;
+ char *priority;
+} ADS_PRINTER_ENTRY;
+
/* there are 4 possible types of errors the ads subsystem can produce */
enum ads_error_type {ADS_ERROR_KRB5, ADS_ERROR_GSS,
ADS_ERROR_LDAP, ADS_ERROR_SYSTEM};