Rename [Un]Register* functions to Add/Remove*.
This commit is contained in:
committed by
Ryan Leavengood
parent
dc1acef865
commit
b73982892d
@@ -41,12 +41,10 @@ public:
|
|||||||
bool secondaryIdentifierOptional,
|
bool secondaryIdentifierOptional,
|
||||||
BKey& key);
|
BKey& key);
|
||||||
|
|
||||||
status_t RegisterKey(const BKey& key);
|
status_t AddKey(const BKey& key);
|
||||||
status_t RegisterKey(const char* keyring,
|
status_t AddKey(const char* keyring, const BKey& key);
|
||||||
const BKey& key);
|
status_t RemoveKey(const BKey& key);
|
||||||
status_t UnregisterKey(const BKey& key);
|
status_t RemoveKey(const char* keyring, const BKey& key);
|
||||||
status_t UnregisterKey(const char* keyring,
|
|
||||||
const BKey& key);
|
|
||||||
|
|
||||||
status_t GetNextKey(uint32& cookie, BKey& key);
|
status_t GetNextKey(uint32& cookie, BKey& key);
|
||||||
status_t GetNextKey(BKeyType type, BKeyPurpose purpose,
|
status_t GetNextKey(BKeyType type, BKeyPurpose purpose,
|
||||||
@@ -59,9 +57,9 @@ public:
|
|||||||
|
|
||||||
// Keyrings
|
// Keyrings
|
||||||
|
|
||||||
status_t RegisterKeyring(const char* keyring,
|
status_t AddKeyring(const char* keyring,
|
||||||
const BKey& key);
|
const BKey& key);
|
||||||
status_t UnregisterKeyring(const char* keyring);
|
status_t RemoveKeyring(const char* keyring);
|
||||||
|
|
||||||
status_t GetNextKeyring(uint32& cookie,
|
status_t GetNextKeyring(uint32& cookie,
|
||||||
BString& keyring);
|
BString& keyring);
|
||||||
|
|||||||
@@ -74,28 +74,28 @@ BKeyStore::GetKey(const char* keyring, BKeyType type, BKeyPurpose purpose,
|
|||||||
|
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
BKeyStore::RegisterKey(const BKey& key)
|
BKeyStore::AddKey(const BKey& key)
|
||||||
{
|
{
|
||||||
return RegisterKey(NULL, key);
|
return AddKey(NULL, key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
BKeyStore::RegisterKey(const char* keyring, const BKey& key)
|
BKeyStore::AddKey(const char* keyring, const BKey& key)
|
||||||
{
|
{
|
||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
BKeyStore::UnregisterKey(const BKey& key)
|
BKeyStore::RemoveKey(const BKey& key)
|
||||||
{
|
{
|
||||||
return UnregisterKey(NULL, key);
|
return RemoveKey(NULL, key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
BKeyStore::UnregisterKey(const char* keyring, const BKey& key)
|
BKeyStore::RemoveKey(const char* keyring, const BKey& key)
|
||||||
{
|
{
|
||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
}
|
}
|
||||||
@@ -135,14 +135,14 @@ BKeyStore::GetNextKey(const char* keyring, BKeyType type, BKeyPurpose purpose,
|
|||||||
|
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
BKeyStore::RegisterKeyring(const char* keyring, const BKey& key)
|
BKeyStore::AddKeyring(const char* keyring, const BKey& key)
|
||||||
{
|
{
|
||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
BKeyStore::UnregisterKeyring(const char* keyring)
|
BKeyStore::RemoveKeyring(const char* keyring)
|
||||||
{
|
{
|
||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user