NameServiceMatcher Struct Reference

A ServiceMatcher that matches a Service by its name. More...

#include <service_matcher.h>

Inheritance diagram for NameServiceMatcher:
[legend]
Collaboration diagram for NameServiceMatcher:
[legend]

Data Fields

ServiceMatcher nsm_base_matcher
 The base matcher. More...
 
const char * nsm_service_name_s
 The name of the Service to match. More...
 
const char * nsm_service_alias_s
 The alias of the Service 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...
 

Additional Inherited Members

- Public Member Functions inherited from ServiceMatcher
ServiceMatcherAllocateServiceMatcher (void)
 Allocate an empty ServiceMatcher. More...
 
ServiceMatcherAllocateResourceServiceMatcher (Resource *resource_p, Handler *handler_p)
 Allocate a ResourceServiceMatcher. More...
 
ServiceMatcherAllocateOperationNameServiceMatcher (const char *name_s, const char *alias_s)
 Allocate a NameServiceMatcher. More...
 
ServiceMatcherAllocatePluginNameServiceMatcher (const char *plugin_name_s)
 Allocate a PluginNameServiceMatcher. More...
 
ServiceMatcherAllocatePluginOperationNameServiceMatcher (const char *plugin_name_s, const char *service_name_s)
 Allocate a PluginOperationNameServiceMatcher. More...
 
ServiceMatcherAllocateKeywordServiceMatcher (void)
 Allocate a KeywordServiceMatcher. More...
 
bool RunServiceMatcher (ServiceMatcher *matcher_p, Service *service_p)
 Run a ServiceMatcher on a given Service. More...
 
void FreeServiceMatcher (ServiceMatcher *matcher_p)
 Free a ServiceMatcher. More...
 

Detailed Description

A ServiceMatcher that matches a Service by its name.

Field Documentation

◆ nsm_base_matcher

ServiceMatcher nsm_base_matcher

The base matcher.

◆ nsm_service_name_s

const char* nsm_service_name_s

The name of the Service to match.

◆ nsm_service_alias_s

const char* nsm_service_alias_s

The alias of the Service to match.


The documentation for this struct was generated from the following file: