summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-11-07 00:25:15 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-11-07 00:25:15 +0800
commit3135cf3e37a4b5fbd7b7b4e7a67b66c47d0e1e3a (patch)
tree772cecc4731614e9df09367ab0d5f0f8654be4b4 /include/proto.h
parent175ba7e7cf70d131d34fd8c09a3138e7f9dfeea0 (diff)
downloadpttbbs-3135cf3e37a4b5fbd7b7b4e7a67b66c47d0e1e3a.tar
pttbbs-3135cf3e37a4b5fbd7b7b4e7a67b66c47d0e1e3a.tar.gz
pttbbs-3135cf3e37a4b5fbd7b7b4e7a67b66c47d0e1e3a.tar.bz2
pttbbs-3135cf3e37a4b5fbd7b7b4e7a67b66c47d0e1e3a.tar.lz
pttbbs-3135cf3e37a4b5fbd7b7b4e7a67b66c47d0e1e3a.tar.xz
pttbbs-3135cf3e37a4b5fbd7b7b4e7a67b66c47d0e1e3a.tar.zst
pttbbs-3135cf3e37a4b5fbd7b7b4e7a67b66c47d0e1e3a.zip
editlock by flock()
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@558 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h3
1 files changed, 2 insertions, 1 deletions
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);