summaryrefslogtreecommitdiff
path: root/source3/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
commita8c95d79f83b4097ee20d5f3f1005c38ccf00186 (patch)
tree266efebe2aa517548513d2eee9a673f16b79d5af /source3/include/libsmbclient.h
parentcf00ce3e87a0d714fb38f709f9635b8a045866e3 (diff)
downloadsamba-a8c95d79f83b4097ee20d5f3f1005c38ccf00186.tar.gz
samba-a8c95d79f83b4097ee20d5f3f1005c38ccf00186.tar.bz2
samba-a8c95d79f83b4097ee20d5f3f1005c38ccf00186.zip
Add support for the new modules system to auth/ (merge from HEAD)
(This used to be commit c7a1de090db35835be1a1623bfc80c04065c5dd9)
Diffstat (limited to 'source3/include/libsmbclient.h')
-rw-r--r--source3/include/libsmbclient.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h
index 0c905edcbc..f5d653f697 100644
--- a/source3/include/libsmbclient.h
+++ b/source3/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