OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [net/] [lwip_tcpip/] [current/] [src/] [netif/] [ppp/] [record.h] - Blame information for rev 865

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
/*****************************************************************************
2
* record.h - PPP recording header file.
3
*
4
* Copyright (c) 2009 by Simon Kallweit, intefo AG
5
*
6
* The authors hereby grant permission to use, copy, modify, distribute,
7
* and license this software and its documentation for any purpose, provided
8
* that existing copyright notices are retained in all copies and that this
9
* notice and the following disclaimer are included verbatim in any
10
* distributions. No written agreement, license, or royalty fee is required
11
* for any of the authorized uses.
12
*
13
* THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS *AS IS* AND ANY EXPRESS OR
14
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
15
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
16
* IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
17
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23
*
24
******************************************************************************
25
* REVISION HISTORY
26
*
27
* 09-02-03 Simon Kallweit <simon.kallweit@intefo.ch>
28
*   First implementation.
29
*****************************************************************************/
30
 
31
#ifndef RECORD_H
32
#define RECORD_H
33
 
34
/*****************************************************************************
35
************************** PUBLIC FUNCTIONS **********************************
36
*****************************************************************************/
37
 
38
/* Initialize the recording module */
39
void record_init(void);
40
 
41
/* Updates the current time */
42
void record_update(int ms);
43
 
44
/* Dumps incoming data */
45
void record_in(void *data, int len);
46
 
47
/* Dumps outgoing data */
48
void record_out(void *data, int len);
49
 
50
#endif /* RECORD_H */

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.