version 1.1, 2000/04/12 20:06:16
|
version 1.2, 2000/05/03 15:35:11
|
Line 164 extern void (*Status_Func)();
|
Line 164 extern void (*Status_Func)();
|
return (errcode); |
return (errcode); |
} |
} |
|
|
void send(char *text) |
char* delayed; |
|
void send(char *text,...) |
{ |
{ |
printf(text); |
va_list ap; |
|
if (delayed) {printf(delayed);free(delayed);delayed=NULL;} |
|
va_start(ap,text); |
|
vprintf(text,ap); |
|
} |
|
|
|
void send_delayed(char *text,...) |
|
{ |
|
va_list ap; |
|
va_start(ap,text); |
|
vasprintf(&delayed,text,ap); |
|
} |
|
|
|
void remove_delayed() |
|
{ |
|
if (delayed) {free(delayed);delayed=NULL;} |
} |
} |
/* =||>|===================== End of capaCommon.c =====================|<||= */ |
/* =||>|===================== End of capaCommon.c =====================|<||= */ |
|
|