summaryrefslogtreecommitdiff
path: root/lib/permstring.h
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-11-27 06:43:17 +0000
committerMartin Pool <mbp@samba.org>2001-11-27 06:43:17 +0000
commit740819ef7b3b96451e16b2fa3891d46cfc73ec64 (patch)
tree263c8db52faa0fba439cb6dc54672436927169b5 /lib/permstring.h
parent829230689ee4e3de7ad638e6dffea640fdd08375 (diff)
downloadrsync-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.h3
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);