version 1.1.1.3, 2016/11/01 09:54:32
|
version 1.1.1.4, 2021/03/17 00:32:36
|
Line 2
|
Line 2
|
* Implement the core of the --chmod option. |
* Implement the core of the --chmod option. |
* |
* |
* Copyright (C) 2002 Scott Howard |
* Copyright (C) 2002 Scott Howard |
* Copyright (C) 2005-2015 Wayne Davison | * Copyright (C) 2005-2020 Wayne Davison |
* |
* |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
Line 44 struct chmod_mode_struct {
|
Line 44 struct chmod_mode_struct {
|
#define STATE_OCTAL_NUM 3 |
#define STATE_OCTAL_NUM 3 |
|
|
/* Parse a chmod-style argument, and break it down into one or more AND/OR |
/* Parse a chmod-style argument, and break it down into one or more AND/OR |
* pairs in a linked list. We return a pointer to new items on succcess | * pairs in a linked list. We return a pointer to new items on success |
* (appending the items to the specified list), or NULL on error. */ |
* (appending the items to the specified list), or NULL on error. */ |
struct chmod_mode_struct *parse_chmod(const char *modestr, |
struct chmod_mode_struct *parse_chmod(const char *modestr, |
struct chmod_mode_struct **root_mode_ptr) |
struct chmod_mode_struct **root_mode_ptr) |