Lines Matching defs:imsg
73 char *imsg; /* a pointer to an inbound message */
215 if (u->imsg) { /* then if an inbound message buffer exists */
216 u->imsg = (char *)realloc(u->imsg, 1); /* and re-allocate the old large buffer into a new small one */
217 if (u->imsg == NULL) { /* oops, realloc call failed */
570 ptr = u->imsg; /* point to the start of the msg for this IOP */
571 while (ptr < (u->imsg + u->len)) {
699 if ((u->imsg = realloc(u->imsg, (u->len + len))) == NULL) /* extend the buffer for the new data */
701 memcpy((u->imsg + u->len), buf, len); /* append the new data */