diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-08-04 13:23:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:57:47 -0500 |
commit | c5fbb6f23c2d399c7510bc552cdb1a27b1ef66a8 (patch) | |
tree | 6fccf75601681c68afca5dd9c6b840de44f7f31c /source4/libads/ldap_printer.c | |
parent | a0cb701b6fac6e75da691e239cd0407b9269533a (diff) | |
download | samba-c5fbb6f23c2d399c7510bc552cdb1a27b1ef66a8.tar.gz samba-c5fbb6f23c2d399c7510bc552cdb1a27b1ef66a8.tar.xz samba-c5fbb6f23c2d399c7510bc552cdb1a27b1ef66a8.zip |
r1654: rename cli_ -> smbcli_
rename CLI_ -> SMBCLI_
metze
(This used to be commit 8441750fd9427dd6fe477f27e603821b4026f038)
Diffstat (limited to 'source4/libads/ldap_printer.c')
-rw-r--r-- | source4/libads/ldap_printer.c | 14 |
1 files changed, 7 insertions, 7 deletions
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; } |