~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle-2.0/drizzle_server.h

  • Committer: Mark Atwood
  • Date: 2011-11-30 07:06:47 UTC
  • mfrom: (2463.1.6 drizzle-include)
  • Revision ID: me@mark.atwood.name-20111130070647-ixp7oalp70hkbt6l
mergeĀ lp:~brianaker/drizzle/libdrizzle-2.0-not-install

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
 */
80
80
DRIZZLE_API
81
81
drizzle_con_st *drizzle_con_add_tcp_listen(drizzle_st *drizzle,
82
 
                                           drizzle_con_st *con,
83
82
                                           const char *host, in_port_t port,
84
83
                                           int backlog,
85
84
                                           drizzle_con_options_t options);
89
88
 *
90
89
 * @param[in] drizzle Drizzle structure previously initialized with
91
90
 *  drizzle_create() or drizzle_clone().
92
 
 * @param[in] con Caller allocated structure, or NULL to allocate one.
93
91
 * @param[in] uds Path to unix domain socket to use for listening.
94
92
 * @param[in] backlog Number of backlog connections passed to listen().
95
93
 * @param[in] options Drizzle connection options to add.
97
95
 */
98
96
DRIZZLE_API
99
97
drizzle_con_st *drizzle_con_add_uds_listen(drizzle_st *drizzle,
100
 
                                           drizzle_con_st *con,
101
98
                                           const char *uds, int backlog,
102
99
                                           drizzle_con_options_t options);
103
100
 
116
113
 *
117
114
 * @param[in] drizzle Drizzle structure previously initialized with
118
115
 *  drizzle_create() or drizzle_clone().
119
 
 * @param[in] con Caller allocated structure, or NULL to allocate one.
120
116
 * @param[out] ret_ptr Standard drizzle return value.
121
117
 * @return Same return as drizzle_con_create().
122
118
 */
123
119
DRIZZLE_API
124
 
drizzle_con_st *drizzle_con_accept(drizzle_st *drizzle, drizzle_con_st *con,
 
120
drizzle_con_st *drizzle_con_accept(drizzle_st *drizzle,
125
121
                                   drizzle_return_t *ret_ptr);
126
122
 
127
123
/** @} */