registry: Register XC-SECURITY extension protocol names.
This commit is contained in:
parent
1c6cb353f7
commit
b092856bab
|
@ -1114,4 +1114,20 @@ SecurityExtensionInit(INITARGS)
|
||||||
|
|
||||||
/* Label objects that were created before we could register ourself */
|
/* Label objects that were created before we could register ourself */
|
||||||
SecurityLabelInitial();
|
SecurityLabelInitial();
|
||||||
|
|
||||||
|
/* Register protocol names */
|
||||||
|
RegisterRequestName(extEntry->base, X_SecurityQueryVersion,
|
||||||
|
SECURITY_EXTENSION_NAME ":QueryVersion");
|
||||||
|
RegisterRequestName(extEntry->base, X_SecurityGenerateAuthorization,
|
||||||
|
SECURITY_EXTENSION_NAME ":GenerateAuthorization");
|
||||||
|
RegisterRequestName(extEntry->base, X_SecurityRevokeAuthorization,
|
||||||
|
SECURITY_EXTENSION_NAME ":RevokeAuthorization");
|
||||||
|
|
||||||
|
RegisterEventName(SecurityEventBase + XSecurityAuthorizationRevoked,
|
||||||
|
SECURITY_EXTENSION_NAME ":AuthorizationRevoked");
|
||||||
|
|
||||||
|
RegisterErrorName(SecurityErrorBase + XSecurityBadAuthorization,
|
||||||
|
SECURITY_EXTENSION_NAME ":BadAuthorization");
|
||||||
|
RegisterErrorName(SecurityErrorBase + XSecurityBadAuthorizationProtocol,
|
||||||
|
SECURITY_EXTENSION_NAME ":BadAuthorizationProtocol");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue