OpenVPN
|
Go to the source code of this file.
Data Structures | |
struct | DatabaseConnection |
Typedefs | |
typedef struct DatabaseConnection | DatabaseConnection |
typedef unsigned int(* | QueryDatabase) (DatabaseConnection *const connection, const char *const query_string, void ***const results) |
Functions | |
DatabaseConnection * | connect_to_database (const char *const url, const unsigned int port) |
typedef struct DatabaseConnection DatabaseConnection |
Definition at line 16 of file database.h.
typedef unsigned int(* QueryDatabase) (DatabaseConnection *const connection, const char *const query_string, void ***const results) |
Definition at line 23 of file database.h.
DatabaseConnection* connect_to_database | ( | const char *const | url, |
const unsigned int | port | ||
) |
Definition at line 38 of file customer_database_test.c.
References check_expected, check_expected_ptr, and mock.
Referenced by connect_to_customer_database(), connect_to_product_database(), test_connect_to_customer_database(), test_connect_to_product_database(), test_connect_to_product_database_bad_url(), and test_connect_to_product_database_missing_parameter().