Commit Graph

38 Commits

Author SHA1 Message Date
Lion 7af176a564 void * for all the close functions 2022-07-01 15:42:39 +08:00
Lion 288859f7ae wrap the header/vector/content buffer 2022-07-01 11:57:45 +08:00
Lion 19ac923136 safely duplicate close 2022-06-30 18:34:14 +08:00
Lion c7d4ad01f6 make all the db_path and vIndex/cBuffer args const 2022-06-30 11:55:41 +08:00
Lion 1ed8e89d32 add api usage demo docs 2022-06-29 17:35:19 +08:00
Lion 05a9bdb332 add search/bench test ReadMe docs 2022-06-29 15:28:14 +08:00
Lion df9fd81bee add Makefile 2022-06-29 15:16:16 +08:00
Lion e7b29384f7 xdb clang binding is ready with search/bench test passed 2022-06-29 15:03:32 +08:00
Lion 16aba8c9cb safe the type convertion 2022-06-29 09:47:09 +08:00
lion 246165b39e newline the error info print 2022-06-28 18:37:16 +08:00
lion be811e787e fix the bug of content based read offset 2022-06-28 18:37:02 +08:00
lion fd00e567af xdb searcher and search test program are ready 2022-06-28 18:30:34 +08:00
lion ac102ca6eb xdb search and bench test program 2022-06-28 17:48:19 +08:00
lion 74a82e9b53 c style db path 2022-06-28 17:07:24 +08:00
lion 654959686f buffer load functions are ready 2022-06-28 16:28:16 +08:00
lion 4b27b03cfa search logical impl 2022-06-28 12:15:09 +08:00
lion 080942fc68 impl the search by string 2022-06-27 18:37:31 +08:00
lion f5d0c216c2 add the clang xdb searcher binding 2022-06-27 18:32:40 +08:00
lion 46b25653d7 init the v2.0 framework with v1.0 source kept 2022-06-16 16:27:56 +08:00
lion a8448dd2b3 archive the v1.0 - old db structure 2022-06-16 16:25:31 +08:00
liyang f0be894109 fix bug about stack corrupt for example ip address is spceial "172.16.107.7, Proxy:False, 210.3.213.69" 2020-10-06 21:55:21 +08:00
lionsoul 86104eb31f Optimize the ip2long function with trim logic applied 2018-10-07 10:23:17 +08:00
lionsoul f9e9dd59a3 lua ip2region c module forward with release version published 2018-10-06 11:05:01 +08:00
lionsoul e26ed44861 lua_c module forward with basic framework finished(tested) 2018-10-05 21:39:35 +08:00
helloKaiDing d4dab91796
Makefile for binding/c
This is an Makefile for the binding/c program, can use to generate the db file ip2config.db  and the test program testSearcher, can be very convient for the new starter.
2018-04-08 17:23:03 +08:00
lionsoul b48dbe5248 Bug fixed: Adjust the super header length to 8192 for all client implementation 2017-10-21 12:47:24 +08:00
lionsoul 861b8b4622 add #ip2region_memory_search interface for memory search 2016-06-30 19:32:31 +08:00
lionsoul 6bf163230b stdlize the code style 2016-04-07 14:33:58 +08:00
狮子的魂 83d7586c84 conflicts fixed 2015-12-08 21:48:39 +08:00
狮子的魂 9b0b7e8ebd conflicts fixed 2015-12-08 21:41:34 +08:00
狮子的魂 f0c91e70b9 conflicts fixed 2015-12-08 21:40:44 +08:00
chenxin 7e51a4909f Merge branch 'master' of https://git.oschina.net/lionsoul/ip2region 2015-12-07 11:27:52 +08:00
chenxin 41617aac4d code tab to 4 space 2015-12-07 11:27:14 +08:00
dongyado 36dad93e4e remove duplicate uint_t define 2015-11-13 10:52:27 +08:00
Koma 56b864220b changed README.md file 2015-11-09 23:48:51 +08:00
狮子的魂 f56f6175de fix the may comming bug 2015-11-08 20:41:00 +08:00
chenxin 56c83f3895 optimized the header block size & fix the may comming leak for c binding 2015-11-05 12:48:24 +08:00
狮子的魂 a7021dc12a yat, hello ip2region 2015-11-02 01:12:43 +08:00