From 41847b388f0eff3b6fdd0b304eeec0c31475eb6d Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 5 Nov 2003 17:21:22 +0000 Subject: Merge from 3.0: Revision 1.16.2.6: Add prototype for smbc_remove_unused_server() to fix compiler warning. Bug #706. (This used to be commit 99f70d86fe17ce39d803fa23a135169e24d8a34e) --- source3/include/libsmbclient.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h index afcafeed81..68c4a053d1 100644 --- a/source3/include/libsmbclient.h +++ b/source3/include/libsmbclient.h @@ -1932,5 +1932,16 @@ int smbc_list_print_jobs(const char *purl, smbc_list_print_job_fn fn); */ int smbc_unlink_print_job(const char *purl, int id); +/**@ingroup callback + * Remove a server from the cached server list it's unused. + * + * @param context pointer to smb context + * + * @param srv pointer to server to remove + * + * @return On success, 0 is returned. 1 is returned if the server could not + * be removed. Also useable outside libsmbclient. + */ +int smbc_remove_unused_server(SMBCCTX * context, SMBCSRV * srv); #endif /* SMBCLIENT_H_INCLUDED */ -- cgit