view asxparser.h @ 7293:0d7942100437

- simpler http_response_append (uses realloc()) - http_response_append addes extra 0 byte to close teh string (some functions like http_is_header_entire() use standard string functions like strstr which requires trailing zero) - check for NULL string in http_is_header_entire()
author arpi
date Fri, 06 Sep 2002 00:03:16 +0000
parents 35b412015c39
children 487cfc28525d
line wrap: on
line source


#include "playtree.h"

typedef struct _ASX_Parser_t ASX_Parser_t;

typedef struct {
  char* buffer;
  int line;
} ASX_LineSave_t;

struct _ASX_Parser_t {
  int line; // Curent line
  ASX_LineSave_t *ret_stack;
  int ret_stack_size;
  char* last_body;
  int deep;
};