1 | .\" $Id: locker_zsubs.3,v 1.3 1999-03-29 17:34:17 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_ZSUBS 3 |
---|
18 | .SH NAME |
---|
19 | locker_zsubs \- Deal with zephyr subscriptions for a locker |
---|
20 | .SH SYNOPSIS |
---|
21 | .nf |
---|
22 | .B #include <locker.h> |
---|
23 | .PP |
---|
24 | .B |
---|
25 | void locker_zsubs(locker_context \fIcontext\fP, char *\fIfilesystem\fP) |
---|
26 | .PP |
---|
27 | .B cc file.c -llocker ... |
---|
28 | .fi |
---|
29 | .SH DESCRIPTION |
---|
30 | This function records the zephyr subscriptions associated with a |
---|
31 | locker for later processing with |
---|
32 | .BR locker_do_zsubs (3). |
---|
33 | .I filesystem |
---|
34 | should be the name of an attached filesystem. |
---|
35 | .SH RETURN VALUES |
---|
36 | .B locker_zsubs |
---|
37 | can return the following values: |
---|
38 | .TP 15 |
---|
39 | .I LOCKER_SUCCESS |
---|
40 | The operation was succesfully performed. |
---|
41 | .TP 15 |
---|
42 | .I LOCKER_EUNKNOWN |
---|
43 | No such filesystem. |
---|
44 | .TP 15 |
---|
45 | .I LOCKER_EHESIOD |
---|
46 | Error looking up locker in Hesiod. |
---|
47 | .TP 15 |
---|
48 | .I LOCKER_EPARSE |
---|
49 | Unable to parse filesystem description. |
---|
50 | .TP 15 |
---|
51 | .I LOCKER_EPERM |
---|
52 | Untrusted user attempted privileged operation. |
---|
53 | .TP 15 |
---|
54 | .I LOCKER_EATTACHTAB |
---|
55 | Error creating or reading the attachtab entry corresponding to this |
---|
56 | locker. |
---|
57 | .TP 15 |
---|
58 | .I LOCKER_ENOMEM |
---|
59 | Memory was exhausted. |
---|
60 | .SH SEE ALSO |
---|
61 | locker_init(3), locker_attach(3), locker_do_zsubs(3), zephyr(1) |
---|
62 | .SH AUTHOR |
---|
63 | Dan Winship, MIT Information Systems |
---|
64 | .br |
---|
65 | Copyright 1998 by the Massachusetts Institute of Technology. |
---|