Nils O. Selåsdal
|
74b6a65bd2
|
Add build_type string to version.c
|
2014-01-03 00:53:37 +01:00 |
|
Nils O. Selåsdal
|
2a66973098
|
Refactor timer execution into its own function
|
2013-12-31 03:00:58 +01:00 |
|
Nils O. Selåsdal
|
0bb42dc235
|
Have iomux_update_events be a no-op if the events didn't change
|
2013-12-26 03:20:47 +01:00 |
|
Nils O. Selåsdal
|
9756ca0aeb
|
Create header tile for timeutils, rename tval.c to time.c
|
2013-12-25 19:42:40 +01:00 |
|
Nils O. Selåsdal
|
293ce4460f
|
Add accessor function to the uclock of an IOMux
|
2013-12-24 06:21:13 +01:00 |
|
Nils O. Selåsdal
|
b83d2fb2cf
|
Decouple the signalling into a struct IOMuxSignaller
|
2013-12-24 01:51:40 +01:00 |
|
Nils O. Selåsdal
|
277900b08e
|
Add IOMuxWaker
|
2013-12-23 23:26:10 +01:00 |
|
Nils O. Selåsdal
|
f9f4f3192a
|
rename uc_strvec_expand->uc_strvec_check_expand, and clarify
docs
|
2013-12-18 00:03:11 +01:00 |
|
Nils O. Selåsdal
|
607cc8cd9b
|
const parameter
|
2013-12-17 23:14:43 +01:00 |
|
Nils O. Selåsdal
|
52addceff2
|
Assert fd->fd >= 0
|
2013-12-17 23:11:58 +01:00 |
|
Nils O. Selåsdal
|
2dc5242fc0
|
Use TailQ in mbuf
|
2013-12-10 01:11:31 +01:00 |
|
Nils O. Selåsdal
|
6891a77ba9
|
Make delim const
|
2013-12-08 22:28:25 +01:00 |
|
Nils O. Selåsdal
|
6a8ba36c23
|
Assert on API violation
|
2013-12-07 01:30:08 +01:00 |
|
Nils O. Selåsdal
|
784dc1cecb
|
Teach uc_hex_decode to skip spaces
|
2013-12-06 23:10:32 +01:00 |
|
Nils O. Selåsdal
|
59b4c3f57e
|
Implement uc_hex_encode_delim without snprintf, fix length of
uc_hex_encode_delim when truncated output.
|
2013-12-06 22:47:16 +01:00 |
|
Nils O. Selåsdal
|
25f83f36ee
|
debugging aid to uc_dstr_destroy too
|
2013-12-06 21:46:46 +01:00 |
|
Nils O. Selåsdal
|
e679ad969d
|
Add debugging aid to uc_dstr_reset
|
2013-12-06 21:43:06 +01:00 |
|
Nils O. Selåsdal
|
20f28273d6
|
epoll_wait, use max 64 events
|
2013-12-05 21:02:59 +01:00 |
|
Nils O. Selåsdal
|
565de6ace7
|
Add uc_dstr_copy
|
2013-12-05 01:24:41 +01:00 |
|
Nils O. Selåsdal
|
9723a579cc
|
Clarift uc_dstr_ensure
|
2013-12-04 23:46:45 +01:00 |
|
Nils O. Selåsdal
|
b24f27ec9f
|
Mask the upper bits of dscp instead of failing if the user
supplied a too big value
|
2013-12-04 23:21:30 +01:00 |
|
Nils O. Selåsdal
|
b5e1d086a4
|
Add DStr sprintf
|
2013-12-04 21:33:16 +01:00 |
|
Nils O. Selåsdal
|
bbbe912fba
|
Initial version of struct DStr
|
2013-12-04 19:58:38 +01:00 |
|
Nils O. Selåsdal
|
2f93ea8ad2
|
Limit overallocation to [8-256] bytes
|
2013-12-03 19:43:27 +01:00 |
|
Nils O. Selåsdal
|
4caf2573fb
|
Check of count or size is 0 in heapsort
|
2013-12-03 14:29:57 +01:00 |
|
Nils O. Selåsdal
|
70fb352656
|
Fix heapsort, add test
|
2013-12-03 11:30:09 +01:00 |
|
Nils O. Selåsdal
|
a5662a2edd
|
Revert "Remove the wrong heapsort implementation"
This reverts commit aa04b6ae33.
|
2013-12-03 10:59:56 +01:00 |
|
Nils O. Selåsdal
|
aa04b6ae33
|
Remove the wrong heapsort implementation
|
2013-12-02 21:51:26 +01:00 |
|
Nils O. Selåsdal
|
96934d7cf7
|
minor name changes to make more sense
|
2013-12-01 21:12:18 +01:00 |
|
Nils O. Selåsdal
|
bcafaace29
|
Fix the log level string of NONE.
|
2013-11-30 04:48:26 +01:00 |
|
Nils O. Selåsdal
|
66942b43dc
|
Initializze p1..p4_off, to silence a (wrong) compiler warning
|
2013-11-26 22:39:18 +01:00 |
|
Nils O. Selåsdal
|
dbe2f174a8
|
Add uc_mbuf_extend_headroom function, for growing an mbuf
|
2013-11-25 23:38:13 +01:00 |
|
Nils O. Selåsdal
|
3d2e0ce540
|
tabs->spaces
|
2013-11-22 20:06:05 +01:00 |
|
Nils O. Selåsdal
|
e808bcde4d
|
Fix typo
|
2013-11-22 17:35:50 +01:00 |
|
Nils O. Selåsdal
|
28177a092c
|
Fix uc_set_tcp_keepalive_cfg, it really wasnt working :-(
|
2013-11-21 21:31:33 +01:00 |
|
Nils O. Selåsdal
|
8083fa54cf
|
Split uc_human_bytesz in uc_human_bytesz_dec/uc_human_bytesz_bin, for
decimal and binary conversion (http://en.wikipedia.org/wiki/Megabyte)
|
2013-11-19 11:33:43 +01:00 |
|
Nils O. Selåsdal
|
37ebc2a75b
|
Remove redundant assignment
|
2013-11-17 23:06:39 +01:00 |
|
Nils O. Selåsdal
|
938ffe330d
|
Use unsigned types instead of long for threadqueue
|
2013-11-17 21:02:02 +01:00 |
|
Nils O. Selaasdal
|
c46099c64e
|
use IPPROTO_TCP instead of SOL_TCP, for BSD compatibility (SOL_TCP == IPPROTO_TCP on linux)
|
2013-11-13 18:16:43 +01:00 |
|
Nils O. Selåsdal
|
6b26812cf3
|
Only do one event at a time to a callback.
|
2013-11-09 11:06:19 +01:00 |
|
Nils O. Selåsdal
|
a4c6b65d5f
|
Replace goto with do while
|
2013-11-09 10:47:41 +01:00 |
|
Nils O. Selåsdal
|
f0b4d46784
|
Generate the version string in scons, so it doesn't
have to be defined several potential places
|
2013-10-29 22:23:09 +01:00 |
|
Nils O. Selåsdal
|
eceda7be70
|
Generalize the backing type of bitvec
|
2013-10-28 23:21:26 +01:00 |
|
Nils O. Selåsdal
|
678378c2f4
|
Generate scons substitute info in top file
|
2013-10-28 19:02:47 +01:00 |
|
Nils O. Selåsdal
|
45ecb3c1e0
|
Revert "Add iterator API". Will try to find a better API
This reverts commit 821399a61b.
|
2013-10-24 21:28:35 +02:00 |
|
Nils O. Selåsdal
|
821399a61b
|
Add iterator API
|
2013-10-24 21:27:31 +02:00 |
|
Nils O. Selåsdal
|
b0172a365e
|
test uc_htable_clear. Add comments, fix uc_htable_next
|
2013-10-17 22:28:32 +02:00 |
|
Nils O. Selåsdal
|
0f0ae6dd1e
|
Add uc_htable_remove + test
|
2013-10-17 22:12:48 +02:00 |
|
Nils O. Selåsdal
|
4b13f1f1c9
|
Merge branch 'dev' of /var/lib/git/libucore into dev
|
2013-10-17 21:00:32 +02:00 |
|
Nils O. Selåsdal
|
987db2d096
|
First iteration of hash table
|
2013-10-17 21:00:05 +02:00 |
|