version 1.1, 1999/10/08 02:12:05 |
version 1.3, 1999/11/18 23:57:19 |
|
|
|
/*$OpenXM$*/ |
#include <stdio.h> |
#include <stdio.h> |
#include <string.h> |
#include <string.h> |
#include <netinet/in.h> |
/* #include <netinet/in.h> */ |
#include <stdlib.h> |
#include <stdlib.h> |
#include "datatype.h" |
#include "datatype.h" |
#include "stackm.h" |
#include "stackm.h" |
Line 86 struct cmoBuffer *cmoOutputToBuf(cmoAction a,void *dat |
|
Line 87 struct cmoBuffer *cmoOutputToBuf(cmoAction a,void *dat |
|
break; |
break; |
case CMOPUT: |
case CMOPUT: |
for (i=0; i<size; i++) { |
for (i=0; i<size; i++) { |
fp2fputc(((char *)data)[i], b.fp); |
fp2fputc((int) ((char *)data)[i], b.fp); |
} |
} |
break; |
break; |
case CMOFLUSH: |
case CMOFLUSH: |
Line 195 cmoToStream(struct object cmoObj,struct object of) |
|
Line 196 cmoToStream(struct object cmoObj,struct object of) |
|
s = (char *)(cb->buf); |
s = (char *)(cb->buf); |
for (i=0; i<size; i++) { |
for (i=0; i<size; i++) { |
if (file2) { |
if (file2) { |
fp2fputc(s[i],(FILE2 *)(of.rc.voidp)); |
fp2fputc((int) s[i],(FILE2 *)(of.rc.voidp)); |
}else{ |
}else{ |
fputc(s[i],of.rc.file); |
fputc((int) s[i],of.rc.file); |
} |
} |
} |
} |
} |
} |