Commit 7eaeeee 1 parent 3258832 commit 7eaeeee Copy full SHA for 7eaeeee
File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 46
46
* Change the message which will be send to the telnet client after a session
47
47
* is established.
48
48
* Default: "Connection established via TelnetSpy.\n"
49
- * void setWelcomeMsg(char* msg);
49
+ * void setWelcomeMsg(const char* msg);
50
+ * void setWelcomeMsg(const String& msg);
50
51
*
51
52
* Change the message which will be send to the telnet client if another
52
53
* session is already established.
53
54
* Default: "TelnetSpy: Only one connection possible.\n"
54
- * void setRejectMsg(char* msg);
55
+ * void setRejectMsg(const char* msg);
56
+ * void setRejectMsg(const String& msg);
55
57
*
56
58
* Change the amount of characters to collect before sending a telnet block.
57
59
* Default: 64
144
146
* - If a "msg" is given (not NULL), this message will be send back via the
145
147
* telnet connection.
146
148
* - If the "callback" is set (not NULL), the given function is called.
147
- * void setFilter(char ch, char* msg, void (*callback());
149
+ * void setFilter(char ch, const char* msg, void (*callback());
150
+ * void setFilter(char ch, const String& msg, void (*callback());
148
151
*
149
152
* This function returns the actual filter character (0 => not set).
150
153
* char getFilter();
You can’t perform that action at this time.
0 commit comments