Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/net/inet.h

    r257feec re4554d4  
    4141#include <byteorder.h>
    4242
     43/** Type definition of the socket address.
     44 * @see sockaddr
     45 */
     46typedef struct sockaddr         sockaddr_t;
     47
    4348/** Type definition of the address information.
    4449 * @see addrinfo
    4550 */
    46 typedef struct addrinfo addrinfo_t;
     51typedef struct addrinfo         addrinfo_t;
    4752
    4853/** Socket address. */
    49 typedef struct sockaddr {
     54struct sockaddr {
    5055        /** Address family. @see socket.h */
    5156        uint16_t sa_family;
    5257        /** 14 byte protocol address. */
    5358        uint8_t sa_data[14];
    54 } sockaddr_t;
     59};
    5560
    5661extern int inet_ntop(uint16_t, const uint8_t *, char *, size_t);
Note: See TracChangeset for help on using the changeset viewer.