summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-16 11:24:07 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-16 11:24:07 +0000
commit48ff3b95a444c353ea6374479a32b1764afb4f56 (patch)
tree55a5096e303057d52dcbc5a52588c563f03af191
parent8cf023fee38be2ddc12004f51659eac5890b7311 (diff)
downloadsamba-48ff3b95a444c353ea6374479a32b1764afb4f56.tar.gz
samba-48ff3b95a444c353ea6374479a32b1764afb4f56.tar.bz2
samba-48ff3b95a444c353ea6374479a32b1764afb4f56.zip
proto update
(This used to be commit ab492d46942e9c43e6b61a04f9db75d9fc3f40d6)
-rw-r--r--source3/include/proto.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 6829b89fe1..9b25b5e865 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -466,7 +466,6 @@ char *StrnCpy(char *dest,const char *src,size_t n);
char *strncpyn(char *dest, const char *src,size_t n, char c);
size_t strhex_to_str(char *p, size_t len, const char *strhex);
BOOL in_list(char *s,char *list,BOOL casesensitive);
-BOOL string_init(char **dest,const char *src);
void string_free(char **s);
BOOL string_set(char **dest,const char *src);
void string_sub(char *s,const char *pattern,const char *insert, size_t len);
@@ -753,7 +752,7 @@ struct packet_struct *receive_unexpected(enum packet_type packet_type, int id,
/*The following definitions come from locking/brlock.c */
-void brl_init(void);
+void brl_init(int read_only);
BOOL brl_lock(SMB_DEV_T dev, SMB_INO_T ino, int fnum,
uint16 smbpid, pid_t pid, uint16 tid,
br_off start, br_off size,
@@ -766,6 +765,9 @@ BOOL brl_locktest(SMB_DEV_T dev, SMB_INO_T ino,
br_off start, br_off size,
enum brl_type lock_type);
void brl_close(SMB_DEV_T dev, SMB_INO_T ino, pid_t pid, int tid, int fnum);
+int brl_forall(void (*fn)(SMB_DEV_T dev, SMB_INO_T ino, int pid,
+ enum brl_type lock_type,
+ br_off start, br_off size));
/*The following definitions come from locking/locking.c */