mirror of
https://github.com/profanity-im/profanity.git
synced 2024-09-08 19:34:14 -04:00
Move `p_sha1_hash()` from `common.c` to `xmpp/stanza.c` as it is only used in this file and now depends on libstrophe so xmpp is a better namespace folder. Renaming it as `_stanza_create_sha1_hash()`. And making static since only used here. The function cannot be tested in the unit tests anymore. Once functional tests are working again we should write a test for the sha1 functionality.
42 lines
2.0 KiB
C
42 lines
2.0 KiB
C
void replace_one_substr(void **state);
|
|
void replace_one_substr_beginning(void **state);
|
|
void replace_one_substr_end(void **state);
|
|
void replace_two_substr(void **state);
|
|
void replace_char(void **state);
|
|
void replace_when_none(void **state);
|
|
void replace_when_match(void **state);
|
|
void replace_when_string_empty(void **state);
|
|
void replace_when_string_null(void **state);
|
|
void replace_when_sub_empty(void **state);
|
|
void replace_when_sub_null(void **state);
|
|
void replace_when_new_empty(void **state);
|
|
void replace_when_new_null(void **state);
|
|
void test_online_is_valid_resource_presence_string(void **state);
|
|
void test_chat_is_valid_resource_presence_string(void **state);
|
|
void test_away_is_valid_resource_presence_string(void **state);
|
|
void test_xa_is_valid_resource_presence_string(void **state);
|
|
void test_dnd_is_valid_resource_presence_string(void **state);
|
|
void test_available_is_not_valid_resource_presence_string(void **state);
|
|
void test_unavailable_is_not_valid_resource_presence_string(void **state);
|
|
void test_blah_is_not_valid_resource_presence_string(void **state);
|
|
void utf8_display_len_null_str(void **state);
|
|
void utf8_display_len_1_non_wide(void **state);
|
|
void utf8_display_len_1_wide(void **state);
|
|
void utf8_display_len_non_wide(void **state);
|
|
void utf8_display_len_wide(void **state);
|
|
void utf8_display_len_all_wide(void **state);
|
|
void strip_quotes_does_nothing_when_no_quoted(void **state);
|
|
void strip_quotes_strips_first(void **state);
|
|
void strip_quotes_strips_last(void **state);
|
|
void strip_quotes_strips_both(void **state);
|
|
void str_not_contains_str(void **state);
|
|
void str_contains_str_at_start(void **state);
|
|
void str_contains_str_at_end(void **state);
|
|
void str_contains_str_in_middle(void **state);
|
|
void str_contains_str_whole(void **state);
|
|
void str_empty_not_contains_str(void **state);
|
|
void str_not_contains_str_empty(void **state);
|
|
void str_empty_not_contains_str_empty(void **state);
|
|
void prof_partial_occurrences_tests(void **state);
|
|
void prof_whole_occurrences_tests(void **state);
|