diff -r 8eed495fd8da -r 15f722e0b96f project_files/frontlib/net/netprotocol.h --- a/project_files/frontlib/net/netprotocol.h Mon Jun 25 15:21:18 2012 +0200 +++ b/project_files/frontlib/net/netprotocol.h Wed Jun 27 18:02:45 2012 +0200 @@ -31,6 +31,6 @@ * is written to the variable pointed to by outlen. * Returns NULL on error. */ -uint8_t *flib_netmsg_to_drawnmapdata(size_t *outlen, char *netmsg); +int flib_netmsg_to_drawnmapdata(char *netmsg, uint8_t **outbuf, size_t *outlen); #endif /* NETPROTOCOL_H_ */