diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-05-07 09:42:55 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-07-27 10:27:11 -0400 |
commit | c26bfd228de962b70ba744fd9dc9ca62ecca1470 (patch) | |
tree | d5a0af80945125b56dd598eb029c1218f51ef9a6 /source3 | |
parent | 6d6ce4d1adbcb59231ec81fdc757d14f51a18534 (diff) | |
download | samba-c26bfd228de962b70ba744fd9dc9ca62ecca1470.tar.gz samba-c26bfd228de962b70ba744fd9dc9ca62ecca1470.tar.bz2 samba-c26bfd228de962b70ba744fd9dc9ca62ecca1470.zip |
s3-spoolss: Removed unused set_printer_dataex().
Signed-off-by: Jim McDonough <jmcd@samba.org>
Diffstat (limited to 'source3')
-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. ********************************************************************/ |