Subversion Repositories RepoView

Rev

Rev 1 | Rev 7 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 nishi 1
/* $Id: rv_db.h 5 2024-08-20 22:43:56Z nishi $ */
2
 
3
#ifndef __RV_DB_H__
4
#define __RV_DB_H__
5
 
6
#include <stdbool.h>
7
 
8
void rv_init_db(void);
9
void rv_close_db(void);
10
bool rv_has_user(const char* name);
5 nishi 11
bool rv_check_password(const char* username, const char* password);
12
void rv_save_token(const char* username, const char* token);
13
char* rv_who_has_token(const char* token);
14
bool rv_has_token(const char* token);
1 nishi 15
 
16
#endif