diff options
author | Martin Pool <mbp@samba.org> | 2001-11-27 06:43:17 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2001-11-27 06:43:17 +0000 |
commit | 740819ef7b3b96451e16b2fa3891d46cfc73ec64 (patch) | |
tree | 263c8db52faa0fba439cb6dc54672436927169b5 /lib/permstring.h | |
parent | 829230689ee4e3de7ad638e6dffea640fdd08375 (diff) | |
download | rsync-740819ef7b3b96451e16b2fa3891d46cfc73ec64.tar.gz |
Split code to generate "rwx-----" strings into lib/permstring.c so it
can be reused in tls.
Diffstat (limited to 'lib/permstring.h')
-rw-r--r-- | lib/permstring.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/permstring.h b/lib/permstring.h new file mode 100644 index 00000000..d74787d8 --- /dev/null +++ b/lib/permstring.h @@ -0,0 +1,3 @@ +#define PERMSTRING_SIZE 11 + +void permstring(char *perms, int mode); |