From: nishi Date: Mon, 20 May 2024 22:02:59 +0000 (+0000) Subject: add stuff X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=efa34a49e4ada354db83fe715b34e47ddf6c46c5;p=dataworks.git add stuff git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@45 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- 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