Commit | Line | Data |
---|---|---|
48435ab0 WJ |
1 | /* str2saddr.c - string value to SSAPaddr */ |
2 | ||
3 | #ifndef lint | |
4 | static char *rcsid = "$Header: /f/osi/compat/RCS/str2saddr.c,v 7.1 91/02/22 09:15:56 mrose Interim $"; | |
5 | #endif | |
6 | ||
7 | /* | |
8 | * $Header: /f/osi/compat/RCS/str2saddr.c,v 7.1 91/02/22 09:15:56 mrose Interim $ | |
9 | * | |
10 | * | |
11 | * $Log: str2saddr.c,v $ | |
12 | * Revision 7.1 91/02/22 09:15:56 mrose | |
13 | * Interim 6.8 | |
14 | * | |
15 | * Revision 7.0 89/11/23 21:23:36 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 | ||
40 | struct SSAPaddr *str2saddr (str) | |
41 | char *str; | |
42 | { | |
43 | register struct PSAPaddr *pa; | |
44 | ||
45 | if (pa = str2paddr (str)) | |
46 | return (&pa -> pa_addr); | |
47 | ||
48 | return NULLSA; | |
49 | } |