Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
|
A ServiceMatcher that matches a Service by its Plugin name. More...
#include <service_matcher.h>
Data Fields | |
ServiceMatcher | pnsm_base_matcher |
The base matcher. More... | |
const char * | pnsm_plugin_name_s |
The name of the Service's Plugin to match. More... | |
Data Fields inherited from ServiceMatcher | |
RunServiceMatcherCallback | sm_match_fn |
Callback function to run against a given Service to see if is a match. More... | |
DestroyServiceMatcherCallback | sm_destroy_fn |
Callback to call when destroying a custom ServiceMatcher. More... | |
A ServiceMatcher that matches a Service by its Plugin name.
Find a Service by matching the name of the Plugin that it was loaded from. This is used when working with a ReferredService.
void SetPluginNameForServiceMatcher | ( | PluginNameServiceMatcher * | matcher_p, |
const char * | plugin_name_s | ||
) |
Set the Plugin name to match for a PluginNameServiceMatcher.
matcher_p | The PluginNameServiceMatcher to update. |
plugin_name_s | The Plugin name to search for. |
ServiceMatcher pnsm_base_matcher |
The base matcher.