summaryrefslogtreecommitdiff
path: root/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c11
1 files changed, 11 insertions, 0 deletions
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 <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include "blog.h"
+
+int verify_creds(const char *username, const char *password)
+{
+ printf("verifying '%s'/'%s'\n", username ? username : "", password ? password : "");
+ return 1;
+}