aboutsummaryrefslogtreecommitdiffstats
path: root/idmap_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'idmap_plugin.h')
-rw-r--r--idmap_plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/idmap_plugin.h b/idmap_plugin.h
index 277bb12..51e3a76 100644
--- a/idmap_plugin.h
+++ b/idmap_plugin.h
@@ -43,4 +43,7 @@ extern void exit_plugin(void *handle);
/* Convert cifs_sid to a string. Caller must free *name on success */
extern int sid_to_str(void *handle, const struct cifs_sid *sid, char **name);
+/* Convert string to cifs_sid. */
+extern int str_to_sid(void *handle, const char *name, struct cifs_sid *csid);
+
#endif /* _IDMAP_PLUGIN_H */