From c5fbb6f23c2d399c7510bc552cdb1a27b1ef66a8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 4 Aug 2004 13:23:35 +0000 Subject: r1654: rename cli_ -> smbcli_ rename CLI_ -> SMBCLI_ metze (This used to be commit 8441750fd9427dd6fe477f27e603821b4026f038) --- source4/libads/ldap_printer.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source4/libads/ldap_printer.c') diff --git a/source4/libads/ldap_printer.c b/source4/libads/ldap_printer.c index dee53e5f1af..005481cd97b 100644 --- a/source4/libads/ldap_printer.c +++ b/source4/libads/ldap_printer.c @@ -259,7 +259,7 @@ static void map_regval_to_ads(TALLOC_CTX *ctx, ADS_MODLIST *mods, } -WERROR get_remote_printer_publishing_data(struct cli_state *cli, +WERROR get_remote_printer_publishing_data(struct smbcli_state *cli, TALLOC_CTX *mem_ctx, ADS_MODLIST *mods, const char *printer) @@ -278,7 +278,7 @@ WERROR get_remote_printer_publishing_data(struct cli_state *cli, return WERR_NOMEM; } - result = cli_spoolss_open_printer_ex(cli, mem_ctx, printername, + result = smbcli_spoolss_open_printer_ex(cli, mem_ctx, printername, "", MAXIMUM_ALLOWED_ACCESS, servername, cli->user_name, &pol); if (!W_ERROR_IS_OK(result)) { @@ -287,11 +287,11 @@ WERROR get_remote_printer_publishing_data(struct cli_state *cli, return result; } - result = cli_spoolss_enumprinterdataex(cli, mem_ctx, 0, &needed, + result = smbcli_spoolss_enumprinterdataex(cli, mem_ctx, 0, &needed, &pol, SPOOL_DSDRIVER_KEY, NULL); if (W_ERROR_V(result) == ERRmoredata) - result = cli_spoolss_enumprinterdataex(cli, mem_ctx, needed, + result = smbcli_spoolss_enumprinterdataex(cli, mem_ctx, needed, NULL, &pol, SPOOL_DSDRIVER_KEY, &dsdriver_ctr); @@ -308,12 +308,12 @@ WERROR get_remote_printer_publishing_data(struct cli_state *cli, dsdriver_ctr.values[i]); } - result = cli_spoolss_enumprinterdataex(cli, mem_ctx, 0, &needed, + result = smbcli_spoolss_enumprinterdataex(cli, mem_ctx, 0, &needed, &pol, SPOOL_DSSPOOLER_KEY, NULL); if (W_ERROR_V(result) == ERRmoredata) - result = cli_spoolss_enumprinterdataex(cli, mem_ctx, needed, + result = smbcli_spoolss_enumprinterdataex(cli, mem_ctx, needed, NULL, &pol, SPOOL_DSSPOOLER_KEY, &dsspooler_ctr); @@ -332,7 +332,7 @@ WERROR get_remote_printer_publishing_data(struct cli_state *cli, if (got_dsdriver) regval_ctr_destroy(&dsdriver_ctr); if (got_dsspooler) regval_ctr_destroy(&dsspooler_ctr); - cli_spoolss_close_printer(cli, mem_ctx, &pol); + smbcli_spoolss_close_printer(cli, mem_ctx, &pol); return result; } -- cgit