Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2097

remove unused string functions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.3.5
    • Core
    • None

    Description

      remove unused string functions that we needlessly recreate.

        int ink_string_is_prefix(char *prefix, char *str)
        char *ink_string_concatenate_two_strings(char *dest, char *s1, char *s2)
      

      and many more..

      and then there's some inkcoreapi:

      inkcoreapi char *ink_memcpy_until_char(char *dst, char *src, unsigned int n, unsigned char c);
      inkcoreapi char *ink_strncpy(char *dest, const char *src, int n);
      inkcoreapi char *ink_strncat(char *dest, const char *src, int n);
      inkcoreapi char *ink_string_concatenate_strings(char *dest, ...);
      inkcoreapi char *ink_string_concatenate_strings_n(char *dest, int n, ...);
      inkcoreapi char *ink_string_append(char *dest, char *src, int n);
      inkcoreapi char *ink_string_find_dotted_extension(char *str, char *ext, int max_ext_len);
      inkcoreapi int ink_strcasecmp(const char *a, const char *b);
      inkcoreapi int ink_strncasecmp(const char *a, const char *b, unsigned int max);
      

      Attachments

        Activity

          People

            i.galic Igor Galić
            i.galic Igor Galić
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: