summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2000-08-08 06:57:48 +0000
committerGerald Carter <jerry@samba.org>2000-08-08 06:57:48 +0000
commitf296a8d087be261fee51a3a4664685bab1fb5ab1 (patch)
treee8379a6072076c165d40e75d593c09da00c0b379 /source3/include
parent8705fbc42cb3d93a7a56f2673e6e1a19d346abee (diff)
downloadsamba-f296a8d087be261fee51a3a4664685bab1fb5ab1.tar.gz
samba-f296a8d087be261fee51a3a4664685bab1fb5ab1.tar.bz2
samba-f296a8d087be261fee51a3a4664685bab1fb5ab1.zip
All changes related to rpcclient...
- cleaned up some code - Fixed a few memory leaks of my own making - Add AddPrinterDriver(); I'm missing some of the semantics here as the call is done correctly, but I'm not getting all the information right in the DRIVER_INFO_3 struct I think. Will work on it tomorrow some more... --jerry (This used to be commit 3bf9a29f34ee4ade5180c5a0b0b9ff4aca7f0f08)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_misc.h1
-rwxr-xr-xsource3/include/rpc_spoolss.h23
2 files changed, 23 insertions, 1 deletions
diff --git a/source3/include/rpc_misc.h b/source3/include/rpc_misc.h
index 6fb2d63ed4..d3e56634a9 100644
--- a/source3/include/rpc_misc.h
+++ b/source3/include/rpc_misc.h
@@ -306,7 +306,6 @@ typedef struct _cli_auth_fns cli_auth_fns;
struct user_creds;
struct cli_connection {
- uint32 num_connections;
char *srv_name;
char *pipe_name;
struct user_creds usr_creds;
diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h
index bf854492af..ead4c6cbc1 100755
--- a/source3/include/rpc_spoolss.h
+++ b/source3/include/rpc_spoolss.h
@@ -889,11 +889,34 @@ typedef struct driver_info_3
}
DRIVER_INFO_3;
+typedef struct driver_info_6
+{
+ uint32 version;
+ UNISTR name;
+ UNISTR architecture;
+ UNISTR driverpath;
+ UNISTR datafile;
+ UNISTR configfile;
+ UNISTR helpfile;
+ uint16 *dependentfiles;
+ UNISTR monitorname;
+ UNISTR defaultdatatype;
+ uint16* previousdrivernames;
+ NTTIME driver_date;
+ uint32 driver_version;
+ UNISTR mfgname;
+ UNISTR oem_url;
+ UNISTR hardware_id;
+ UNISTR provider;
+}
+DRIVER_INFO_6;
+
typedef struct driver_info_info
{
DRIVER_INFO_1 *info1;
DRIVER_INFO_2 *info2;
DRIVER_INFO_3 *info3;
+ DRIVER_INFO_6 *info6;
}
PRINTER_DRIVER_CTR;