~ubuntu-branches/ubuntu/precise/arduino/precise

« back to all changes in this revision

Viewing changes to libraries/Ethernet/Ethernet.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott Howard
  • Date: 2010-04-13 22:32:24 UTC
  • Revision ID: james.westby@ubuntu.com-20100413223224-jduxnd0xxnkkda02
Tags: upstream-0018+dfsg
ImportĀ upstreamĀ versionĀ 0018+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef Ethernet_h
 
2
#define Ethernet_h
 
3
 
 
4
#include <inttypes.h>
 
5
#include "Client.h"
 
6
#include "Server.h"
 
7
 
 
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;
 
18
};
 
19
 
 
20
extern EthernetClass Ethernet;
 
21
 
 
22
#endif