lib_fingerprintlib.ecllib 2.2 KB

123456789101112131415161718192021222324252627282930313233
  1. /*##############################################################################
  2. HPCC SYSTEMS software Copyright (C) 2020 HPCC Systems® .
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. ############################################################################## */
  13. /* Proxy plugin definition for (EE only) fingerprint library */
  14. export KeyValueResultRecord := record
  15. string key{maxlength(4096)};
  16. string value{maxlength(1024)};
  17. end;
  18. export FingerprintLib := SERVICE : plugin('fingerprintlib'), time
  19. string getHtmlFingerprint(const string scr, const string tag_list, const string attr_exclude_list, boolean include_xml_text, boolean de_dup ) : c, pure, entrypoint='getHtmlFingerprint';
  20. string getTagValueString (const string scr, const string tag_list, const string attr_exclude_list ) : c, pure, entrypoint='getTagValueString';
  21. dataset(KeyValueResultRecord) getTagValueDS(const string scr, const string tag_list, const string attr_exclude_list ) : c, pure, entrypoint='getTagValueDS';
  22. string getAttributeValueString (const string scr, const string tag_list, const string attr_exclude_list, string tag_name, string attribute_name ) : c, pure, entrypoint='getAttributeValueString';
  23. dataset(KeyValueResultRecord) getAttributeValueDS(const string scr, const string tag_list, const string attr_exclude_list, string tag_name, string attribute_name ) : c, pure, entrypoint='getAttributeValueDS';
  24. string prittyfyXml(const string scr, const string tag_list, const string attr_exclude_list ) : c, pure, entrypoint='prittyfyXml';
  25. dataset(KeyValueResultRecord) getTagOffsetValueDS(const string scr, const string tag_list ) : c, pure, entrypoint='getTagOffsetValueDS';
  26. END;