search for: ei_x_buff

Displaying 1 result from an estimated 1 matches for "ei_x_buff".

2020 Jun 01
1
[PATCH] erlang: Port to libei for Erlang 23
...RM *term); - /* This stops things getting out of hand, but also lets us detect * protocol problems quickly. */ #define MAX_MESSAGE_SIZE (32*1024*1024) -static unsigned char *read_message (void); -static void write_reply (ETERM *); +static char *read_message (void); +static void write_reply (ei_x_buff *); int main (void) { - unsigned char *buf; - ETERM *ret, *message; - - erl_init (NULL, 0); + char *buff; + int index; + int version; + ei_x_buff reply; /* This process has a single libguestfs handle. If the Erlang * system creates more than one handle, then more than one of t...