version 1.2, 1999/11/09 09:57:32 |
version 1.3, 1999/11/18 00:54:17 |
|
|
/* $OpenXM$ */ |
/* $OpenXM: OpenXM/src/kan96xx/plugin/oxmisc2.c,v 1.2 1999/11/09 09:57:32 takayama Exp $ */ |
#include <stdio.h> |
#include <stdio.h> |
#include "ox_kan.h" |
#include "ox_kan.h" |
#include "oxmisc2.h" /* This file requires sm1 object description. */ |
#include "oxmisc2.h" /* This file requires sm1 object description. */ |
Line 585 struct object KoxWatch(struct object client,struct obj |
|
Line 585 struct object KoxWatch(struct object client,struct obj |
|
int ans,k; |
int ans,k; |
static oxclientp cc1 = NULL; |
static oxclientp cc1 = NULL; |
struct object rob; |
struct object rob; |
|
extern int WatchStream; |
rob.tag = Snull; |
rob.tag = Snull; |
|
if (client.tag == Sinteger) { |
|
if (KopInteger(client)) { |
|
WatchStream = 1; |
|
}else{ |
|
WatchStream = 0; |
|
} |
|
return; |
|
} |
if (cc1 == NULL) { |
if (cc1 == NULL) { |
cc1 = (oxclientp) mymalloc(sizeof(oxclient)); |
cc1 = (oxclientp) mymalloc(sizeof(oxclient)); |
if (cc1 == NULL) { |
if (cc1 == NULL) { |