Add sio.h containing interface to platform specific serial layer.Make slipif use it instead of defining extern functions.This is in preparation for PPP

This commit is contained in:
jani
2003-03-24 10:54:03 +00:00
parent 6457b93a1f
commit c60d0de919
2 changed files with 41 additions and 5 deletions

View File

@@ -42,6 +42,7 @@
#include "lwip/pbuf.h"
#include "lwip/sys.h"
#include "lwip/stats.h"
#include "lwip/sio.h"
#define SLIP_END 0300
#define SLIP_ESC 0333
@@ -50,11 +51,6 @@
#define MAX_SIZE 1500
/* Low level serial functions */
extern void sio_send(u8_t, void*);
extern u8_t sio_recv(void *);
extern void * sio_open(u8_t);
/**
* Send a pbuf doing the necessary SLIP encapsulation
*