Added password primer
This commit is contained in:
15
src/server/prime.c
Normal file
15
src/server/prime.c
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user