aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-07-16 09:09:00 +0200
committerThomas White <taw@physics.org>2021-07-16 09:09:00 +0200
commit194f2aa345e738bc7e92ab6fc34a0ea185ad23d5 (patch)
tree58c41ffd45e877a027731bdfd39adbd360e1161d /libcrystfel/src/image.h
parentdb1f4d304c45482a6985d19df99a920c48248cfb (diff)
Rename DST_* to DATA_SOURCE_TYPE_*
On some systems, this conflicts with DST_NONE in sys/time.h.
Diffstat (limited to 'libcrystfel/src/image.h')
-rw-r--r--libcrystfel/src/image.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libcrystfel/src/image.h b/libcrystfel/src/image.h
index 1aabeccc..43d0ed45 100644
--- a/libcrystfel/src/image.h
+++ b/libcrystfel/src/image.h
@@ -98,12 +98,12 @@ struct header_cache_entry {
typedef enum
{
- DST_UNKNOWN,
- DST_NONE,
- DST_HDF5,
- DST_CBF,
- DST_CBFGZ,
- DST_MSGPACK
+ DATA_SOURCE_TYPE_UNKNOWN,
+ DATA_SOURCE_TYPE_NONE,
+ DATA_SOURCE_TYPE_HDF5,
+ DATA_SOURCE_TYPE_CBF,
+ DATA_SOURCE_TYPE_CBFGZ,
+ DATA_SOURCE_TYPE_MSGPACK
} DataSourceType;