diff options
author | Thomas White <taw@physics.org> | 2020-09-24 16:40:22 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-09-24 16:40:22 +0200 |
commit | 1d077dacd4083b1b976237042d9029d450ed79d9 (patch) | |
tree | 89e8353d23b4da9b4572f7c623261aff68a44afd /src | |
parent | ea9101cbd8b23d15cf9955c0e3b8fd1c390162dc (diff) |
Export find_result_by_name
Diffstat (limited to 'src')
-rw-r--r-- | src/gui_project.c | 4 | ||||
-rw-r--r-- | src/gui_project.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/gui_project.c b/src/gui_project.c index 4a4cff83..fe2f72c0 100644 --- a/src/gui_project.c +++ b/src/gui_project.c @@ -795,8 +795,8 @@ static void update_result_index(struct gui_result *result) } -static struct gui_result *find_result_by_name(struct crystfelproject *proj, - const char *name) +struct gui_result *find_result_by_name(struct crystfelproject *proj, + const char *name) { int i; diff --git a/src/gui_project.h b/src/gui_project.h index 0e4c9859..8a3af512 100644 --- a/src/gui_project.h +++ b/src/gui_project.h @@ -231,4 +231,7 @@ extern struct image *find_result(struct crystfelproject *proj, const char *filename, const char *event); +extern struct gui_result *find_result_by_name(struct crystfelproject *proj, + const char *name); + #endif |