YuQing
|
1edcae9cf4
|
add function fc_parse_version
|
2026-06-25 15:13:06 +08:00 |
YuQing
|
701acb9810
|
add function seconds_to_human_str
|
2026-06-22 16:46:18 +08:00 |
YuQing
|
592424c114
|
fc_srand rename to fc_safe_srand and fc_rand rename to fc_safe_rand
|
2026-06-08 16:45:00 +08:00 |
YuQing
|
963423df59
|
add functions fc_srand and fc_rand for more security under Linux
|
2026-06-08 16:12:28 +08:00 |
YuQing
|
233b644ce5
|
add function double2str and double_to_comma_str
|
2026-01-16 09:31:12 +08:00 |
YuQing
|
86bab518c6
|
remove compile warning under RockLinux 10
|
2025-11-09 18:19:20 +08:00 |
YuQing
|
a4cae13e07
|
add function fc_ftoa
|
2025-09-10 15:06:17 +08:00 |
YuQing
|
3f19715e45
|
add function bytes_to_human_str
|
2025-08-29 11:36:10 +08:00 |
YuQing
|
d59da03d60
|
use size_t instead int to avoid compile warning
|
2025-08-21 20:52:35 +08:00 |
YuQing
|
bf7c6e5144
|
add function fc_get_two/three_subdirs_full_filepath etc.
|
2025-08-13 15:40:39 +08:00 |
YuQing
|
6f4b3b7cd8
|
rename fc_combine_two_string to fc_combine_two_strings
|
2025-08-09 15:21:08 +08:00 |
YuQing
|
b1f3c7894e
|
add functions short2HEX, int2HEX, long2HEX
|
2025-08-08 21:49:43 +08:00 |
YuQing
|
ec2db7cd33
|
replace sprintf and snprintf as necessary
|
2025-08-07 19:55:41 +08:00 |
YuQing
|
63ef9aa8f4
|
add functions short2hex, int2hex, long2hex etc.
|
2025-08-06 14:16:06 +08:00 |
YuQing
|
7fbb5c620b
|
change int2buff, buff2int etc. functions to static inline
|
2025-08-03 15:10:28 +08:00 |
YuQing
|
de1e9e7ec4
|
add function fc_compare_int64_ptr
|
2025-03-18 08:42:39 +08:00 |
YuQing
|
7f699688c0
|
add functions: get_log_level and get_log_level_caption
|
2024-04-08 15:15:34 +08:00 |
YuQing
|
226fd0d378
|
format ip address for IPv6
|
2024-03-05 10:58:09 +08:00 |
sunqiangwei1988
|
718906e477
|
Added: 增加IPv6支持
1、将IP_ADDRESS_SIZE的值由16修改为INET6_ADDRSTRLEN(46)。
2、新定义in_addr_64结构体替换in_addr结构体,以支持IPv6地址长度。
3、将connection_pool相关文件的socket_domain预设值由AF_INET修改为AF_UNSPEC。
4、增加IPv6的本地回环地址判断。
5、新增从字符串中解析IP地址和端口号方法(支持IPv4和IPv6)。
6、sockopt增加IPv6的支持
|
2023-11-02 10:13:42 +08:00 |
YuQing
|
4df1107fa3
|
add function fc_safe_writev
|
2023-05-29 18:15:59 +08:00 |
YuQing
|
22c7e31752
|
shared_func.[hc]: normalize_path use type string_t for general purpose
|
2022-11-07 08:27:43 +08:00 |
YuQing
|
6ea757f492
|
add function fc_itoa
|
2022-09-28 22:13:57 +08:00 |
YuQing
|
cf66174cf9
|
add function fc_sleep_us
|
2022-09-27 20:28:29 +08:00 |
YuQing
|
48ec9c64c6
|
add func fc_free_iovec_array
|
2022-09-04 11:29:13 +08:00 |
YuQing
|
a9e82600b7
|
add function fc_get_first_lines
|
2022-07-21 18:30:53 +08:00 |
YuQing
|
599d0f1446
|
add global var g_set_cloexec and macro FC_SET_CLOEXEC
|
2022-06-25 11:23:43 +08:00 |
YuQing
|
4a7d852409
|
correct O_CLOEXEC to FD_CLOEXEC for F_SETFL
|
2022-06-25 09:22:25 +08:00 |
YuQing
|
e254b8e1d3
|
open file with flag O_CLOEXEC
|
2022-06-24 18:52:39 +08:00 |
YuQing
|
275279a264
|
json_parser.[hc] refined for better performance
|
2022-05-29 10:55:16 +08:00 |
YuQing
|
ba011767f8
|
add functions: fc_get_path_child_count and fc_copy_file
|
2022-03-16 11:46:43 +08:00 |
YuQing
|
7d5e94f9dd
|
rename fc_format_path to fc_remove_redundant_slashes
|
2022-03-15 08:51:20 +08:00 |
YuQing
|
80b751980b
|
add function fc_format_path
|
2022-03-14 17:10:43 +08:00 |
YuQing
|
08f74db732
|
add function fc_check_rename_ex
|
2022-03-09 08:21:07 +08:00 |
YuQing
|
7b9c257652
|
rename trim to fc_trim
|
2022-02-25 09:44:15 +08:00 |
YuQing
|
29cc5af134
|
add function fc_iov_get_bytes
|
2022-02-02 20:37:13 +08:00 |
YuQing
|
787eb3a7d6
|
NULL from parameter for getcwd
|
2022-01-29 17:18:13 +08:00 |
YuQing
|
4b9e2d6517
|
add function fc_gettid
|
2022-01-29 15:56:41 +08:00 |
YuQing
|
9ca9592326
|
shared_func.[hc]: add function fc_read_lines
|
2021-10-19 20:29:15 +08:00 |
YuQing
|
09e00bcf5e
|
add functions fc_safe_write_file_init/open/close
|
2021-10-10 14:45:08 +08:00 |
YuQing
|
44dcf4f821
|
add functions getFileContentEx1 and getFileContent1
|
2021-08-08 15:11:29 +08:00 |
YuQing
|
ba1f8eb38f
|
add function fc_check_realloc_iovec_array
|
2021-06-08 14:15:24 +08:00 |
YuQing
|
6fddce73c5
|
add function normalize_path_ex and normalize_uri
|
2021-05-25 16:48:10 +08:00 |
YuQing
|
4558290e1e
|
add macro fc_fallocate
|
2021-05-11 09:07:23 +08:00 |
YuQing
|
9d9cee76ac
|
add functions fc_server_load_from_ini_context etc.
|
2021-04-28 20:31:00 +08:00 |
YuQing
|
097a7db3cb
|
add functions: fc_check_filename_ex
|
2021-03-28 21:08:20 +08:00 |
YuQing
|
13de41bc05
|
add functions: fc_mkdirs and str_replace
|
2021-03-16 09:10:34 +08:00 |
YuQing
|
89c68e11db
|
add function get_time_item_from_conf_ex
|
2020-12-29 15:15:49 +08:00 |
YuQing
|
0cd65f088c
|
tcp_quick_ack option for Linux
|
2020-12-06 16:59:09 +08:00 |
YuQing
|
ff7109fcd4
|
add function: get_current_time_ns
|
2020-12-04 19:33:21 +08:00 |
YuQing
|
56a5ac4f92
|
modify license to LGPLv3 and copyright
|
2020-10-14 11:03:46 +08:00 |