Commit Graph

641 Commits (c0ea8349d3884915f295dd78585fecd5a571e86f)

Author SHA1 Message Date
YuQing d07058934b bugfixed: can't use global malloc_allocator 2022-11-19 17:13:02 +08:00
YuQing 8e4adccb83 Makefile.in: force symlink library 2022-11-13 17:15:44 +08:00
YuQing 1eb603cfd1 bugfixed: common_blocked_queue_[alloc|free]_node must use lock 2022-11-10 08:47:07 +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 7289215470 sockopt.[hc]: getIpAndPort support ipv6 2022-10-17 15:58:27 +08:00
YuQing 2b0796b166 fc_itoa small refine 2022-09-29 20:55:05 +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 88ad619902 add function common_blocked_queue_push_chain 2022-09-21 21:48:34 +08:00
YuQing 47fb7b2abd get_base_path_from_conf_file_ex support parameter: noent_log_level 2022-09-21 11:35:32 +08:00
YuQing 48ec9c64c6 add func fc_free_iovec_array 2022-09-04 11:29:13 +08:00
YuQing b0d57b325d export struct fast_allocator_wrapper 2022-08-28 17:20:20 +08:00
YuQing 82bbc013b2 fast_allocator.[hc] support object size 2022-08-27 21:24:16 +08:00
YuQing 7e52e7607a fast_allocator.[hc] support object callbacks 2022-08-27 09:49:20 +08:00
YuQing f47f136f56 add functions: iniGetDoubleCorrectValueEx and iniGetPercentCorrectValueEx 2022-08-26 11:02:36 +08:00
YuQing e11b22ad7d struct fast_task_info add field recv_body for dynamic recv buffer 2022-08-25 18:20:41 +08:00
YuQing ed66409220 normalize_path for base_path 2022-08-20 10:04:25 +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 aa5506191f add struct type FilenameFDPair 2022-06-12 21:24:37 +08:00
YuQing 7e5acf144b fast_mpool add stat fields: alloc_count, alloc_bytes and reset_count 2022-06-04 22:05:09 +08:00
YuQing 0b539bbba2 json decode supports memory pool for persistency 2022-06-04 12:41:07 +08:00
YuQing 009d33480f tests/test_json_parser.c OK. 2022-06-03 22:03:31 +08:00
YuQing 5f34bc872b add functions common_blocked_queue_empty/count 2022-06-03 15:30:49 +08:00
YuQing 793d683d2a add function fast_mblock_set_exceed_log_level 2022-05-31 18:39:52 +08:00
YuQing 64e9499de6 json decode support unicode 2022-05-29 21:13:00 +08:00
YuQing 275279a264 json_parser.[hc] refined for better performance 2022-05-29 10:55:16 +08:00
YuQing f24c558761 add function iniGetCharValueEx 2022-05-26 10:37:52 +08:00
YuQing 1f83e66306 add function conn_pool_get_connection_ex to support service name 2022-05-08 11:26:17 +08:00
YuQing 630a6a2af6 add function conn_pool_connect_server_ex1 to support service name 2022-05-07 16:53:02 +08:00
YuQing 082902d28b add macro posix_fadvise for non-Linux 2022-04-24 08:13:44 +08:00
YuQing f836b1a9e2 bugfixed: fc_get_file_line_count_ex should rewind file 2022-04-14 16:48:32 +08:00
YuQing 26abf68ebd fast_mblock.[hc] support object destroy callback 2022-03-17 20:50:06 +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 3fd3b167a8 small changes for logger.[hc] 2022-03-09 09:53:36 +08:00
YuQing 08f74db732 add function fc_check_rename_ex 2022-03-09 08:21:07 +08:00
YuQing 1cb1847b29 add function locked_list_destroy 2022-03-01 15:03:22 +08:00
YuQing 7b9c257652 rename trim to fc_trim 2022-02-25 09:44:15 +08:00
YuQing 9f1d1b6d48 rename hash_xxx to fc_hash_xxx 2022-02-09 22:35:40 +08:00
YuQing 3331b927b3 add function log_try_init2 2022-02-14 09:41:21 +08:00
YuQing e9d186ce99 make.sh: generate macros for dirent fields 2022-02-10 22:18:53 +08:00
YuQing 29cc5af134 add function fc_iov_get_bytes 2022-02-02 20:37:13 +08:00
YuQing 3f20211a52 add const modifier for unification 2022-02-01 21:30:47 +08:00
YuQing a19a0071db sockopt.[hc] support tcpwritev and tcpreadv 2022-01-31 17:03:42 +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