summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h1
-rw-r--r--source3/include/proto.h4
-rw-r--r--source3/include/smb.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 44707673ee..a5adb35077 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -291,6 +291,7 @@ typedef unsigned short mode_t;
#include <arpa/inet.h>
#include <rpcsvc/ypclnt.h>
#include <termios.h>
+#include <sys/stropts.h>
#ifndef USE_LIBDES
#include <crypt.h>
#endif /* USE_LIBDES */
diff --git a/source3/include/proto.h b/source3/include/proto.h
index aae5b3a63b..5ba308561f 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -736,6 +736,9 @@ BOOL smb_shm_unlock_hash_entry( unsigned int entry );
BOOL smb_shm_get_usage(int *bytes_free,
int *bytes_used,
int *bytes_overhead);
+smb_shm_offset_t smb_shm_alloc(int size);
+smb_shm_offset_t smb_shm_addr2offset(void *addr);
+smb_shm_offset_t smb_shm_get_userdef_off(void);
/*The following definitions come from smbencrypt.c */
@@ -951,7 +954,6 @@ void ajt_panic(void);
char *readdirname(void *p);
BOOL is_hidden_path(int snum, char *name);
BOOL is_vetoed_name(int snum, char *name);
-BOOL is_in_path(char *name, char *namelist);
BOOL fcntl_lock(int fd,int op,uint32 offset,uint32 count,int type);
int file_lock(char *name,int timeout);
void file_unlock(int fd);
diff --git a/source3/include/smb.h b/source3/include/smb.h
index d4ad9105fe..463dcb1373 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -916,6 +916,6 @@ enum case_handling {CASE_LOWER,CASE_UPPER};
#define COPYBUF_SIZE (8*1024)
/* service-based parameter - files are not visible, but are accessible */
-#define DEFAULT_FILES_TO_HIDE "*/.*"
+#define DEFAULT_FILES_TO_HIDE ".*"
/* _SMB_H */