r654 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Sat Aug 5 13:44:37 CEST 2006


Author: phk
Date: 2006-08-05 13:44:37 +0200 (Sat, 05 Aug 2006)
New Revision: 654

Removed:
   trunk/varnish-cache/bin/varnishd/cli_common.c
Log:
remove old file


Deleted: trunk/varnish-cache/bin/varnishd/cli_common.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cli_common.c	2006-08-05 11:16:03 UTC (rev 653)
+++ trunk/varnish-cache/bin/varnishd/cli_common.c	2006-08-05 11:44:37 UTC (rev 654)
@@ -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;
-}
-




More information about the varnish-commit mailing list