summaryrefslogtreecommitdiffstats
path: root/src/responder/nss/nsssrv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/responder/nss/nsssrv.h')
-rw-r--r--src/responder/nss/nsssrv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/responder/nss/nsssrv.h b/src/responder/nss/nsssrv.h
index 01a2810c..5e365d7b 100644
--- a/src/responder/nss/nsssrv.h
+++ b/src/responder/nss/nsssrv.h
@@ -71,4 +71,12 @@ int nss_cmd_execute(struct cli_ctx *cctx);
struct sss_cmd_table *get_nss_cmds(void);
+/* len includes terminating '\0' */
+struct sized_string {
+ const char *str;
+ size_t len;
+};
+
+void to_sized_string(struct sized_string *out, const char *in);
+
#endif /* __NSSSRV_H__ */