Annotation of 43BSDTahoe/new/xns/xnslib/names.c, revision 1.1

1.1     ! root        1: /*
        !             2:  * This file implements functions for dealing with names in the XNS
        !             3:  * environment.
        !             4:  */
        !             5: 
        !             6: /*
        !             7:  $Log: names.c,v $
        !             8:  * Revision 2.1  86/07/29  06:44:22  jqj
        !             9:  * Most code in this module is now superseded by ns_nameof() and ns_addr()
        !            10:  * routines, which are part of the standard libc in 4.3bsd.
        !            11:  * 
        !            12:  * Revision 2.0  85/11/21  07:22:14  jqj
        !            13:  * 4.3BSD standard release
        !            14:  * 
        !            15:  * Revision 1.2  85/10/21  12:58:41  root
        !            16:  * Gould version:  eliminate various uses of ns_netof(), which doesn't
        !            17:  * work on Gould.
        !            18:  * 
        !            19:  * Revision 1.3  85/03/11  16:37:13  jqj
        !            20:  * Public alpha-test version, released 11 March 1985
        !            21:  * 
        !            22:  * Revision 1.2  85/01/27  07:37:32  jqj
        !            23:  * finished but undebugged version
        !            24:  * 
        !            25:  */
        !            26: 
        !            27: #ifndef lint
        !            28: static char rcsid[] = "$Header: names.c,v 2.1 86/07/29 06:44:22 jqj Exp $";
        !            29: #endif
        !            30: 
        !            31: #include <sys/types.h>         /* for ns.h and socket.h */
        !            32: #include <sys/socket.h>                /* for ns.h */
        !            33: #include <netns/ns.h>          /* for XNS addresses */
        !            34: 
        !            35: 
        !            36: struct ns_addr *
        !            37: getXNSaddr(name)
        !            38:        char *name;
        !            39: {
        !            40:        static struct ns_addr result;
        !            41:        extern struct ns_addr ns_addr();
        !            42: 
        !            43:        result = ns_addr(name);
        !            44:        return &result;
        !            45: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.