mirror of https://github.com/BOINC/boinc.git
136 lines
3.4 KiB
Python
136 lines
3.4 KiB
Python
# Generated by db_def_to_py
|
|
BLOB_SIZE = 65536
|
|
APP_VERSION_XML_BLOB_SIZE = 262144
|
|
MSG_FROM_HOST_BLOB_SIZE = 262144
|
|
MSG_TO_HOST_BLOB_SIZE = 262144
|
|
LOCALITY_SCHED_NONE = 0
|
|
LOCALITY_SCHED_LITE = 1
|
|
MAX_SIZE_CLASSES = 10
|
|
TEAM_TYPE_CLUB = 1
|
|
TEAM_TYPE_COMPANY = 2
|
|
TEAM_TYPE_PRIMARY = 3
|
|
TEAM_TYPE_SECONDARY = 4
|
|
TEAM_TYPE_JUNIOR_COLLEGE = 5
|
|
TEAM_TYPE_UNIVERSITY = 6
|
|
TEAM_TYPE_GOVERNMENT = 7
|
|
FILE_DELETE_INIT = 0
|
|
FILE_DELETE_READY = 1
|
|
FILE_DELETE_DONE = 2
|
|
FILE_DELETE_ERROR = 3
|
|
ASSIMILATE_INIT = 0
|
|
ASSIMILATE_READY = 1
|
|
ASSIMILATE_DONE = 2
|
|
WU_ERROR_COULDNT_SEND_RESULT = 1
|
|
WU_ERROR_TOO_MANY_ERROR_RESULTS = 2
|
|
WU_ERROR_TOO_MANY_SUCCESS_RESULTS = 4
|
|
WU_ERROR_TOO_MANY_TOTAL_RESULTS = 8
|
|
WU_ERROR_CANCELLED = 16
|
|
WU_ERROR_NO_CANONICAL_RESULT = 32
|
|
TRANSITION_NONE = 1
|
|
TRANSITION_NO_NEW_RESULTS = 2
|
|
RESULT_SERVER_STATE_INACTIVE = 1
|
|
RESULT_SERVER_STATE_UNSENT = 2
|
|
RESULT_SERVER_STATE_IN_PROGRESS = 4
|
|
RESULT_SERVER_STATE_OVER = 5
|
|
RESULT_OUTCOME_INIT = 0
|
|
RESULT_OUTCOME_SUCCESS = 1
|
|
RESULT_OUTCOME_COULDNT_SEND = 2
|
|
RESULT_OUTCOME_CLIENT_ERROR = 3
|
|
RESULT_OUTCOME_NO_REPLY = 4
|
|
RESULT_OUTCOME_DIDNT_NEED = 5
|
|
RESULT_OUTCOME_VALIDATE_ERROR = 6
|
|
RESULT_OUTCOME_CLIENT_DETACHED = 7
|
|
VALIDATE_STATE_INIT = 0
|
|
VALIDATE_STATE_VALID = 1
|
|
VALIDATE_STATE_INVALID = 2
|
|
VALIDATE_STATE_NO_CHECK = 3
|
|
VALIDATE_STATE_INCONCLUSIVE = 4
|
|
VALIDATE_STATE_TOO_LATE = 5
|
|
ASSIGN_NONE = 0
|
|
ASSIGN_HOST = 1
|
|
ASSIGN_USER = 2
|
|
ASSIGN_TEAM = 3
|
|
GUI_RPC_PORT = 31416
|
|
RUN_MODE_ALWAYS = 1
|
|
RUN_MODE_AUTO = 2
|
|
RUN_MODE_NEVER = 3
|
|
RUN_MODE_RESTORE = 4
|
|
CPU_SCHED_UNINITIALIZED = 0
|
|
CPU_SCHED_PREEMPTED = 1
|
|
CPU_SCHED_SCHEDULED = 2
|
|
HTTP_STATUS_CONTINUE = 100
|
|
HTTP_STATUS_OK = 200
|
|
HTTP_STATUS_PARTIAL_CONTENT = 206
|
|
HTTP_STATUS_MOVED_PERM = 301
|
|
HTTP_STATUS_MOVED_TEMP = 302
|
|
HTTP_STATUS_CLIENT_ERROR = 400
|
|
HTTP_STATUS_NOT_FOUND = 404
|
|
HTTP_STATUS_PROXY_AUTH_REQ = 407
|
|
HTTP_STATUS_RANGE_REQUEST_ERROR = 416
|
|
HTTP_STATUS_EXPECTATION_FAILED = 417
|
|
HTTP_STATUS_INTERNAL_SERVER_ERROR = 500
|
|
HTTP_STATUS_NOT_IMPLEMENTED = 501
|
|
HTTP_STATUS_BAD_GATEWAY = 502
|
|
HTTP_STATUS_SERVICE_UNAVAILABLE = 503
|
|
HTTP_STATUS_GATEWAY_TIMEOUT = 504
|
|
MODE_UNSUPPORTED = 0
|
|
MODE_HIDE_GRAPHICS = 1
|
|
MODE_WINDOW = 2
|
|
MODE_FULLSCREEN = 3
|
|
MODE_BLANKSCREEN = 4
|
|
MODE_REREAD_PREFS = 5
|
|
MODE_QUIT = 6
|
|
NGRAPHICS_MSGS = 7
|
|
PROCESS_PRIORITY_UNSPECIFIED = 0
|
|
PROCESS_PRIORITY_LOWEST = 1
|
|
PROCESS_PRIORITY_LOW = 2
|
|
PROCESS_PRIORITY_NORMAL = 3
|
|
PROCESS_PRIORITY_HIGH = 4
|
|
PROCESS_PRIORITY_HIGHEST = 5
|
|
MSG_INFO = 1
|
|
MSG_USER_ALERT = 2
|
|
MSG_INTERNAL_ERROR = 3
|
|
MSG_SCHEDULER_ALERT = 4
|
|
RESULT_NEW = 0
|
|
RESULT_FILES_DOWNLOADING = 1
|
|
RESULT_FILES_DOWNLOADED = 2
|
|
RESULT_COMPUTE_ERROR = 3
|
|
RESULT_FILES_UPLOADING = 4
|
|
RESULT_FILES_UPLOADED = 5
|
|
RESULT_ABORTED = 6
|
|
RESULT_UPLOAD_FAILED = 7
|
|
FILE_NOT_PRESENT = 0
|
|
FILE_PRESENT = 1
|
|
FILE_VERIFY_PENDING = 2
|
|
PROCESS_UNINITIALIZED = 0
|
|
PROCESS_EXECUTING = 1
|
|
PROCESS_SUSPENDED = 9
|
|
PROCESS_ABORT_PENDING = 5
|
|
PROCESS_QUIT_PENDING = 8
|
|
PROCESS_COPY_PENDING = 10
|
|
PROCESS_EXITED = 2
|
|
PROCESS_WAS_SIGNALED = 3
|
|
PROCESS_EXIT_UNKNOWN = 4
|
|
PROCESS_ABORTED = 6
|
|
PROCESS_COULDNT_START = 7
|
|
NETWORK_STATUS_ONLINE = 0
|
|
NETWORK_STATUS_WANT_CONNECTION = 1
|
|
NETWORK_STATUS_WANT_DISCONNECT = 2
|
|
NETWORK_STATUS_LOOKUP_PENDING = 3
|
|
RPC_REASON_USER_REQ = 1
|
|
RPC_REASON_RESULTS_DUE = 2
|
|
RPC_REASON_NEED_WORK = 3
|
|
RPC_REASON_TRICKLE_UP = 4
|
|
RPC_REASON_ACCT_MGR_REQ = 5
|
|
RPC_REASON_INIT = 6
|
|
RPC_REASON_PROJECT_REQ = 7
|
|
BATCH_STATE_INIT = 0
|
|
BATCH_STATE_IN_PROGRESS = 1
|
|
BATCH_STATE_COMPLETE = 2
|
|
BATCH_STATE_ABORTED = 3
|
|
BATCH_STATE_RETIRED = 4
|
|
CREDIT_TYPE_FLOPS = 0
|
|
CREDIT_TYPE_STORAGE = 1
|
|
CREDIT_TYPE_NETWORK = 2
|
|
CREDIT_TYPE_PROJECT = 3
|