libdrizzle Public API Documentation

drizzle_client.h
Go to the documentation of this file.
1 /*
2  * Drizzle Client & Protocol Library
3  *
4  * Copyright (C) 2008 Eric Day (eday@oddments.org)
5  * All rights reserved.
6  *
7  * Use and distribution licensed under the BSD license. See
8  * the COPYING file in this directory for full text.
9  */
10 
16 #ifndef __DRIZZLE_CLIENT_H
17 #define __DRIZZLE_CLIENT_H
18 
19 #include <libdrizzle/drizzle.h>
20 #include <libdrizzle/conn_client.h>
23 #include <libdrizzle/query.h>
26 #include <libdrizzle/row_client.h>
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
58 DRIZZLE_API
60  const char *host, in_port_t port,
61  const char *user, const char *password,
62  const char *db,
63  drizzle_con_options_t options);
64 
78 DRIZZLE_API
80  const char *uds, const char *user,
81  const char *password, const char *db,
82  drizzle_con_options_t options);
83 
86 #ifdef __cplusplus
87 }
88 #endif
89 
90 #endif /* __DRIZZLE_CLIENT_H */