diff options
author | Andreas Schneider <asn@samba.org> | 2010-04-15 21:51:16 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-04-23 16:23:40 +0200 |
commit | e7d674282191152f29d0fe812af9c5afcba084b9 (patch) | |
tree | 0fa75a2c4ed76d8c52cd880d270ae931a586b0e3 /source3/rpc_server/srv_spoolss_util.h | |
parent | b04a260e4e8b5d317e36d758f16aff090d567d7c (diff) | |
download | samba-e7d674282191152f29d0fe812af9c5afcba084b9.tar.gz samba-e7d674282191152f29d0fe812af9c5afcba084b9.tar.bz2 samba-e7d674282191152f29d0fe812af9c5afcba084b9.zip |
s3-spoolss: Added a function to get the ChangeID from a printer.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/rpc_server/srv_spoolss_util.h')
-rw-r--r-- | source3/rpc_server/srv_spoolss_util.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_util.h b/source3/rpc_server/srv_spoolss_util.h index e8cea01495..a4b5c88271 100644 --- a/source3/rpc_server/srv_spoolss_util.h +++ b/source3/rpc_server/srv_spoolss_util.h @@ -211,6 +211,25 @@ WERROR winreg_printer_update_changeid(TALLOC_CTX *mem_ctx, const char *printer); /** + * @brief Get the ChangeID of the given printer. + * + * @param[in] mem_ctx The talloc memory context to use. + * + * @param[in] server_info The server supplied session info. + * + * @param[in] printer The printer name. + * + * @param[in] changeid A pointer to store the changeid. + * + * @return On success WERR_OK, a corresponding DOS error is + * something went wrong. + */ +WERROR winreg_printer_get_changeid(TALLOC_CTX *mem_ctx, + struct auth_serversupplied_info *server_info, + const char *printer, + uint32_t *pchangeid); + +/** * @internal * * @brief This function adds a form to the list of available forms that can be |