Improve backwards and forward compatibility for renderd protocol v3/v2

This commit is contained in:
Kai Krueger
2013-10-20 16:03:32 -06:00
parent 1585e50d7a
commit 99357a53ab
6 changed files with 102 additions and 65 deletions

View File

@ -0,0 +1,17 @@
#ifndef DAEMONHELPER_H
#define DAEMONHELPER_H
#ifdef __cplusplus
extern "C" {
#endif
#include "protocol.h"
int send_cmd(struct protocol * cmd, int fd);
int recv_cmd(struct protocol * cmd, int fd);
#ifdef __cplusplus
}
#endif
#endif