source: trunk/athena/lib/locker/man/locker_check_host.3 @ 12781

Revision 12781, 1.5 KB checked in by danw, 26 years ago (diff)
These functions takes "locker_context"s, not "locker_context *"s (except locker_init, which takes a *, not a **)
Line 
1.\" $Id: locker_check_host.3,v 1.2 1999-03-27 17:33:59 danw Exp $
2.\"
3.\" Copyright 1997 by the Massachusetts Institute of Technology.
4.\"
5.\" Permission to use, copy, modify, and distribute this
6.\" software and its documentation for any purpose and without
7.\" fee is hereby granted, provided that the above copyright
8.\" notice appear in all copies and that both that copyright
9.\" notice and this permission notice appear in supporting
10.\" documentation, and that the name of M.I.T. not be used in
11.\" advertising or publicity pertaining to distribution of the
12.\" software without specific, written prior permission.
13.\" M.I.T. makes no representations about the suitability of
14.\" this software for any purpose.  It is provided "as is"
15.\" without express or implied warranty.
16.\"
17.TH LOCKER_CHECK_HOST 3
18.SH NAME
19locker_check_host \- See if a locker is located on a given host
20.SH SYNOPSIS
21.nf
22.B #include <locker.h>
23.PP
24.B
25int locker_check_host(locker_context \fIcontext\fP,
26.B
27        locker_attachent *\fIat\fP, void *addrp);
28.PP
29.B cc file.c -llocker ...
30.fi
31.SH DESCRIPTION
32This function takes a locker_attachent and a pointer to a struct
33in_addr and returns 1 if the locker is located on the given host.
34.PP
35Note that replicated AFS lockers will be listed as located on the host
360.0.0.0.
37.PP
38This function is intended to be used as a
39.I test
40function for
41.BR locker_iterate_attachtab (3)
42.SH SEE ALSO
43locker_iterate_attachtab(3)
44.SH AUTHOR
45Dan Winship, MIT Information Systems
46.br
47Copyright 1998 by the Massachusetts Institute of Technology.
Note: See TracBrowser for help on using the repository browser.