Removed VICI protocol versioning

This commit is contained in:
Andreas Steffen
2015-12-11 18:26:55 +01:00
parent b6dba6db74
commit 44d3b02b57
6 changed files with 7 additions and 102 deletions
-9
View File
@@ -2,9 +2,6 @@
* Copyright (C) 2014 Martin Willi
* Copyright (C) 2014 revosec AG
*
* Copyright (C) 2015 Andreas Steffen
* HSR Hochschule fuer Technik Rapperswil
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
@@ -20,7 +17,6 @@
#include "vici_builder.h"
#include "vici_dispatcher.h"
#include "vici_socket.h"
#include "vici_version.h"
#include <library.h>
#include <threading/mutex.h>
@@ -333,11 +329,6 @@ void vici_add_key_valuef(vici_req_t *req, char *key, char *fmt, ...)
va_end(args);
}
void vici_add_version(vici_req_t *req, vici_version_t version)
{
vici_add_key_valuef(req, "vici", "%N", vici_version_names, version);
}
void vici_begin_list(vici_req_t *req, char *name)
{
req->b->add(req->b, VICI_LIST_START, name);