summaryrefslogtreecommitdiff
path: root/include/fieldstat/fieldstat.h
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2023-09-12 16:03:55 +0800
committerchenzizhan <[email protected]>2023-09-12 16:03:55 +0800
commit944214e499b0dde73a5a2f83aa18998671558da6 (patch)
tree1fe795a2ea23504758638425d6669f9852f51ce2 /include/fieldstat/fieldstat.h
parent8063e9f92a2f0df4cf281279ad329a2357e7f7cf (diff)
fieldstat_find_cubev4.2.1
Diffstat (limited to 'include/fieldstat/fieldstat.h')
-rw-r--r--include/fieldstat/fieldstat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/fieldstat/fieldstat.h b/include/fieldstat/fieldstat.h
index 722b224..9f38845 100644
--- a/include/fieldstat/fieldstat.h
+++ b/include/fieldstat/fieldstat.h
@@ -228,6 +228,11 @@ void fieldstat_get_cells(const struct fieldstat *instance, int cube_id, int metr
*/
struct fieldstat_tag_list *fieldstat_get_shared_tags(const struct fieldstat *instance, int cube_id);
+/*
+ return a cube id corresponding to the shared tags. -1 is returned if the shared tags are not found.
+*/
+int fieldstat_find_cube(const struct fieldstat *instance, const struct fieldstat_tag *shared_tags, size_t n_shared_tags);
+
/*
get the parameter max_n_cell of fieldstat_register_cube
*/