Data Structures | Typedefs | Functions
database.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DatabaseConnection


typedef struct DatabaseConnection DatabaseConnection
typedef unsigned int(* QueryDatabase) (DatabaseConnection *const connection, const char *const query_string, void ***const results)


DatabaseConnectionconnect_to_database (const char *const url, const unsigned int port)

Typedef Documentation

◆ DatabaseConnection

Definition at line 16 of file database.h.

◆ QueryDatabase

typedef unsigned int(* QueryDatabase) (DatabaseConnection *const connection, const char *const query_string, void ***const results)

Definition at line 23 of file database.h.

Function Documentation

◆ connect_to_database()

DatabaseConnection* connect_to_database ( const char *const  url,
const unsigned int  port