Added TCP/IP trafic limits

This commit is contained in:
Michiel Broek
2002-03-23 13:12:29 +00:00
parent 8ffd82f9f2
commit 4462d9febb
9 changed files with 76 additions and 7 deletions

View File

@@ -336,6 +336,13 @@ void IsDoing(const char *format, ...)
void RegTCP(void)
{
SockS("ATCP:1,%d;", mypid);
}
void SetTTY(char *tty)
{
SockS("ATTY:2,%d,%s;", mypid, tty);

View File

@@ -65,6 +65,7 @@ char *SockR(const char *, ...);
void WriteError(const char *, ...);
void Syslog(int, const char *, ...);
void Syslogp(int, char *);
void RegTCP(void);
void IsDoing(const char *, ...);
void SetTTY(char *);
void UserCity(pid_t, char *, char *);