Commit Graph

86 Commits

Author SHA1 Message Date
Love Hornquist Astrand
3c241aef9e don't undefined SLIST 2010-12-12 11:45:53 -08:00
Love Hornquist Astrand
987faedb80 add random abstraction 2010-11-29 09:31:07 -08:00
Asanka C. Herath
538c7ce29c More compatibility macros
Undefine SLIST_ENTRY to avoid conflict with WinNT.h

Define AI_NUMERICSERV for platforms that don't define it.
2010-11-24 15:33:15 -05:00
Asanka Herath
68cfbb7e19 Add rk_cloexec_dir() to lib/roken 2009-12-22 14:03:39 -05:00
Love Hornquist Astrand
16a890a29c revert merged patches 2009-11-25 08:28:35 -08:00
Love Hornquist Astrand
f1c0c1bba3 prefix SOCKET symbols with rk_ 2009-11-25 05:29:18 +01:00
Asanka Herath
8e785a5750 Formatting changes and new mini_inetd() function signatures 2009-11-24 10:20:18 -08:00
Asanka Herath
49b261efdc Formalize the simple_exec*() API 2009-11-24 10:17:18 -08:00
Asanka Herath
6ca5815e3d Socket functions should use SOCKET instead of int 2009-11-24 10:11:15 -08:00
Asanka Herath
b1063ea8fc Initial Windows port 2009-11-24 10:11:14 -08:00
Love Hornquist Astrand
b657b2e680 Add constant time version of memcmp 2009-08-15 13:24:52 +02:00
Love Hörnquist Åstrand
1ab1b93b28 more const-ification
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:22:53 +00:00
Love Hörnquist Åstrand
efed5633ca prefix symbols with rk_, patch from Martin von Gagern
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24759 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-17 02:49:55 +00:00
Love Hörnquist Åstrand
aaefca7514 prefix warnerr with rk_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24732 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 18:37:35 +00:00
Love Hörnquist Åstrand
c61f9fcbe9 drop simple_execl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24340 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:27:59 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
e9c6b517fd xfree, close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23468 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:16:56 +00:00
Love Hörnquist Åstrand
f577a16f67 add rk_xfree()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23409 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:33:25 +00:00
Love Hörnquist Åstrand
a41b11dae7 add rk_undumpdata
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:23:18 +00:00
Love Hörnquist Åstrand
bdd3ed1630 (free_environment): free result of read_environment().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20867 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 21:00:45 +00:00
Love Hörnquist Åstrand
53b9d752a2 (free_environment): free result of read_environment().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20865 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 20:55:22 +00:00
Love Hörnquist Åstrand
38c5dbe857 Move rk_UNCONST to roken.h.in since it might use uintptr_t depending
on avaibility.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-28 03:05:58 +00:00
Love Hörnquist Åstrand
e0cb46351f Add rk_dumpdata.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16090 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-22 23:52:24 +00:00
Love Hörnquist Åstrand
654d9acc05 Add socket_set_ipv6only, remove some argument names.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-01 18:47:35 +00:00
Love Hörnquist Åstrand
00bf2bc852 remove duplicate ;
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 05:03:30 +00:00
Love Hörnquist Åstrand
a9212312c1 rk_strpoolprintf first variable identifier is 3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 07:09:16 +00:00
Love Hörnquist Åstrand
b7de0b950c fix format attribute
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-29 14:13:50 +00:00
Love Hörnquist Åstrand
d1e139c302 add strpool, a printf collector to make it eaiser to collect strings
into one string


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-28 22:49:56 +00:00
Love Hörnquist Åstrand
601faffba8 add rk_UNCONST that can be used to unconstify variables to avoid
api problems that -Wcast-qual will detect


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15410 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:39:42 +00:00
Love Hörnquist Åstrand
eb9bd70683 add rk_realloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:17:53 +00:00
Love Hörnquist Åstrand
709aa58c74 define ROKEN_LIB_FUNCTION on all exported functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-12 11:29:18 +00:00
Love Hörnquist Åstrand
5cc66e1d2b add simple_execve_timed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-12 14:48:04 +00:00
Love Hörnquist Åstrand
0e44e47b2a add timed simple_exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13342 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-12 14:37:18 +00:00
Love Hörnquist Åstrand
627c19cca9 use EAI_NONAME instead of EAI_ADDRFAMILY to check for if we need EAI_ macros
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-02 11:28:31 +00:00
Johan Danielsson
2f8c0d7281 fix typo in previous
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11410 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-09 13:41:12 +00:00
Johan Danielsson
4b36aecdf4 change IRIX == 4 to IRIX4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-09 13:29:09 +00:00
Johan Danielsson
e703d7229f AI_NUMERICHOST needs special handling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 11:55:04 +00:00
Johan Danielsson
dd4b4a1159 restrict is a keyword
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10647 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-03 12:04:34 +00:00
Jacques A. Vidrine
c77bd77f26 On systems with IP_PORTRANGE, have ftpd use `high-numbered'
ports by default.  Add a -U option to get the old behavior.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-28 19:02:16 +00:00
Assar Westerlund
98408c0e0f (hostent_find_fqdn): update prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-10 11:59:07 +00:00
Assar Westerlund
19b534f7a0 (hostent_find_fqdn): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-09 17:15:13 +00:00
Johan Danielsson
4214063de9 prototypes for wait_for_process and pipe_execv
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-19 23:52:08 +00:00
Assar Westerlund
46a12a3304 move emalloc et al to roken.h.in
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10065 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-17 12:11:06 +00:00
Assar Westerlund
a5ea2c6f0f (_PATH_BSHELL): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-29 02:09:09 +00:00
Assar Westerlund
a1f9568162 __attribute__ moved here from roken.h.in
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-27 05:28:00 +00:00
Johan Danielsson
1e8520342e add c++ externs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9379 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-12 16:28:27 +00:00
Assar Westerlund
d1a39c9cf5 (warnerr): moved here from err.hin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9365 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-11 04:40:25 +00:00
Johan Danielsson
97ac6c2c6b make `extern "C"' into a macro, this make emacs much happier
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-06 20:20:23 +00:00
Assar Westerlund
deb951ee83 add prototype for simple_execl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 00:23:32 +00:00