projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: Make interface name be part of Port class
[lcr.git]
/
port.h
diff --git
a/port.h
b/port.h
index
5ecbbbb
..
af9610f
100644
(file)
--- a/
port.h
+++ b/
port.h
@@
-177,7
+177,7
@@
class Port
{
public:
/* methods */
{
public:
/* methods */
- Port(int type, const char *portname, struct port_settings *settings);
+ Port(int type, const char *portname, struct port_settings *settings
, struct interface *interface
);
virtual ~Port();
class Port *next; /* next port in list */
int p_type; /* type of port */
virtual ~Port();
class Port *next; /* next port in list */
int p_type; /* type of port */
@@
-188,6
+188,7
@@
class Port
virtual void update_load(void);
struct port_settings p_settings;
virtual void update_load(void);
struct port_settings p_settings;
+ char p_interface_name[64];
/* tone */
char p_tone_dir[256]; /* name of current directory */
/* tone */
char p_tone_dir[256]; /* name of current directory */