|
@ -1,4 +1,4 @@ |
|
|
.\" $OpenBSD: imsg_init.3,v 1.6 2012/06/15 23:44:43 jmatthew Exp $ |
|
|
|
|
|
|
|
|
.\" $OpenBSD: imsg_init.3,v 1.7 2012/10/22 07:15:56 jmc Exp $ |
|
|
.\" |
|
|
.\" |
|
|
.\" Copyright (c) 2010 Nicholas Marriott <nicm@openbsd.org> |
|
|
.\" Copyright (c) 2010 Nicholas Marriott <nicm@openbsd.org> |
|
|
.\" |
|
|
.\" |
|
@ -14,7 +14,7 @@ |
|
|
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING |
|
|
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING |
|
|
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
|
|
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
|
|
.\" |
|
|
.\" |
|
|
.Dd $Mdocdate: June 15 2012 $ |
|
|
|
|
|
|
|
|
.Dd $Mdocdate: October 22 2012 $ |
|
|
.Dt IMSG_INIT 3 |
|
|
.Dt IMSG_INIT 3 |
|
|
.Os |
|
|
.Os |
|
|
.Sh NAME |
|
|
.Sh NAME |
|
@ -318,7 +318,7 @@ is a single buffer and a |
|
|
a queue of output buffers for transmission: |
|
|
a queue of output buffers for transmission: |
|
|
.Bd -literal -offset indent |
|
|
.Bd -literal -offset indent |
|
|
struct ibuf { |
|
|
struct ibuf { |
|
|
TAILQ_ENTRY(buf) entry; |
|
|
|
|
|
|
|
|
TAILQ_ENTRY(ibuf) entry; |
|
|
u_char *buf; |
|
|
u_char *buf; |
|
|
size_t size; |
|
|
size_t size; |
|
|
size_t max; |
|
|
size_t max; |
|
@ -328,7 +328,7 @@ struct ibuf { |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
struct msgbuf { |
|
|
struct msgbuf { |
|
|
TAILQ_HEAD(, buf) bufs; |
|
|
|
|
|
|
|
|
TAILQ_HEAD(, ibuf) bufs; |
|
|
u_int32_t queued; |
|
|
u_int32_t queued; |
|
|
int fd; |
|
|
int fd; |
|
|
}; |
|
|
}; |
|
|