1 #ifndef NETSCHEDULE_DB_DUMP__HPP
2 #define NETSCHEDULE_DB_DUMP__HPP
115 #pragma pack(push, 1)
158 void Write(FILE *
f,
const char * progress_msg);
159 int Read(FILE *
f,
size_t fixed_size_from_header,
160 char * progress_msg);
168 #pragma pack(push, 1)
178 int Read(FILE *
f,
size_t fixed_size_from_header,
187 #pragma pack(push, 1)
202 void Write(FILE *
f,
const char * client_node,
203 const char * client_session,
204 const char * err_msg);
205 int Read(FILE *
f,
size_t fixed_size_from_header,
207 char * client_session,
213 #pragma pack(push, 1)
224 int Read(FILE *
f,
size_t fixed_size_from_header);
229 #pragma pack(push, 1)
240 int Read(FILE *
f,
size_t fixed_size_from_header);
245 #pragma pack(push, 1)
308 int Read(FILE *
f,
size_t fixed_size_from_header);
313 #pragma pack(push, 1)
327 int Read(FILE *
f,
size_t fixed_size_from_header);
static SQLCHAR output[256]
int32_t Int4
4-byte (32-bit) signed integer
uint32_t Uint4
4-byte (32-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Defines Limits for the types used in NCBI C/C++ toolkit.
const unsigned int kNetScheduleMaxDBDataSize
double f(double x_, const double &y_)
const unsigned kMaxHitIdSize
const unsigned kLinkedSectionsList
const unsigned kLinkedSectionValueSize
const unsigned kLinkedSectionValueNameSize
const unsigned kMaxSessionIdSize
const unsigned kMaxDescriptionSize
const unsigned kMaxClientIpSize
const unsigned kMaxQueueLimitsSize
const unsigned kMaxQueueNameSize
int Read(FILE *f, size_t fixed_size_from_header)
char token[kNetScheduleMaxDBDataSize]
int Read(FILE *f, size_t fixed_size_from_header)
char token[kNetScheduleMaxDBDataSize]
void Write(FILE *f, const char *progress_msg)
bool need_lsnr_progress_msg_notif
Uint4 listener_notif_addr
bool need_subm_progress_msg_notif
double subm_notif_timeout
char client_sid[kMaxSessionIdSize]
double listener_notif_abstime
int Read(FILE *f, size_t fixed_size_from_header, char *progress_msg)
char client_ip[kMaxClientIpSize]
Uint4 listener_notif_port
char ncbi_phid[kMaxHitIdSize]
void Write(FILE *f, const char *client_node, const char *client_session, const char *err_msg)
Uint4 client_session_size
int Read(FILE *f, size_t fixed_size_from_header, char *client_node, char *client_session, char *err_msg)
int Read(FILE *f, size_t fixed_size_from_header, char *input, char *output)
void Write(FILE *f, const char *input, const char *output)
char section[kLinkedSectionValueNameSize]
char value_name[kLinkedSectionValueNameSize]
char value[kLinkedSectionValueSize]
int Read(FILE *f, size_t fixed_size_from_header)
Uint4 client_registry_min_worker_nodes
char reader_hosts[kMaxQueueLimitsSize]
int Read(FILE *f, size_t fixed_size_from_header)
double read_blacklist_time
char qclass[kMaxQueueNameSize]
double client_registry_timeout_admin
double client_registry_timeout_unknown
char subm_hosts[kMaxQueueLimitsSize]
Uint4 dump_aff_buffer_size
double client_registry_timeout_submitter
char linked_section_prefixes[kLinkedSectionsList]
Uint4 client_registry_min_unknowns
double client_registry_timeout_reader
char wnode_hosts[kMaxQueueLimitsSize]
char linked_section_names[kLinkedSectionsList]
Uint4 dump_client_buffer_size
Uint4 read_failed_retries
Uint4 client_registry_min_submitters
Uint4 client_registry_min_admins
Uint4 dump_group_buffer_size
double max_pending_read_wait_timeout
double client_registry_timeout_worker_node
Uint4 max_jobs_per_client
char qname[kMaxQueueNameSize]
char program_name[kMaxQueueLimitsSize]
double notif_hifreq_interval
double max_pending_wait_timeout
char description[kMaxDescriptionSize]
Uint4 linked_section_prefixes_size
Uint4 linked_section_names_size
double notif_hifreq_period
Uint4 client_registry_min_readers