aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd/ncp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ncpd/ncp.h')
-rw-r--r--ncpd/ncp.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/ncpd/ncp.h b/ncpd/ncp.h
index 5a6a1ba..fba51e5 100644
--- a/ncpd/ncp.h
+++ b/ncpd/ncp.h
@@ -46,12 +46,13 @@ class channel;
*/
class PcServer {
public:
- PcServer(ppsocket *, string _name) { name = _name; }
+ PcServer(ppsocket *, std::string _name) { name = _name; }
~PcServer() {}
bool clientConnect(int, int) { return false; }
- string getName() { return name; }
+ std::string getName() { return name; }
+ PcServer *self() { return this; }
private:
- string name;
+ std::string name;
};
class ncp {
@@ -111,7 +112,7 @@ private:
short int protocolVersion;
linkChan *lChan;
int maxChannels;
- vector<PcServer> pcServers;
+ std::vector<PcServer> pcServers;
};
#endif