12 lines
268 B
C
12 lines
268 B
C
#ifndef CHATSERVER_DBUTIL_H
|
|
#define CHATSERVER_DBUTIL_H
|
|
|
|
#include <stdint.h>
|
|
|
|
int dbInit();
|
|
int64_t dbVerifyLogin(const char* username, const char* secret);
|
|
int dbUsernameTaken(const char* username);
|
|
int dbInsertUser(const char* username, const char* secret);
|
|
|
|
#endif
|