Made headercompression work on external buffer

This commit is contained in:
adamdunkels 2006-10-09 11:53:43 +00:00
parent 17c32fa33e
commit a2befb9dd0
2 changed files with 28 additions and 27 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* @(#)$Id: hc.h,v 1.1 2006/06/17 22:41:18 adamdunkels Exp $
* @(#)$Id: hc.h,v 1.2 2006/10/09 11:53:43 adamdunkels Exp $
*/
/**
* \file
@ -40,9 +40,11 @@
#ifndef __HC_H__
#define __HC_H__
#include "net/uip.h"
void hc_init(void);
int hc_compress(void);
int hc_inflate(void);
int hc_compress(u8_t *buf, int len);
int hc_inflate(u8_t *buf, int len);
#define HC_HLEN 6