Commit graph

673 commits

Author SHA1 Message Date
c9s
40fa19002a Add const for slug_compile 2014-06-01 02:56:29 +08:00
c9s
bc27293f36 more const 2014-06-01 02:54:48 +08:00
c9s
8f8dbd520b remove const from match_entry pointer 2014-06-01 02:39:39 +08:00
Pedro
89fb801cfd Merge pull request #43 from c9s/errno
errno support
2014-06-01 02:33:13 +08:00
c9s
2df5c11d09 use ck_assert 2014-06-01 02:29:12 +08:00
c9s
a946a79223 include assert.h 2014-06-01 02:28:58 +08:00
c9s
4c26995e41 assert errno == NULL 2014-06-01 02:13:38 +08:00
c9s
f670f08639 update error code for compile function 2014-06-01 02:08:16 +08:00
c9s
1a4eb14a05 error code support
- return error code if compilation error occurs
- use asprintf to sprint errstr
2014-06-01 02:03:44 +08:00
c9s
642fdfca88 include assert 2014-06-01 01:40:28 +08:00
c9s
fe57cbf54d check pointer 2014-06-01 01:38:22 +08:00
c9s
4bb3ba9d04 assert(entry); 2014-06-01 01:26:59 +08:00
c9s
4f93a530e1 assert free 2014-06-01 01:26:36 +08:00
c9s
188a687150 check the pointer returns from zmalloc 2014-06-01 01:25:34 +08:00
c9s
a19d2377cc check the pointer returns from zmalloc 2014-06-01 01:24:57 +08:00
c9s
7d9b6c8889 check match_entry->vars 2014-06-01 01:20:28 +08:00
c9s
b61d5a78ae fix match_route 2014-06-01 01:16:53 +08:00
c9s
e182dd3a7b remove duplicated edge free function 2014-05-31 19:58:10 +08:00
c9s
9433e2192a route api improvement 2014-05-31 19:56:46 +08:00
c9s
15933a061e update include header files 2014-05-29 10:14:25 +08:00
c9s
e74deece23 include assert.h 2014-05-28 23:01:21 +08:00
c9s
c58d48f962 Fix include 2014-05-28 21:56:22 +08:00
c9s
d400789d96 more const pointers 2014-05-28 21:09:37 +08:00
c9s
072c72621c separate header files 2014-05-28 21:08:06 +08:00
c9s
9cb2f80e1f more const pointers 2014-05-28 21:03:59 +08:00
c9s
a2bec00a9e match_entry.c 2014-05-28 21:02:57 +08:00
c9s
f5996731ca Add const for pointers 2014-05-28 21:00:02 +08:00
c9s
34ec73ecbc enable -Wall for tests 2014-05-28 20:56:16 +08:00
c9s
e12ca5840e Add email to CHANGES.md 2014-05-27 21:17:23 +08:00
c9s
1c1063e3b6 update CHANGES 2014-05-27 21:16:46 +08:00
c9s
cd16d67663 fix zcalloc bug 2014-05-27 14:18:45 +08:00
c9s
cf734a480c edge branch with routes and other resets 2014-05-27 14:16:42 +08:00
c9s
60821aac0c const pointer 2014-05-27 12:35:17 +08:00
c9s
f596c7392d Add const 2014-05-27 12:34:28 +08:00
c9s
10d6a64eac update README 2014-05-27 12:32:07 +08:00
c9s
6cc57d545f const char * 2014-05-27 01:08:31 +08:00
c9s
9f8176447b const char * 2014-05-27 01:08:01 +08:00
c9s
54397987bd Add const 2014-05-27 01:07:33 +08:00
c9s
533eb6b9c3 include stdbool.h 2014-05-27 00:47:59 +08:00
c9s
aaf35d22d8 include stdbool.h 2014-05-27 00:47:21 +08:00
c9s
f597239986 fix 2014-05-26 21:44:48 +08:00
c9s
7aaed3e5d7 merge str_array.h 2014-05-26 21:39:36 +08:00
c9s
a99547bea5 update pc config 2014-05-26 21:29:56 +08:00
c9s
94c71b5431 move frequently used fields to struct head. 2014-05-24 19:04:34 +08:00
c9s
ef9962c958 struct field data type improvement for memory usage. 2014-05-24 18:45:43 +08:00
c9s
da47f06bdc update benchmakr result 2014-05-24 17:22:29 +08:00
c9s
568400c1b7 Add more benchmark record 2014-05-24 17:16:49 +08:00
c9s
0909ab8af9 put combined_pattern to the end of struct 2014-05-24 17:14:17 +08:00
c9s
c1cd7444cb Add struct fields optimization 2014-05-24 17:13:55 +08:00
c9s
dcf4bf0f14 update README for steps 2014-05-24 16:28:53 +08:00