From c6f5689838de263b8129b7c612cde030617ce780 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Tue, 2 May 2017 22:30:10 +0100 Subject: Move commands to seperate files --- cmd_uptime.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'cmd_uptime.c') diff --git a/cmd_uptime.c b/cmd_uptime.c index e69de29..f745be0 100644 --- a/cmd_uptime.c +++ b/cmd_uptime.c @@ -0,0 +1,13 @@ +#include "cmd_uptime.h" + +void *cmd_uptime(void *data) +{ + char *param = (char *)data; + char *ret = NULL; + + printf("UPTIME\n"); + + ret = alloc_new_str("UpTime is infinite\n"); + + return ret; +} \ No newline at end of file -- cgit v1.2.3