diff options
-rw-r--r-- | source3/include/proto.h | 3 | ||||
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 13 |
2 files changed, 0 insertions, 16 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index d56ed3b349..9e016fe7b1 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -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); diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index a3d72586c7..154d72efbb 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -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. ********************************************************************/ |