summaryrefslogtreecommitdiffstats
path: root/source/include/libsmbclient.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-16 12:13:07 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-16 12:13:07 +0000
commitc7a1de090db35835be1a1623bfc80c04065c5dd9 (patch)
tree2b97bdad2e00a5017166809cf9e25ee0727f4a63 /source/include/libsmbclient.h
parent03a1f46e3448913cc21ed89aafaa22818d4026d0 (diff)
downloadsamba-c7a1de090db35835be1a1623bfc80c04065c5dd9.tar.gz
samba-c7a1de090db35835be1a1623bfc80c04065c5dd9.tar.xz
samba-c7a1de090db35835be1a1623bfc80c04065c5dd9.zip
Add support for the new modules system to auth/ (merge from HEAD)
Diffstat (limited to 'source/include/libsmbclient.h')
-rw-r--r--source/include/libsmbclient.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/source/include/libsmbclient.h b/source/include/libsmbclient.h
index 0c905edcbcc..f5d653f6978 100644
--- a/source/include/libsmbclient.h
+++ b/source/include/libsmbclient.h
@@ -257,9 +257,8 @@ typedef int (*smbc_remove_unused_server_fn)(SMBCCTX * c, SMBCSRV *srv);
*
*/
typedef int (*smbc_add_cached_srv_fn) (SMBCCTX * c, SMBCSRV *srv,
- char * server, char * share,
- char * workgroup, char * username);
-
+ const char * server, const char * share,
+ const char * workgroup, const char * username);
/**@ingroup callback
* Look up a server in the cache system
@@ -277,9 +276,9 @@ typedef int (*smbc_add_cached_srv_fn) (SMBCCTX * c, SMBCSRV *srv,
* @return pointer to SMBCSRV on success. NULL on failure.
*
*/
-typedef SMBCSRV * (*smbc_get_cached_srv_fn) (SMBCCTX * c, char * server,
- char * share, char * workgroup, char * username);
-
+typedef SMBCSRV * (*smbc_get_cached_srv_fn) (SMBCCTX * c, const char * server,
+ const char * share, const char * workgroup,
+ const char * username);
/**@ingroup callback
* Check if a server is still good