From 3135cf3e37a4b5fbd7b7b4e7a67b66c47d0e1e3a Mon Sep 17 00:00:00 2001 From: in2 Date: Wed, 6 Nov 2002 16:25:15 +0000 Subject: editlock by flock() git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@558 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/proto.h') diff --git a/include/proto.h b/include/proto.h index e4e910d7..1c72178c 100644 --- a/include/proto.h +++ b/include/proto.h @@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.29 2002/08/25 07:13:53 in2 Exp $ */ +/* $Id: proto.h,v 1.30 2002/11/06 16:25:14 in2 Exp $ */ #ifndef INCLUDE_PROTO_H #define INCLUDE_PROTO_H @@ -346,6 +346,7 @@ void EnumTagFhdr(fileheader_t *fhdr, char *direct, int locus); void UnTagger (int locus); /* record */ int substitute_record(char *fpath, void *rptr, int size, int id); +int lock_substitute_record(char *fpath, void *rptr, int size, int id, int); int get_record(char *fpath, void *rptr, int size, int id); void prints(char *fmt, ...); int append_record(char *fpath, fileheader_t *record, int size); -- cgit v1.2.3