aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/datatemplate.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/datatemplate.h')
-rw-r--r--libcrystfel/src/datatemplate.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libcrystfel/src/datatemplate.h b/libcrystfel/src/datatemplate.h
index c20cbcce..07f2387d 100644
--- a/libcrystfel/src/datatemplate.h
+++ b/libcrystfel/src/datatemplate.h
@@ -43,6 +43,14 @@
typedef struct _datatemplate DataTemplate;
+struct dg_group_info
+{
+ const char *name;
+ int serial;
+ int hierarchy_level;
+};
+
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -98,6 +106,8 @@ extern int data_template_rotate_group(DataTemplate *dtempl,
extern int data_template_write_to_file(const DataTemplate *dtempl,
const char *filename);
+extern struct dg_group_info *data_template_group_info(const DataTemplate *dtempl, int *n);
+
#ifdef __cplusplus
}
#endif