Commit Graph

131 Commits

Author SHA1 Message Date
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
Assar Westerlund
a5497bbd0d rename strc{py,at}_truncate to strlc{py,at}
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6979 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 19:31:18 +00:00
Johan Danielsson
9b395f1aaa cgetent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6776 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-09 14:48:51 +00:00
Assar Westerlund
440f8b353f (sockaddr_storage): cater for those that have v6-support also
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6762 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-06 20:01:20 +00:00
Assar Westerlund
9d39a503dc (sockaddr_storage): fix typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6658 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-28 21:20:42 +00:00
Assar Westerlund
54269d8850 (inet_pton): add prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6621 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-28 13:33:18 +00:00
Assar Westerlund
74c4ca2825 (inet_ntop): add prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6579 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-26 10:13:48 +00:00
Assar Westerlund
8086e633ca (struct sockaddr_storage): define it needed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6529 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-24 18:43:55 +00:00
Assar Westerlund
770a0aab91 update to new format for cpp define SunOS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6480 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-22 02:58:32 +00:00
Assar Westerlund
cbb144e9d9 <netdb.h>: include
(copyhostent, freehostent, getipnodebyname, getipnodebyaddr): add
prototypes


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6473 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-18 23:13:51 +00:00
Assar Westerlund
1a6d0d783b (k_getpwnam): update prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6454 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-13 08:58:41 +00:00
Assar Westerlund
4270c96bb8 (get_default_username): add prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6318 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-15 02:47:41 +00:00
Assar Westerlund
a0127ce253 (strndup): add
(strnlen): update prototype


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6149 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-07 23:55:21 +00:00
Assar Westerlund
e68f27788e include strsep prototype if needed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5968 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-16 09:59:27 +00:00
Assar Westerlund
5d63b860a1 (daemon, innetgr): add prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5642 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-20 02:42:53 +00:00
Johan Danielsson
761f124676 back out previous
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5515 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-11 14:09:03 +00:00
Johan Danielsson
3ba5eea23a add netgroup_match()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5514 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-11 14:06:48 +00:00
Johan Danielsson
0367fb7369 protos
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5512 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-11 14:03:15 +00:00
Johan Danielsson
41ec130acc protos for {un,}setenv
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5479 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-08 10:52:19 +00:00
Assar Westerlund
58319e9d27 (mkstemp, gethostname): also includes prototypes if they are needed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5368 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-15 21:05:17 +00:00
Assar Westerlund
efbc469e2b environ: add declaration for
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5309 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-01-30 18:32:59 +00:00
Assar Westerlund
ad6f011ed5 mkstemp: add prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5272 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-12-23 03:17:22 +00:00
Assar Westerlund
963049f0fa (inet_aton): also chedk NEED_INET_ATON_PROTO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5268 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-12-20 15:35:45 +00:00
Assar Westerlund
f012712ae0 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5103 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-07-25 09:36:55 +00:00
Assar Westerlund
1d933c5cc0 add cplucplus magic
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5099 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-07-25 09:16:46 +00:00
Assar Westerlund
26e52971dd (net_write, net_read): add prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5075 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-07-09 23:21:53 +00:00
Assar Westerlund
3dc6081cdc (issuid): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5061 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-30 16:18:32 +00:00
Johan Danielsson
a5f54865d4 merge strcpy_truncate branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5027 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-09 19:25:40 +00:00
Johan Danielsson
5290e41055 prototypes for {v,}as{n,}printf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4881 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-15 20:36:48 +00:00
Assar Westerlund
778b89b9c7 include paths.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4783 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-04-19 08:00:03 +00:00
Johan Danielsson
d20b28703a More protos for {,v}snprintf.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4758 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-04-07 23:06:59 +00:00
Assar Westerlund
774aaf8d72 add strcasecmp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4714 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-04-04 13:15:24 +00:00
Johan Danielsson
5b3df1aab2 Protos for roken_gethostbyaddr', roken_gethostbyname', and
`roken_gethostby_setup'.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4581 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-16 21:52:53 +00:00
Johan Danielsson
873253e222 Remove <arpa/nameser.h>, since some definitions confict with
<sys/stream.h> on AIX.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4566 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-10 17:52:57 +00:00
Johan Danielsson
181bee2231 Add <arpa/nameser.h>, move signal decl to roken-common.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4540 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-04 17:39:35 +00:00
Johan Danielsson
02d804ad24 <sys/param.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4265 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-01-03 21:30:34 +00:00
Johan Danielsson
0ad295ca97 Include <err.h>, to get linux __progname.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4249 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-29 22:30:47 +00:00
Björn Groenvall
72eea35e09 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4187 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-11 16:05:46 +00:00
Björn Groenvall
57bb48f8fd Fix fatal Psoriasis compilation problem.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4186 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-11 16:04:43 +00:00
Assar Westerlund
aee1a8ca2f added gethostname and roken_concat*
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4113 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-05 01:34:10 +00:00
Johan Danielsson
d8e2b641b5 generate roken.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4104 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-04 22:43:45 +00:00
Assar Westerlund
5510ee3cdf changed u_int32_t' to unsigned' in iruserok-prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4093 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-04 03:47:44 +00:00
Assar Westerlund
76b4c40d00 iruserok prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4091 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-04 03:37:44 +00:00