Commit Graph

261 Commits

Author SHA1 Message Date
Nils O. Selåsdal 131bfc5da6 Add uc_restart_counter concept 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal eacdd947e5 Add a few more UCStrVal functions 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 48563f553d Fix RATE_LIMIT_INITIALIZER 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 9b3c1e370b ( ) around macro arguments.. 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 7eb42cc538 fix UC_ROUND_UP() 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal f686c299a3 Better atomic support for gcc and clang 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 33f8d3bbae Add ATOMIC_GET 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 22f6c1e043 Improve doxygen documentation. 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal cfb6022d42 More comments on the ticket lock code 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal dcc38151b1 pthread implementation of a ticket lock 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 1282f420a1 Get rid of clang warnings for UC_INLINE 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal b0ca62b878 Fix header guard in read_file.h 2014-09-12 01:11:40 +02:00
Nils O. Selåsdal 9199614f40 Fix header guard in buffer.h 2014-09-12 01:11:40 +02:00
Nils O. Selåsdal 95749c5b7d Add iomux_from_timers() function to recover an IOMux from
the associated UCTimers
2014-09-12 01:11:40 +02:00
Nils O. Selåsdal 0e296ce7e5 Add init method to dstr for initializing directyl from a string
Change the api so _put_ functions that copy in data are named "_append_"
instead.
2014-09-12 01:11:40 +02:00
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 03d66f8698 Merge branch 'cmd' of ssh://box/var/lib/git/libucore into cmd 2014-09-08 22:24:36 +02:00
Nils O. Selåsdal b446022e6d Fix RATE_LIMIT_INITIALIZER 2014-09-08 22:24:08 +02:00
Nils O. Selåsdal e45a4d5643 Improve doxygen documentation. 2014-08-26 21:38:09 +02:00
Nils O. Selåsdal a0e5a4fac8 Initial cmd.. 2014-06-28 01:54:44 +02:00
Nils O. Selåsdal 0a6ce86779 More comments on the ticket lock code 2014-06-25 17:03:14 +02:00
Nils O. Selåsdal 06be01a708 pthread implementation of a ticket lock 2014-06-25 16:52:15 +02:00
Nils O. Selåsdal d28288f048 Get rid of clang warnings for UC_INLINE 2014-06-23 02:24:27 +02:00
Nils O. Selåsdal 723ca5dcfb Fix header guard in read_file.h 2014-06-23 02:15:26 +02:00
Nils O. Selåsdal 06ecc68ca7 Fix header guard in buffer.h 2014-06-23 02:14:20 +02:00
Nils O. Selåsdal 2d1e7efc3e Add iomux_from_timers() function to recover an IOMux from
the associated UCTimers
2014-06-22 23:11:12 +02:00
Nils O. Selåsdal 2c264a76b4 Add init method to dstr for initializing directyl from a string
Change the api so _put_ functions that copy in data are named "_append_"
instead.
2014-06-18 15:57:51 +02:00
Nils O. Selåsdal b3b1179c5a Use restrict on pointers where it makes sense. (requires C99 support,
which we already assume)
2014-05-25 23:07:08 +02:00
Nils O. Selåsdal 0014ca5c2e Move UC_LOG_DESTINATION enum to logging.c, it's
not a public type
2014-04-25 19:57:59 +02:00
Nils O. Selåsdal 0e35ecbc29 Initial attempt of log rotation based on file sizes 2014-04-23 02:04:08 +02:00
Nils O. Selåsdal 71c9643ee9 Better error message for UC_STATIC_ASSERT. Also
require it to be terminated by a ;
2014-03-14 00:58:09 +01:00
Nils O. Selåsdal b93e5b6d5b add uc_read_fd function 2014-03-13 23:16:50 +01:00
Nils O. Selåsdal 15a3cbb59a Small refactoring of ratelimit code to make more sense 2014-03-09 23:54:48 +01:00
Nils O. Selåsdal 619af7aedc Merge branch 'master' into dev 2014-02-19 00:40:53 +01:00
Nils O. Selåsdal b49fd5a475 Fix orders of members in UCKeepConfig 2014-02-19 00:40:13 +01:00
Nils O. Selåsdal 0c3fc0f31d Add a string/string mapper struct 2014-02-04 20:51:47 +01:00
Nils O. Selåsdal 3119016172 Rename the value string functions to be a bit mroe sensible 2014-02-04 15:15:17 +01:00
Nils O. Selåsdal a1da276cf5 cosmetic cleanup 2014-02-04 01:45:02 +01:00
Nils O. Selåsdal c2af5db86e Add an unsigned int/string pair type, modelled on the value string of
wireshark
2014-02-04 01:37:27 +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