summaryrefslogtreecommitdiff
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
commita844d9af21d8047629129c5e842db7acbc059932 (patch)
tree752c6d583041ea940da909610d50575f6527082a
parent9467792843fdd9bc55e92bfaa2f2205279074297 (diff)
downloadsamba-a844d9af21d8047629129c5e842db7acbc059932.tar.gz
Add ads printer information
-rw-r--r--source/include/ads.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/source/include/ads.h b/source/include/ads.h
index 884f2aa6ef7..57a41d13b57 100644
--- a/source/include/ads.h
+++ b/source/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};