summaryrefslogtreecommitdiffstats
path: root/source/libsmb
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2006-12-20 00:58:09 +0000
committerHerb Lewis <herb@samba.org>2006-12-20 00:58:09 +0000
commit8d12d534bab953e20d41a361d965051298443e53 (patch)
tree40590fa6d14a8eda5ea84aecc0a45c64eb91210f /source/libsmb
parentd4fa85bdd31e8b9eeb8fc5c4c5e385a7343865fd (diff)
downloadsamba-8d12d534bab953e20d41a361d965051298443e53.tar.gz
samba-8d12d534bab953e20d41a361d965051298443e53.tar.xz
samba-8d12d534bab953e20d41a361d965051298443e53.zip
r20267: fix more no previous prototype warnings
Diffstat (limited to 'source/libsmb')
-rw-r--r--source/libsmb/libsmb_cache.c3
-rw-r--r--source/libsmb/libsmbclient.c3
-rw-r--r--source/libsmb/smb_share_modes.c4
3 files changed, 10 insertions, 0 deletions
diff --git a/source/libsmb/libsmb_cache.c b/source/libsmb/libsmb_cache.c
index 8c4fd7c89f7..fdde7acaf86 100644
--- a/source/libsmb/libsmb_cache.c
+++ b/source/libsmb/libsmb_cache.c
@@ -26,6 +26,9 @@
#include "include/libsmbclient.h"
#include "../include/libsmb_internal.h"
+
+int smbc_default_cache_functions(SMBCCTX * context);
+
/*
* Structure we use if internal caching mechanism is used
* nothing fancy here.
diff --git a/source/libsmb/libsmbclient.c b/source/libsmb/libsmbclient.c
index 8a01b04e063..f60819287b6 100644
--- a/source/libsmb/libsmbclient.c
+++ b/source/libsmb/libsmbclient.c
@@ -26,6 +26,9 @@
#include "include/libsmb_internal.h"
+struct smbc_dirent *smbc_readdir_ctx(SMBCCTX *context, SMBCFILE *dir);
+struct smbc_dir_list *smbc_check_dir_ent(struct smbc_dir_list *list,
+ struct smbc_dirent *dirent);
/*
* DOS Attribute values (used internally)
diff --git a/source/libsmb/smb_share_modes.c b/source/libsmb/smb_share_modes.c
index 54477c45244..b62240ce508 100644
--- a/source/libsmb/smb_share_modes.c
+++ b/source/libsmb/smb_share_modes.c
@@ -33,6 +33,10 @@
#undef malloc
#endif
+int smb_create_share_mode_entry_ex(struct smbdb_ctx *db_ctx, uint64_t dev,
+ uint64_t ino, const struct smb_share_mode_entry *new_entry,
+ const char *sharepath, const char *filename);
+
static BOOL sharemodes_procid_equal(const struct process_id *p1, const struct process_id *p2)
{
return (p1->pid == p2->pid);