summaryrefslogtreecommitdiffstats
path: root/src/include/socket-utils.h
Commit message (Collapse)AuthorAgeFilesLines
* Require IPv6 supportKen Raeburn2012-02-281-10/+2
| | | | | | | | | | | | | | The configure-time options to enable and disable IPv6 support have been deprecated for some time, but the checks for OS support were kept. This removes those checks, and unconditionally compiles in the IPv6 support. There was a configure-time test to see if the macro INET6 needed to be defined in order to enable (visibility of) OS support for IPv6, which was needed on an IRIX system we tested with. That check is retained, but the revised code is untested on IRIX. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25719 dc483132-0cff-0310-8789-dd5450dbe970
* Reindent include directory, reformatting prototypes as necessary.Greg Hudson2009-11-141-0/+1
| | | | | | | Exclude include/gssrpc due to its Sun origin and k5-platform.h due to macros too hairy for emacs c-mode to handle. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23180 dc483132-0cff-0310-8789-dd5450dbe970
* make mark-cstyleTom Yu2009-10-311-27/+27
| | | | | | make reindent git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23100 dc483132-0cff-0310-8789-dd5450dbe970
* Instead of arbitrary division of headers into include and include/krb5, withKen Raeburn2006-03-111-1/+1
| | | | | | | | | | | | include directives sometimes using krb5/foo.h and sometimes using foo.h, and -I options always given for both directories in both source and build trees, push include/krb5/* up a level and drop the krb5 directory (except, for the moment, the change log). Updated #include directives, -I options, and dependencies accordingly, and deleted one or two bits of old, unused code that was noticed in the process. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17730 dc483132-0cff-0310-8789-dd5450dbe970
* * port-sockets.h: On PalmOS, include autoconf.h and netdb.h, and defineKen Raeburn2005-04-281-14/+8
| | | | | | | | | socklen_t. * socket-utils.h: Include k5-platform.h. (sa2sin, sa2sin6, ss2sa, ss2sin, ss2sin6): Always use inline function form, and use "inline" instead of "__inline__". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17202 dc483132-0cff-0310-8789-dd5450dbe970
* Make things work on IRIX againKen Raeburn2003-08-211-0/+2
| | | | | | | | | | | | | | * fake-addrinfo.h (inline): Move definitions further up, before first use. Do use __inline__ for gcc without c99 support. (GET_SERV_BY_NAME) [!GETSERVBYNAME_R_RETURNS_INT]: Fix invocation for IRIX definition. * socket-utils.h: Include port-sockets.h to get a definition for struct sockaddr_storage. ticket: 1380 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15783 dc483132-0cff-0310-8789-dd5450dbe970
* Move socklen_t and sockaddr_storage definitions to port-sockets.hKen Raeburn2003-01-101-17/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15108 dc483132-0cff-0310-8789-dd5450dbe970
* * socket-utils.h (sa2sin, sa2sin6): Add redundant cast to (void *)Tom Yu2002-09-271-7/+12
| | | | | | to get GCC to shut up about alignment increasing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14901 dc483132-0cff-0310-8789-dd5450dbe970
* * socket-utils.h (ss2sin6): Enable compilation of inline function versionKen Raeburn2002-06-251-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14581 dc483132-0cff-0310-8789-dd5450dbe970
* * socket-utils.h (socklen) [! HAVE_SA_LEN]: Return a socklen_t instead of size_tKen Raeburn2002-05-311-4/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14463 dc483132-0cff-0310-8789-dd5450dbe970
* * socket-utils.h (ss2sin6) [__GNUC__]: Define inline function only if IPv6 ↵Ken Raeburn2002-01-091-0/+2
| | | | | | support is turned on git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14098 dc483132-0cff-0310-8789-dd5450dbe970
* separate sockaddr_storage support from ipv6 supportKen Raeburn2001-08-311-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13714 dc483132-0cff-0310-8789-dd5450dbe970
* * socket-utils.h (struct krb5int_sockaddr_storage): Add some extra spaceKen Raeburn2001-08-311-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13708 dc483132-0cff-0310-8789-dd5450dbe970
* copyright; update commentsKen Raeburn2001-08-301-1/+48
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13691 dc483132-0cff-0310-8789-dd5450dbe970
* move socket util definitions (socklen_t, sa2sin, etc) from k5-int to a new fileKen Raeburn2001-08-301-0/+72
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13689 dc483132-0cff-0310-8789-dd5450dbe970