diff options
author | Sumit Bose <sbose@redhat.com> | 2012-11-13 21:20:32 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-11-14 11:20:23 +0100 |
commit | e9bfff15737c58624473a671e8d99bd88fc4bbd0 (patch) | |
tree | 03cf57be87d4a0fe095b613b8f940db54219a80b /src/sbus | |
parent | 4f09f74bc77d7c458ebd0d7517d95ec112cbadfd (diff) | |
download | sssd-e9bfff15737c58624473a671e8d99bd88fc4bbd0.tar.gz sssd-e9bfff15737c58624473a671e8d99bd88fc4bbd0.tar.xz sssd-e9bfff15737c58624473a671e8d99bd88fc4bbd0.zip |
Add string_in_list() and add_string_to_list() with tests
string_in_list() and add_string_to_list() are two utilities for NULL
terminated strings arrays. add_string_to_list() adds a new string to an
existing list or creates a new one with the strings as only item if
there is not list. string_in_list() checks if a given string is in the
list. It can be used case sensitive or in-sensitive.
Diffstat (limited to 'src/sbus')
0 files changed, 0 insertions, 0 deletions