~drizzle-trunk/libdrizzle/jenkins-Libdrizzle-75

« back to all changes in this revision

Viewing changes to libdrizzle-5.1/drizzle_client.h

  • Committer: Brian Aker
  • Date: 2013-01-27 09:48:19 UTC
  • mto: This revision was merged to the branch mainline in revision 103.
  • Revision ID: brian@tangent.org-20130127094819-bmxx6li2wb1pfrqw
Fix a few remaining issues with API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
 
56
56
#include <libdrizzle-5.1/drizzle.h>
57
57
#include <libdrizzle-5.1/conn_client.h>
58
 
#include <libdrizzle-5.1/handshake_client.h>
59
58
#include <libdrizzle-5.1/query.h>
60
59
#include <libdrizzle-5.1/result_client.h>
61
60
#include <libdrizzle-5.1/column_client.h>
94
93
 * @return Same return as drizzle_create().
95
94
 */
96
95
DRIZZLE_API
97
 
drizzle_st *drizzle_create_tcp(const char *host, in_port_t port,
98
 
                                    const char *user, const char *password,
99
 
                                    const char *db,
100
 
                                    drizzle_options_st *options);
101
 
 
102
 
/**
103
 
 * Add unix domain socket connection with common arguments.
104
 
 *
105
 
 * @param[in] uds Path to unix domain socket to use for connection.
106
 
 * @param[in] user User to use while establishing the connection.
107
 
 * @param[in] password Password to use while establishing the connection.
108
 
 * @param[in] db Initial database to connect to.
109
 
 * @param[in] options Drizzle connection options to add.
110
 
 * @return Same return as drizzle_create().
111
 
 */
112
 
DRIZZLE_API
113
 
drizzle_st *drizzle_create_uds(const char *uds, const char *user,
114
 
                                    const char *password, const char *db,
115
 
                                    drizzle_options_st *options);
 
96
  drizzle_st *drizzle_create(const char *host, in_port_t port,
 
97
                             const char *user, const char *password,
 
98
                             const char *db,
 
99
                             drizzle_options_st *options);
116
100
 
117
101
/** @} */
118
102