New zap_gadget_string macro to assist in zapping string into templates.
Stewart Brodie authored
In addition to the offset into the gadget structure of the pointer to
the string data, this macro takes the offset of the maximum length field
in the same template and ensures that the buffer length stated is at least
long enough to hold the string being zapped into the buffer.  This
9692f02c