mirror of
https://github.com/curl/curl.git
synced 2026-08-08 11:12:56 +03:00
llist: make it "struct Curl_llist"
As internal global names should use captical C. Closes #5906
This commit is contained in:
parent
8bdc4f8aee
commit
9b3f888a00
17 changed files with 102 additions and 102 deletions
|
|
@ -7,7 +7,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -44,7 +44,7 @@ typedef size_t (*comp_function) (void *key1,
|
|||
typedef void (*curl_hash_dtor)(void *);
|
||||
|
||||
struct curl_hash {
|
||||
struct curl_llist *table;
|
||||
struct Curl_llist *table;
|
||||
|
||||
/* Hash function to be used for this hash table */
|
||||
hash_function hash_func;
|
||||
|
|
@ -57,7 +57,7 @@ struct curl_hash {
|
|||
};
|
||||
|
||||
struct curl_hash_element {
|
||||
struct curl_llist_element list;
|
||||
struct Curl_llist_element list;
|
||||
void *ptr;
|
||||
size_t key_len;
|
||||
char key[1]; /* allocated memory following the struct */
|
||||
|
|
@ -66,7 +66,7 @@ struct curl_hash_element {
|
|||
struct curl_hash_iterator {
|
||||
struct curl_hash *hash;
|
||||
int slot_index;
|
||||
struct curl_llist_element *current_element;
|
||||
struct Curl_llist_element *current_element;
|
||||
};
|
||||
|
||||
int Curl_hash_init(struct curl_hash *h,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue