afs.h (94f699c9cdb11b8f53cb70624b69aeae16f26db2) afs.h (87182759cd6f94875d6aaaac74eaa52aa6aa6f98)
1/* AFS common types
2 *
3 * Copyright (C) 2002, 2007 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 133 unchanged lines hidden (view full) ---

142 afs_access_t anon_access; /* access rights for unauthenticated caller */
143 umode_t mode; /* UNIX mode */
144 afs_file_type_t type; /* file type */
145 u32 nlink; /* link count */
146 s32 lock_count; /* file lock count (0=UNLK -1=WRLCK +ve=#RDLCK */
147 u32 abort_code; /* Abort if bulk-fetching this failed */
148};
149
1/* AFS common types
2 *
3 * Copyright (C) 2002, 2007 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 133 unchanged lines hidden (view full) ---

142 afs_access_t anon_access; /* access rights for unauthenticated caller */
143 umode_t mode; /* UNIX mode */
144 afs_file_type_t type; /* file type */
145 u32 nlink; /* link count */
146 s32 lock_count; /* file lock count (0=UNLK -1=WRLCK +ve=#RDLCK */
147 u32 abort_code; /* Abort if bulk-fetching this failed */
148};
149
150struct afs_status_cb {
151 struct afs_file_status status;
152 struct afs_callback callback;
153 bool have_cb; /* True if cb record was retrieved */
154};
155
150/*
151 * AFS file status change request
152 */
153
154#define AFS_SET_MTIME 0x01 /* set the mtime */
155#define AFS_SET_OWNER 0x02 /* set the owner ID */
156#define AFS_SET_GROUP 0x04 /* set the group ID (unsupported?) */
157#define AFS_SET_MODE 0x08 /* set the UNIX mode */

--- 44 unchanged lines hidden ---
156/*
157 * AFS file status change request
158 */
159
160#define AFS_SET_MTIME 0x01 /* set the mtime */
161#define AFS_SET_OWNER 0x02 /* set the owner ID */
162#define AFS_SET_GROUP 0x04 /* set the group ID (unsupported?) */
163#define AFS_SET_MODE 0x08 /* set the UNIX mode */

--- 44 unchanged lines hidden ---