diff options
Diffstat (limited to 'cmd_cookie.c')
-rw-r--r-- | cmd_cookie.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/cmd_cookie.c b/cmd_cookie.c new file mode 100644 index 0000000..8071e10 --- /dev/null +++ b/cmd_cookie.c @@ -0,0 +1,19 @@ +#include "cmd_cookie.h" + +void *cmd_cookie(void *data) +{ + char *param = (char *)data; + char *ret = NULL; + + const int buf_size = 128; + char buf[buf_size+1]; + + printf("COOKIE\n"); + + + snprintf(buf, buf_size, "No heroes yet\n"); + ret = alloc_new_str(buf); + + + return ret; +}
\ No newline at end of file |