PRIVATE int WSRCParser_write (HTStream * context, const char* b, int l) { while (l-- > 0) WSRCParser_put_character(context, *b++); return HT_OK; }
PRIVATE void WSRCParser_write ARGS3( HTStream *, context, CONST char*, str, int, l) { CONST char *p; CONST char *e = str+l; for(p=str; p<e; p++) WSRCParser_put_character(context, *p); }
PRIVATE int WSRCParser_put_string (HTStream * context, const char* s) { while (*s) WSRCParser_put_character(context, *s++); return HT_OK; }
PRIVATE void WSRCParser_put_string ARGS2(HTStream *, context, CONST char*, str) { CONST char *p; for(p=str; *p; p++) WSRCParser_put_character(context, *p); }