typedef struct STG_RESULT {
     STG_PAIR* modify;
     STG_PAIR* reply;
+    int returnCode;
 } STG_RESULT;
 
 inline
     return pair == NULL || pair->key[0] == '\0' || pair->value[0] == '\0';
 }
 
+enum
+{
+    STG_REJECT,
+    STG_FAIL,
+    STG_OK,
+    STG_HANDLED,
+    STG_INVALID,
+    STG_USERLOCK,
+    STG_NOTFOUND,
+    STG_NOOP,
+    STG_UPDATED
+};
+
 #ifdef __cplusplus
 }
 #endif