summaryrefslogtreecommitdiff
path: root/source3/web/swat_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/web/swat_proto.h')
-rw-r--r--source3/web/swat_proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/web/swat_proto.h b/source3/web/swat_proto.h
index 76f9c3c68f1..e66c9420db5 100644
--- a/source3/web/swat_proto.h
+++ b/source3/web/swat_proto.h
@@ -67,5 +67,10 @@ void status_page(void);
/* The following definitions come from web/swat.c */
const char *lang_msg_rotate(TALLOC_CTX *ctx, const char *msgid);
+void get_xsrf_token(const char *username, const char *pass,
+ const char *formname, char token_str[33]);
+void print_xsrf_token(const char *username, const char *pass,
+ const char *formname);
+bool verify_xsrf_token(const char *formname);
#endif /* _SWAT_PROTO_H_ */