resume_parse.h 413 B

12345678910111213141516171819202122232425262728
  1. enum search_result {
  2. SRCH_DONE,
  3. SRCH_NO_KEY
  4. };
  5. struct field_data {
  6. int key_id;
  7. char *data_start;
  8. char *data_end;
  9. };
  10. struct bounds {
  11. const char *beginptr;
  12. const char *endptr;
  13. };
  14. struct key_search {
  15. int k_count;
  16. struct field_data *sorted;
  17. struct field_data *fld_srch;
  18. const char **key_names;
  19. struct bounds *res_dict;
  20. };
  21. enum search_result
  22. keys_search(const char *markup, struct key_search *query);