// Broker return codes
#define BRKERR_SUCCESS 0
#define BRKERR_COMMS_FAIL -100
#define BRKERR_INVALID_STATE -200
#define BRKERR_PROC_TAG -201
#define BRKERR_SUB_PROC -202
#define BRKERR_PROC_TYPE -203
#define BRKERR_REGISTERED -204
#define BRKERR_NOT_REGISTERED -205
#define BRKERR_UNKNOWN -206
#define BRKERR_SESSION -207
#define BRKERR_NOT_HANDLER -208
#define BRKERR_CANT_TRACK -209
#define BRKERR_PROC_EXISTS -210
#define BRKERR_CLIENT_TYPE -211
#define BRKERR_LAST_HANDLER -212
#define BRKERR_LAST_HANDLER_PRI -213
#define BRKERR_LAST_ALARM_TRACK -214
#define BRKERR_VALUE_OUT_OF_RANGE -215
#define BRKERR_API_CALL_NOT_DEFINED -216
#define BRKERR_NO_AUTO_CLIENTS -217
#define BRKERR_LAST_NEW_HANDLER -218
#define BRKERR_LAST_VWD_HANDLER -219
#define BRKERR_INV_ALARM_HANDLER -220
#define BRKERR_LAST_NEW_HANDLER_PRI -221
#define BRKERR_LAST_VWD_HANDLER_PRI -222
#define BRKERR_INVALID_TOKEN -300
#define BRKERR_NO_DATA -301
#define BRKERR_PENDING -302
#define BRKERR_ALLOCATED -303
#define BRKERR_INIT_SUSP -304
#define BRKERR_MONGRP -305
#define BRKERR_LOCALE -306
#define BRKERR_NOT_OWNER -307
#define BRKERR_EXISTS -308
#define BRKERR_CANT_DELETE -309
#define BRKERR_LOCKED -310
#define BRKERR_OPTION_NOT_ENABLED -311
#define BRKERR_INVALID_OPTTYP -312
#define BRKERR_USRGRP -313
#define BRKERR_MONGRP_NOT_FOUND -314
#define BRKERR_MONGRP_IN_USE -315
#define BRKERR_MONGRP_LIMIT_EXCEEDED -316
#define BRKERR_USER_LIMIT_EXCEEDED -317
#define BRKERR_CONTRACT_LIMIT_EXCEEDED -318
#define BRKERR_CANT_UPDATE -319
#define BRKERR_QUEUE_TOO_BIG -320
#define BRKERR_FEP_LIMIT_EXCEEDED -321
#define BRKERR_INVALID_DB_VERSION -322
#define BRKERR_LICENSE_EXPIRED -323
#define BRKERR_WRONG_SYSCONF -324
#define BRKERR_LICENSE_ERROR -325
#define BRKERR_LICENSE_VIOLATION -326
#define BRKERR_DLR_CLNT_LMT_EXCEEDED -327
#define BRKERR_DEALER_RESTRICTED -328
#define BRKERR_BRANCH_RESTRICTED -329
#define BRKERR_PRIORITY -330
#define BRKERR_PHASE -331
#define BRKERR_APPTYPE -332
#define BRKERR_PHYEXT -333
#define BRKERR_TRANSFERRED -334
#define BRKERR_DISABLED -335
#define BRKERR_MAX_USER_ALARMS -336
#define BRKERR_PARM1 -401
#define BRKERR_PARM2 -402
#define BRKERR_PARM3 -403
#define BRKERR_PARM4 -404