X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fftacmp%2Fgenerate_lfta_code.h;h=875247f53882992972eca3ae0c186388c9fa92f5;hb=f1754ecea2eab7bd0a302042ac82eb11667b166c;hp=02428bb0dd55d84d81bd2ca0fb72ac0c7b2e3cb9;hpb=07495effe193ca3f73c3bf0ce417068f9ac9dcdd;p=com%2Fgs-lite.git diff --git a/src/ftacmp/generate_lfta_code.h b/src/ftacmp/generate_lfta_code.h index 02428bb..875247f 100644 --- a/src/ftacmp/generate_lfta_code.h +++ b/src/ftacmp/generate_lfta_code.h @@ -1,37 +1,42 @@ -/* ------------------------------------------------ -Copyright 2014 AT&T Intellectual Property - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ------------------------------------------- */ -#ifndef __GENERATE_FTA_CODE_H_DEFINED__ -#define __GENERATE_FTA_CODE_H_DEFINED__ - -#include -#include -#include "parse_fta.h" -#include "parse_schema.h" -#include "query_plan.h" -#include"nic_def.h" - - -std::string generate_lfta_block(qp_node *fs, table_list *schema, int gid, -// std::map &int_fcn_defs, - ext_fcn_list *Ext_fcns, std::string &schema_embed_str, ifq_t *ifdb, nic_property *nicp, set &s_pids); - -std::string generate_lfta_prefilter(std::vector &pred_list, col_id_set &temp_cids, table_list *Schema, ext_fcn_list *Ext_fcns, std::vector &lfta_cols, std::vector &lfta_sigs, vector &lfta_snap_lens, std::string iface); -std::string generate_lfta_prefilter_struct(col_id_set &temp_cids, table_list *Schema); - -int compute_snap_len(qp_node *fs, table_list *schema); - - -#endif - +/* ------------------------------------------------ +Copyright 2014 AT&T Intellectual Property + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ------------------------------------------- */ +#ifndef __GENERATE_FTA_CODE_H_DEFINED__ +#define __GENERATE_FTA_CODE_H_DEFINED__ + +#include +#include +#include "parse_fta.h" +#include "parse_schema.h" +#include "query_plan.h" +#include"nic_def.h" + + +std::string generate_lfta_block(qp_node *fs, table_list *schema, int gid, +// std::map &int_fcn_defs, + ext_fcn_list *Ext_fcns, std::string &schema_embed_str, ifq_t *ifdb, nic_property *nicp, set &s_pids); + +std::string generate_lfta_prefilter(std::vector &pred_list, col_id_set &temp_cids, table_list *Schema, ext_fcn_list *Ext_fcns, std::vector &lfta_cols, std::vector &lfta_sigs, vector &lfta_snap_lens, std::string iface); +std::string generate_lfta_prefilter_struct(col_id_set &temp_cids, table_list *Schema); + +int compute_snap_len(qp_node *fs, table_list *schema); + +std::string generate_watchlist_element_name(std::string node_name); +std::string generate_watchlist_struct_name(std::string node_name); +std::string generate_watchlist_name(std::string node_name); + + + +#endif +