From f296a8d087be261fee51a3a4664685bab1fb5ab1 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 8 Aug 2000 06:57:48 +0000 Subject: 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) --- source3/include/rpc_misc.h | 1 - source3/include/rpc_spoolss.h | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) (limited to 'source3/include') 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; -- cgit