1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

s3-spoolss: Removed unused set_printer_dataex().

Signed-off-by: Jim McDonough <jmcd@samba.org>
This commit is contained in:
Simo Sorce 2010-05-07 09:42:55 -04:00 committed by Simo Sorce
parent 6d6ce4d1ad
commit c26bfd228d
2 changed files with 0 additions and 16 deletions

View File

@ -5140,9 +5140,6 @@ void reset_all_printerdata(struct messaging_context *msg,
uint32_t msg_type,
struct server_id server_id,
DATA_BLOB *data);
WERROR set_printer_dataex(NT_PRINTER_INFO_LEVEL *printer,
const char *key, const char *value,
uint32_t type, uint8_t *data, int real_len);
bool add_printer_hook(TALLOC_CTX *ctx, NT_USER_TOKEN *token,
struct spoolss_SetPrinterInfo2 *info2);

View File

@ -2025,19 +2025,6 @@ done:
}
/****************************************************************************
Internal routine for storing printerdata
***************************************************************************/
WERROR set_printer_dataex(NT_PRINTER_INFO_LEVEL *printer,
const char *key, const char *value,
uint32_t type, uint8_t *data, int real_len)
{
/* the registry objects enforce uniqueness based on value name */
return add_printer_data( printer->info_2, key, value, type, data, real_len );
}
/********************************************************************
GetPrinterData on a printer server Handle.
********************************************************************/