boinc/py/Boinc/boinc_db.py

43 lines
1.1 KiB
Python
Raw Normal View History

# Generated by db_def_to_py
MAX_BLOB_SIZE = 4096
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
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
RESULT_SERVER_STATE_INACTIVE = 1
RESULT_SERVER_STATE_UNSENT = 2
RESULT_SERVER_STATE_UNSENT_SEQ = 3
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
VALIDATE_STATE_INIT = 0
VALIDATE_STATE_VALID = 1
VALIDATE_STATE_INVALID = 2
WORKSEQ_STATE_UNASSIGNED = 0
WORKSEQ_STATE_ASSIGNED = 1
WORKSEQ_STATE_DONE = 2
RESULT_NEW = 0
RESULT_FILES_DOWNLOADING = 1
RESULT_FILES_DOWNLOADED = 2
RESULT_COMPUTE_DONE = 3
RESULT_FILES_UPLOADING = 4
RESULT_FILES_UPLOADED = 5