~ubuntu-branches/ubuntu/warty/openafs/warty

« back to all changes in this revision

Viewing changes to src/uss/uss_acl.h

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2004-01-10 16:37:33 UTC
  • Revision ID: james.westby@ubuntu.com-20040110163733-jvr0n1uahshlb1uu
Tags: upstream-1.2.11
ImportĀ upstreamĀ versionĀ 1.2.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2000, International Business Machines Corporation and others.
 
3
 * All Rights Reserved.
 
4
 * 
 
5
 * This software has been released under the terms of the IBM Public
 
6
 * License.  For details, see the LICENSE file in the top-level source
 
7
 * directory or online at http://www.openafs.org/dl/license10.html
 
8
 */
 
9
 
 
10
/*
 
11
 *      Interface to the ACL and quota-related operations used by
 
12
 *      the AFS user account facility.
 
13
 */
 
14
 
 
15
#ifndef _USS_ACL_H_
 
16
#define _USS_ACL_H_ 1
 
17
/*
 
18
 * ------------------------ Exported functions  -----------------------
 
19
 */
 
20
extern afs_int32 uss_acl_SetAccess();
 
21
    /*
 
22
     * Summary:
 
23
     *    Set the value of the given ACL.
 
24
     *
 
25
     * Args:
 
26
     *    a_access   : Ptr to the pathname & ACL to set.
 
27
     *    a_clear    : Should we clear out the ACL first?
 
28
     *    a_negative : Set the negative list?
 
29
     *
 
30
     * Returns:
 
31
     *    0 if everything went well,
 
32
     *    Lower-level code otherwise.
 
33
     */
 
34
 
 
35
extern afs_int32 uss_acl_SetDiskQuota();
 
36
    /*
 
37
     * Summary:
 
38
     *    Set the initial disk quota for a user.
 
39
     *
 
40
     * Args:
 
41
     *    a_path : Pathname for volume mountpoint.
 
42
     *    a_q    : Quota value.
 
43
     *
 
44
     * Returns:
 
45
     *    0 if everything went well,
 
46
     *    Lower-level code otherwise.
 
47
     */
 
48
 
 
49
extern afs_int32 uss_acl_CleanUp();
 
50
    /*
 
51
     * Summary:
 
52
     *    Remove the uss_AccountCreator from the various ACLs s/he
 
53
     *    had to wiggle into in order to carry out the account
 
54
     *    manipulation.
 
55
     *
 
56
     * Args:
 
57
     *    None.
 
58
     *
 
59
     * Returns:
 
60
     *    0 (always)
 
61
     */
 
62
 
 
63
#endif /* _USS_ACL_H_ */