The endianness of a DMS is now stored in the OBIDMS structure

This commit is contained in:
Celine Mercier
2015-11-18 15:35:09 +01:00
parent eb12af4da4
commit dbf9463238
2 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,7 @@
#include <dirent.h>
#include <string.h>
#include <stdio.h>
#include <stdbool.h>
#include "obierrno.h"
@ -52,6 +53,8 @@ typedef struct OBIDMS {
int array_dir_fd; /**< The file descriptor of the directory entry
* usable to refer and scan the array directory.
*/
bool little_endian; /**< Endianness of the database.
*/
} OBIDMS_t, *OBIDMS_p;