diff audioDB-internals.h @ 673:e1f7cab30701

rename struct adbfoo to struct adb_foo (or nearest idiomatic equivalent in the appropriate language) This should have minimal impact on ABI compatibility, but is still formally a backward-incompatible change (and is potentially an API incompatibility too, though everyone should be using the typedefed synonyms.
author mas01cr
date Fri, 05 Mar 2010 16:00:58 +0000
parents a35ca2d5f238
children b1723ae7675e
line wrap: on
line diff
--- a/audioDB-internals.h	Fri Mar 05 16:00:53 2010 +0000
+++ b/audioDB-internals.h	Fri Mar 05 16:00:58 2010 +0000
@@ -70,7 +70,7 @@
 
 /* this struct is the in-memory representation of the binary
  * information stored at the head of each adb file */
-typedef struct adbheader {
+typedef struct adb_header {
   uint32_t magic;
   uint32_t version;
   uint32_t numFiles;
@@ -87,7 +87,7 @@
   off_t dbSize;
 } adb_header_t;
 
-#define ADB_HEADER_SIZE (sizeof(struct adbheader))
+#define ADB_HEADER_SIZE (sizeof(struct adb_header))
 
 #define ADB_HEADER_FLAG_L2NORM		(0x1U)
 #define ADB_HEADER_FLAG_POWER		(0x4U)