Direct database side of things implemented
This commit is contained in:
12
src/db_timeout.h
Normal file
12
src/db_timeout.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef __DB_TIMEOUT_H__
|
||||
#define __DB_TIMEOUT_H__
|
||||
|
||||
#include "db_connection.h"
|
||||
|
||||
// Timeouts can either be set globally or on a per-connection basis
|
||||
void setDefaultTimeout(unsigned int timeout);
|
||||
unsigned int getDefaultTimeout();
|
||||
|
||||
int setTimeout(struct stored_conn_t *sconn, unsigned int timeout);
|
||||
|
||||
#endif // __DB_TIMEOUT_H__
|
||||
Reference in New Issue
Block a user