Commit Graph

142 Commits

Author SHA1 Message Date
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
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