Commit 34b082e1 authored by Felix Hamann's avatar Felix Hamann

updated protocol version to 1.2

parent e829daf7
......@@ -34,6 +34,7 @@ extern "C" {
#define UU __attribute__((unused))
#define SAMWISE_PROTOCOL_VERSION "120"
typedef struct samwise_t samwise_t;
......
......@@ -52,7 +52,7 @@ static zmsg_t *
create_msg ()
{
zmsg_t *msg = zmsg_new ();
zmsg_addstr (msg, "100");
zmsg_addstr (msg, SAMWISE_PROTOCOL_VERSION);
return msg;
}
......
......@@ -64,7 +64,7 @@ extern "C" {
#define UU __attribute__((unused))
// global configuration
#define SAM_PROTOCOL_VERSION 100
#define SAM_PROTOCOL_VERSION 120
#define SAM_RET_RESTART 0x10
// enable stats
......
......@@ -22,9 +22,6 @@
#include "../include/sam_prelude.h"
#define SAM_PROTOCOL_VERSION 100
typedef struct args_t args_t;
typedef struct ctl_t ctl_t;
typedef void (cmd_fn) (ctl_t *ctl, args_t *args);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment