Added password primer

This commit is contained in:
James Booth
2015-05-16 03:03:24 +01:00
parent 1e327794e9
commit 50cd28a977
10 changed files with 107 additions and 17 deletions

15
src/server/prime.c Normal file
View File

@@ -0,0 +1,15 @@
#include <string.h>
static char *required_passwd = NULL;
void
prime_required_passwd(char *password)
{
required_passwd = strdup(password);
}
char *
prime_get_passwd(void)
{
return required_passwd;
}