summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-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};