]> err.no Git - varnish/commitdiff
remove old file
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 5 Aug 2006 11:44:37 +0000 (11:44 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 5 Aug 2006 11:44:37 +0000 (11:44 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@654 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cli_common.c [deleted file]

diff --git a/varnish-cache/bin/varnishd/cli_common.c b/varnish-cache/bin/varnishd/cli_common.c
deleted file mode 100644 (file)
index bacc2e6..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * $Id$
- */
-
-#include <errno.h>
-#include <assert.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <ctype.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <signal.h>
-
-#include <sys/wait.h>
-
-#include "sbuf.h"
-
-#include <cli.h>
-#include <cli_common.h>
-#include <libvarnish.h>
-
-void
-cli_out(struct cli *cli, const char *fmt, ...)
-{
-       va_list ap;
-
-       va_start(ap, fmt);
-       sbuf_vprintf(cli->sb, fmt, ap);
-       va_end(ap);
-}
-
-void
-cli_param(struct cli *cli)
-{
-
-       cli->result = CLIS_PARAM;
-       cli_out(cli, "Parameter error, use \"help [command]\" for more info.\n");
-}
-
-void
-cli_result(struct cli *cli, unsigned res)
-{
-
-       cli->result = res;
-}
-