From d1746995e5aa1497d46ad95726918233713a7b6d Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 17 Jul 2019 21:26:52 -0400 Subject: move authentication to separate file --- auth.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 auth.c (limited to 'auth.c') diff --git a/auth.c b/auth.c new file mode 100644 index 0000000..fb6db13 --- /dev/null +++ b/auth.c @@ -0,0 +1,11 @@ +#define _XOPEN_SOURCE 700 +#include +#include +#include +#include "blog.h" + +int verify_creds(const char *username, const char *password) +{ + printf("verifying '%s'/'%s'\n", username ? username : "", password ? password : ""); + return 1; +} -- cgit v1.2.1