diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-04-21 09:15:52 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-04-21 09:15:52 +0200 |
commit | 5c8a43ce348cdac4fac0a6ee470342ff7dab3a64 (patch) | |
tree | d72fee9ca8a12695bec247fa64288703ebf8aa27 /rose.3 | |
parent | 60368d2e0bd1a81c64b1a30b0819232866ccedb4 (diff) |
Import ax25-lib 0.0.2 from tarballax25-lib-0.0.2
Diffstat (limited to 'rose.3')
-rw-r--r-- | rose.3 | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -0,0 +1,31 @@ +.TH INET 3 "20 April 1999" "Linux" "Linux Programmer's Manual" +.SH NAME +rose_aton, rose_ntoa, rose_cmp \- ROSE Address manipulation routines +.SH SYNOPSIS +.nf +.B #include <netrose/rose.h> +.sp +.BI "int rose_aton(const char *" cp ", char *" inp ");" +.sp +.BI "char * rose_ntoa(rose_address *" cp ");" +.sp +.BI "int rose_cmp(rose_address *" a1 ", rose_address *" a2 ");" +.fi +.SH DESCRIPTION +\fBrose_aton()\fP converts the ROSE address \fIcp\fP from an ASCII +representation into network format. +.PP +\fBrose_ntoa()\fP converts the ROSE address \fIcp\fP that is +network format to a string that is the ASCII +representation of the address. +.PP +\fBrose_cmp()\fP compares the two ROSE address \fIa1\fP and \fIa2\fP +that are in network format. +.SH "RETURN VALUE" +The \fBrose_ntoa()\fP and \fBrose_aton()\fP functions return zero if all +went ok, -1 if not. +.PP +The \fBrose_cmp()\fP returns 0 if address \fIa1\fP and \fIa2\fP are identical, +1 otherwise. +.SH "SEE ALSO" +.BR ax25 "(4), " netrom "(4), " rose "(4)" |