strongswan/src/libstrongswan/collections
Tobias Brunner e6a6fc33b6 path: Also accept / as directory separator on Windows
This adds helper functions to determine the first or last directory separator
in a string and to check if a given character is a separator.

Paths starting with a separator are now also considered absolute on
Windows as these are rooted at the current drive.

Note that it's fine to use DIRECTORY_SEPARATOR when combining strings as
Windows API calls accept both forward and backward slashes as separators.

Co-authored-by: Michał Skalski <mskalski@enigma.com.pl>

References #3684.
2021-02-03 17:27:57 +01:00
..
array.c array: Avoid overflow in size calculation 2020-01-28 15:29:40 +01:00
array.h Spelling fixes 2020-02-11 18:23:07 +01:00
blocking_queue.c Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
blocking_queue.h Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
dictionary.h Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
enumerator.c path: Also accept / as directory separator on Windows 2021-02-03 17:27:57 +01:00
enumerator.h Spelling fixes 2020-02-11 18:23:07 +01:00
hashlist.c hashtable: Maintain insertion order when enumerating 2020-07-20 13:50:11 +02:00
hashtable.c hashtable: Use quadratic probing 2020-07-20 13:50:11 +02:00
hashtable.h hashtable: Maintain insertion order when enumerating 2020-07-20 13:50:11 +02:00
hashtable_profiler.h hashtable: Maintain insertion order when enumerating 2020-07-20 13:50:11 +02:00
linked_list.c linked-list: Order of insert_before/remove_at calls doesn't matter anymore 2018-06-26 15:11:02 +02:00
linked_list.h linked-list: Order of insert_before/remove_at calls doesn't matter anymore 2018-06-26 15:11:02 +02:00