HomeSort by: relevance | last modified time | path
    Searched refs:imsg (Results 1 - 14 of 14) sorted by relevancy

  /src/external/bsd/tmux/dist/compat/
imsg.c 1 /* $OpenBSD: imsg.c,v 1.42 2025/06/16 13:56:11 claudio Exp $ */
31 #include "imsg.h"
116 imsgbuf_get(struct imsgbuf *imsgbuf, struct imsg *imsg)
118 struct imsg m;
134 *imsg = m;
139 imsg_get(struct imsgbuf *imsgbuf, struct imsg *imsg)
143 if ((rv = imsgbuf_get(imsgbuf, imsg)) != 1)
145 return (imsg_get_len(imsg) + IMSG_HEADER_SIZE)
    [all...]
imsg.h 1 /* $OpenBSD: imsg.h,v 1.24 2025/06/05 08:55:07 tb Exp $ */
60 struct imsg { struct
68 /* imsg-buffer.c */
138 /* imsg.c */
147 int imsgbuf_get(struct imsgbuf *, struct imsg *);
148 ssize_t imsg_get(struct imsgbuf *, struct imsg *);
149 int imsg_ibufq_pop(struct ibufqueue *, struct imsg *);
150 void imsg_ibufq_push(struct ibufqueue *, struct imsg *);
151 int imsg_get_ibuf(struct imsg *, struct ibuf *);
152 int imsg_get_data(struct imsg *, void *, size_t)
    [all...]
  /src/external/bsd/tmux/dist/
client.c 67 static void client_dispatch(struct imsg *, void *);
68 static void client_dispatch_attached(struct imsg *);
69 static void client_dispatch_wait(struct imsg *);
584 client_dispatch(struct imsg *imsg, __unused void *arg)
586 if (imsg == NULL) {
596 client_dispatch_attached(imsg);
598 client_dispatch_wait(imsg);
629 client_dispatch_wait(struct imsg *imsg)
    [all...]
proc.c 64 void (*dispatchcb)(struct imsg *, void *);
70 static int peer_check_version(struct tmuxpeer *, struct imsg *);
78 struct imsg imsg; local
86 if ((n = imsg_get(&peer->ibuf, &imsg)) == -1) {
92 log_debug("peer %p message %d", peer, imsg.hdr.type);
94 if (peer_check_version(peer, &imsg) != 0) {
95 imsg_free(&imsg);
99 peer->dispatchcb(&imsg, peer->arg);
100 imsg_free(&imsg);
    [all...]
file.c 565 struct imsg *imsg, int allow_streams, int close_received,
568 struct msg_write_open *msg = imsg->data;
569 size_t msglen = imsg->hdr.len - IMSG_HEADER_SIZE;
628 file_write_data(struct client_files *files, struct imsg *imsg)
630 struct msg_write_data *msg = imsg->data;
631 size_t msglen = imsg->hdr.len - IMSG_HEADER_SIZE;
648 file_write_close(struct client_files *files, struct imsg *imsg)
    [all...]
server-client.c 59 static void server_client_dispatch(struct imsg *, void *);
60 static int server_client_dispatch_command(struct client *, struct imsg *);
61 static int server_client_dispatch_identify(struct client *, struct imsg *);
3318 server_client_dispatch(struct imsg *imsg, void *arg)
3327 if (imsg == NULL) {
3332 datalen = imsg->hdr.len - IMSG_HEADER_SIZE;
3334 switch (imsg->hdr.type) {
3347 if (server_client_dispatch_identify(c, imsg) != 0)
3351 if (server_client_dispatch_command(c, imsg) != 0
    [all...]
compat.h 184 #include <imsg.h>
186 #include "compat/imsg.h"
tmux.h 2273 struct imsg;
2281 void (*)(struct imsg *, void *), void *);
2857 struct imsg *, int, int, client_file_cb, void *);
2858 void file_write_data(struct client_files *, struct imsg *);
2859 void file_write_close(struct client_files *, struct imsg *);
2860 void file_read_open(struct client_files *, struct tmuxpeer *, struct imsg *,
2862 void file_write_ready(struct client_files *, struct imsg *);
2863 void file_read_data(struct client_files *, struct imsg *);
2864 void file_read_done(struct client_files *, struct imsg *);
2865 void file_read_cancel(struct client_files *, struct imsg *);
    [all...]
  /src/games/rogue/
message.c 63 static short msg_col = 0, imsg = -1; variable
93 imsg = (imsg + 1) % NMESSAGES;
94 (void)strlcpy(msgs[imsg], msg, sizeof(msgs[imsg]));
126 if (imsg != -1) {
129 while (c > imsg) {
132 message(msgs[((imsg - c) % NMESSAGES)], 0);
  /src/external/mpl/dhcp/dist/server/
failover.c 436 link -> imsg = dmalloc (sizeof (failover_message_t), MDL);
437 if (!link -> imsg) {
440 if (link -> imsg) {
441 failover_message_dereference (&link->imsg,
452 memset (link -> imsg, 0, sizeof (failover_message_t));
453 link -> imsg -> refcnt = 1;
481 omapi_connection_copyout (&link -> imsg -> type, c, 1);
489 omapi_connection_get_uint32 (c, &link -> imsg -> time);
493 omapi_connection_get_uint32 (c, &link -> imsg -> xid);
498 if (link->imsg->type == FTM_CONTACT
    [all...]
  /src/external/bsd/libpcap/dist/
pcap-sita.c 74 char *imsg; /* a pointer to an inbound message */ member in struct:unit
221 if (u->imsg) { /* then if an inbound message buffer exists */
224 bigger_buffer = (char *)realloc(u->imsg, 1); /* and re-allocate the old large buffer into a new small one */
229 u->imsg = bigger_buffer;
587 ptr = u->imsg; /* point to the start of the msg for this IOP */
588 while (ptr < (u->imsg + u->len)) {
734 if ((u->imsg = realloc(u->imsg, (u->len + len))) == NULL) /* extend the buffer for the new data */
736 memcpy((u->imsg + u->len), buf, len); /* append the new data */
  /src/external/bsd/tmux/usr.bin/tmux/
Makefile 152 SRCS+= imsg-buffer.c
153 SRCS+= imsg.c
  /src/external/mpl/dhcp/dist/includes/
failover.h 274 failover_message_t *imsg; member in struct:__anon24432
  /src/external/apache2/mDNSResponder/dist/mDNSCore/
mDNSEmbeddedAPI.h 2580 // The imsg is declared as a union with a pointer type to enforce CPU-appropriate alignment
2581 union { DNSMessage m; void *p; } imsg; // Incoming message received from wire member in struct:mDNS_struct

Completed in 48 milliseconds