summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-01 00:00:27 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-01 00:00:27 +0800
commit770a864a23d078ed050edb116ee27db0ea43a449 (patch)
tree34e3a9225036ab166bfe59903a67b17a006730cb /include
parentfe0da2f0c443d67c437276909c42d742c1eda259 (diff)
downloadpttbbs-770a864a23d078ed050edb116ee27db0ea43a449.tar
pttbbs-770a864a23d078ed050edb116ee27db0ea43a449.tar.gz
pttbbs-770a864a23d078ed050edb116ee27db0ea43a449.tar.bz2
pttbbs-770a864a23d078ed050edb116ee27db0ea43a449.tar.lz
pttbbs-770a864a23d078ed050edb116ee27db0ea43a449.tar.xz
pttbbs-770a864a23d078ed050edb116ee27db0ea43a449.tar.zst
pttbbs-770a864a23d078ed050edb116ee27db0ea43a449.zip
update getindex to binary search
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1903 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/proto.h b/include/proto.h
index 523964fe..9c9267fc 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -442,7 +442,7 @@ int search_rec(char* dirname, int (*filecheck)());
int append_record_forward(char *fpath, fileheader_t *record, int size);
int get_sum_records(char* fpath, int size);
int substitute_ref_record(char* direct, fileheader_t *fhdr, int ent);
-int getindex(char *fpath, char *fname, int start);
+int getindex(char *fpath, fileheader_t *fh, int start);
/* register */
int getnewuserid(void);