diff options
Diffstat (limited to 'include/packet.h')
-rw-r--r-- | include/packet.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/packet.h b/include/packet.h index 1292302..f2cfe49 100644 --- a/include/packet.h +++ b/include/packet.h @@ -41,7 +41,7 @@ enum packet_flag { /*! * \brief Version of current protocol (packet) */ -#define PACKET_VERSION 2 +#define PACKET_VERSION 3 /*! * \brief Maximum length of a command string @@ -377,6 +377,9 @@ extern const int const packet_size(const struct packet *packet); */ extern struct packet *packet_build(struct packet *packet, int offset, void *data, int size); +extern int packet_fd(const struct packet *packet); +extern int packet_set_fd(struct packet *packet, int fd); + #ifdef __cplusplus } #endif |