386BSD 0.1 development
[unix-history] / usr / othersrc / contrib / isode / compat / str2taddr.c
CommitLineData
48435ab0
WJ
1/* str2taddr.c - string value to TSAPaddr */
2
3#ifndef lint
4static char *rcsid = "$Header: /f/osi/compat/RCS/str2taddr.c,v 7.1 91/02/22 09:16:00 mrose Interim $";
5#endif
6
7/*
8 * $Header: /f/osi/compat/RCS/str2taddr.c,v 7.1 91/02/22 09:16:00 mrose Interim $
9 *
10 *
11 * $Log: str2taddr.c,v $
12 * Revision 7.1 91/02/22 09:16:00 mrose
13 * Interim 6.8
14 *
15 * Revision 7.0 89/11/23 21:23:38 mrose
16 * Release 6.0
17 *
18 */
19
20/*
21 * NOTICE
22 *
23 * Acquisition, use, and distribution of this module and related
24 * materials are subject to the restrictions of a license agreement.
25 * Consult the Preface in the User's Manual for the full terms of
26 * this agreement.
27 *
28 */
29
30
31/* LINTLIBRARY */
32
33#include <stdio.h>
34#include "general.h"
35#include "manifest.h"
36#include "isoaddrs.h"
37
38/* \f */
39
40struct TSAPaddr *str2taddr (str)
41char *str;
42{
43 register struct PSAPaddr *pa;
44
45 if (pa = str2paddr (str))
46 return (&pa -> pa_addr.sa_addr);
47
48 return NULLTA;
49}