Add uOLED-96-G1 C Sample Code.
[frickel.git] / projects / geeknamensschilder_c / hardware / libraries / Ethernet / Ethernet.h
blobbdfc4dd5122fdaeb94e50ab45653fb2a664ed924
1 #ifndef Ethernet_h
2 #define Ethernet_h
4 #include <inttypes.h>
5 #include "Client.h"
6 #include "Server.h"
8 class EthernetClass {
9 private:
10 public:
11 static uint8_t _state[MAX_SOCK_NUM];
12 static uint16_t _server_port[MAX_SOCK_NUM];
13 void begin(uint8_t *, uint8_t *);
14 void begin(uint8_t *, uint8_t *, uint8_t *);
15 void begin(uint8_t *, uint8_t *, uint8_t *, uint8_t *);
16 friend class Client;
17 friend class Server;
20 extern EthernetClass Ethernet;
22 #endif