|
Mapper
|
#include <sys/types.h>

Go to the source code of this file.
Classes | |
| struct | msgbuf |
| struct | update |
| struct | alarm_save |
| struct | report |
| struct | databank |
| struct | old_databank |
| struct | database |
| struct | old_database |
| struct | dial_message |
| struct | error_message |
| struct | group |
| struct | old_group |
| struct | handbook5 |
| struct | old_handbook5 |
| struct | interrogate |
| struct | interrogate::channel_gage |
| struct | overindx |
| struct | old_overindx |
| struct | agency |
| struct | rating |
| struct | rating::shift_factors |
| struct | rating::rating_curve |
| struct | rating::record_stage |
| struct | rating::sig_stages |
| struct | sensorgrps |
| struct | old_sensorgrps |
| struct | absolute_alarm |
| struct | roc_alarm |
| struct | sensor_file |
| struct | alt_alarm |
| struct | old_sensor_file |
| struct | sensor_type |
| struct | old_sensor_type |
| struct | sindx |
| struct | old_sindx |
| struct | sensor_name |
| struct | old_sensor_name |
| struct | dbmsg_req |
| struct | period_rain |
| struct | work_array |
Macros | |
| #define | EOL 0x0A |
| #define | QNX2_EOL 0x1E |
| #define | HB5_ID_LEN 17 |
| #define | PC_LEN 11 |
| #define | NAME_LEN 51 |
| #define | MSG_OUT 0x01 |
| #define | DATA_IN 0x02 |
| #define | READ_SINDX 0x03 |
| #define | UPDATE 0x04 |
| #define | SHOWREPORTS 0x05 |
| #define | VERIFY 0x06 |
| #define | ALARMS 0x07 |
| #define | STATS_OUT 0x08 |
| #define | STATS_CLEAR 0x09 |
| #define | UNKNOWN 0x00 |
| #define | ASCII 0x01 /* ALERT ASCII format */ |
| #define | BINARY 0x02 /* ALERT binary format */ |
| #define | ENHANCED 0x03 /* ALERT enhanced format */ |
| #define | DARDC 0x04 /* NWS DARDC formatted gage */ |
| #define | LARC 0x05 /* Handar 550A in smart mode */ |
| #define | HANDAR_560A 0x06 /* Handar 560A in smart mode */ |
| #define | SYNERGETICS 0x07 |
| #define | TELMK 0x08 |
| #define | BDT 0x09 |
| #define | SSBDT 0x0A |
| #define | COMPULOGGER 0x0B |
| #define | CLIMATRONICS 0x0C |
| #define | CAMBELL_21 0x0D |
| #define | CAMBELL_10 0x0E |
| #define | ASOS 0x0F |
| #define | FTS11 0x10 |
| #define | STEVENS 0x11 |
| #define | SUTRON 0x12 |
| #define | TALKAMARK 0x13 |
| #define | NOT_USED 0xFFFFFFFF |
| #define | OLD_NOT_USED 0xFFFF |
| #define | ALARMDIR "/usr/DAT/alarm" |
| #define | ALARM_SAVE "/usr/DAT/ALARM.LOG" |
| #define | DEFAULTACTION "/usr/DAT/alarm/defaultaction" |
| #define | POS_LEVEL_1 0x01 /* Bit 1 (00000001), Positive Level 1 */ |
| #define | POS_LEVEL_2 0x02 /* Bit 2 (00000010), Positive Level 2 */ |
| #define | POS_ROC 0x04 /* Bit 3 (00000100), Positive Rate of Change */ |
| #define | NEG_LEVEL_1 0x10 /* Bit 5 (00010000), Negative Level 1 */ |
| #define | NEG_LEVEL_2 0x20 /* Bit 6 (00100000), Negative Level 2 */ |
| #define | NEG_ROC 0x40 /* Bit 7 (01000000), Negative Rate Of Change */ |
| #define | DB_DIR "/usr/DAT" |
| #define | DATABANK "/usr/DAT/DATABANK.DAT" |
| #define | RPTS_PER_REC 365 |
| #define | DATABASE "/usr/DAT/DATABASE.DAT" |
| #define | DIAL "/usr/DAT/DIAL.DAT" |
| #define | DIALLOG "/usr/DAT/DIAL.LOG" |
| #define | ERRORLOG "/usr/DAT/ERROR.LOG" |
| #define | GROUP "/usr/DAT/GROUP.DAT" |
| #define | HANDBOOK5 "/usr/DAT/HANDBOOK5.DAT" |
| #define | THANDBOOK5 "/tmp/HANDBOOK5.DAT" |
| #define | INTERROGATE "/usr/DAT/INTERROGATE.DAT" |
| #define | OVERINDX "/usr/DAT/OVERINDX.DAT" |
| #define | DEFAULTOV 10 |
| #define | ONOT_USED 0xFFFFFFFF |
| #define | OVIDX_RECS 0x100 |
| #define | OVERLOAD "/usr/DAT/OVERLOAD.DAT" |
| #define | OWNER "/usr/DAT/OWNER.DAT" |
| #define | RATING "/usr/DAT/RATING.DAT" |
| #define | LINEAR '1' |
| #define | LOG '2' |
| #define | SENSORGRPS "/usr/DAT/SENSORGRPS.DAT" |
| #define | SENSOR_FILE "/usr/DAT/SENSOR_FILE.DAT" |
| #define | NO_OWNER 0x00 |
| #define | INACTIVE 0x00 |
| #define | ACTIVE 0x01 |
| #define | ACTIVE1 0x01 |
| #define | ACTIVE2 0x02 |
| #define | ACTIVE3 0x03 |
| #define | ACTIVE4 0x04 |
| #define | ALARMED 0x05 |
| #define | ALT_ALARM "/usr/DAT/ALT_ALARM.DAT" |
| #define | ALARM_ABOVE 0x01 |
| #define | ALARM_BELOW 0x02 |
| #define | ALARM_ABOVE_ROC 0x03 |
| #define | ALARM_BELOW_ROC 0x04 |
| #define | SENSOR_TYPE "/usr/DAT/SENSOR_TYPE.DAT" |
| #define | SINDX "/usr/DAT/SINDX.DAT" |
| #define | TSINDX "/tmp/SINDX.DAT" |
| #define | SNAME "/usr/DAT/SNAME.DAT" |
| #define | TSNAME "/tmp/SNAME.DAT" |
| #define | CNOT_USED 0x7E |
| #define | SIMPARMS "/usr/DAT/SIMPARMS.DAT" |
| #define | QSIM "/usr/DAT/QSIM.DAT" |
| #define | QFCST "/usr/DAT/QFCST" |
| #define | CONT "/usr/DAT/CONT.DAT" |
| #define | DIALGROUPS "/usr/DAT/DIALGROUPS.DAT" |
| #define | VERSION "/usr/DAT/VERSION.DAT" |
| #define | ALARMPORT 18 /* port number attached to by alarm functions */ |
| #define | NDATABANK 0x00000000 /* /usr/DAT/DATABANK.DAT */ |
| #define | NDATABASE 0x00000001 /* /usr/DAT/DATABASE.DAT */ |
| #define | NSENSOR_FILE 0x00000002 /* /usr/DAT/SENSOR_FILE.DAT */ |
| #define | NSENSOR_TYPE 0x00000003 /* /usr/DAT/SENSOR_TYPE.DAT */ |
| #define | NTHANDBOOK5 0x00000004 /* /tmp/HANDBOOK5.DAT */ |
| #define | NTSINDX 0x00000005 /* /tmp/SINDX.DAT */ |
| #define | NTSNAME 0x00000006 /* /tmp/SNAME.DAT */ |
| #define | NALARMLOG 0x00000007 /* /usr/DAT/ALARM.LOG */ |
| #define | NERRORLOG 0x00000008 /* /usr/DAT/ERROR.LOG */ |
| #define | NGROUP 0x00000009 /* /usr/DAT/GROUP.DAT */ |
| #define | NHANDBOOK5 0x0000000A /* /usr/DAT/HANDBOOK5.DAT */ |
| #define | NOVERINDX 0x0000000B /* /usr/DAT/OVERINDX.DAT */ |
| #define | NOVERLOAD 0x0000000C /* /usr/DAT/OVERLOAD.DAT */ |
| #define | NOWNER 0x0000000D /* /usr/DAT/OWNER.DAT */ |
| #define | NSENSORGRPS 0x0000000E /* /usr/DAT/SENSORGRPS.DAT */ |
| #define | NSINDX 0x0000000F /* /usr/DAT/SINDX.DAT */ |
| #define | NSNAME 0x00000010 /* /usr/DAT/SNAME.DAT */ |
| #define | NDIAL 0x00000011 /* /usr/DAT/DIAL.DAT */ |
| #define | NINTERROGATE 0x00000012 /* /usr/DAT/INTERROGATE.DAT */ |
| #define | NDIALLOG 0x00000013 /* /usr/DAT/DIAL.LOG */ |
| #define | NSIMPARMS 0x00000014 /* /usr/DAT/SIMPARMS.DAT */ |
| #define | NQSIM 0x00000015 /* /usr/DAT/QSIM.DAT */ |
| #define | NQFCST 0x00000016 /* /usr/DAT/QFCST.DAT */ |
| #define | NCONT 0x00000017 /* /usr/DAT/CONT.DAT */ |
| #define | NDIALGROUPS 0x00000018 /* /usr/DAT/DIALGROUPS.DAT */ |
| #define | NRATING 0x00000019 /* /usr/DAT/RATING.DAT */ |
| #define | NALT_ALARM 0x0000001A /* /usr/DAT/ALT_ALARM.DAT */ |
| #define | NVERSION 0x0000001B /* /usr/DAT/VERSION.DAT */ |
| #define | NOT_ALWAYS_OPEN 0x00000007 |
| #define | DB_RESERVED 0x0000001C |
| #define | DBCLOSE 0x00000001 |
| #define | DBOPEN 0x00000002 |
| #define | DBREAD 0x00000003 |
| #define | DBSIZE 0x00000004 |
| #define | DBTRUNC 0x00000005 |
| #define | DBWRITE 0x00000006 |
| #define | MAX_MSG_SIZE 16384L |
Functions | |
| unsigned int | dbclose (unsigned long int file_num) |
| unsigned int | dbopen (unsigned long int file_num) |
| unsigned long int | dbread (unsigned long int file_num, signed long int offset, unsigned long int rec_size, unsigned long int num_recs, void *buf) |
| signed long int | dbsize (unsigned long int file_num) |
| signed long int | dbtrunc (unsigned long int file_num, signed long int offset) |
| unsigned long int | dbwrite (unsigned long int file_num, signed long int offset, unsigned long int rec_size, unsigned long int num_recs, void *buf) |
| struct period_rain | sumALERTrain (struct work_array *work, time_t clock_start, time_t clock_end, float max_accumulator) |
| struct period_rain | sum_rain (struct work_array *work, time_t clock_start, time_t clock_end) |
| struct handbook5 | bs_hb5 (unsigned char *hb5_pc, size_t max_recs, struct handbook5 *hb) |
| void | bubble_hb5 (size_t num_items) |
| void | bubble_sindx (struct sindx *sid_array, unsigned int num_items) |
| void | bubble_sname (size_t num_items) |
| void | bub_hb5 (unsigned long int num_items) |
| void | bub_sindx (unsigned long int num_items) |
| void | bub_sname (unsigned long int num_items) |
| void | check_alarm (struct msgbuf *msg, struct databank *dbk, size_t rec_num, unsigned int reactivate_msg) |
| void | chg_reports (unsigned int index, struct databank *dbk, float chgval, signed char all_data, time_t told) |
| pid_t | find_databuf (void) |
| unsigned long int | get_reports (unsigned long int index, struct databank *dbk, time_t tnew, time_t told, char *qualifier, unsigned long int report_limit, struct report *rpt) |
| signed long | get_timezone (unsigned char tz_name[4]) |
| void | mk_dial_msg (unsigned char *pname, unsigned char *msg, struct dial_message *dialmsg) |
| void | mk_err_msg (char *pname, char *errmsg, struct error_message *err) |
| unsigned long | read_ovidx (struct overindx *oi, unsigned long num_oi) |
| unsigned char | read_sindx (void) |
| struct msgbuf | rec_update (void) |
| void | red_alert (struct error_message *err) |
| unsigned int | send_databuf (unsigned int id, unsigned char *hb5_id, unsigned char *pc, float data, time_t clock, unsigned char dq, unsigned char gage_type, signed int tid, unsigned int node_num, signed int tty_num) |
| struct update | update_on (void) |
| unsigned char | update_off (struct update) |
| unsigned long | write_ovidx (struct overindx *oi, unsigned long num_oi) |
| #define ACTIVE 0x01 |
Definition at line 409 of file database.h.
| #define ACTIVE1 0x01 |
Definition at line 410 of file database.h.
| #define ACTIVE2 0x02 |
Definition at line 411 of file database.h.
| #define ACTIVE3 0x03 |
Definition at line 412 of file database.h.
| #define ACTIVE4 0x04 |
Definition at line 413 of file database.h.
| #define ALARM_ABOVE 0x01 |
Definition at line 458 of file database.h.
| #define ALARM_ABOVE_ROC 0x03 |
Definition at line 460 of file database.h.
| #define ALARM_BELOW 0x02 |
Definition at line 459 of file database.h.
| #define ALARM_BELOW_ROC 0x04 |
Definition at line 461 of file database.h.
| #define ALARM_SAVE "/usr/DAT/ALARM.LOG" |
Definition at line 116 of file database.h.
| #define ALARMDIR "/usr/DAT/alarm" |
Definition at line 115 of file database.h.
| #define ALARMED 0x05 |
Definition at line 414 of file database.h.
| #define ALARMPORT 18 /* port number attached to by alarm functions */ |
Definition at line 570 of file database.h.
| #define ALARMS 0x07 |
Definition at line 71 of file database.h.
| #define ALT_ALARM "/usr/DAT/ALT_ALARM.DAT" |
Definition at line 457 of file database.h.
| #define ASCII 0x01 /* ALERT ASCII format */ |
Definition at line 77 of file database.h.
| #define ASOS 0x0F |
Definition at line 91 of file database.h.
| #define BDT 0x09 |
Definition at line 85 of file database.h.
| #define BINARY 0x02 /* ALERT binary format */ |
Definition at line 78 of file database.h.
| #define CAMBELL_10 0x0E |
Definition at line 90 of file database.h.
| #define CAMBELL_21 0x0D |
Definition at line 89 of file database.h.
| #define CLIMATRONICS 0x0C |
Definition at line 88 of file database.h.
| #define CNOT_USED 0x7E |
Definition at line 551 of file database.h.
| #define COMPULOGGER 0x0B |
Definition at line 87 of file database.h.
| #define CONT "/usr/DAT/CONT.DAT" |
Definition at line 565 of file database.h.
| #define DARDC 0x04 /* NWS DARDC formatted gage */ |
Definition at line 80 of file database.h.
| #define DATA_IN 0x02 |
Definition at line 66 of file database.h.
| #define DATABANK "/usr/DAT/DATABANK.DAT" |
Definition at line 140 of file database.h.
| #define DATABASE "/usr/DAT/DATABASE.DAT" |
Definition at line 220 of file database.h.
| #define DB_DIR "/usr/DAT" |
Definition at line 137 of file database.h.
| #define DB_RESERVED 0x0000001C |
Definition at line 607 of file database.h.
| #define DBCLOSE 0x00000001 |
Definition at line 610 of file database.h.
| #define DBOPEN 0x00000002 |
Definition at line 611 of file database.h.
| #define DBREAD 0x00000003 |
Definition at line 612 of file database.h.
| #define DBSIZE 0x00000004 |
Definition at line 613 of file database.h.
| #define DBTRUNC 0x00000005 |
Definition at line 614 of file database.h.
| #define DBWRITE 0x00000006 |
Definition at line 615 of file database.h.
| #define DEFAULTACTION "/usr/DAT/alarm/defaultaction" |
Definition at line 117 of file database.h.
| #define DEFAULTOV 10 |
Definition at line 312 of file database.h.
| #define DIAL "/usr/DAT/DIAL.DAT" |
Definition at line 241 of file database.h.
| #define DIALGROUPS "/usr/DAT/DIALGROUPS.DAT" |
Definition at line 566 of file database.h.
| #define DIALLOG "/usr/DAT/DIAL.LOG" |
Definition at line 244 of file database.h.
| #define ENHANCED 0x03 /* ALERT enhanced format */ |
Definition at line 79 of file database.h.
| #define EOL 0x0A |
Definition at line 16 of file database.h.
| #define ERRORLOG "/usr/DAT/ERROR.LOG" |
Definition at line 251 of file database.h.
| #define FTS11 0x10 |
Definition at line 92 of file database.h.
| #define GROUP "/usr/DAT/GROUP.DAT" |
Definition at line 256 of file database.h.
| #define HANDAR_560A 0x06 /* Handar 560A in smart mode */ |
Definition at line 82 of file database.h.
| #define HANDBOOK5 "/usr/DAT/HANDBOOK5.DAT" |
Definition at line 270 of file database.h.
| #define HB5_ID_LEN 17 |
Definition at line 45 of file database.h.
| #define INACTIVE 0x00 |
Definition at line 408 of file database.h.
| #define INTERROGATE "/usr/DAT/INTERROGATE.DAT" |
Definition at line 285 of file database.h.
| #define LARC 0x05 /* Handar 550A in smart mode */ |
Definition at line 81 of file database.h.
| #define LINEAR '1' |
Definition at line 355 of file database.h.
| #define LOG '2' |
Definition at line 356 of file database.h.
| #define MAX_MSG_SIZE 16384L |
Definition at line 620 of file database.h.
| #define MSG_OUT 0x01 |
Definition at line 65 of file database.h.
| #define NALARMLOG 0x00000007 /* /usr/DAT/ALARM.LOG */ |
Definition at line 583 of file database.h.
| #define NALT_ALARM 0x0000001A /* /usr/DAT/ALT_ALARM.DAT */ |
Definition at line 602 of file database.h.
| #define NAME_LEN 51 |
Definition at line 47 of file database.h.
| #define NCONT 0x00000017 /* /usr/DAT/CONT.DAT */ |
Definition at line 599 of file database.h.
| #define NDATABANK 0x00000000 /* /usr/DAT/DATABANK.DAT */ |
Definition at line 574 of file database.h.
| #define NDATABASE 0x00000001 /* /usr/DAT/DATABASE.DAT */ |
Definition at line 575 of file database.h.
| #define NDIAL 0x00000011 /* /usr/DAT/DIAL.DAT */ |
Definition at line 593 of file database.h.
| #define NDIALGROUPS 0x00000018 /* /usr/DAT/DIALGROUPS.DAT */ |
Definition at line 600 of file database.h.
| #define NDIALLOG 0x00000013 /* /usr/DAT/DIAL.LOG */ |
Definition at line 595 of file database.h.
| #define NEG_LEVEL_1 0x10 /* Bit 5 (00010000), Negative Level 1 */ |
Definition at line 132 of file database.h.
| #define NEG_LEVEL_2 0x20 /* Bit 6 (00100000), Negative Level 2 */ |
Definition at line 133 of file database.h.
| #define NEG_ROC 0x40 /* Bit 7 (01000000), Negative Rate Of Change */ |
Definition at line 134 of file database.h.
| #define NERRORLOG 0x00000008 /* /usr/DAT/ERROR.LOG */ |
Definition at line 584 of file database.h.
| #define NGROUP 0x00000009 /* /usr/DAT/GROUP.DAT */ |
Definition at line 585 of file database.h.
| #define NHANDBOOK5 0x0000000A /* /usr/DAT/HANDBOOK5.DAT */ |
Definition at line 586 of file database.h.
| #define NINTERROGATE 0x00000012 /* /usr/DAT/INTERROGATE.DAT */ |
Definition at line 594 of file database.h.
| #define NO_OWNER 0x00 |
Definition at line 402 of file database.h.
| #define NOT_ALWAYS_OPEN 0x00000007 |
Definition at line 606 of file database.h.
| #define NOT_USED 0xFFFFFFFF |
Definition at line 110 of file database.h.
| #define NOVERINDX 0x0000000B /* /usr/DAT/OVERINDX.DAT */ |
Definition at line 587 of file database.h.
| #define NOVERLOAD 0x0000000C /* /usr/DAT/OVERLOAD.DAT */ |
Definition at line 588 of file database.h.
| #define NOWNER 0x0000000D /* /usr/DAT/OWNER.DAT */ |
Definition at line 589 of file database.h.
| #define NQFCST 0x00000016 /* /usr/DAT/QFCST.DAT */ |
Definition at line 598 of file database.h.
| #define NQSIM 0x00000015 /* /usr/DAT/QSIM.DAT */ |
Definition at line 597 of file database.h.
| #define NRATING 0x00000019 /* /usr/DAT/RATING.DAT */ |
Definition at line 601 of file database.h.
| #define NSENSOR_FILE 0x00000002 /* /usr/DAT/SENSOR_FILE.DAT */ |
Definition at line 576 of file database.h.
| #define NSENSOR_TYPE 0x00000003 /* /usr/DAT/SENSOR_TYPE.DAT */ |
Definition at line 577 of file database.h.
| #define NSENSORGRPS 0x0000000E /* /usr/DAT/SENSORGRPS.DAT */ |
Definition at line 590 of file database.h.
| #define NSIMPARMS 0x00000014 /* /usr/DAT/SIMPARMS.DAT */ |
Definition at line 596 of file database.h.
| #define NSINDX 0x0000000F /* /usr/DAT/SINDX.DAT */ |
Definition at line 591 of file database.h.
| #define NSNAME 0x00000010 /* /usr/DAT/SNAME.DAT */ |
Definition at line 592 of file database.h.
| #define NTHANDBOOK5 0x00000004 /* /tmp/HANDBOOK5.DAT */ |
Definition at line 578 of file database.h.
| #define NTSINDX 0x00000005 /* /tmp/SINDX.DAT */ |
Definition at line 579 of file database.h.
| #define NTSNAME 0x00000006 /* /tmp/SNAME.DAT */ |
Definition at line 580 of file database.h.
| #define NVERSION 0x0000001B /* /usr/DAT/VERSION.DAT */ |
Definition at line 603 of file database.h.
| #define OLD_NOT_USED 0xFFFF |
Definition at line 111 of file database.h.
| #define ONOT_USED 0xFFFFFFFF |
Definition at line 313 of file database.h.
| #define OVERINDX "/usr/DAT/OVERINDX.DAT" |
Definition at line 311 of file database.h.
| #define OVERLOAD "/usr/DAT/OVERLOAD.DAT" |
Definition at line 331 of file database.h.
| #define OVIDX_RECS 0x100 |
Definition at line 314 of file database.h.
| #define OWNER "/usr/DAT/OWNER.DAT" |
Definition at line 334 of file database.h.
| #define PC_LEN 11 |
Definition at line 46 of file database.h.
| #define POS_LEVEL_1 0x01 /* Bit 1 (00000001), Positive Level 1 */ |
Definition at line 129 of file database.h.
| #define POS_LEVEL_2 0x02 /* Bit 2 (00000010), Positive Level 2 */ |
Definition at line 130 of file database.h.
| #define POS_ROC 0x04 /* Bit 3 (00000100), Positive Rate of Change */ |
Definition at line 131 of file database.h.
| #define QFCST "/usr/DAT/QFCST" |
Definition at line 564 of file database.h.
| #define QNX2_EOL 0x1E |
Definition at line 17 of file database.h.
| #define QSIM "/usr/DAT/QSIM.DAT" |
Definition at line 563 of file database.h.
| #define RATING "/usr/DAT/RATING.DAT" |
Definition at line 352 of file database.h.
| #define READ_SINDX 0x03 |
Definition at line 67 of file database.h.
| #define RPTS_PER_REC 365 |
Definition at line 150 of file database.h.
| #define SENSOR_FILE "/usr/DAT/SENSOR_FILE.DAT" |
Definition at line 401 of file database.h.
| #define SENSOR_TYPE "/usr/DAT/SENSOR_TYPE.DAT" |
Definition at line 495 of file database.h.
| #define SENSORGRPS "/usr/DAT/SENSORGRPS.DAT" |
Definition at line 390 of file database.h.
| #define SHOWREPORTS 0x05 |
Definition at line 69 of file database.h.
| #define SIMPARMS "/usr/DAT/SIMPARMS.DAT" |
Definition at line 562 of file database.h.
| #define SINDX "/usr/DAT/SINDX.DAT" |
Definition at line 535 of file database.h.
| #define SNAME "/usr/DAT/SNAME.DAT" |
Definition at line 549 of file database.h.
| #define SSBDT 0x0A |
Definition at line 86 of file database.h.
| #define STATS_CLEAR 0x09 |
Definition at line 73 of file database.h.
| #define STATS_OUT 0x08 |
Definition at line 72 of file database.h.
| #define STEVENS 0x11 |
Definition at line 93 of file database.h.
| #define SUTRON 0x12 |
Definition at line 94 of file database.h.
| #define SYNERGETICS 0x07 |
Definition at line 83 of file database.h.
| #define TALKAMARK 0x13 |
Definition at line 95 of file database.h.
| #define TELMK 0x08 |
Definition at line 84 of file database.h.
| #define THANDBOOK5 "/tmp/HANDBOOK5.DAT" |
Definition at line 271 of file database.h.
| #define TSINDX "/tmp/SINDX.DAT" |
Definition at line 536 of file database.h.
| #define TSNAME "/tmp/SNAME.DAT" |
Definition at line 550 of file database.h.
| #define UNKNOWN 0x00 |
Definition at line 76 of file database.h.
| #define UPDATE 0x04 |
Definition at line 68 of file database.h.
| #define VERIFY 0x06 |
Definition at line 70 of file database.h.
| #define VERSION "/usr/DAT/VERSION.DAT" |
Definition at line 567 of file database.h.
| void bub_hb5 | ( | unsigned long int | num_items | ) |
| void bub_sindx | ( | unsigned long int | num_items | ) |
| void bub_sname | ( | unsigned long int | num_items | ) |
| void bubble_hb5 | ( | size_t | num_items | ) |
| void bubble_sindx | ( | struct sindx * | sid_array, |
| unsigned int | num_items | ||
| ) |
| void bubble_sname | ( | size_t | num_items | ) |
| void check_alarm | ( | struct msgbuf * | msg, |
| struct databank * | dbk, | ||
| size_t | rec_num, | ||
| unsigned int | reactivate_msg | ||
| ) |
| void chg_reports | ( | unsigned int | index, |
| struct databank * | dbk, | ||
| float | chgval, | ||
| signed char | all_data, | ||
| time_t | told | ||
| ) |
| unsigned int dbclose | ( | unsigned long int | file_num | ) |
| unsigned int dbopen | ( | unsigned long int | file_num | ) |
| unsigned long int dbread | ( | unsigned long int | file_num, |
| signed long int | offset, | ||
| unsigned long int | rec_size, | ||
| unsigned long int | num_recs, | ||
| void * | buf | ||
| ) |
| signed long int dbsize | ( | unsigned long int | file_num | ) |
| signed long int dbtrunc | ( | unsigned long int | file_num, |
| signed long int | offset | ||
| ) |
| unsigned long int dbwrite | ( | unsigned long int | file_num, |
| signed long int | offset, | ||
| unsigned long int | rec_size, | ||
| unsigned long int | num_recs, | ||
| void * | buf | ||
| ) |
| pid_t find_databuf | ( | void | ) |
| unsigned long int get_reports | ( | unsigned long int | index, |
| struct databank * | dbk, | ||
| time_t | tnew, | ||
| time_t | told, | ||
| char * | qualifier, | ||
| unsigned long int | report_limit, | ||
| struct report * | rpt | ||
| ) |
| signed long get_timezone | ( | unsigned char | tz_name[4] | ) |
| void mk_dial_msg | ( | unsigned char * | pname, |
| unsigned char * | msg, | ||
| struct dial_message * | dialmsg | ||
| ) |
| void mk_err_msg | ( | char * | pname, |
| char * | errmsg, | ||
| struct error_message * | err | ||
| ) |
Definition at line 29 of file mk_err_msg.c.


| unsigned long read_ovidx | ( | struct overindx * | oi, |
| unsigned long | num_oi | ||
| ) |
| unsigned char read_sindx | ( | void | ) |
| struct msgbuf rec_update | ( | void | ) |
| void red_alert | ( | struct error_message * | err | ) |
| unsigned int send_databuf | ( | unsigned int | id, |
| unsigned char * | hb5_id, | ||
| unsigned char * | pc, | ||
| float | data, | ||
| time_t | clock, | ||
| unsigned char | dq, | ||
| unsigned char | gage_type, | ||
| signed int | tid, | ||
| unsigned int | node_num, | ||
| signed int | tty_num | ||
| ) |
| struct period_rain sum_rain | ( | struct work_array * | work, |
| time_t | clock_start, | ||
| time_t | clock_end | ||
| ) |
| struct period_rain sumALERTrain | ( | struct work_array * | work, |
| time_t | clock_start, | ||
| time_t | clock_end, | ||
| float | max_accumulator | ||
| ) |
| unsigned char update_off | ( | struct update | ) |
| struct update update_on | ( | void | ) |
| unsigned long write_ovidx | ( | struct overindx * | oi, |
| unsigned long | num_oi | ||
| ) |