summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2006-12-20 01:10:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:38 -0500
commite59e787b4868acffad49b6264e319d585643d5ab (patch)
treeedf25bdd2abeec965f640b130bb6f40369d4ddb7 /source3/libsmb
parent84cd4d05e0a6e04c2a9fd1f4608a73ee1086a7af (diff)
downloadsamba-e59e787b4868acffad49b6264e319d585643d5ab.tar.gz
samba-e59e787b4868acffad49b6264e319d585643d5ab.tar.bz2
samba-e59e787b4868acffad49b6264e319d585643d5ab.zip
r20269: merge -r20264:20267 from SAMBA_3_0_24
more no previous prototype warnings (This used to be commit 41be182f78762372ae13759ede5d2bd40a71d7f5)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/libsmb_cache.c3
-rw-r--r--source3/libsmb/libsmbclient.c3
-rw-r--r--source3/libsmb/smb_share_modes.c4
3 files changed, 10 insertions, 0 deletions
diff --git a/source3/libsmb/libsmb_cache.c b/source3/libsmb/libsmb_cache.c
index 8c4fd7c89f..fdde7acaf8 100644
--- a/source3/libsmb/libsmb_cache.c
+++ b/source3/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/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c
index c7f17d3d01..0f0e0b834f 100644
--- a/source3/libsmb/libsmbclient.c
+++ b/source3/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/source3/libsmb/smb_share_modes.c b/source3/libsmb/smb_share_modes.c
index 54477c4524..b62240ce50 100644
--- a/source3/libsmb/smb_share_modes.c
+++ b/source3/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);