project_files/frontlib/net/netprotocol.h
changeset 7275 15f722e0b96f
parent 7271 5608ac657362
child 7314 6171f0bad318
equal deleted inserted replaced
7273:8eed495fd8da 7275:15f722e0b96f
    29  * The data is first base64 decoded and then quncompress()ed.
    29  * The data is first base64 decoded and then quncompress()ed.
    30  * The return value is a newly allocated byte buffer, the length
    30  * The return value is a newly allocated byte buffer, the length
    31  * is written to the variable pointed to by outlen.
    31  * is written to the variable pointed to by outlen.
    32  * Returns NULL on error.
    32  * Returns NULL on error.
    33  */
    33  */
    34 uint8_t *flib_netmsg_to_drawnmapdata(size_t *outlen, char *netmsg);
    34 int flib_netmsg_to_drawnmapdata(char *netmsg, uint8_t **outbuf, size_t *outlen);
    35 
    35 
    36 #endif /* NETPROTOCOL_H_ */
    36 #endif /* NETPROTOCOL_H_ */