2 #import <Foundation/Foundation.h>
4 #import "utilities/debugging.h"
5 #import "keychain/escrowrequest/EscrowRequestServer.h"
6 #import "keychain/escrowrequest/EscrowRequestServerHelpers.h"
8 // False by default, to avoid turning this on in tests that don't want it
9 static bool EscrowRequestServerEnabled = false;
10 bool EscrowRequestServerIsEnabled(void) {
11 return EscrowRequestServerEnabled;
13 void EscrowRequestServerSetEnabled(bool enabled) {
14 EscrowRequestServerEnabled = enabled;
17 void EscrowRequestServerInitialize(void) {
18 secnotice("escrowrequest", "performing EscrowRequestServerInitialize");
19 EscrowRequestServer* server = [EscrowRequestServer server];
20 [server.controller.stateMachine startOperation];