From efa34a49e4ada354db83fe715b34e47ddf6c46c5 Mon Sep 17 00:00:00 2001 From: nishi Date: Mon, 20 May 2024 22:02:59 +0000 Subject: [PATCH] add stuff git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@45 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- FORMATv1.md | 7 +++++-- Library/dw_database.h | 4 ++-- common.mk | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/FORMATv1.md b/FORMATv1.md index 1d12b69..0088e76 100644 --- a/FORMATv1.md +++ b/FORMATv1.md @@ -1,4 +1,4 @@ -# DWF - DataWorks Database Format 1.0 +# DWF - DataWorks Database Format 1.0 {#FORMATv1} DWF is a simple database format designed for DataWorks. @@ -67,7 +67,10 @@ File MUST look like this: | `signature` | | | `infoentry` | | | uint64\_t | Last modified time of the database | -| 256 `indexentry` | | +| `indexentry` | 1st one | +| `indexentry` | 2nd one | +| ... | | +| `indexentry` | 256th one | | `dbentry` | 1st one | | `dbentry` | 2nd one | | ... | | diff --git a/Library/dw_database.h b/Library/dw_database.h index cceba01..41ab2b7 100644 --- a/Library/dw_database.h +++ b/Library/dw_database.h @@ -73,8 +73,8 @@ struct dataworks_db { /** * @~english - * @ref FORMAT * @brief indexentry for v1 database. + * @note See \ref FORMATv1 for more info. * */ struct dataworks_db_v1_indexentry { @@ -84,7 +84,7 @@ struct dataworks_db_v1_indexentry { char dbname[256]; char fields[4096]; }; - + /** * @~english * @brief Creates the database. diff --git a/common.mk b/common.mk index 2ee43e7..62b6e57 100644 --- a/common.mk +++ b/common.mk @@ -64,6 +64,6 @@ archive-zip: archive: $(MAKE) archive-prepare - $(MAKE) archive-targz PREP=NO - $(MAKE) archive-zip PREP=NO + -$(MAKE) archive-targz PREP=NO + -$(MAKE) archive-zip PREP=NO $(MAKE) archive-cleanup -- 2.43.0