mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-10-01 04:03:18 +03:00
mhd_str: added function attributes for mhd_bin_to_hex{,_z}()
This commit is contained in:
2 files changed
+8
-4
No files matched your search
+4
-2
@@ -1549,7 +1549,8 @@ mhd_uint8_to_str_pad (uint8_t val,
|
||||
}
|
||||
|
||||
|
||||
MHD_INTERNAL size_t
|
||||
MHD_INTERNAL MHD_FN_PAR_NONNULL_ALL_
|
||||
MHD_FN_PAR_IN_SIZE_ (1, 2) MHD_FN_PAR_OUT_ (3) size_t
|
||||
mhd_bin_to_hex (const void *restrict bin,
|
||||
size_t size,
|
||||
char *restrict hex)
|
||||
@@ -1569,7 +1570,8 @@ mhd_bin_to_hex (const void *restrict bin,
|
||||
}
|
||||
|
||||
|
||||
MHD_INTERNAL size_t
|
||||
MHD_INTERNAL MHD_FN_PAR_NONNULL_ALL_
|
||||
MHD_FN_PAR_IN_SIZE_ (1, 2) MHD_FN_PAR_OUT_ (3) size_t
|
||||
mhd_bin_to_hex_z (const void *restrict bin,
|
||||
size_t size,
|
||||
char *restrict hex)
|
||||
|
||||
+4
-2
@@ -471,7 +471,8 @@ mhd_uint8_to_str_pad (uint8_t val,
|
||||
MHD_INTERNAL size_t
|
||||
mhd_bin_to_hex (const void *restrict bin,
|
||||
size_t size,
|
||||
char *restrict hex);
|
||||
char *restrict hex)
|
||||
MHD_FN_PAR_NONNULL_ALL_ MHD_FN_PAR_IN_SIZE_ (1, 2) MHD_FN_PAR_OUT_ (3);
|
||||
|
||||
/**
|
||||
* Convert @a size bytes from input binary data to lower case
|
||||
@@ -485,7 +486,8 @@ mhd_bin_to_hex (const void *restrict bin,
|
||||
MHD_INTERNAL size_t
|
||||
mhd_bin_to_hex_z (const void *restrict bin,
|
||||
size_t size,
|
||||
char *restrict hex);
|
||||
char *restrict hex)
|
||||
MHD_FN_PAR_NONNULL_ALL_ MHD_FN_PAR_IN_SIZE_ (1, 2) MHD_FN_PAR_OUT_ (3);
|
||||
|
||||
/**
|
||||
* Convert hexadecimal digits to binary data.
|
||||
|
||||
Reference in new issue
Block a user