#include "cmd_ping.h" void *cmd_ping(void *data) { char *param = (char *)data; char *ret = NULL; printf("PONG\n"); ret = alloc_new_str("ping "); return ret; }