Love Hörnquist Åstrand
28303a2798
add closefrom
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 13:17:16 +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
Johan Danielsson
ff2612b608
euthanise {get,set}_progname
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 12:15:23 +00:00
Johan Danielsson
970edde9f8
HAVE_FOO_DECLARATION -> HAVE_DECL_FOO
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 15:11:39 +00:00
Assar Westerlund
ace97827a5
add missing semicolon
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-26 21:43:38 +00:00
Assar Westerlund
16380081d3
add prototypes for str, unvis functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11234 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-26 13:30:42 +00:00
Johan Danielsson
ddaa2ea7d1
we may need a prototype for strndup
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-22 16:16:25 +00:00
Johan Danielsson
ce3e17ec51
move ssize_t before roken-common.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-21 09:42:55 +00:00
Johan Danielsson
eaa06fee02
typedef ssize_t here
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11180 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 17:34:29 +00:00
Johan Danielsson
bfc1679b46
move mini_inetd protos to after addrinfo definition
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10943 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 16:24:40 +00:00
Johan Danielsson
c92de0b469
mini_inetd_addrinfo that takes an addrinfo instead of a port number
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-18 19:08:59 +00:00
Assar Westerlund
09a0f73514
add localtime_r
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10764 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-21 23:25:07 +00:00
Assar Westerlund
b3d59fc148
arpa/nameser.h is required by resolv.h on solaris
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10686 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-13 00:50:22 +00:00
Assar Westerlund
c36ea72fca
add resolv.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10644 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-03 05:41:05 +00:00
Assar Westerlund
6e1283cbc2
remove all winsock.h
...
for now, it does more harm than good under cygwin and if it should be
used, the correct conditional needs to be found
from <tol@stacken.kth.se >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-21 15:32:07 +00:00
Assar Westerlund
3566322074
add emalloc et al
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-17 12:11:24 +00:00
Assar Westerlund
fc21f10051
fix typo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-18 18:00:12 +00:00
Johan Danielsson
bad7d1baa4
just use standard C types with bswap*
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9988 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-18 15:32:58 +00:00
Assar Westerlund
7a08d98d30
include all the headers that AC_GROK_TYPES tries for finding u_int17_t
...
et al
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-17 03:10:49 +00:00
Assar Westerlund
21749c6fd6
make it kludge-compatilbe with bwap
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9983 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-17 01:28:49 +00:00
Assar Westerlund
95d3784467
add fallback definitions of u_int32_t and u_int16_t
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-17 00:27:43 +00:00
Assar Westerlund
d0bb9f162e
re-add set_progname and get_progname for backwards compatability
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9973 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-16 23:55:36 +00:00
Johan Danielsson
b355c957b5
bswap{16,32}
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-11 14:04:30 +00:00
Assar Westerlund
6ea2291a5d
(set_progname, get_progname): remove prototypes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9713 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-20 21:09:04 +00:00
Assar Westerlund
e48852383d
(setprogname, getprogname): add prototypes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9707 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-20 01:48:31 +00:00
Assar Westerlund
3e36288c1a
move __attribute__ to roken-common.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-27 05:28:09 +00:00
Johan Danielsson
84596180b3
fix last commit differently
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9378 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-12 16:27:49 +00:00
Assar Westerlund
b4138d1196
move so that roken-common gets inside c++ stuff
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9364 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-11 04:39:58 +00:00
Johan Danielsson
e95a198473
cleanup previous
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-06 21:34:39 +00:00
Johan Danielsson
b0a52727ff
add prototypes for strvis*
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-06 20:19:04 +00:00
Johan Danielsson
9f62adc6f1
proto
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-05 16:41:45 +00:00
Johan Danielsson
6a006c5e35
add proto compat for getsockname
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-07 13:07:46 +00:00
Assar Westerlund
3e27a5a61f
(get_progname): add prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-26 13:10:16 +00:00
Johan Danielsson
da564a4c59
proto
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-15 12:50:55 +00:00
Johan Danielsson
97aa8026cf
declare ether_addr and sockaddr_dl for AIX
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 18:02:02 +00:00
Johan Danielsson
587f3668b7
strsep_copy prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8387 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-12 11:19:41 +00:00
Assar Westerlund
f16283b474
move __attribute__ from roken-common.h to roken.h.in
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8228 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-14 23:57:22 +00:00
Assar Westerlund
c00bfb759f
(_SS_PAD1SIZE): try to write an inpenetrable expression that also
...
works on Crays
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-11 15:18:14 +00:00
Assar Westerlund
09d1a23eb2
move up roken-common.h again.
...
and move roken_getaddrinfo_hostspec here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-14 02:24:20 +00:00
Assar Westerlund
69bc1d519b
move down roken-common.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-13 20:50:44 +00:00
Assar Westerlund
9e9d385daa
(sockaddr_storage): change padding so that we have one char[] of pad
...
and then an unsigned long[] (for alignment and padding). this works
much better in practice.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7685 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-30 02:22:54 +00:00
Assar Westerlund
737328871a
(sockaddr_storage): drop leading underscore on `public' fields. this
...
was the consensus on the ipng mailing list
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7664 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-22 17:53:51 +00:00
Assar Westerlund
5c1322ccdd
(struct sockaddr_storage): redefine with the example code from rfc2553
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7614 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-16 15:45:18 +00:00
Assar Westerlund
73b708a81e
add prototypes for str[pf]time
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7592 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-14 01:41:10 +00:00
Assar Westerlund
c47f6a87d4
move getnameinfo_verified here from roken-common.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7531 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 12:43:35 +00:00
Assar Westerlund
20a75eb93a
(inaddr2str): remove
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7528 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 11:01:30 +00:00
Assar Westerlund
3128eb3996
(socklen_t): make independent of sockaddr_storage
...
(AI_*, NI_*, EAI_*): move to roken-common.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7505 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-04 18:46:35 +00:00
Assar Westerlund
7d0b4e12fe
arpa/inet.h: include
...
(socklen_t): add
(struct addrinfo): add
(EAI_*): add
(NI_*): add
(AI_*): add
(getaddrinfo, getnameinfo, freeaddrinfo, gai_strerror): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7473 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-03 04:01:37 +00:00
Johan Danielsson
3ca5f8150f
remove advertising clause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7463 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 16:58:55 +00:00
Assar Westerlund
4051f1f306
use unsigned char' instead of
u_int8_t' to avoid having to have that
...
definition. this is the easy way out instead of getting the
definition here where it's needed. flame me.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7266 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 20:04:03 +00:00