~j-pureftpd/gearmand/tokyo

« back to all changes in this revision

Viewing changes to libgearman/gearmand_con.h

  • Committer: Frank Denis
  • Date: 2009-06-22 14:50:52 UTC
  • mfrom: (50.1.1 gearmand)
  • Revision ID: j@jedi.devteam.orbus.fr-20090622145052-s40f87uem2zrmvdz
Sync with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 * @return Pointer to an allocated gearmand structure.
35
35
 */
36
36
gearman_return_t gearmand_con_create(gearmand_st *gearmand, int fd,
37
 
                                     const char *host, const char *port);
 
37
                                     const char *host, const char *port,
 
38
                                     gearman_con_add_fn *add_fn);
38
39
 
39
40
/**
40
41
 * Free resources used by a connection.
51
52
 * Callback function used for setting events in libevent.
52
53
 */
53
54
gearman_return_t gearmand_con_watch(gearman_con_st *con, short events,
54
 
                                    void *arg __attribute__ ((unused)));
 
55
                                    void *arg);
55
56
 
56
57
/** @} */
57
58