~clint-fewbar/ubuntu/precise/gearmand/drop-unneeded-patches

« back to all changes in this revision

Viewing changes to docs/man/man3/gearmand_con_create.3

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2009-08-11 10:06:22 UTC
  • mto: (1.2.3 upstream) (6.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20090811100622-6ig4iknanc73olum
ImportĀ upstreamĀ versionĀ 0.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH gearmand_con_create 3 2009-05-19 "Gearman" "Gearman"
 
1
.TH gearmand_con_create 3 2009-07-19 "Gearman" "Gearman"
2
2
.SH NAME
3
3
gearmand_con_create \- Gearmand Connections
4
4
.SH SYNOPSIS
5
5
.B #include <libgearman/gearman.h>
6
6
.sp
7
 
.BI "gearman_return_t gearmand_con_create(gearmand_st " *gearmand ", int " fd ", const char " *host ", const char *port);"
 
7
.BI "gearman_return_t gearmand_con_create(gearmand_st " *gearmand ", int " fd ", const char " *host ", const char " *port ", gearman_con_add_fn *add_fn);"
8
8
.SH DESCRIPTION
9
9
Create a new gearmand connection.
10
10
.SH PARAMETERS
21
21
.TP
22
22
.BR port
23
23
Port of peer connection.
 
24
.TP
 
25
.BR add_fn
 
26
Optional callback to use when adding the connection to an
 
27
I/O thread.
24
28
.SH "RETURN VALUE"
25
29
Pointer to an allocated gearmand structure.
26
30
.SH "SEE ALSO"