Nils O. Selåsdal
|
5bd23d751f
|
Use restrict on pointers where it makes sense. (requires C99 support,
which we already assume)
|
2014-09-12 01:11:40 +02:00 |
|
Nils O. Selåsdal
|
802462a5c0
|
Move UC_LOG_DESTINATION enum to logging.c, it's
not a public type
|
2014-09-12 01:11:40 +02:00 |
|
Nils O. Selåsdal
|
7bd1074c1d
|
Initial attempt of log rotation based on file sizes
|
2014-09-12 01:11:40 +02:00 |
|
Nils O. Selåsdal
|
f9fffbc4b0
|
Better error message for UC_STATIC_ASSERT. Also
require it to be terminated by a ;
|
2014-09-12 01:11:40 +02:00 |
|
Nils O. Selåsdal
|
5f06950fd0
|
add uc_read_fd function
|
2014-09-12 01:11:40 +02:00 |
|
Nils O. Selåsdal
|
d831ab9510
|
Small refactoring of ratelimit code to make more sense
|
2014-09-12 01:11:39 +02:00 |
|
Nils O. Selåsdal
|
0f25a0f565
|
Add a string/string mapper struct
|
2014-09-12 01:11:39 +02:00 |
|
Nils O. Selåsdal
|
39290eefb7
|
Rename the value string functions to be a bit mroe sensible
|
2014-09-12 01:11:39 +02:00 |
|
Nils O. Selåsdal
|
eeed97e938
|
cosmetic cleanup
|
2014-09-12 01:11:39 +02:00 |
|
Nils O. Selåsdal
|
dfe219b649
|
Add an unsigned int/string pair type, modelled on the value string of
wireshark
|
2014-09-12 01:11:39 +02:00 |
|
Nils O. Selåsdal
|
b49fd5a475
|
Fix orders of members in UCKeepConfig
|
2014-02-19 00:40:13 +01:00 |
|
Nils O. Selåsdal
|
3e313932af
|
Add BSD compatible strlcpy function (uc_strlcpy)
|
2014-01-08 00:37:33 +01:00 |
|
Nils O. Selåsdal
|
0e2d4f07c3
|
Adhere to coding style in logging module (struct uc_log_destination->
struct UCLogDestination, and similar for other structs)
|
2014-01-07 23:39:01 +01:00 |
|
Nils O. Selåsdal
|
74b6a65bd2
|
Add build_type string to version.c
|
2014-01-03 00:53:37 +01:00 |
|
Nils O. Selåsdal
|
ca2b2be2ee
|
Fix UC_NOT_REACHED
|
2013-12-31 03:00:39 +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
|
a147b868c0
|
Fix macros
|
2013-12-24 14:11:11 +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
|
ebb2640180
|
Do typedef after the enum declaration, for C++ compatibility.
|
2013-12-23 23:25:37 +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
|
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
|
f6badb41a2
|
Move UC_ASSERT/NOTREACHED to backtrace.h
|
2013-12-08 00:43:22 +01:00 |
|
Nils O. Selåsdal
|
d26854a632
|
Fix docs for uc_hex_decode
|
2013-12-06 23:16:54 +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
|
42612803a1
|
More string.h docs, and fix style
|
2013-12-06 22:47:23 +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
|
b5e1d086a4
|
Add DStr sprintf
|
2013-12-04 21:33:16 +01:00 |
|
Nils O. Selåsdal
|
d81e9b760a
|
More docs. And test put_filter
|
2013-12-04 20:44:47 +01:00 |
|
Nils O. Selåsdal
|
8749270ca4
|
Add DStr docs.
Small test changes
|
2013-12-04 20:32:06 +01:00 |
|
Nils O. Selåsdal
|
bbbe912fba
|
Initial version of struct DStr
|
2013-12-04 19:58:38 +01:00 |
|
Nils O. Selåsdal
|
f6afc8ba57
|
Allow UC_MIN(UC_MAX(x,y),z), though only one nesting can be done.
|
2013-12-03 19:42:43 +01:00 |
|
Nils O. Selåsdal
|
43a14a5149
|
Add comments to compare/swap function
|
2013-12-03 17:30:37 +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
|
2ac412917a
|
Fix comment
|
2013-11-30 13:42:49 +01:00 |
|
Nils O. Selåsdal
|
6dc59ccbf8
|
Add macros for iterating the containing entry
|
2013-11-30 13:40:05 +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
|
ec63c1e88f
|
Guard the UC_DEBUGF/UC_DEBUGFR with do{}while(0)
|
2013-11-30 04:39:59 +01:00 |
|
Nils O. Selåsdal
|
6706d59b4b
|
undef UC_INLINE
|
2013-11-30 03:26:45 +01:00 |
|
Nils O. Selåsdal
|
ad90215452
|
Add UC_TAILQ_CONTAINER. Fix spelling error
|
2013-11-30 03:24:43 +01:00 |
|
Nils O. Selåsdal
|
f9ef8d620f
|
style cleanups
|
2013-11-28 23:30:44 +01:00 |
|
Nils O. Selåsdal
|
44b86f2fde
|
Add FIRST/NEXT/LAST/PREV macros, analogous to sys/queue.h
|
2013-11-28 23:21:56 +01:00 |
|
Nils O. Selåsdal
|
f5d918e77d
|
Add a _move_head and _move_tail function to move a node
Also be more consisten in cometns about tailq instead of list
|
2013-11-28 22:50:03 +01:00 |
|