//
//  MCConfigGlobals.h
//  MCClientServer
//
//  Created by Michael Clark on 09-09-17.
//  Copyright 2009 Marketcircle, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>


#define   kMCConfigDRequestTimeout  15
#define   kMCConfigDReplyTimeout    300


// Network Protocol
extern NSString *kMCCProtocolIdentifier;
extern NSString *kMCCProtocolVersion;


extern NSString *kMCNCCommandKey;
extern NSString *kMCCAuthorizationRequest;
extern NSString *kMCCAuthorizationResponse;

// kMCCAuthorizationRequest
extern NSString *kMCCPasswordKey;

typedef enum {
	kMCCAuthorizationRequestResultSuccess,
	kMCCAuthorizationRequestResultFailureUnknownError,
	kMCCAuthorizationRequestResultFailureIncorrectPassword,
	kMCCAuthorizationRequestResultFailureExistingConnection,
} MCCAuthorizationRequestResultType;

// kMCCAuthorizationResponse
extern NSString *kMCCAuthorizationResultCodeKey; // number for MCCAuthorizationRequestResultType
extern NSString *kMCCPortKey;

extern NSString *kMCCPassword;
