get rid of client_stat_summary. casr provides functionality
This commit is contained in:
@@ -5,13 +5,11 @@ USR_INCLUDES = -I../../ca
|
||||
USR_CFLAGS = -UUNIX
|
||||
|
||||
SRCS.c = ../caserverio.c ../caservertask.c ../camsgtask.c ../camessage.c \
|
||||
../rsrv_init.c ../cast_server.c ../online_notify.c ../globalsource.c \
|
||||
../client_stat_summary.c
|
||||
../rsrv_init.c ../cast_server.c ../online_notify.c ../globalsource.c
|
||||
|
||||
OBJS = \
|
||||
caserverio.o caservertask.o camsgtask.o camessage.o \
|
||||
rsrv_init.o cast_server.o online_notify.o globalsource.o \
|
||||
client_stat_summary.o
|
||||
rsrv_init.o cast_server.o online_notify.o globalsource.o
|
||||
|
||||
PROD = rsrvLib
|
||||
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
#include <vxWorks.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <sockLib.h>
|
||||
#include <socket.h>
|
||||
#include <in.h>
|
||||
|
||||
#include <ellLib.h>
|
||||
#include <server.h>
|
||||
|
||||
void client_stat_summary(void)
|
||||
{
|
||||
struct client *pclient;
|
||||
|
||||
LOCK_CLIENTQ;
|
||||
pclient = (struct client *) ellFirst(&clientQ);
|
||||
while (pclient) {
|
||||
printf( "Client Name=%s, Client Host=%s Number channels %d\n",
|
||||
pclient->pUserName,
|
||||
pclient->pHostName,
|
||||
ellCount(&pclient->addrq));
|
||||
pclient = (struct client *) ellNext(&pclient->node);
|
||||
}
|
||||
UNLOCK_CLIENTQ;
|
||||
}
|
||||
Reference in New Issue
Block a user