Add prototype for smbc_remove_unused_server() to fix compiler warning.
authorTim Potter <tpot@samba.org>
Sun, 2 Nov 2003 14:15:36 +0000 (14:15 +0000)
committerTim Potter <tpot@samba.org>
Sun, 2 Nov 2003 14:15:36 +0000 (14:15 +0000)
Bug #706.
(This used to be commit eaf69b1ae7883573830244664cb0a81661541d92)

source3/include/libsmbclient.h

index afcafeed81f4730f51b1f0af7a66b1add895b826..68c4a053d1b22d108f55c8a817692b936e9c4ce7 100644 (file)
@@ -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 */