plptools
Loading...
Searching...
No Matches
linkchan.h
Go to the documentation of this file.
1/*
2 * This file is part of plptools.
3 *
4 * Copyright (C) 1999 Philip Proudman <philip.proudman@btinternet.com>
5 * Copyright (C) 1999-2001 Fritz Elfert <felfert@to.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * along with this program; if not, see <https://www.gnu.org/licenses/>.
19 *
20 */
21#ifndef _linkchan_h_
22#define _linkchan_h_
23
24#include "channel.h"
25#include "bufferarray.h"
26
27#define LINKCHAN_DEBUG_LOG 1
28#define LINKCHAN_DEBUG_DUMP 2
29
30class linkChan : public channel {
31public:
33
35 const char *getNcpRegisterName();
36 void ncpConnectAck();
38 void ncpConnectNak();
40 void Register(channel *);
41private:
44};
45#endif
Definition: ncp.h:54
An array of bufferStores.
Definition: bufferarray.h:31
A generic container for an array of bytes.
Definition: bufferstore.h:37
int ncpChannel
Definition: channel.h:76
NCP * ncpController
Definition: channel.h:75
void ncpConnectAck()
Definition: linkchan.cc:97
void Register(channel *)
Definition: linkchan.cc:118
void ncpRegisterAck()
Definition: linkchan.h:39
void ncpConnectTerminate()
Definition: linkchan.cc:104
const char * getNcpRegisterName()
Definition: linkchan.cc:91
void ncpConnectNak()
Definition: linkchan.cc:112
bufferArray registerStack
Definition: linkchan.h:43
int registerSer
Definition: linkchan.h:42
void ncpDataCallback(bufferStore &a)
Definition: linkchan.cc:45
static rfsv * a
Definition: main.cc:53