osmo_epdg_provider: rename provider->provider into simaka

In preparation to add support for the attribute provider.
The attribute provider will be used to supply the Virtual IP (vip)
This commit is contained in:
Alexander Couzens 2024-02-13 18:31:19 +01:00
parent bc1a4da647
commit c6f37c4e9b
3 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ static bool register_functions(private_osmo_epdg_t *this,
*/ */
static simaka_provider_t* get_provider(private_osmo_epdg_t *this) static simaka_provider_t* get_provider(private_osmo_epdg_t *this)
{ {
return &this->provider->provider; return &this->provider->simaka;
} }
METHOD(plugin_t, get_features, int, METHOD(plugin_t, get_features, int,

View File

@ -153,7 +153,7 @@ osmo_epdg_provider_t *osmo_epdg_provider_create(osmo_epdg_gsup_client_t *gsup)
INIT(this, INIT(this,
.public = { .public = {
.provider = { .simaka = {
.get_triplet = (void*)return_false, .get_triplet = (void*)return_false,
.get_quintuplet = _get_quintuplet, .get_quintuplet = _get_quintuplet,
.resync = _resync, .resync = _resync,

View File

@ -39,7 +39,7 @@ struct osmo_epdg_provider_t {
/** /**
* Implements simaka_provider_t interface. * Implements simaka_provider_t interface.
*/ */
simaka_provider_t provider; simaka_provider_t simaka;
/** /**
* Destroy a osmo_epdg_provider_t. * Destroy a osmo_epdg_provider_t.