"Fossies" - the Fresh Open Source Software Archive

Member "leafnode-1.12.0/masock.h" (30 Jan 2009, 419 Bytes) of package /linux/misc/leafnode-1.12.0.tar.xz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "masock.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef MASOCK_H
    2 #define MASOCK_H
    4 #include <sys/types.h>
    5 #include <sys/socket.h>
    6 #include <netinet/in.h>
    7 #ifndef __LCLINT__
    8 #include <arpa/inet.h>
    9 #endif /* not __LCLINT__ */
   10 #include <netdb.h>
   12 /*@null@*/ /*@only@*/ char *masock_sa2addr(const struct sockaddr *sa);
   13 long  masock_sa2port(const struct sockaddr *sa);
   14 /*@null@*/ /*@only@*/ char *masock_sa2name(const struct sockaddr *sa, /*@out@*/ int *h_error);
   16 #endif