1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
/******************************************************************************
** COPYRIGHT NOTICE
** (c) 2012 The Johns Hopkins University Applied Physics Laboratory
** All rights reserved.
**
** This material may only be used, modified, or reproduced by or for the
** U.S. Government pursuant to the license rights granted under
** FAR clause 52.227-14 or DFARS clauses 252.227-7013/7014
**
** For any other permissions, please contact the Legal Office at JHU/APL.
******************************************************************************/
/*****************************************************************************
**
** File Name: rda.h
**
** Description: This implements the Remote Data Aggregator (RDA)
**
** Notes:
**
** Assumptions:
**
**
** Modification History:
** MM/DD/YY AUTHOR DESCRIPTION
** -------- ------------ ---------------------------------------------
** 01/10/13 E. Birrane Initial Implementation
*****************************************************************************/
#ifndef RDA_H_
#define RDA_H_
void rda_cleanup(Lyst rules_pending, Lyst built_reports);
rpt_data_t* rda_find_report(Lyst built_reports, char *recipient);
int rda_scan_rules(Lyst rules_pending);
int rda_scan_ctrls(Lyst exec_defs);
rpt_data_entry_t* rda_build_report_entry(mid_t *mid);
int rda_eval_rule(rule_time_prod_t *rule_p, rpt_data_t *report_p);
int rda_eval_pending_rules(Lyst rules_pending, Lyst built_reports);
int rda_send_reports(Lyst built_reports);
int rda_eval_cleanup(Lyst rules_pending);
void* rda_thread(void* threadId);
#endif /* RDA_H_ */
|