diff options
| author | chenzizhan <[email protected]> | 2023-09-12 16:03:55 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2023-09-12 16:03:55 +0800 |
| commit | 944214e499b0dde73a5a2f83aa18998671558da6 (patch) | |
| tree | 1fe795a2ea23504758638425d6669f9852f51ce2 /include/fieldstat/fieldstat.h | |
| parent | 8063e9f92a2f0df4cf281279ad329a2357e7f7cf (diff) | |
fieldstat_find_cubev4.2.1
Diffstat (limited to 'include/fieldstat/fieldstat.h')
| -rw-r--r-- | include/fieldstat/fieldstat.h | 5 |
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 */ |
