aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/MCPKit/MCPFoundationKit/MCPConstants.h
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks/MCPKit/MCPFoundationKit/MCPConstants.h')
-rw-r--r--Frameworks/MCPKit/MCPFoundationKit/MCPConstants.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPConstants.h b/Frameworks/MCPKit/MCPFoundationKit/MCPConstants.h
index acdeee16..fba7d651 100644
--- a/Frameworks/MCPKit/MCPFoundationKit/MCPConstants.h
+++ b/Frameworks/MCPKit/MCPFoundationKit/MCPConstants.h
@@ -52,6 +52,13 @@ enum
};
typedef NSUInteger MCPQueryStreamingType;
+// Connection state
+// This is used internally by MCPConnection to prevent simultaneous execution of different queries
+enum {
+ MCPConnectionIdle = 0,
+ MCPConnectionBusy = 1
+};
+
// Charcater set mapping constants
typedef struct _OUR_CHARSET
{