At 02:44 PM 6/30/2002, Sascha Schumann wrote: >typedef struct { > char *line; /* If you allocated this, you need to free it yourself */ > uint line_len; > long response_code; /* long due to zend_parse_parameters compatibility */ >} sapi_header_line; > >typedef enum { /* Parameter: */ > SAPI_HEADER_REPLACE, /* sapi_header_line* */ > SAPI_HEADER_ADD, /* sapi_header_line* */ > SAPI_HEADER_SET_STATUS /* int */ >} sapi_header_op_enum; > >SAPI_API int sapi_header_op(sapi_header_op_enum op, void *arg TSRMLS_DC);
How is it better than add_header_ex()? Or is the main point to avoid breaking compatibility? Zeev -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php