~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-22 17:04:41 UTC
  • mfrom: (2462.1.3 drizzle-include)
  • Revision ID: me@mark.atwood.name-20111122170441-5dehm0e0ax20z19b
mergeĀ lp:~brianaker/drizzle/fedora-16-fixes

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