version 1.25, 2005/06/16 05:07:24 |
version 1.27, 2013/11/06 06:23:24 |
|
|
/* $OpenXM: OpenXM/src/kan96xx/plugin/oxmisc2.c,v 1.24 2004/09/17 08:46:10 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/kan96xx/plugin/oxmisc2.c,v 1.26 2005/07/03 11:08:54 ohara Exp $ */ |
#include <stdio.h> |
#include <stdio.h> |
|
#include <string.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. */ |
#include "cmo.h" |
#include "cmo.h" |
Line 383 struct object KoxIsThereErrorClient(struct object ob) |
|
Line 384 struct object KoxIsThereErrorClient(struct object ob) |
|
int oxClientToObject(oxclientp client,struct object rob) |
int oxClientToObject(oxclientp client,struct object rob) |
{ |
{ |
struct object ob = OINIT; |
struct object ob = OINIT; |
if (client == NULL) return; |
if (client == NULL) return 0; |
/* rob = newObjectArray(N_OF_CLIENT_FIELDS); */ |
/* rob = newObjectArray(N_OF_CLIENT_FIELDS); */ |
if (rob.tag != Sarray) { |
if (rob.tag != Sarray) { |
errorOxmisc2("oxClientToObject(): the second argument must be an array."); |
errorOxmisc2("oxClientToObject(): the second argument must be an array."); |
Line 657 struct object KoxWatch(struct object client,struct obj |
|
Line 658 struct object KoxWatch(struct object client,struct obj |
|
}else{ |
}else{ |
WatchStream = 0; |
WatchStream = 0; |
} |
} |
return; |
return rob; |
} |
} |
if (cc1 == NULL) { |
if (cc1 == NULL) { |
cc1 = (oxclientp) mymalloc(sizeof(oxclient)); |
cc1 = (oxclientp) mymalloc(sizeof(oxclient)); |